WO2023109520A1 - Procédé et appareil de génération de nombre aléatoire basés sur une chaîne de blocs - Google Patents

Procédé et appareil de génération de nombre aléatoire basés sur une chaîne de blocs Download PDF

Info

Publication number
WO2023109520A1
WO2023109520A1 PCT/CN2022/135838 CN2022135838W WO2023109520A1 WO 2023109520 A1 WO2023109520 A1 WO 2023109520A1 CN 2022135838 W CN2022135838 W CN 2022135838W WO 2023109520 A1 WO2023109520 A1 WO 2023109520A1
Authority
WO
WIPO (PCT)
Prior art keywords
random number
signature
smart contract
generating
seed
Prior art date
Application number
PCT/CN2022/135838
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 支付宝(杭州)信息技术有限公司
Publication of WO2023109520A1 publication Critical patent/WO2023109520A1/fr

Links

Images

Classifications

    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Definitions

  • This document relates to the field of blockchain technology, and in particular to a method and device for generating random numbers based on blockchain.
  • Blockchain is a decentralized distributed ledger that stores data in units of blocks and connects them in chronological order to form a chain structure. At the same time, it uses cryptography to ensure that it cannot be tampered with, cannot be forged, and data transmission and access are secure. Due to the characteristics of decentralization of blockchain technology, each computing node can participate in data recording, and fast data synchronization between computing nodes, blockchain is widely used in many fields.
  • One or more embodiments of this specification provide a random number generation method based on blockchain, which is applied to blockchain nodes, and the method includes: receiving a transaction carrying a request for generating a random number, and the request for generating a random number Carries a random number seed; calls the corresponding smart contract based on the transaction, and executes the corresponding smart contract through the virtual machine, the smart contract includes generating a number of participants for triggering participation in random number generation.
  • a signature instruction for performing multi-party cooperative signature ; obtaining an aggregate signature obtained by multiple participants responding to the signature instruction to perform multi-party cooperative signature on the random number seed, and generating a random number based on the obtained multiple aggregate signatures.
  • One or more embodiments of this specification provide a block chain-based random number generation device running on a block chain node, the device includes: a transaction receiving module configured to receive a transaction carrying a request for generating a random number , the request for generating a random number carries a random number seed; the smart contract calling module is configured to call a corresponding smart contract based on the transaction, and execute the corresponding smart contract through a virtual machine, the smart contract includes generating a trigger for triggering Multiple participants participating in the random number generation perform a multi-party cooperative signature instruction on the random number seed; obtain an aggregate signature obtained by multiple participants responding to the signature instruction to perform a multi-party cooperative signature on the random number seed, and Generate a random number based on the obtained multiple aggregated signatures.
  • One or more embodiments of this specification provide a block chain-based random number generation device, including: a processor; and a memory configured to store computer-executable instructions, and the computer-executable instructions when executed Make the processor: receive a transaction carrying a request for generating a random number, the request for generating a random number carries a random number seed; call a corresponding smart contract based on the transaction, and execute the corresponding smart contract through a virtual machine, the The smart contract includes generating a signature instruction for triggering multiple participants participating in random number generation to perform multi-party collaborative signature on the random number seed; obtaining multiple participants to respond to the signature instruction to perform multi-party coordination on the random number seed Sign the obtained aggregated signature, and generate a random number based on the obtained multiple aggregated signatures.
  • One or more embodiments of this specification provide a storage medium for storing computer-executable instructions.
  • the computer-executable instructions When the computer-executable instructions are executed by a processor, the following process is implemented: a transaction carrying a request for generating a random number is received, and the The random number generation request mentioned above carries a random number seed; the corresponding smart contract is invoked based on the transaction, and the corresponding smart contract is executed through the virtual machine.
  • the random number seed performs a multi-party cooperative signature signature instruction; obtains an aggregate signature obtained by multiple participants responding to the signature instruction to perform a multi-party cooperative signature on the random number seed, and generates a random number based on the obtained multiple aggregate signatures. number.
  • Fig. 1 is a processing flowchart of a block chain-based random number generation method provided by one or more embodiments of this specification;
  • FIG. 2 is a flowchart of a blockchain-based random number generation method applied to a lottery scenario provided by one or more embodiments of this specification;
  • FIG. 3 is a schematic diagram of a block chain-based random number generator provided by one or more embodiments of this specification;
  • Fig. 4 is a schematic structural diagram of a block chain-based random number generation device provided by one or more embodiments of this specification.
  • An embodiment of a block chain-based random number generation method provided in this specification starts from the transaction for random number generation, calls the corresponding smart contract, and passes Execute smart contracts for random number generation, so as to reach a consensus on multi-party collaborative generation of random numbers with the help of blockchain, specifically generate aggregate signatures through multi-party collaborative signatures on random number seeds, and generate random numbers on the basis of aggregate signatures, so that participants
  • the multiple parties that generate the random number reach a consensus on the aggregated signature, ensuring that the random number generated on the basis of the aggregated signature also undergoes a multi-party consensus, thereby improving the correctness of the random number generation.
  • the smart contract for random number generation it improves Traceability of the random number generation process.
  • the blockchain-based random number generation method provided in this embodiment is applied to blockchain nodes, and specifically includes steps S102 to S104.
  • Step S102 receiving a transaction carrying a request to generate a random number.
  • the transaction carrying the random number generation request can be sent by the trusted execution environment.
  • the trusted execution environment After receiving the random number generation request submitted by the client, the trusted execution environment generates a random number seed for the random number generation request. And send the transaction carrying the random number seed in the random number generation request to the block chain node; in addition, the client connected to the block chain node can also send the transaction carrying the random number generation request.
  • the request for generating a random number carries a random number seed, and the random number seed refers to reference data for generating a random number.
  • the random number seed is generated by the trusted execution environment according to the random number generation request.
  • Step S104 calling the corresponding smart contract based on the transaction, and executing the corresponding smart contract through the virtual machine.
  • the smart contract includes the contract logic included in the smart contract, or the business process realized by executing the smart contract.
  • the smart contract includes: generating a signature instruction for triggering a plurality of participants participating in random number generation to perform a multi-party cooperative signature on the random number seed; obtaining a plurality of participants responding to the signature instruction to The above random number seeds are used to perform multi-party cooperative signatures to obtain aggregated signatures, and generate random numbers based on the obtained multiple aggregated signatures.
  • the multi-party cooperative signature refers to the random number signatures obtained by signing the random number seeds by multiple participants participating in the random number generation, and combining the random number signatures obtained by their own signatures with the random number signatures obtained by other participants' signatures.
  • the participating parties participating in random number generation are multiple parties.
  • multiple participating parties participating in random number generating are block chain nodes.
  • each participating party (block chain node) is the same, the following takes the processing of any one of the multiple participants in the random number generation process as an example to illustrate the random number generation process in which multiple participants participate.
  • the processing process of any participant in the random number generation process provided below, and will not repeat them here.
  • the participants involved in random number generation may not be blockchain nodes.
  • multiple participants involved in random number generation must also be blockchain users. That is, it has a corresponding blockchain account, so that a consensus can be reached on the basis of the blockchain account to generate random numbers with the help of multiple parties.
  • any one or more of the multiple participants responding to the signature instruction to perform a multi-party cooperative signature on the random number seed includes: using private key fragmentation Sign the random number seed to obtain a first random number signature, and the private key fragment is pre-generated by the participant and other participants based on the distributed key agreement; send the first random number signature to the other participants Participants, and receive the first random number signature from other participants as the second random number signature; when the received second random number signature meets the aggregation condition, the received second random number signature together with the first random number Aggregation of signatures results in aggregated signatures.
  • the i-th participant (blockchain node) participating in the random number generation uses the following algorithm for signature processing:
  • p_i is the signature share of the i-th participant, which is also the random number signature of the i-th participant;
  • the i-th participant aggregates the signature share p_i generated by itself and the signature shares synchronized by t participants into an aggregated signature p in the following way:
  • p_1, ...., p_t are the received signature shares of t participants synchronized in turn;
  • the distributed key agreement is implemented to generate the encryption of each participant involved in random number generation.
  • Key sharding specifically, the private key sharding used by the participants to sign the random number seed is pre-generated by all participants based on the distributed key agreement, and the key is generated in the following way:
  • KenGen(n, t) (pk, pk_1, pk_2, ..., pk_n)
  • n is the total number of all participants
  • t is the number of untrusted nodes
  • the pk output by the algorithm KenGen() is the shared public key
  • pk_1, pk_2, ..., pk_n are the 1st to nth participants in turn Private key sharding.
  • the number of nodes is configured to ensure the data security of the random number generation process. For example, if the number of nodes of untrusted nodes is configured as 0, it indicates that the current data scene does not accept untrusted nodes; if the number of nodes of untrusted nodes is configured as 2, then It shows that the current data scenario can accept two untrusted nodes in the blockchain, that is, random numbers can still be generated even if there are two untrusted nodes in the blockchain, so as to improve the efficiency of the random number generation process. robustness.
  • the trusted execution environment uses the private key to pair the The random number seed is signed, and the digital signature of the random number seed is obtained.
  • the blockchain node performs signature verification in the process of calling the smart contract to generate the random number, so as to detect whether the random number seed has been tampered with during the sending process.
  • the smart contract also includes: The authenticity of the random number seed; after the verification is passed, a signature instruction for triggering the participants participating in the random number generation to perform a multi-party cooperative signature on the random number seed is generated.
  • the random number seed carried in the random number generation request has a private key signature obtained by signing with the trusted execution environment, and the verifying the authenticity of the random number seed includes using the trusted execution environment Signature verification with the public key corresponding to the private key.
  • generating random numbers based on the obtained multiple aggregated signatures includes: when the same number of multiple acquired aggregated signatures meets certain conditions, based on the same The aggregated signature generates random numbers; wherein, the same number in multiple aggregated signatures meets certain conditions, including the same number in multiple aggregated signatures is greater than or equal to the number of untrusted nodes.
  • the same aggregated signature can be used as a random number.
  • the data form of the random number may be a character string, or other data forms other than the character string.
  • the authenticity of the aggregated signatures is verified by means of signature verification.
  • the shared public key obtained after the execution of the distributed key The aggregated signature is verified, so as to ensure that the participants who perform the random number signature, signature aggregation, and aggregated signature synchronization are the participants who reach a consensus.
  • the smart contract also includes: using the shared public key to verify the multiple An aggregated signature, the shared public key is pre-generated collaboratively by the multiple participants based on the distributed key agreement; and the random number is generated based on the multiple aggregated signatures after the verification is passed.
  • the generation of random numbers in many business scenarios often serves the actual business.
  • the generation of random numbers serves the demand for random numbers in lottery or lottery scenarios. Therefore, after the random number is generated, the generated random number Request to return the generated random number so that the business can access the random number.
  • the identifier carried in the random number generation request record the random number and use it as the random number corresponding to the identifier.
  • the request to generate a random number returns a request response carrying the random number. For example, if the transaction for generating a random number request is sent by the client, according to the task ID carried in the request for generating a random number, record the generated random number as the random number corresponding to the task ID, and return the transaction carrying the random number to the client. Number of request responses.
  • the block chain-based random number generation method on the basis of the received transaction carrying the request to generate a random number, calls the corresponding smart contract based on the transaction and executes the called smart contract to perform Random number generation, specifically in the random number generation process, starting from the random number seed carried in the random number generation request, generating a signature instruction for multi-party cooperative signature on the random number seed, and multiple participants
  • the aggregated signatures obtained by collaborative signatures are aggregated into random numbers, so as to reach the consensus of multiple participants on random number generation, which effectively improves the correctness and legitimacy of random number generation.
  • random number generation is performed by executing smart contracts.
  • the random number generation process is traceable, which improves the security of the random number generation process; further, by executing the distributed key agreement, the private key fragments for signing the random number seeds are generated, and the authenticity of the aggregated signature is verified
  • the shared public key ensures that the random number seed and aggregate signature are consensused by multiple parties, which helps to further improve the security of the random number generation process and the legitimacy of random number generation.
  • Step S202 receiving a transaction carrying a request for generating a random number sent by the Trusted Execution Environment.
  • the random number generation request carries a random number seed
  • the random number seed is generated by the trusted execution environment according to the random number generation request submitted by the lottery client, and has a private key signature obtained by signing the trusted execution environment.
  • Step S204 call the corresponding smart contract based on the transaction.
  • Sub-step S204-2 using the public key corresponding to the private key of the trusted execution environment to perform signature verification on the random number seed.
  • Sub-step S204-4 after the verification is passed, generate a signature instruction for triggering the participants participating in the random number generation to perform a multi-party cooperative signature on the random number seed.
  • Sub-step S204-6 using the private key fragment to sign the random number seed to obtain the first random number signature.
  • the private key fragment is pre-generated by the participant and other participants based on the distributed key agreement.
  • Sub-step S204-8 sending the first random number signature to the remaining participants, and receiving the first random number signature from the remaining participants as the second random number signature.
  • Sub-step S204-10 when the received second random number signature satisfies the aggregation condition, aggregate the received second random number signature together with the first random number signature to obtain an aggregated signature.
  • sub-step S204-12 when the same number among the obtained multiple aggregated signatures meets a certain condition, the same aggregated signature is used as a target signature, and a random number is generated based on the target signature.
  • An embodiment of a block chain-based random number generation device provided in this specification is as follows: In the above-mentioned embodiment, a block chain-based random number generation method is provided, and correspondingly, a A block chain-based random number generating device, which will be described below with reference to the accompanying drawings.
  • FIG. 3 it shows a schematic diagram of a block chain-based random number generating device provided in this embodiment.
  • the description is relatively simple. For relevant parts, please refer to the corresponding description of the method embodiment provided above.
  • the device embodiments described below are illustrative only.
  • This embodiment provides a block chain-based random number generating device, including: a transaction receiving module 302 configured to receive a transaction carrying a request for generating a random number, the request for generating a random number carries a random number seed; a smart contract
  • the calling module 304 is configured to call a corresponding smart contract based on the transaction, and execute the corresponding smart contract through a virtual machine, the smart contract includes: generating a pair of random A signature instruction for performing multi-party cooperative signature on the number seed; obtaining an aggregate signature obtained by multiple participants responding to the signature instruction to perform multi-party cooperative signature on the random number seed, and generating a random number based on the obtained multiple aggregate signatures.
  • An embodiment of a block chain-based random number generation device provided in this specification is as follows: Corresponding to a block chain-based random number generation method described above, based on the same technical concept, one or more embodiments of this specification also Provide a block chain-based random number generation device, the block chain-based random number generation device is used to implement the block chain-based random number generation method provided above, Figure 4 shows one or more embodiments of this specification A schematic structural diagram of a block chain-based random number generation device is provided.
  • a block chain-based random number generating device includes: as shown in FIG. or more than one processor 401 and memory 402, and one or more storage application programs or data may be stored in the memory 402.
  • the storage 402 may be a short-term storage or a persistent storage.
  • the application program stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the block chain-based random number generating device.
  • the processor 401 can be configured to communicate with the memory 402, and execute a series of computer-executable instructions in the memory 402 on the blockchain-based random number generating device.
  • the block chain-based random number generating device may also include one or more power sources 403, one or more wired or wireless network interfaces 404, one or more input/output interfaces 405, one or more keyboards 406, and the like.
  • the block chain-based random number generating device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more More than one module, and each module may include a series of computer-executable instructions in the block chain-based random number generating device, and is configured to be executed by one or more processors.
  • the one or more programs include for Performing the following computer-executable instructions: receiving a transaction carrying a request for generating a random number, the request for generating a random number carrying a random number seed; calling a corresponding smart contract based on the transaction, and executing the corresponding smart contract through a virtual machine,
  • the smart contract includes: generating a signature instruction for triggering a plurality of participants participating in random number generation to perform a multi-party cooperative signature on the random number seed; The aggregated signature obtained by multi-party cooperative signature, and the random number is generated based on the obtained multiple aggregated signatures.
  • An example of a storage medium provided in this specification is as follows: Corresponding to a block chain-based random number generation method described above, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.
  • the storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: receiving a transaction carrying a request for generating a random number, and the request for generating a random number carries a A random number seed; calling a corresponding smart contract based on the transaction, and executing the corresponding smart contract through a virtual machine, the smart contract includes: generating a plurality of participants used to trigger participation in random number generation to perform random number seed A signature command signed by multiple parties; obtaining an aggregated signature obtained by multiple parties responding to the signature command to perform multiple collaborative signatures on the random number seed, and generating a random number based on the multiple aggregated signatures obtained.
  • the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvement in method flow).
  • improvements in many current method flows can be regarded as the direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules.
  • a Programmable Logic Device such as a Field Programmable Gate Array (FPGA)
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as software or firmware) executable by the (micro)processor , logic gates, switches, Application Specific Integrated Circuit (ASIC), programmable logic controllers, and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory.
  • ASIC Application Specific Integrated Circuit
  • controller in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.
  • a typical implementing device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Combinations of any of these devices.
  • one or more embodiments of this specification may be provided as a method, system or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash random access memory
  • Computer-readable media including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information.
  • Information may be computer readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, A magnetic tape cartridge, disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • program modules may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • program modules may be located in both local and remote computer storage media including storage devices.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Sont fournis un procédé et un appareil de génération de nombre aléatoire basés sur une chaîne de blocs. Le procédé est appliqué à un nœud de chaîne de blocs et consiste : à recevoir une transaction transportant une demande de génération de nombre aléatoire, la demande de génération de nombre aléatoire transportant une valeur de départ de nombre aléatoire ; et à faire appel à un contrat intelligent correspondant sur la base de la transaction et à exécuter le contrat intelligent correspondant au moyen d'une machine virtuelle. Le contrat intelligent consiste : à générer une instruction de signature destinée à déclencher une pluralité de participants, qui participent à la génération de nombres aléatoires, pour réaliser une signature collaborative multipartite sur la valeur de départ de nombre aléatoire ; et à acquérir des signatures agrégées obtenues au moyen de la pluralité de participants réalisant une signature collaborative multipartite sur la valeur de départ de nombre aléatoire en réponse à l'instruction de signature et à générer un nombre aléatoire sur la base de la pluralité de signatures agrégées acquises.
