WO2019148783A1 - Procédé et dispositif de traitement de transaction, dispositif informatique et support d'informations - Google Patents

Procédé et dispositif de traitement de transaction, dispositif informatique et support d'informations Download PDF

Info

Publication number
WO2019148783A1
WO2019148783A1 PCT/CN2018/096807 CN2018096807W WO2019148783A1 WO 2019148783 A1 WO2019148783 A1 WO 2019148783A1 CN 2018096807 W CN2018096807 W CN 2018096807W WO 2019148783 A1 WO2019148783 A1 WO 2019148783A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
value
address
redemption
purchaser
Prior art date
Application number
PCT/CN2018/096807
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 WO2019148783A1 publication Critical patent/WO2019148783A1/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/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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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/22Payment schemes or models
    • G06Q20/223Payment schemes or models based on the use of peer-to-peer networks
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3678Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
    • 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
    • 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
    • G06Q2220/00Business processing using cryptography

Definitions

  • the present application is a transaction processing method, apparatus, computer device, and storage medium.
  • the online transaction is generally used for the transaction of digital assets.
  • the digital asset can be a movie, an electronic chip design manual, a list of inquiries, etc.
  • a centralized settlement system is provided, which is used to control the seller and the purchaser to realize the transaction.
  • the inventor realized that the current transaction method requires setting up a settlement system, and both the seller and the purchaser need to register in the settlement system, etc., and the seller or purchaser who does not register at the settlement center cannot perform the transaction.
  • the transaction formed a centralized processing and settlement system, which caused the pressure on the settlement system to be large.
  • a transaction processing method, apparatus, computer device, and storage medium are provided.
  • a transaction processing method including:
  • the seller value redemption address is calculated according to the first public key and the first transaction value storage address by the second transaction.
  • a transaction processing device comprising:
  • a broadcast module configured to broadcast the encrypted digital asset and the first public key of the seller's value redemption address on the blockchain by the first transaction;
  • a receiving module configured to receive a first transaction value storage address corresponding to the first public key returned by the purchaser
  • a calculating module configured to: when detecting that the purchaser transfers the purchase value to the first transaction value storage address, calculate, by the second transaction, the sale according to the first public key and the first transaction value storage address Party value redemption address;
  • a transaction module configured to transfer the purchase value stored in the first transaction value storage address into the seller value redemption address, and send a key for encrypting the digital asset to the buyer .
  • a computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executable by the processor to cause the one or more processors to execute The following steps: broadcasting, by the first transaction, the encrypted digital asset and the first public key of the seller value redemption address on the blockchain; receiving the first transaction value returned by the purchaser corresponding to the first public key a storage address; when it is detected that the purchaser transfers the purchase value to the first transaction value storage address, the seller value is calculated according to the first public key and the first transaction value storage address by the second transaction Redeeming the address; and transferring the purchase value stored in the first transaction value storage address to the seller value redemption address, and transmitting a key for encrypting the digital asset to the buyer .
  • One or more non-transitory computer readable storage mediums storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the steps of: Transmitting the encrypted digital asset and the first public key of the seller value redemption address on the blockchain; receiving a first transaction value storage address returned by the purchaser corresponding to the first public key; When the purchaser transfers the purchase value to the first transaction value storage address, the seller's value redemption address is calculated according to the first public key and the first transaction value storage address by the second transaction; The purchase value stored in the first transaction value storage address is transferred to the seller value redemption address, and a key for encrypting the digital asset is sent to the purchaser.
  • FIG. 1 is an application scenario diagram of a transaction processing method in accordance with one or more embodiments.
  • FIG. 2 is a flow diagram of a transaction processing method in accordance with one or more embodiments.
  • FIG. 3 is a block diagram of a block structure in accordance with one or more embodiments.
  • FIG. 4 is a schematic diagram of a blockchain in accordance with one or more embodiments.
  • FIG. 5 is a timing diagram of a transaction processing method in accordance with one or more embodiments.
  • FIG. 6 is a block diagram showing the structure of a transaction processing apparatus in accordance with one or more embodiments.
  • FIG. 7 is a diagram showing the internal structure of a computer device in accordance with one or more embodiments.
  • the transaction processing method provided by the present application can be applied to an application environment as shown in FIG. 1.
  • Both the seller and the buyer communicate with the blockchain.
  • the seller can encrypt the digital asset to be sold and broadcast it on the blockchain, so that the purchaser can obtain the digital asset, and after obtaining the digital asset, the buyer first redeems the address according to the seller's seller value.
  • the first public key constructs the contract and transfers the purchase value to the first transaction value storage address specified by the contract, and when the seller detects that the purchaser transfers the purchase value to the first transaction value storage address, extracts the The first transaction value stores the purchase value stored in the address and sends the key of the encrypted digital asset to the purchaser to complete the transaction.
  • the terminals corresponding to the seller and the purchaser may be, but are not limited to, various personal computers, notebook computers, smart phones, tablets, and portable wearable devices.
  • a transaction processing method is provided, which is applied to the seller in FIG. 1 as an example, and includes the following steps:
  • S202 Broadcast the encrypted digital asset and the first public key of the seller's value redemption address on the blockchain by the first transaction.
  • the first transaction is a transaction in which the seller sells the digital assets to be sold on the blockchain. After receiving the first transaction, the nodes in the blockchain can competitively mine to calculate The validity of the first transaction.
  • the seller can encrypt the digital asset to be sold by the key and then broadcast it on the blockchain, so that the purchaser cannot directly obtain the plaintext of the digital asset, and only the seller encrypts the key of the digital asset to the seller. After the purchaser, the purchaser can obtain the clear text of the digital asset. And since the data stored in the blockchain needs to be encrypted by the private key, it is to protect the security of the data, so in order to ensure the security of the seller's value redemption address, the seller will redeem the seller value.
  • the first public key of the address is broadcast on the blockchain, thereby preventing the illegal elements on the blockchain from obtaining the redemption address of the seller's value, thereby obtaining the value in the redemption address of the seller's value.
  • S204 Receive a first transaction value storage address corresponding to the first public key returned by the purchaser.
  • the encrypted digital asset broadcasted by the seller and the first public key of the seller's value redemption address are obtained, and according to the first public key and the purchaser's
  • the purchaser value redemption address generates a contract, for example, the content of the contract can be expressed as when the purchaser provides the purchase value of the digital asset, the seller’s value of the seller’s value is redeemed, so that the purchase value can be transferred
  • the seller may, after receiving the purchase value, forward the key of the encrypted digital asset to the corresponding purchaser, when the purchaser does not provide the purchase value of the digital asset, or provide When the purchase value is not for the digital asset, the purchase value is returned to the purchaser value redemption address.
  • the contract may be calculated according to a preset rule to obtain a first transaction value storage address, for example, a second summary calculation may be performed on the contract to obtain a first transaction value storage address.
  • the purchaser may first transfer the purchase value to the first transaction value storage address, and obtain the first transaction value storage address at the purchaser.
  • the blockchain actively provides the purchaser with the key used by the seller to encrypt the digital asset.
  • the transaction can be signed to ensure the security of the transaction and lock the value in the first transaction value storage address, so that only the verification is performed.
  • the successful purchase price can be obtained from the first transaction value storage address.
  • the seller when the seller detects that the purchaser transfers the purchase value to the first transaction value storage address, that is, the seller detects that the purchaser transfers the purchase value to the public value storage address, the seller can provide its own seller. a value redemption address to facilitate the transfer of the purchase value in the first transaction value storage address in the blockchain to its own seller value redemption address, wherein the seller value redemption address is due to It exists in the form of the first public key, so it needs to be calculated according to the first public key and the first transaction value storage address. Specifically, it may be that the first private key is verified by the seller's own, and only the first public key that is successfully verified will obtain the correct seller value redemption address. Thereby, the purchase value in the first transaction value storage address can be transferred to the seller value redemption address.
  • S208 Transfer the purchase value stored in the first transaction value storage address to the seller value redemption address, and send the key for encrypting the digital asset to the purchaser.
  • the seller can transfer the purchase value stored in the first transaction value storage address to the seller value redemption address, and after obtaining the purchase value,
  • the key used to encrypt the digital asset is sent to the purchaser so that the purchaser can decrypt the encrypted digitized asset based on the obtained key used to encrypt the digital asset to obtain the plaintext of the digital asset.
  • the encryption method of the encryption key may be agreed with the purchaser in advance, so that the mode key may be illegally in the process of transmission. Obtained, or the key may be stored in a storage address on the blockchain, so that the purchaser can directly obtain the corresponding key from the storage address.
  • the seller broadcasts on the blockchain a summary of the encrypted digital asset and the key used to encrypt the digital asset, so that the purchaser cannot decrypt the digital asset, ensuring the security of the digital asset, and not during the transaction.
  • the participation of the trading bureau is required to decentralize and improve the effectiveness of the transaction.
  • the above transaction processing method does not require a centralized settlement system, and the seller and the purchaser can freely trade through the blockchain, and the seller can encrypt the sold asset and broadcast it on the blockchain, thereby purchasing the
  • the purchaser of the digital asset may construct a contract based on the first public key of the seller's value redemption address, and the purchase value is transferred to the first transaction value storage address specified by the contract, when the seller detects that the purchaser will purchase the value Transferring to the first transaction value storage address, the purchase value stored in the first transaction value storage address is extracted, and the key of the encrypted digital asset is sent to the purchaser to complete the transaction.
  • the transaction processing method may further include: broadcasting, by the first transaction, the first digest of the key for encrypting the digital asset on the blockchain; receiving the first digest returned by the purchaser.
  • the step of calculating the seller value redemption address according to the first public key and the first transaction value storage address by using the second transaction, that is, the step S206 may include: acquiring a key for encrypting the digital asset by using the second transaction, and Calculating a second summary of the key; when the second summary is the same as the first summary, verifying the first public key by using the first private key of the seller's value redemption address; and when the verification is successful, obtaining the value of the seller's value Back address.
  • the seller not only broadcasts the encrypted digital asset on the blockchain, but also broadcasts the first digest of the key used to encrypt the digital asset on the blockchain, that is, the seller When you want to sell a digital asset, you first encrypt the digital asset with a key, then calculate the first summary of the key, and redeem the encrypted digital asset, the first summary, and the seller’s value to the first public address.
  • the key is broadcast on the blockchain. Therefore, the purchaser can obtain the encrypted digital asset, the first abstract, and the first public key of the seller's value redemption address, and the purchaser can obtain the purchaser value redemption address after obtaining the first public key.
  • the notification seller's purchase value has been transferred to the first transaction value storage address, and the first summary is used to determine which of the digital assets to purchase, that is, the first summary can uniquely determine the digital asset.
  • a second transaction may be opened, and the second transaction is used to provide the blockchain with a key for encrypting the digital asset. And calculating a second summary of the key according to a preset algorithm.
  • the digital asset to be purchased by the buyer may be determined and redeemed by the seller value corresponding to the digital asset.
  • the first private key of the address verifies the first public key, and only after the verification is successful, the purchase value in the first transaction value storage address can be transferred to the seller's value redemption address, that is, the seller can provide the seller Value redemption address.
  • the purchaser also needs to transfer a certain value to the purchaser value storage address of the blockchain in advance, and the purchaser value storage address can be the same as the purchaser value redemption address, so that the purchaser can directly The value in the purchaser's value storage address is transferred to the first transaction value storage address to successfully complete the transaction.
  • the first digest is introduced, and the digital asset purchased by the purchaser is determined by the first digest, and after the first digest verification is successful, the first public key is verified by the first private key of the seller's value redemption address. The key guarantees the security of the transaction.
  • the transaction processing method may further include: receiving a redemption script corresponding to the first public key returned by the purchaser. Therefore, before the step of acquiring the key for encrypting the digital asset by using the second transaction, the method further includes: calculating, by the second transaction, the second transaction value storage address according to the redemption script; and when the second transaction value storage address is the first transaction When the value storage addresses are identical, the step of obtaining a key for encrypting the digital asset through the second transaction is continued.
  • the redemption script is generated by the buyer based on the first public key and the second public key of the buyer value redemption address, the first transaction value storage address being generated by the buyer based on the redemption script.
  • the redemption script is generated based on the first public key of the seller's value redemption address and the second public key of the buyer's value redemption address, which is essentially the contract for the transaction. That is, after the purchaser obtains the first public key and the second public key, the redemption script is generated by the script virtual machine, and the first transaction value storage address is obtained by calculating the redemption script according to the preset rule, and then the purchase party Transferring the purchaser's funds to the first transaction value storage address, wherein the preset rule may be a secondary summary calculation, etc., but it is necessary to ensure that the preset rules of the buyer and the seller are the same, so that the buyer and the seller are based on the same
  • the transaction value storage address obtained by a redemption script is the same.
  • the seller calculates according to the redemption script according to the same preset rule as the buyer.
  • the second transaction value storage address is obtained.
  • the purchaser's redemption script is the same as the first transaction value storage address of the transferred funds, so the transaction can be continued.
  • the redemption script and the first transaction value storage address are verified once again, which further improves the security of the transaction.
  • the transaction processing method further includes a purchaser value redemption step, that is, when the seller does not conduct the transaction, the purchaser can redeem the corresponding purchase value
  • the step may include: when the second When the summary is different from the first summary, the preset number of blocks is obtained; the number of blocks participating in the calculation of the second transaction is obtained; when the number of blocks participating in the calculation of the second transaction is greater than the number of the preset blocks,
  • the first transaction value storage address obtains the second public key; when the second private key of the purchaser value redemption address provided by the buyer and the second public key are successfully verified, the purchase value stored in the first transaction value storage address is transferred Enter the purchaser's value redemption address.
  • blockchain is a novel method of generating consensus (reciprocal data and computational behavior between nodes) using distributed computing devices, also known as distributed ledgers.
  • the core design ideas include the use of a workload proof mechanism to protect the books.
  • the specific process is described as follows: a billing node computer (commonly known as absenteeism) in a distributed network collects the transfer transaction information of the market through the network, and completes the packing of a certain number of transaction information into a block data structure in a specific format ( Block), at this time, the completion node generates a block header corresponding to the block according to a fixed format.
  • a billing node computer commonly known as absenteeism
  • the attribute one is a special summary value for all transactions (hash, constructed from the merkle-tree method from all serialized transactions), and the other is a location random number field nonce.
  • the completion of the step begins to search for a specific random number: calculate the hash of the header structure corresponding to the initial value random number, and detect whether the hash satisfies the difficulty setting of the block chain for the current block. If so, the search is ended, the random number nonce is written to the block header, and the block is broadcast to other nodes in the network, waiting for other nodes to accept the block and write to the respective blockchain. If the proof of the set workload is not met, continue to increment the random number nonce, calculate the hash, and check the difficulty.
  • One block includes a block header and a block body, wherein the block header includes a summary of the previous block and a summary of the block.
  • the time, version, initial random number, the root of the Merck tree of the transaction structure (equivalent to the preset workload difficulty), and the transaction subject involves multiple transactions. See Figure 4 for the structure of the specific blockchain.
  • the participation may be obtained.
  • the number of blocks calculated by the second transaction when the number of blocks is greater than the preset number of blocks, the transaction is considered to be timed out, that is, the seller does not complete the transaction, and the second public key is obtained according to the first transaction value storage address.
  • the redemption script is first obtained according to the second transaction storage address, and then the second public key in the redemption script is obtained, so that the second private key and the second public key of the purchaser value redemption address provided by the purchaser are successfully verified.
  • the purchase value stored in the first transaction value storage address is transferred to the purchaser value redemption address to end the transaction.
  • the computer system of the blockchain is introduced, and whether the transaction is timed out is determined by the computer system of the blockchain. If the timeout is exceeded, the value in the first transaction value storage address can be returned to the purchaser value redemption address. To complete the transaction.
  • FIG. 5 is a sequence diagram of a transaction processing method in an embodiment.
  • the transaction processing method may include: the seller adds the encrypted digital asset, the first summary of the key of the encrypted digital asset, and the seller value redemption.
  • the first public key of the address is sent to the blockchain for broadcast, and the purchaser obtains the encrypted digital asset broadcasted by the seller on the blockchain according to the digital asset that is to be purchased, and encrypts the key of the digital asset.
  • the seller can open a second transaction to complete the transfer of the purchase value and the transfer of the key of the encrypted digital asset.
  • the process of the second transaction can be implemented in the form of a stack.
  • the input of the second transaction may be a key of the encrypted digital asset, a redemption script, a first private key of the seller's value redemption address, and the output is a seller value redemption address.
  • the specific processing of the second transaction is: first, pushing the first private key of the seller's value redemption address into the stack, pressing the key of the encrypted digital asset into the stack, and then calculating the key of the encrypted digital asset.
  • the second transaction process if the first digest and the second digest are not the same, the false is pushed in the header of the stack, and the timeout parameter is pushed onto the stack, and the timeout parameter is the number of preset blocks. So that the purchaser can detect whether the block participating in the calculation of the second transaction reaches the preset number of blocks, and if so, pushes the second public key of the purchaser's purchaser value redemption address onto the stack, thereby purchasing After the correct second private key is provided, after the blockchain verifies the second private key by using the second public key, the purchase value in the first transaction value storage address can be returned to the buyer to end the transaction.
  • FIGS. 2 and 5 are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in FIGS. 2 and 5 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be performed at different times, or The order of execution of the stages is also not necessarily sequential, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
  • a transaction processing apparatus including: a broadcast module 100, a receiving module 200, a computing module 300, and a transaction module 400, wherein:
  • the broadcast module 100 is configured to broadcast the encrypted digital asset and the first public key of the seller's value redemption address on the blockchain by the first transaction.
  • the receiving module 200 is configured to receive a first transaction value storage address corresponding to the first public key returned by the purchaser.
  • the calculating module 300 is configured to: when detecting that the purchaser transfers the purchase value to the first transaction value storage address, calculate the seller value redemption address according to the first public key and the first transaction value storage address by using the second transaction .
  • the transaction module 400 is configured to transfer the purchase value stored in the first transaction value storage address into the seller value redemption address, and send the key for encrypting the digital asset to the purchaser.
  • the broadcast module 100 can also be configured to broadcast the first digest of the key used to encrypt the digital asset over the blockchain by the first transaction.
  • the receiving module 200 is further configured to receive a first summary returned by the purchaser;
  • the calculation module 300 can include:
  • a summary calculation unit configured to acquire a key for encrypting the digital asset through the second transaction, and calculate a second summary of the key.
  • the verification unit is configured to verify the first public key by using the first private key of the seller value redemption address when the second digest is the same as the first digest.
  • the address obtaining unit is configured to obtain the seller value redemption address when the verification is successful.
  • the receiving module 200 is further configured to receive a redemption script corresponding to the first public key returned by the purchaser.
  • the device may also include:
  • a comparison module configured to calculate, according to the redemption script, a second transaction value storage address by using the second transaction; when the second transaction value storage address is consistent with the first transaction value storage address, proceed to obtain the encrypted number through the second transaction The key to the asset.
  • the redemption script is generated by the buyer based on the first public key and the second public key of the purchaser value redemption address, the first transaction value storage address being generated by the buyer based on the redemption script.
  • the apparatus may further include:
  • the preset block quantity obtaining module is configured to acquire the preset number of blocks when the second summary is different from the first summary.
  • the current block quantity obtaining module is configured to acquire the number of blocks participating in calculating the second transaction.
  • the second public key obtaining module is configured to obtain the second public key according to the first transaction value storage address when the number of the blocks participating in the calculation of the second transaction is greater than the preset number of blocks.
  • a redemption module configured to transfer the purchase value stored in the first transaction value storage address to the purchaser value redemption when the second private key and the second public key verification of the purchaser value redemption address provided by the purchaser are successful Back to address.
  • Each of the above-described transaction processing devices may be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor in the computer device, or may be stored in a memory in the computer device in a software form, so that the processor invokes the operations corresponding to the above modules.
  • a computer device which may be a terminal, and its internal structure diagram may be as shown in FIG.
  • the computer device includes a processor, memory, network interface, display screen, and input device connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the non-volatile storage medium stores operating systems and computer readable instructions.
  • the internal memory provides an environment for operation of an operating system and computer readable instructions in a non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal via a network connection.
  • the computer readable instructions are executed by a processor to implement a transaction processing method.
  • the display screen of the computer device may be a liquid crystal display or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device casing. It can also be an external keyboard, trackpad or mouse.
  • FIG. 7 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • a computer device comprising a memory and one or more processors, the memory storing computer readable instructions, the computer readable instructions being executed by the processor, causing the one or more processors to perform the steps of:
  • the encrypted digital asset and the first public key of the seller's value redemption address are broadcast on the blockchain; receiving the first transaction value storage address returned by the purchaser corresponding to the first public key; when detecting that the purchaser will purchase
  • the seller value redemption address is calculated according to the first transaction key and the first transaction value storage address by the second transaction; and the purchase stored in the first transaction value storage address is obtained.
  • the value is transferred to the seller's value redemption address and the key used to encrypt the digital asset is sent to the buyer.
  • the processor when executing the computer readable instructions, further implements the step of: broadcasting, by the first transaction, the first digest of the key used to encrypt the digital asset on the blockchain; receiving the return from the purchaser a first summary; the step of the processor executing the computer readable instruction, calculating, by the second transaction, the seller value redemption address according to the first public key and the first transaction value storage address, may include: obtaining by using the second transaction a key for encrypting the digital asset, and calculating a second summary of the key; when the second digest is the same as the first digest, verifying the first public key by using the first private key of the vendor value redemption address; When the verification is successful, the seller's value redemption address is obtained.
  • the processor when executing the computer readable instructions, further implements the steps of: receiving a redemption script returned by the purchaser corresponding to the first public key; and implementing the second through the execution of the computer readable instructions by the processor
  • the method may further include: calculating, by the second transaction, the second transaction value storage address according to the redemption script; and when the second transaction value storage address and the first transaction value storage address When they are consistent, the step of obtaining a key for encrypting the digital asset is continued through the second transaction.
  • the redemption script mentioned by the processor when executing the computer readable instructions is generated by the buyer based on the first public key and the second public key of the purchaser value redemption address, the first transaction value The storage address is generated by the purchaser based on the redemption script.
  • the processor executes the computer readable instructions
  • the following steps are further implemented: when the second digest is different from the first digest, the preset number of blocks is acquired; and the block participating in the calculation of the second transaction is acquired. Quantity; when the number of blocks participating in the calculation of the second transaction is greater than the preset number of blocks, the second public key is obtained according to the first transaction value storage address; and the second of the purchaser value redemption address provided by the purchaser When the private key and the second public key are successfully verified, the purchase value stored in the first transaction value storage address is transferred to the purchaser value redemption address.
  • One or more non-transitory computer readable storage mediums storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the steps of: And transmitting, by the purchaser, a first transaction value storage address corresponding to the first public key returned by the purchaser; and detecting When the purchase value is transferred to the first transaction value storage address, the seller value redemption address is calculated according to the first public key and the first transaction value storage address by the second transaction; and the first transaction value storage address is stored The purchase value is transferred to the seller's value redemption address and the key used to encrypt the digital asset is sent to the purchaser.
  • the computer readable instructions when executed by the processor, further implement the step of: broadcasting, by the first transaction, the first digest of the key used to encrypt the digital asset on the blockchain; receiving the purchaser returning a first summary; the step of calculating, by the processor, the seller-value redemption address according to the first public key and the first transaction value storage address implemented by the processor, may include: passing the second Transaction acquires a key for encrypting the digital asset, and calculates a second summary of the key; when the second digest is identical to the first digest, the first public key is verified by the first private key of the vendor value redemption address; And when the verification is successful, the seller's value redemption address is obtained.
  • the computer readable instructions are further executed by the processor to: receive a redemption script returned by the purchaser corresponding to the first public key; in one of the embodiments, the computer readable instructions are processed Before the step of obtaining the key for encrypting the digital asset by the second transaction, the method further includes: calculating, by the second transaction, the second transaction value storage address according to the redemption script; and when the second transaction value is When the storage address coincides with the first transaction value storage address, the step of obtaining a key for encrypting the digital asset through the second transaction is continued.
  • the redemption script mentioned when the computer readable instructions are executed by the processor is generated by the buyer based on the first public key and the second public key of the purchaser value redemption address, the first transaction The value storage address is generated by the purchaser based on the redemption script.
  • the following steps are further implemented: when the second summary is different from the first summary, the preset number of blocks is acquired; and the block participating in the calculation of the second transaction is acquired.
  • the quantity; when the number of blocks participating in the calculation of the second transaction is greater than the preset number of blocks, the second public key is obtained according to the first transaction value storage address; and the purchaser value redemption address provided by the purchaser
  • the verification of the second private key and the second public key is successful, the purchase value stored in the first transaction value storage address is transferred to the purchaser value redemption address.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Synchlink DRAM SLDRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

