WO2019036831A1 - Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur - Google Patents

Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur Download PDF

Info

Publication number
WO2019036831A1
WO2019036831A1 PCT/CN2017/098249 CN2017098249W WO2019036831A1 WO 2019036831 A1 WO2019036831 A1 WO 2019036831A1 CN 2017098249 W CN2017098249 W CN 2017098249W WO 2019036831 A1 WO2019036831 A1 WO 2019036831A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
blockchain
user
block
user information
Prior art date
Application number
PCT/CN2017/098249
Other languages
English (en)
Chinese (zh)
Inventor
陈敏
Original Assignee
达闼科技成都有限公司
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 达闼科技成都有限公司 filed Critical 达闼科技成都有限公司
Priority to CN201780001835.0A priority Critical patent/CN107820690B/zh
Priority to PCT/CN2017/098249 priority patent/WO2019036831A1/fr
Publication of WO2019036831A1 publication Critical patent/WO2019036831A1/fr

Links

Images

Classifications

    • 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
    • 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/10Protocols in which an application is distributed across nodes in the 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0872Generation of secret information including derivation or calculation of cryptographic keys or passwords using geo-location information, e.g. location data, time, relative position or proximity to other entities

Definitions

  • the present disclosure relates to the field of data processing, and in particular, to an information selection method, apparatus, electronic device, and computer readable storage medium.
  • the "shake” method generally includes: an offline shake and an online shake.
  • the method of shaking the number under the line is generally carried out by using a shake box, or using a computer for on-site extraction to obtain a shake result.
  • the online rocking method is generally based on the set rocking rule, and the shaking result is obtained by the computer.
  • the method of the lottery in the related art cannot be made open and transparent due to the setting of the lottery rule and the announcement of the result of the lottery. Therefore, the fairness and fairness of the lottery cannot be achieved.
  • An object of the present disclosure is to provide an information selection method, apparatus, electronic device, and computer readable storage medium to solve the problems in the related art.
  • the present disclosure provides an information selection method, which is applied to a blockchain node device, and the method includes: acquiring user information of a user participating in information selection;
  • the target information is selected in the user information stored in the blockchain.
  • an information selection apparatus for a blockchain node device, including:
  • An information obtaining module configured to acquire user information of a user participating in the information selection
  • a storage module for storing user information in a blockchain
  • the selecting module is configured to select an algorithm according to information stored in the blockchain, and select target information in the user information stored in the blockchain.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the method of the first aspect described above.
  • an electronic device including:
  • the user information and the selected target information of the participating information selection cannot be falsified, and can not be forged and recorded in the blockchain; the information selection algorithm is stored in the blockchain, and all participants can supervise the information selection. Fair and just.
  • FIG. 1 is a schematic diagram showing a data structure of a block in a blockchain according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of an information selection system according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flow chart of an information selection method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flow chart of storing user information in a blockchain in an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of storing information selection algorithm information in a blockchain according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of an information selection result announcement by a query method according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of a gift issuance according to an information selection algorithm according to an embodiment of the present disclosure
  • FIG. 8 is a schematic flowchart of selecting target information in an embodiment of the present disclosure.
  • FIG. 9 is a schematic flow chart of performing a public kindergarten shake number according to an information selection method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of an information selection apparatus according to an embodiment of the present disclosure.
  • FIG. 11 is a block diagram of an apparatus for an information selection method according to an embodiment of the present disclosure.
  • a blockchain is a decentralized distributed database system in which all node devices in a blockchain network participate in maintenance. It is composed of a series of data blocks generated by cryptography, and each block is a blockchain. One block. According to the order of the generation time, the blocks are linked together in an orderly manner to form a data chain, which is aptly called a blockchain.
  • Block chain node device A node device in a blockchain network may be referred to as a blockchain node device, wherein the blockchain network is based on a P2P (Peer to Peer) network, and each participating transaction and block storage, The verified and forwarded P2P network node devices are all node devices in a blockchain network.
  • P2P Peer to Peer
  • the user identity in the blockchain is represented by a public key, and the private key corresponding to the public key is mastered by the user and not posted to the network.
  • the public key is hashed and encoded to become an "address", the "address” is the account address, represents the user, and can be published at will.
  • Blockchain data writing The blockchain node device writes data to the blockchain by issuing a "transaction" to the blockchain network.
  • the transaction contains the user's use of their private key Easy signature to prove the identity of the user.
  • the transaction is recorded by the “miner” (block chain node device that implements the PoW consensus competition mechanism) into the generated new block, and then released to the blockchain network, and verified and passed by other blockchain node devices, the transaction data is Is written to the blockchain.
  • the shake number can be implemented by means of a smart contract of a blockchain.
  • the block 100 in the blockchain includes a block header 101 and a block body 102.
  • the block body 102 records all transaction information for a period of time before.
  • the block header 101 includes: a parent block hash value, a Merkel root, a time stamp, a random number, and the like.
  • the value of the Merkel root is calculated by hashing the data stored on the entire tree.
  • the leaf node device with the Merkel root as the root node device is used to store account information.
  • the leaf node device 110 is an account node device that stores account information
  • each account node device includes: a transaction number field, an account balance field, a code hash field, a storage root field, and the like.
  • the transaction number field is used to record the number of transactions initiated from the account.
  • the Account Balance field is used to record the account balance for this account.
  • the code hash field is used to record the code hash of the smart contract and point to the smart contract code. If the account is not a smart contract account, the code hash field is empty.
  • the storage root field is the root node device for another tree, which is the internal data storage space for the smart contract account.
  • a smart contract can be deployed on a blockchain by a blockchain node device that is bound to a smart contract account.
  • the deployed smart contract will have its own address on the blockchain.
  • the process of deploying a smart contract that is, the process by which the blockchain node device writes the compiled smart contract call bytecode into a block on the blockchain in the form of a publish transaction. Once the smart contract is deployed, it will be stored in the appropriate block and the contract address will be assigned.
  • a blockchain node device storing a complete blockchain or block header, after determining the address of the smart contract, by time or event driving (for example, executing a corresponding instruction message), the smart contract can be activated, thereby reading Information stored in a smart contract, or information generated after a program that reads a smart contract runs.
  • information in a smart contract can be changed, for example, modified, replaced And delete and so on.
  • Changes to data in smart contracts are achieved through "transactions". In order to ensure information security, only the account with the corresponding change permission can change the information in the smart contract.
  • the following method can be implemented: when the block chain node device requests to read the information in the smart contract, the signature is provided.
  • the signature can be verified in the smart contract, the verification is passed, the smart contract is activated, and the corresponding information is returned to the blockchain node device.
  • the signature may be performed by using the private key of the account bound to the blockchain node device, or may be signed in a pre-negotiated manner.
  • the smart contract in the block of the blockchain includes: a data providing contract for storing user information of the user participating in the information selection, an information selection contract for executing the information selection algorithm, and A listening contract that outputs target information.
  • FIG. 2 is a schematic structural diagram of an information selection system according to an embodiment of the present disclosure.
  • the information selection system includes a plurality of blockchain node devices 201.
  • These blockchain node devices can be implemented in various forms, for example, mobile phones, smart phones, notebook computers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), servers, mining machines. (A device that can perform PoW (Proof Of Work) consensus competition mechanism, etc.).
  • the above data providing contract, information selection contract, and monitoring contract can be deployed to the blockchain through the blockchain node device 201.
  • FIG. 3 is a schematic flowchart diagram of an information selection method according to an embodiment of the present disclosure.
  • step S31 user information of the user participating in the selection of the information is acquired.
  • the user information may include one or more of the following information: identity information of the user, communication information of the user, employee number of the user, invitation number, and the like.
  • identity information of the user for example, may be the user's ID number, passport number, and the like.
  • User communication information For the user's mobile phone number, social account number, etc.
  • the employee's employee number can be the employee number of the company or organization in which the user is located.
  • the invitation number may be a document code uniformly distributed by the organizer for the participation of the information, for example, an 8-digit certificate code.
  • user information of a user can be obtained by:
  • Method 1 The information registration is performed by the information registration end and sent to the blockchain node device.
  • the information registration end can be an electronic device having data processing and communication functions. Registration can be realized by recording and storing user information by means of forms, text records, and the like.
  • the information registration end stops registering the user information.
  • the user information registered by the information registration end is audited through the information review terminal.
  • the information auditing end sends the approved user information to the blockchain node device.
  • the information registration end and the information review end can be the same electronic device.
  • Method 2 The blockchain node device registers as user information as the information registration end. User information is registered as described in the above manner. In some embodiments, the blockchain node device also reviews the registered user information as the information review terminal.
  • step S32 the user information is stored in the blockchain.
  • the block chain node device After the block chain node device obtains the user information, the user information is stored in the block of the blockchain.
  • user information may be stored in a blockchain in a smart contract.
  • the blockchain node device compiles the user information into a smart contract call bytecode and writes the compiled smart contract call bytecode into a block on the blockchain in the form of a publish transaction.
  • all the registered user information is stored in the same smart contract, and the user information may also be stored in different smart contracts.
  • User information can be stored in smart contracts in an array. Smart contracts that store user information provide contracts for data.
  • user information is protected in order to protect the security and privacy of user information.
  • the preset rule is a hash algorithm
  • the user information is converted according to the hash algorithm, and the hash value corresponding to the user information is obtained, and the obtained hash value is stored in the data providing contract.
  • the hash algorithm may be a SHA3 algorithm that converts the identity information, the communication information, and the preset password in the user information into corresponding hash values, and stores the hash value as user information in the data providing contract.
  • storing user information in a blockchain includes:
  • step S41 the user information is converted into a hash value for each user's user information.
  • step S42 the first smart contract call bytecode is obtained according to the hash value corresponding to each user.
  • step S43 the first smart contract call bytecode is sent as transaction data to one or more blockchain node devices in the blockchain network to write the first smart contract call bytecode to the zone.
  • the first smart contract call bytecode is sent as transaction data to one or more blockchain node devices in the blockchain network to write the first smart contract call bytecode to the zone.
  • the zone In a block of blockchain.
  • user information may also be published directly to the blockchain network as a "transaction" by the blockchain node device, thereby enabling storage of user information into the blockchain.
  • the embodiment of the present disclosure can store user information in a blockchain, which can prevent user information from being tampered with and improve information security.
  • the data providing contract may also record more information, such as registration time of user information, adder of user information, and the like.
  • the adder may be an identifier of the information registration end that receives the user information or an identifier of the operator who operates the information registration end.
  • the registration time may be the time at which the user information is registered.
  • a rights account can be set up, and the block chain node device with the rights account can make changes to the user information and deploy the data providing contract.
  • all blockchain node devices can make changes to user information and perform data distribution contract deployment.
  • step S33 the target information is selected from the user information stored in the blockchain according to the information selection algorithm stored in the blockchain.
  • the information selection algorithm is stored in the block in the form of a smart contract.
  • a second smart contract call bytecode is obtained according to the information selection algorithm.
  • the second smart contract call bytecode is sent as transaction data to one or more blockchain node devices in the blockchain network to write the second smart contract call bytecode to the zone.
  • the information selection algorithm is compiled into a smart contract call bytecode.
  • the compiled smart contract call bytecode is written by the blockchain node device into a block of the blockchain by issuing a transaction.
  • a smart contract that stores an information selection algorithm is a contract for information selection.
  • all of the blockchain node devices in the blockchain have information selection rights, and the information selection contract can be activated to perform information selection.
  • the rights information and the information selection algorithm are stored together in an information selection contract.
  • Permission information is used to specify a user with permissions to activate an information selection contract.
  • the control of the information selection authority can be implemented by setting a rights account. That is, the privilege account is set, and the blockchain node device of the privilege account is bound, and the information selection contract can be activated, and the information selection is performed.
  • the information selection algorithm may be: sorting the registration time of the user information; and selecting the user information sorted within the preset range as the target information.
  • the preset range here can be determined according to the target number of target information selected.
  • the information selection algorithm may be: randomly selecting target information in the user information according to a preset random selection algorithm.
  • the random selection algorithm may be: randomly selecting from the user information according to the number of user information and the target number of the target information selected to obtain the target information.
  • the information selection algorithm may be: generating a random number according to a hash value of a block in the blockchain and a generation time of the block, and a target according to the random number and the target information to be selected.
  • the quantity, in the user information stored in the blockchain iteratively selects the target information. When the number of selected target information reaches the target number, the iterative selection ends.
  • each user information corresponds to a weight value, and the weight value is calculated as information.
  • the parameters of the method are used. If the weight value of a user information is 4, the number of user information can be increased from 1 to 4. The weight value of the user information is positively correlated with the probability that the user information is selected.
  • the weight value can be set according to the actual situation. For example, for the mobile phone number in the user information, the weight value can be determined according to the tail number of the mobile phone number, and the weight value of the user information whose tail number is “0” is set to be higher than the tail number. The weight value of the user information of "1".
  • the information selection algorithm in the information selection contract can be flexibly changed according to actual needs, and adapted to different information selection scenarios. After making changes to the information selection algorithm, you can redeploy the changed information to select the contract into the blockchain as described above.
  • the information selection contract including the authority information and the information selection algorithm is stored in the blockchain, the information selection process can be prevented from being manipulated, and the information selection is fair and fair.
  • the information selection algorithm is stored in a smart contract manner, and the information selection algorithm can be flexibly changed according to the applicable scene selected by the information, and redeployed into the blockchain, thereby adapting to different scenarios.
  • the embodiment of the present disclosure further includes storing the target information in the block of the blockchain to prevent the target information from being tampered with, and further ensuring the fairness and fairness of the information selection.
  • the target information is stored in the block of the blockchain and can be implemented by issuing a transaction.
  • the method further includes: after selecting the target information, sending the target information to the destination end, where the destination end includes at least one of the following devices: the electronic device bound by the user participating in the information selection, and the user information is selected.
  • the information selection result may be published in an active publication manner, and the target information is sent to the destination end:
  • a smart contract for outputting target information may be referred to as a listening contract.
  • the listening contract is a contract for outputting target information, and target information that can be output when the target information is received and activated.
  • the output target information includes: sending the target information to the destination end.
  • the query device can receive the query message Information, and according to the query information, obtain the query results.
  • the display device may display the target information to publish the information selection result.
  • the information selection result may be published by using a query method:
  • step S61 the query information sent by the querying device is received.
  • step S62 according to the query information, the selection result of the user to be queried is queried in the block storing the target information.
  • step S63 the queried selection result is sent to the querying device.
  • the query information sent by the querying device may include: user information of the user to be queried.
  • the node device in the blockchain performs a query in the selected target information stored in the block according to the received query information, and returns the query result to the query end.
  • the returned query result may be “already selected”, “admitted”, and the like.
  • the returned query result may be “not selected”, “not admitted”, and the like.
  • the query result sent to the query terminal may also be all the selected user information.
  • the method further includes: when the user acquires the corresponding resource according to the target information, verifying the user information.
  • Resources can be commodities, degrees, license plates, and more. Verification is to query whether the user information is in the selected target information. When the verification passes, the corresponding resources are allocated to the corresponding users.
  • the user information and the selected target information of the participating information selection are not falsified, and are not forged and recorded in the blockchain.
  • the information selection algorithm is publicly released to the blockchain, and all participants can supervise the fairness and fairness of information selection.
  • the information selection algorithm can be flexibly implemented to meet different information selection requirements.
  • a gift is issued according to the above information selection method.
  • step S71 the user conducts a commodity transaction to generate order information.
  • step S72 user information of the user who participated in the selection of the information is acquired according to the commodity transaction information of the user.
  • the gift issuance is based on the user's occurrence of the commodity transaction, and therefore, the user information is the user's order information.
  • the order information includes: the order transaction time, the identity information of the order transaction user or the communication information.
  • step S73 the user information is stored in the blockchain.
  • the merchant's server registers as the information registration terminal with the generated order information.
  • the registration order information is stopped.
  • the blockchain node device adds the order information registered by the merchant's server to the data supply contract of the blockchain. If the merchant's server is a blockchain node device, after compiling the order information into a smart contract call bytecode, the order information is stored in the blockchain by issuing a transaction. If the merchant's server is not a blockchain node device, it sends the order information to a blockchain node device, and the blockchain node device stores the order information in the blockchain.
  • step S74 when the time period is set, the registered order information is filtered to obtain valid order information.
  • the server filters the registered order information to obtain valid order information.
  • the valid order information may be the order information in which the user does not return the goods, or the valid order information is the order information in which the order transaction amount exceeds the preset value.
  • the user information corresponding to the valid order information is followed by the subsequent information selection step.
  • step S75 the algorithm is selected according to the information stored in the blockchain, and the target information is selected in the user information.
  • step S76 gift issuance is performed based on the target information.
  • step S75 includes:
  • step S81 the target number of target information that needs to be selected is determined.
  • step S82 the hash value Hb of the block header of a block in the blockchain is obtained.
  • the hash value of the block header of the previous block when the execution execution information selection contract is activated is obtained.
  • step S83 a random number is acquired according to the equations (1) and (2).
  • sha3 is a hash algorithm
  • Hb is a hash value of the obtained block header
  • % is a remainder operation.
  • the user information in the data providing contract is represented by an array Orders, where Orders.length is the length of the array.
  • User information, N is the target quantity.
  • OrdersI is the number in the array of the last selected user information.
  • step S84 the target information is iteratively selected in the user information stored in the blockchain according to the first to Nth random numbers.
  • step S83 loop iteration is performed until the target number of pieces of user information is selected.
  • the selected user information is stored in the block of the blockchain to prevent it from being changed.
  • the selected user information may be stored in an array. If User A's user information is in an array, it indicates that the user information is selected.
  • the merchant's server may query the blockchain node device for the selected user information. If the service area of the merchant is a blockchain node device, it can obtain the selected user information by activating the information selection contract.
  • the server of the merchant may further display the selected user information or send the reminder information to the user corresponding to the selected user information.
  • the embodiment of the present disclosure can send the gift to the user corresponding to the target information according to the selected target information, so as to ensure fairness and fairness of the gift sending.
  • a public kindergarten shake number is performed according to the above information selection method.
  • step S91 the user information required for the rocking number is acquired.
  • the user information may be the child's ID number, name, date of birth, place of residence information, and the like.
  • the user information of the child can be verified and verified according to the registration conditions of the kindergarten.
  • Registration conditions include: restrictions on the date of birth, restrictions on the place of residence, etc. For example, will be born The date is matched with the birth date limit in the registration conditions, and the date of birth is limited.
  • step S92 the user information is converted and stored in the data providing contract.
  • the data providing contract may be divided into a plurality of data structures, and each data structure is used to store user information corresponding to a kindergarten.
  • a hash value is generated according to the account number and name in the user information: sha3 (account number + name), and the hash value is added to the data provision contract Data Contract B corresponding to the public kindergarten data structure.
  • sha3 account number + name
  • the hash value is added to the data provision contract Data Contract B corresponding to the public kindergarten data structure.
  • all registered user information can also be saved locally for later query of the shake result.
  • step S93 the information selection contract is activated to perform information selection.
  • the registration of new user information is stopped. If there are 10 public kindergartens in the data supply contract, there are a total of 2000 user information. Then, when the lottery starts, the information selection contract can be implemented for each public kindergarten according to the information selection method described in the above embodiment. Each public kindergarten can set its own number of recruitment targets.
  • step S94 the information selection result is published.
  • the information selection contract prohibits anyone from modifying the lottery result data.
  • the relevant institution is notified to announce the result.
  • Conditional places can be combined with third-party applications to directly notify parents of children.
  • the data providing contract and the information selection contract are all in the public blockchain, and the parent parent can query the client through the online program of the relevant institution or the third party public blockchain to query the data of the corresponding contract.
  • the entire lottery process is guaranteed to be open and transparent.
  • the account book When the child is enrolled, the account book is required to regenerate the hash feature value. Only the feature value is eligible for registration in the lottery result. Admission data, shake method and shake number are not available The tampering is permanently stored in the blockchain for later review.
  • an embodiment of the present disclosure further provides an information selection apparatus, which is applied to a blockchain node device, and includes:
  • the information obtaining module 1001 is configured to acquire user information of a user participating in the information selection
  • a storage module 1002 configured to store user information in a blockchain
  • the selecting module 1003 is configured to select an algorithm according to information stored in the blockchain, and select target information in the user information stored in the blockchain.
  • the storage module includes:
  • a conversion submodule configured to convert the user information into a hash value for each user information
  • Obtaining a submodule configured to obtain a first smart contract call bytecode according to a hash value corresponding to each user
  • a transaction sending submodule configured to send the first smart contract call bytecode as transaction data to one or more blockchain node devices in the blockchain network to use the first smart contract call word
  • the section code is written into a block of the blockchain.
  • the selecting module comprises:
  • a random number generation submodule configured to generate a random number according to a hash value of a block in the blockchain and a generation time of the block;
  • the iterative selection sub-module is configured to iteratively select the target information in the user information stored in the blockchain according to the random number and the target number of the target information to be selected.
  • the selecting module comprises:
  • a hash value obtaining module obtaining a hash value of a block header of a block in the blockchain
  • a first random number obtaining module configured to obtain a first random number according to sha3(Hb+Orders.length)%Orders.length;
  • a second random number obtaining module configured to obtain second to Nth random numbers according to sha3(Hb+Orders.length+OrdersI)%Orders.length, where sha3 is a hash algorithm; Hb is a obtained block The hash value of the block header; Orders.length is the length of the array storing the user information Degrees; OrdersI is the number of the last selected user information in the array; N is the target number of user information to be selected; % is the remainder operation;
  • a selecting module configured to iteratively select the target information in the user information stored in the blockchain according to the first to Nth random numbers.
  • the apparatus further includes:
  • the information sending module is configured to: after the target information is selected, send the target information to the destination end, where the destination end includes at least one of the following devices: an electronic device bound by a user participating in the information selection, The electronic device to which the user information is selected is bound, the configured query device, and the display device.
  • the apparatus further includes:
  • a target information storage module configured to store the target information in a block of a blockchain.
  • the apparatus further includes:
  • the receiving module is configured to receive the query information sent by the querying device, where the query information includes: user information of the user to be queried;
  • a querying module configured to query, according to the query information, a selection result of the user to be queried in a block in which the target information is stored;
  • the query result sending module is configured to send the selected result of the query to the querying device.
  • the apparatus further includes:
  • the target information writing module is configured to, after selecting the target information, write the target information as a parameter into a smart contract for outputting the target information.
  • the apparatus further includes:
  • An obtaining module configured to acquire a second smart contract call byte code according to the information selection algorithm
  • a transaction sending module configured to send the second smart contract call bytecode as transaction data to one or more blockchain node devices in the blockchain network to invoke the second smart contract call byte
  • the code is written into a block of the blockchain.
  • the embodiment of the present disclosure further provides a computer readable storage medium having stored thereon a computer program, the program being executed by the processor to implement the step of the information selection method.
  • An embodiment of the present disclosure further provides an electronic device comprising: the computer readable storage medium described above; and one or more processors for executing a program in the computer readable storage medium.
  • the apparatus may be provided as a block chain node device including at least a processor 1101, a memory 1102, and a communication component 1103.
  • the memory 1102 is configured to store operating systems, various types of data to support operations at the blockchain node device, such as may include any application or method for operating on the blockchain node device. Instructions, as well as application-related data.
  • the memory 1102 also stores block header information or block header information in which a block chain is stored.
  • the processor 1101 is configured to control overall operations of the blockchain node device, perform information processing, and the like. In an embodiment of the present disclosure, the processor 1101 can control the operation of smart contracts in the blocks in the blockchain.
  • the communication component 1103 is used for wired or wireless communication between the blockchain node device and other devices.
  • Wireless communication such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G or 5G, or a combination of one or more of them, so that the corresponding communication component 312 can Including: Wi-Fi module, Bluetooth module, NFC module, 2G module, 3G module, 4G module or 5G module, or a combination of one or several of them.
  • the blockchain node device can establish a communication connection with the information registration end, the information review end, the destination end, and the like.
  • the blockchain node device may also include multimedia components (eg, touch screen, microphone, speakers, etc.) and input/output interfaces, etc., to implement corresponding functions.
  • multimedia components eg, touch screen, microphone, speakers, etc.
  • input/output interfaces etc.