PCT/CN2022/135838 2021-12-15 2022-12-01 Procédé et appareil de génération de nombre aléatoire basés sur une chaîne de blocs WO2023109520A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111534310.8A CN113935737B (zh) 2021-12-15 2021-12-15 基于区块链的随机数生成方法及装置
CN202111534310.8 2021-12-15

Publications (1)

Publication Number Publication Date
WO2023109520A1 true WO2023109520A1 (fr) 2023-06-22

Family

ID=79289083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/135838 WO2023109520A1 (fr) 2021-12-15 2022-12-01 Procédé et appareil de génération de nombre aléatoire basés sur une chaîne de blocs

Country Status (2)

Country Link
CN (1) CN113935737B (fr)
WO (1) WO2023109520A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113935737B (zh) * 2021-12-15 2022-10-25 支付宝(杭州)信息技术有限公司 基于区块链的随机数生成方法及装置
CN114666068B (zh) * 2022-05-25 2022-10-11 南京金宁汇科技有限公司 一种基于联盟链的可信随机数生成方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599173A (zh) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 区块链的共识节点确定方法、装置、设备及存储介质
CN112182612A (zh) * 2020-09-28 2021-01-05 平安科技(深圳)有限公司 一种随机数生成方法、装置、终端设备及存储介质
US20210286595A1 (en) * 2020-03-11 2021-09-16 Acer Incorporated Blockchain random number generating system and blockchain random number generating method
CN113935737A (zh) * 2021-12-15 2022-01-14 支付宝(杭州)信息技术有限公司 基于区块链的随机数生成方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020146955A1 (fr) * 2019-01-18 2020-07-23 Zeu Crypto Networks Inc. Procédé de génération de nombres aléatoires dans des contrats intelligents à chaîne de blocs
CN111628862B (zh) * 2020-05-22 2023-09-12 杭州溪塔科技有限公司 一种多方参与的随机数生成方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599173A (zh) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 区块链的共识节点确定方法、装置、设备及存储介质
US20210286595A1 (en) * 2020-03-11 2021-09-16 Acer Incorporated Blockchain random number generating system and blockchain random number generating method
CN112182612A (zh) * 2020-09-28 2021-01-05 平安科技(深圳)有限公司 一种随机数生成方法、装置、终端设备及存储介质
CN113935737A (zh) * 2021-12-15 2022-01-14 支付宝(杭州)信息技术有限公司 基于区块链的随机数生成方法及装置