Un procédé de traitement de transaction selon l'invention comprend : la diffusion, sur une chaîne de blocs et au moyen d'une première transaction, d'un bien numérique chiffré et d'une première clé publique d'une adresse de remboursement de valeur de vendeur ; la réception d'une première adresse de stockage de valeur de transaction renvoyée par un acheteur et correspondant à la première clé publique ; s'il est détecté que l'acheteur transfère la valeur d'achat à la première adresse de stockage de valeur de transaction, la réalisation d'un calcul, au moyen d'une seconde transaction et selon la première clé publique et la première adresse de stockage de valeur de transaction, de sorte à obtenir l'adresse de remboursement de valeur de vendeur ; et le transfert, à l'adresse de remboursement de valeur de vendeur, de la valeur d'achat stockée dans la première adresse de stockage de valeur de transaction, et l'envoi à l'acheteur d'une clé pour chiffrer le bien numérique.
PCT/CN2018/096807 2018-01-30 2018-07-24 Procédé et dispositif de traitement de transaction, dispositif informatique et support d'informations WO2019148783A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810090202.8A CN108305074B (zh) 2018-01-30 2018-01-30 交易处理方法、装置、计算机设备和存储介质
CN201810090202.8 2018-01-30

Publications (1)

Publication Number Publication Date
WO2019148783A1 true WO2019148783A1 (fr) 2019-08-08