Abstract

La présente invention concerne un procédé de sélection d'informations, un appareil, un dispositif électronique et un support d'enregistrement lisible par ordinateur, le procédé consistant : à acquérir des informations d'utilisateur d'un utilisateur participant à la sélection d'informations (S31); à mémoriser les informations d'utilisateur dans une chaîne de blocs (S32); à sélectionner, en fonction d'un algorithme de sélection des informations mémorisées dans la chaîne de blocs, des informations cibles parmi les informations d'utilisateur mémorisées dans la chaîne de blocs (S33). Le procédé, selon la présente invention, permet d'enregistrer des informations d'un utilisateur participant à la sélection des informations et des informations cibles sélectionnées dans une chaîne de blocs de telle sorte que lesdites informations ne peuvent pas être falsifiées et ne peuvent pas être contrefaites, ce qui permet à tous les participants de surveiller la justesse et l'impartialité de la sélection des informations.
PCT/CN2017/098249 2017-08-21 2017-08-21 Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur WO2019036831A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780001835.0A CN107820690B (zh) 2017-08-21 2017-08-21 信息选取方法、装置、电子设备及计算机可读存储介质
PCT/CN2017/098249 WO2019036831A1 (fr) 2017-08-21 2017-08-21 Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098249 WO2019036831A1 (fr) 2017-08-21 2017-08-21 Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur

Publications (1)

Publication Number Publication Date
WO2019036831A1 true WO2019036831A1 (fr) 2019-02-28

Family

ID=61606894

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098249 WO2019036831A1 (fr) 2017-08-21 2017-08-21 Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur

Country Status (2)

Country Link
CN (1) CN107820690B (fr)
WO (1) WO2019036831A1 (fr)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108520307A (zh) * 2018-03-31 2018-09-11 深圳慧通商务有限公司 数据处理方法及相关装置
CN108648323B (zh) * 2018-05-10 2021-02-19 广州市申迪计算机系统有限公司 目标信息的选取方法、装置、计算机设备和存储介质
CN108846298A (zh) * 2018-05-23 2018-11-20 马佳明 一种文件内容的篡改检测方法及相关设备
CN108764701A (zh) * 2018-05-23 2018-11-06 深圳市元征科技股份有限公司 一种学位资源分配公示方法、系统及设备和存储介质
CN108776838A (zh) * 2018-06-01 2018-11-09 深圳市轱辘汽车维修技术有限公司 一种车辆维修商家匹配方法及相关装置
CN110610418B (zh) * 2018-06-15 2022-05-31 中数智创科技有限公司 基于区块链的交易状态查询方法、系统、设备及存储介质
CN108831001B (zh) * 2018-06-25 2021-06-18 北京奇虎科技有限公司 基于区块链的节点随机选取方法、系统、节点、电子设备
WO2020000198A1 (fr) * 2018-06-26 2020-01-02 深圳齐心集团股份有限公司 Système de présence basé sur une chaîne de bloc
CN109146679B (zh) 2018-06-29 2023-11-10 创新先进技术有限公司 基于区块链的智能合约调用方法及装置、电子设备
CN109242677A (zh) * 2018-07-27 2019-01-18 阿里巴巴集团控股有限公司 对象选取方法及装置、电子设备
CN109448211B (zh) * 2018-09-18 2022-06-17 平安科技(深圳)有限公司 基于大数据的车牌发放方法、装置、介质和设备
CN110932859B (zh) * 2018-09-20 2021-06-15 北大方正集团有限公司 用户信息的处理方法、装置、设备及可读存储介质
TW202016743A (zh) 2018-10-25 2020-05-01 財團法人資訊工業策進會 用於物聯網系統之資料處理裝置及資料處理方法
CN109615370A (zh) * 2018-10-25 2019-04-12 阿里巴巴集团控股有限公司 对象选取方法及装置、电子设备
CN111882745B (zh) * 2018-10-26 2022-12-20 创新先进技术有限公司 对象选取方法及装置、电子设备
CN109660514B (zh) * 2018-11-15 2020-06-09 苏宁易购集团股份有限公司 一种智能设备系统的实现方法、智能设备控制方法及系统
CN109542455B (zh) * 2018-11-29 2021-08-06 杭州复杂美科技有限公司 合约执行方法、合约精简方法、设备和存储介质
CN109767271B (zh) * 2019-01-18 2023-07-04 众安信息技术服务有限公司 基于区块链的抽奖方法和设备
CN109831501B (zh) * 2019-01-30 2020-09-29 京东数字科技控股有限公司 基于区块链的信息分发方法和系统
CN109862136A (zh) * 2019-03-19 2019-06-07 全链通有限公司 基于域名区块链的群组通信方法、区块链节点及介质
CN110336672B (zh) * 2019-04-29 2020-07-28 山东工商学院 基于零知识证明的公民隐私保护的方法、系统及存储介质
CN110197708B (zh) * 2019-06-05 2023-01-24 重庆邮电大学 一种面向电子医疗病历的区块链迁移与存储方法
CN111709595A (zh) * 2019-12-16 2020-09-25 航天信息股份有限公司 一种基于区块链技术对资源进行分配的方法及系统
CN111009068B (zh) * 2019-12-18 2021-09-17 中体彩科技发展有限公司 基于区块链的彩票开奖号码生成方法及系统
CN111966503B (zh) * 2020-10-20 2021-05-25 支付宝(杭州)信息技术有限公司 智能合约账户的存储空间管理方法和装置
CN112418856A (zh) * 2020-11-25 2021-02-26 政采云有限公司 一种摇号方法、装置、区块链、设备及计算机存储介质
CN115796869B (zh) * 2022-11-24 2024-01-19 元疆(广州)供应链管理合伙企业(有限合伙) 一种基于智能数字合约的商品数据处理方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893042A (zh) * 2016-03-31 2016-08-24 北京航空航天大学 一种基于区块链的智能合约的实现方法
CN105976248A (zh) * 2016-04-29 2016-09-28 邓迪 一种众筹抽签方法及系统
CN106453407A (zh) * 2016-11-23 2017-02-22 江苏通付盾科技有限公司 基于区块链的身份认证方法、认证服务器及用户终端
CN106504097A (zh) * 2016-11-09 2017-03-15 北京金股链科技有限公司 一种资产信息的处理方法和装置
CN106529946A (zh) * 2016-11-01 2017-03-22 北京金股链科技有限公司 基于区块链实现用户身份数字化的方法
US20170200147A1 (en) * 2016-01-08 2017-07-13 Akbar Ali Ansari System and the computer methods of issuing, transferring and manipulating value or gift cards using blockchain technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379510A1 (en) * 2012-07-10 2015-12-31 Stanley Benjamin Smith Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.
CN106230851B (zh) * 2016-08-29 2019-12-13 中金云金融(北京)大数据科技股份有限公司 基于区块链的数据保全方法及系统
CN106598579B (zh) * 2016-12-06 2020-12-25 北京果仁宝科技有限公司 区块链上集成动态类型编程语言方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170200147A1 (en) * 2016-01-08 2017-07-13 Akbar Ali Ansari System and the computer methods of issuing, transferring and manipulating value or gift cards using blockchain technology
CN105893042A (zh) * 2016-03-31 2016-08-24 北京航空航天大学 一种基于区块链的智能合约的实现方法
CN105976248A (zh) * 2016-04-29 2016-09-28 邓迪 一种众筹抽签方法及系统
CN106529946A (zh) * 2016-11-01 2017-03-22 北京金股链科技有限公司 基于区块链实现用户身份数字化的方法
CN106504097A (zh) * 2016-11-09 2017-03-15 北京金股链科技有限公司 一种资产信息的处理方法和装置
CN106453407A (zh) * 2016-11-23 2017-02-22 江苏通付盾科技有限公司 基于区块链的身份认证方法、认证服务器及用户终端