Also Published As

Publication number Publication date
CN113935737A (zh) 2022-01-14
CN113935737B (zh) 2022-10-25

Similar Documents

Publication Publication Date Title
TWI705350B (zh) 一種事務請求的處理方法及裝置
CN110032883B (zh) 区块链中实现隐私保护的方法、系统和节点
CN112184222B (zh) 基于区块链的业务处理方法、业务处理方法、装置及设备
WO2023109520A1 (fr) Procédé et appareil de génération de nombre aléatoire basés sur une chaîne de blocs
TWI737107B (zh) 資料處理方法、裝置、區塊鏈客戶端和區塊鏈節點
CN110008735B (zh) 区块链中实现合约调用的方法及节点、存储介质
TW201835835A (zh) 一種事務請求的處理方法及裝置
TW201835803A (zh) 共識校驗的方法及裝置
WO2020086187A1 (fr) Procédé, appareil et dispositif de traitement de données
CN110245942B (zh) 结合用户类型和判断条件的收据存储方法和节点
CN110264198B (zh) 结合代码标注与交易类型的有条件的收据存储方法和节点
CN110245947B (zh) 结合交易与用户类型的条件限制的收据存储方法和节点
WO2020238248A1 (fr) Procédé de stockage de données, appareil et dispositif
TW201822033A (zh) 資源處理方法及裝置
US11201870B2 (en) Using commit tokens to coordinate permissions submissions to address transaction conflict in blockchain systems
CN111339565B (zh) 基于区块链的业务服务提供方法、装置、设备及系统
US11270004B2 (en) Blockchain-based transaction privacy
CN113821817B (zh) 基于区块链的数据处理方法、装置、设备及系统
TW202040460A (zh) 基於區塊鏈的資料處理方法、裝置和區塊鏈節點
CN110245943B (zh) 基于判断条件的收据存储方法和节点
CN111669434B (zh) 一种通信群组的建立方法、系统、装置及设备
CN114281893A (zh) 一种区块链交易的处理方法、装置及设备
TW201937425A (zh) 交易處理方法、伺服器、客戶端及系統
CN113761496B (zh) 一种基于区块链的身份校验方法及装置和电子设备
CN112418857B (zh) 基于utxo模型的隐藏交易方法、装置及相关产品

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: 22906270

Country of ref document: EP

Kind code of ref document: A1