Family

ID=62866997

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096807 WO2019148783A1 (fr) 2018-01-30 2018-07-24 Procédé et dispositif de traitement de transaction, dispositif informatique et support d'informations

Country Status (2)

Country Link
CN (1) CN108305074B (fr)
WO (1) WO2019148783A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110570313A (zh) * 2019-09-27 2019-12-13 深圳市网心科技有限公司 基于区块链的数据交易方法、数据交易装置及系统
CN110599271A (zh) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 票据检测方法、装置、计算机设备和存储介质
CN111586013A (zh) * 2020-04-29 2020-08-25 数网金融有限公司 网络入侵检测方法、装置、节点终端及存储介质

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305074B (zh) * 2018-01-30 2020-06-02 深圳壹账通智能科技有限公司 交易处理方法、装置、计算机设备和存储介质
CN108399533B (zh) * 2018-02-07 2020-08-18 深圳壹账通智能科技有限公司 交易处理方法、装置、计算机设备和存储介质
GB201815816D0 (en) * 2018-09-28 2018-11-14 Nchain Holdings Ltd Computer-implemented system and method
CN110400221B (zh) * 2018-09-29 2021-09-10 腾讯科技(深圳)有限公司 数据处理方法、系统、存储介质及计算机设备
CN109472664A (zh) * 2018-10-10 2019-03-15 南京邮电大学 无线电频谱资源交易系统
CN109447740A (zh) * 2018-10-10 2019-03-08 南京邮电大学 无线电频谱资源交易方法、可读存储介质和终端
GB201820947D0 (en) * 2018-12-21 2019-02-06 Nchain Holdings Ltd Computer-implemented system and method
CN112306496A (zh) * 2020-10-30 2021-02-02 深圳前海微众银行股份有限公司 区块链运行信息分析方法、装置、设备及计算机存储介质
CN113079135B (zh) * 2021-03-19 2022-03-01 中山大学 一种区块链钓鱼诈骗地址检测方法、装置、终端及介质
CN117252702B (zh) * 2023-11-20 2024-05-10 深圳奥联信息安全技术有限公司 一种基于区块链的数据资产交易方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016178990A1 (fr) * 2015-05-01 2016-11-10 Monegraph, Inc Transferts de droits au moyen de transactions de chaîne de blocs
CN107038578A (zh) * 2017-04-19 2017-08-11 浙江数秦科技有限公司 基于区块链的数据交易平台中多重签名交易信息处理方法
CN107240001A (zh) * 2017-06-06 2017-10-10 北京汇通金财信息科技有限公司 一种数字资产的交易方法和系统
CN107409123A (zh) * 2015-02-09 2017-11-28 缇零网股份有限公司 加密集成平台
JP2017220710A (ja) * 2016-06-03 2017-12-14 日本電信電話株式会社 契約合意方法、合意検証方法、契約合意装置および合意検証装置
CN107622385A (zh) * 2017-08-28 2018-01-23 南京邮电大学 一种基于区块链智能合约的数字作品发行方法
CN108305074A (zh) * 2018-01-30 2018-07-20 深圳壹账通智能科技有限公司 交易处理方法、装置、计算机设备和存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170116693A1 (en) * 2015-10-27 2017-04-27 Verimatrix, Inc. Systems and Methods for Decentralizing Commerce and Rights Management for Digital Assets Using a Blockchain Rights Ledger
CN105681301B (zh) * 2016-01-16 2019-03-12 杭州复杂美科技有限公司 区块链上的结算方法
CN105956923B (zh) * 2016-04-20 2022-04-29 上海如鸽投资有限公司 资产交易系统以及资产的数字化认证和交易方法
CN106022917A (zh) * 2016-05-08 2016-10-12 杭州复杂美科技有限公司 区块链撮合交易所方案
CN106790253A (zh) * 2017-01-25 2017-05-31 中钞信用卡产业发展有限公司北京智能卡技术研究院 基于区块链的认证方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107409123A (zh) * 2015-02-09 2017-11-28 缇零网股份有限公司 加密集成平台
WO2016178990A1 (fr) * 2015-05-01 2016-11-10 Monegraph, Inc Transferts de droits au moyen de transactions de chaîne de blocs
JP2017220710A (ja) * 2016-06-03 2017-12-14 日本電信電話株式会社 契約合意方法、合意検証方法、契約合意装置および合意検証装置
CN107038578A (zh) * 2017-04-19 2017-08-11 浙江数秦科技有限公司 基于区块链的数据交易平台中多重签名交易信息处理方法
CN107240001A (zh) * 2017-06-06 2017-10-10 北京汇通金财信息科技有限公司 一种数字资产的交易方法和系统
CN107622385A (zh) * 2017-08-28 2018-01-23 南京邮电大学 一种基于区块链智能合约的数字作品发行方法
CN108305074A (zh) * 2018-01-30 2018-07-20 深圳壹账通智能科技有限公司 交易处理方法、装置、计算机设备和存储介质

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599271A (zh) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 票据检测方法、装置、计算机设备和存储介质
CN110570313A (zh) * 2019-09-27 2019-12-13 深圳市网心科技有限公司 基于区块链的数据交易方法、数据交易装置及系统
CN111586013A (zh) * 2020-04-29 2020-08-25 数网金融有限公司 网络入侵检测方法、装置、节点终端及存储介质
CN111586013B (zh) * 2020-04-29 2022-02-22 数网金融有限公司 网络入侵检测方法、装置、节点终端及存储介质