Also Published As

Publication number Publication date
CN107820690A (zh) 2018-03-20
CN107820690B (zh) 2020-11-10

Similar Documents

Publication Publication Date Title
WO2019036831A1 (fr) Procédé et appareil de sélection d'informations, dispositif électronique et support d'enregistrement lisible par ordinateur
US11689362B2 (en) Distributed ledger for generating and verifying random sequence
US11917051B2 (en) Systems and methods for storage, generation and verification of tokens used to control access to a resource
JP6877448B2 (ja) 分散ハッシュテーブル及びブロックチェーンを用いてコンピュータソフトウェアを保証する方法及びシステム
TWI709055B (zh) 權益分配方法及裝置、電子設備
JP7029408B2 (ja) 分散ハッシュテーブル及びピア・ツー・ピア分散型台帳を利用した契約の実行を制御する方法及びシステム
TWI771618B (zh) 基於區塊鏈的作品版權分配方法和裝置
CN109495592B (zh) 数据协同方法及电子设备
WO2020082883A1 (fr) Procédé et dispositif de sélection d'objet et dispositif électronique
WO2021017443A1 (fr) Procédé et appareil d'attribution de numéro de facture reposant sur une chaîne de blocs et dispositif électronique
JP2020513176A (ja) ブロックチェーンを用いてデータ記録を分配するシステム及び方法
JP7264878B6 (ja) ブロックチェーンにおけるリソースを保護する改善された時間ロック技術
CN111126950A (zh) 一种基于区块链的业务处理方法、装置及设备
Zambrano et al. Unpacking the disruptive potential of blockchain technology for human development
CN115632854A (zh) 一种基于区块链的数据处理方法和装置
CN110334153B (zh) 块链式账本中的授权方法、系统、装置及设备
TWI706663B (zh) 基於多個區塊鏈網路的資料存證方法及系統
CN110020945B (zh) 一种基于多个区块链网络的数据读取方法及系统
CN110060153B (zh) 一种基于多个区块链网络的数据存证方法及系统
CN111260488B (zh) 一种数据处理方法、装置及可读存储介质
Lamkoti et al. Certificate verification using blockchain and generation of transcript
Christodoulou et al. Developing more reliable news sources by utilizing the blockchain technology to combat fake news
Garcia Bringas et al. BlockChain platforms in financial services: current perspective
JP2022532764A (ja) プルーフオブワークブロックチェーンネットワークにおける非並列化マイニングのためのシステムおよび方法
CN113221165B (zh) 一种基于区块链的用户要素认证方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17922640

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17922640

Country of ref document: EP

Kind code of ref document: A1