Also Published As

Publication number Publication date
CN108305074A (zh) 2018-07-20
CN108305074B (zh) 2020-06-02

Similar Documents

Publication Publication Date Title
WO2019148783A1 (fr) Procédé et dispositif de traitement de transaction, dispositif informatique et support d'informations
TWI723658B (zh) 基於區塊鏈中智慧合約保護交易活動敏感資料的方法和設備
TWI701623B (zh) 基於區塊鏈的物流資訊傳輸方法、系統和裝置
US11477034B2 (en) Method and apparatus for processing account information in block chain, storage medium, and electronic apparatus
CN107994991B (zh) 一种数据处理方法、数据处理服务器及存储介质
CA3049761C (fr) Procede de fourniture de service de passerelle de paiement a l'aide d'un protocole base sur utxo et serveur utilisant ce dernier
WO2020211462A1 (fr) Procédé et système de chaînage de données de service basés sur une chaîne de blocs
US11233655B2 (en) Data verification methods, apparatuses, and devices
CN107240001B (zh) 一种数字资产的交易方法和系统
CN110135819B (zh) 一种基于区块链的第三方可信数据交易系统及方法
US9530126B2 (en) Secure mobile payment processing
WO2022001526A1 (fr) Procédé de traitement de données commerciales basé sur une chaîne de blocs et dispositif associé correspondant
CN108650077B (zh) 基于区块链的信息传输方法、终端、设备及可读存储介质
TW202008271A (zh) 區塊鏈交易方法及裝置、電子設備
US11263632B2 (en) Information sharing methods, apparatuses, and devices
CN110336779B (zh) 一种区块链的构建方法、装置和电子设备
US20200175588A1 (en) Blockchain-based payment
KR102302955B1 (ko) 자산의 토큰화를 통해 현물 자산 거래를 가능하게 하는 블록체인 및 클라우드 기반의 자산 거래 플랫폼 서버 및 그 동작 방법
CN111683082A (zh) 一种基于区块链的数据共享方法、系统及电子设备
WO2020224092A1 (fr) Procédé et appareil de gestion de données de chaîne d'approvisionnement fondée sur une preuve à divulgation nulle de connaissance
US11956347B2 (en) Method and apparatus with mobile payment and verification
WO2021204042A1 (fr) Enregistrement d'un numéro d'identification d'organisation
CN110189143B (zh) 一种基于区块链的营销标签真实性验证方法及系统
CN114611073B (zh) 数字作品的数据处理方法、装置、电子设备及介质
CN115603900A (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: 18904095

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 01/12/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18904095

Country of ref document: EP

Kind code of ref document: A1