CN113269641A - Transaction management method, device and system - Google Patents

Transaction management method, device and system Download PDF

Info

Publication number
CN113269641A
CN113269641A CN202110553361.9A CN202110553361A CN113269641A CN 113269641 A CN113269641 A CN 113269641A CN 202110553361 A CN202110553361 A CN 202110553361A CN 113269641 A CN113269641 A CN 113269641A
Authority
CN
China
Prior art keywords
seller
equipment
buyer
information
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110553361.9A
Other languages
Chinese (zh)
Other versions
CN113269641B (en
Inventor
黄珂
杜杏兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110553361.9A priority Critical patent/CN113269641B/en
Publication of CN113269641A publication Critical patent/CN113269641A/en
Application granted granted Critical
Publication of CN113269641B publication Critical patent/CN113269641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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

Abstract

The invention discloses a transaction management method, a device and a system. The transaction management method comprises the following steps: receiving a transaction request message of the buyer equipment, and sending the transaction request message to the seller equipment; receiving a reply message of the seller equipment to the transaction request message, and generating and storing corresponding order information to the blockchain system; receiving a receipt confirmation request message of the buyer equipment; and sending a first broadcast message containing the signing confirmation request message to the blockchain system, receiving signature results, and sending a second broadcast message containing the order information and the signature results of the virtual article to the blockchain system under the condition that each signature result verifies and passes the buyer digital signature, so that the buyer equipment can pay for the virtual article through the blockchain system. According to the method provided by the embodiment of the invention, the safety of the transaction process and the transaction data can be ensured.

Description

Transaction management method, device and system
Technical Field
The invention relates to the technical field of communication, in particular to a transaction management method, a device and a system.
Background
With the development of internet technology and computer technology, online trading of virtual articles (software, programs, etc.) is more and more widely developed.
The problems of information leakage, data tampering and the like are very easy to occur in the online transaction process of the virtual article, and when a shopping platform or a payment platform is subjected to security attack, great hidden dangers are brought to property security of a user, so that the security of the transaction process and the transaction data needs to be ensured.
Disclosure of Invention
Therefore, the invention provides a transaction management method, a transaction management device and a transaction management system, which aim to solve the problem of transaction safety caused by potential safety hazards in an online transaction process in the prior art.
In order to achieve the above object, a first aspect of the present invention provides a transaction management method applied to a first block link point device, the method including: receiving a transaction request message of buyer equipment, acquiring seller information of a virtual article to which the commodity information belongs from a blockchain system according to the buyer information and the commodity information contained in the transaction request message, and sending the transaction request message to seller equipment if the seller equipment corresponding to the seller information is determined not to sell the commodity for the first time;
receiving a reply message of the seller equipment to the transaction request message, and generating and storing corresponding order information to the blockchain system under the condition that the reply message is used for indicating that the seller equipment confirms the purchase request of the virtual article;
receiving a receipt confirmation request message of the buyer equipment, wherein the receipt confirmation request message is a message which is sent by the buyer equipment to the first block chain node equipment and contains a buyer digital signature and order information under the condition that the buyer equipment confirms that the delivery processing flow is executed under the condition that the buyer equipment confirms the purchase request and after decrypting a ciphertext of the virtual article sent by the seller equipment and carrying out security verification on the delivery process of the virtual article, the message is sent to the first block chain node equipment under the condition that the delivery process is not tampered;
sending a first broadcast message containing a signing confirmation request message to a block chain system, and receiving a signing result of each second block chain link point device to the first broadcast message, wherein the second block chain link point device is a node device which receives the first broadcast message in the block chain system;
and under the condition that each signature result verifies the digital signature of the buyer, sending a second broadcast message containing the order information of the virtual article and the signature result to the blockchain system so that the buyer equipment carries out payment processing on the virtual article through the blockchain system.
In order to achieve the above object, a second aspect of the present invention provides a transaction management method applied to a buyer device, the method comprising: sending a transaction request message to the first block link point device, wherein the transaction request message comprises buyer information and commodity information, and is used for requesting the first block link point device to send the transaction request message to the seller device;
receiving a ciphertext of a virtual article sent by seller equipment through a block chain system, wherein the ciphertext of the virtual article is sent by the seller equipment when the seller equipment confirms that a purchase request of the virtual article to which the commodity information belongs passes after receiving the transaction request message;
the method comprises the steps that safety verification is conducted on the transmission process of a virtual article on the basis of a private key of buyer equipment and a public key of seller equipment obtained from a block chain system, if the transmission process is not tampered as a safety verification result, a signing confirmation request message is sent to first block chain link point equipment, and the signing confirmation request message comprises a buyer digital signature and order information;
and responding to a second broadcast message containing order information and signature result of the virtual article in the blockchain system, and executing payment processing corresponding to the order information through the blockchain system, wherein the second broadcast message is used for indicating that each second blockchain node device verifies the signature result of the first broadcast message to the buyer digital signature, the first broadcast message is a broadcast message containing the receipt confirmation request message forwarded to the blockchain system by the first blockchain node device, and the second blockchain node device is a node device in the blockchain system which receives the first broadcast message.
In order to achieve the above object, a third aspect of the present invention provides a transaction management method applied to a seller device, the method including:
receiving a transaction request message from a first block chain node, wherein the transaction request message comprises buyer information and commodity information, and is a message forwarded to the seller equipment under the condition that the seller equipment is determined not to sell commodities for the first time by the first block chain node after the buyer equipment sends the transaction request message to the first block chain node;
if the purchase request of the virtual article to which the commodity information belongs is judged to pass through according to the preset goods inventory state information, executing a delivery processing flow on the buyer equipment;
and receiving payment content after the buyer equipment performs payment processing on the virtual goods through the blockchain system.
The fourth aspect of the present invention provides a transaction management device, which is applied to a first block link point device, and the device includes:
the transaction request processing module is used for receiving a transaction request message of the buyer equipment, acquiring seller information of a virtual article to which the commodity information belongs from the blockchain system according to the buyer information and the commodity information contained in the transaction request message, and sending the transaction request message to the seller equipment if the seller equipment corresponding to the seller information is determined not to sell the commodity for the first time;
the order information generation module is used for receiving a reply message of the seller equipment to the transaction request message, and generating and storing corresponding order information to the blockchain system under the condition that the reply message is used for indicating that the seller equipment confirms the purchase request of the virtual article;
the system comprises a signing confirmation request receiving module, a signing confirmation request receiving module and a virtual article receiving module, wherein the signing confirmation request receiving module is used for receiving a signing confirmation request message of buyer equipment, and the signing confirmation request message is a message which is sent to first block chain node equipment and contains a buyer digital signature and order information after the buyer equipment decrypts a cryptograph of a virtual article sent by seller equipment when the seller equipment executes a delivery processing flow under the condition of confirming a purchase request and carries out security verification on a virtual article delivery process;
the system comprises a signing confirmation request processing module, a block chain system and a plurality of second block chain node devices, wherein the signing confirmation request processing module is used for sending a first broadcast message containing a signing confirmation request message to the block chain system and receiving a signature result of each second block chain node device on the first broadcast message, and the second block chain node devices are node devices which receive the first broadcast message in the block chain system;
and the order and signature result sending module is used for sending a second broadcast message containing order information and signature results of the virtual article to the blockchain system under the condition that each signature result verifies the digital signature of the buyer so that the buyer equipment can pay for the virtual article through the blockchain system.
A fifth aspect of the present invention provides a transaction management apparatus for use with a buyer device, the apparatus comprising:
the transaction request sending module is used for sending a transaction request message to the first block link point device, wherein the transaction request message comprises buyer information and commodity information, and the transaction request message is used for requesting the first block link point device to send the transaction request message to the seller device;
the virtual article ciphertext receiving module is used for receiving a ciphertext of the virtual article sent by the seller equipment through the block chain system, wherein the ciphertext of the virtual article is sent by the seller equipment when the seller equipment confirms that the purchase request of the virtual article to which the commodity information belongs passes after receiving the transaction request message and executes a delivery processing flow;
the transmission security verification module is used for performing security verification on the transmission process of the virtual article based on a private key of the buyer equipment and a public key of the seller equipment acquired from the blockchain system, and if the transmission process is not tampered as a result of the security verification, transmitting a signing confirmation request message to the first blockchain link point equipment, wherein the signing confirmation request message comprises a buyer digital signature and order information;
and the payment processing module is used for responding to a second broadcast message containing the order information and the signature result of the virtual article in the blockchain system, and executing payment processing corresponding to the order information through the blockchain system, wherein the second broadcast message is used for indicating that each second blockchain node device verifies the signature result of the first broadcast message to the buyer digital signature, the first broadcast message is a broadcast message containing the receipt confirmation request message forwarded to the blockchain system by the first blockchain node device, and the second blockchain node device is a node device in the blockchain system which receives the first broadcast message.
A sixth aspect of the present invention provides a transaction management apparatus for use with a vendor's equipment, the apparatus comprising:
the transaction request receiving module is used for receiving a transaction request message from the first block chain node, wherein the transaction request message comprises buyer information and commodity information, and is a message forwarded to the seller equipment under the condition that the seller equipment is determined not to sell commodities for the first time by the first block chain node after the buyer equipment sends the transaction request message to the first block chain node;
the purchase request confirmation module is used for executing a delivery processing flow to the buyer equipment if the purchase request confirmation of the virtual goods to which the commodity information belongs is judged to pass according to the preset goods inventory state information;
and the payment content receiving module is used for receiving payment content after the buyer equipment carries out payment processing on the virtual goods through the blockchain system.
A seventh aspect of the present invention provides a system comprising: one or more processors; a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement any one of the methods in the embodiments of the present invention.
The invention has the following advantages: according to the transaction management method, device and system provided by the embodiment of the invention, the safe and efficient management of the online transaction process of the virtual article is established on the basis of the Internet of things technology and the block chain technology, so that the problem of transaction safety caused by potential safety hazards in the online transaction process in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow diagram of a transaction management method according to an embodiment of the invention;
FIG. 2 is a flow chart of a transaction management method according to another embodiment of the invention;
FIG. 3 is a flow chart of a transaction management method according to yet another embodiment of the invention;
FIG. 4 is a schematic flow chart of an embodiment of the transaction process of the present invention in which a buyer initiates an online transaction;
FIG. 5 is a schematic view of a process flow of a seller device performing shipment in the transaction flow in the embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating the transaction flow of the buyer confirming receipt in the embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a transaction management device according to an embodiment of the present invention
FIG. 8 is a schematic structural diagram of a transaction management device according to another embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a transaction management device according to an embodiment of the present invention;
fig. 10 is a block diagram of an exemplary hardware architecture of a computing device capable of implementing the transaction management methods and apparatus of embodiments of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the embodiment of the invention, the virtual article or the virtual commodity exists depending on the network environment, the virtual network environment is used as a transaction carrier, and the virtual article is intangible in real life and can be essentially understood as a group of programs. The virtual goods may be, for example, network games, digital products, and digital services, and may be transmitted and distributed over a network.
In some application scenarios, the online transaction process of the virtual article main stream includes: the shopping platform or the seller issues the information of the virtual article, the buyer initiates a shopping process and pays the commodity fee to the payment platform, the seller sends the virtual article to the buyer, and after the buyer confirms the receipt, the payment platform pays the commodity fee to the seller or the shopping platform. In the whole online transaction process, the security of the transaction process and the transaction data is usually ensured only by depending on the security of the shopping platform and the payment platform, the problems of information leakage, data tampering and the like are very easy to occur in the transmission process of the virtual article, and when the shopping platform or the payment platform is subjected to security attack, the situation that funds in a user bank card are stolen occurs, so that great hidden danger is brought to the property security of a user. The centralized management mode makes the shopping platform and the payment platform unable to self-verify and clear, and once the database collapses, brings a devastating disaster to the whole system.
Therefore, it is desirable to provide a transaction management method, apparatus and system, which effectively ensure the security of transaction process and transaction data, thereby ensuring the property security and information security of users. For a better understanding of the present invention, a transaction management method, apparatus and system according to embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be noted that these embodiments are not intended to limit the scope of the present disclosure.
FIG. 1 is a flow diagram illustrating a transaction management method according to an embodiment of the invention. As shown in fig. 1, the transaction management method in the embodiment of the present invention is applied to a first block-node device, and the method may include the following steps.
And S110, receiving a transaction request message of the buyer equipment, acquiring seller information of the virtual article to which the commodity information belongs from the blockchain system according to the buyer information and the commodity information contained in the transaction request message, and if the seller equipment corresponding to the seller information is determined not to be equipment for selling the commodity for the first time, sending the transaction request message to the seller equipment.
And S120, receiving a reply message of the seller equipment to the transaction request message, and generating and storing corresponding order information to the blockchain system under the condition that the reply message is used for indicating that the seller equipment confirms the purchase request of the virtual article.
And S130, receiving a receipt confirmation request message of the buyer equipment, wherein the receipt confirmation request message is a message which is sent by the buyer equipment to the first block node equipment and contains a buyer digital signature and order information when the buyer equipment decrypts the ciphertext of the virtual article sent by the seller equipment when the seller equipment executes the delivery processing flow under the condition of confirming the purchase request, and after the security verification is carried out on the delivery process of the virtual article, the delivery process is confirmed to be not tampered.
S140, sending the first broadcast message including the receipt confirmation request message to the blockchain system, and receiving a signature result of each second blockchain node device on the first broadcast message, where the second blockchain node device is a node device in the blockchain system that receives the first broadcast message.
And S150, under the condition that each signature result verifies the digital signature of the buyer, sending a second broadcast message containing the order information and the signature result of the virtual article to the blockchain system, so that the buyer equipment carries out payment processing on the virtual article through the blockchain system.
According to the transaction management method provided by the embodiment of the invention, the first blockchain link point equipment forwards a transaction application initiated by the buyer equipment to the seller equipment and stores order information to the blockchain system after receiving a purchase request confirmation message of the seller equipment; according to the received signing confirmation request message of the buyer equipment, other node equipment in the blockchain system is requested to verify and sign the current transaction order, the current transaction order information is stored in the blockchain system under the condition that the signature result is verified and passed, and the payment processing flow of the buyer equipment is triggered according to the stored current transaction order information. By the method, transaction initiation, information transmission, transaction confirmation, record storage and privacy protection in the online transaction process of the virtual article are realized, so that property safety and information safety of users are effectively guaranteed.
In some embodiments, the seller may be an individual seller or a shopping platform. If the seller is a shopping platform, the seller information can be information such as a platform name, a platform identifier, a platform network address and the like of the shopping platform, and if the seller is the shopping platform, the seller equipment can be a server of the shopping platform; in the following description of the embodiments, the terminal device corresponding to the individual seller or the server corresponding to the shopping receipt (referred to as the shopping platform server for short) may be collectively referred to as the seller device.
If the seller equipment corresponding to the seller information is determined to be equipment selling the commodity for the first time, the transaction management method further comprises the following steps.
And S11, sending a transaction authorization request message to a server corresponding to the payment platform, so as to be used for requesting the payment platform to verify the identity of the seller equipment, generating digital identity information for uniquely identifying the identity of the seller equipment in the blockchain system according to the identity information of the seller equipment, and requesting the payment platform to authorize the transaction on the starting line of the first blockchain node.
And S12, if a response message of the transaction authorization request message is received and the response message is used for indicating that the payment platform passes the identity verification of the seller and passes the transaction authorization initiated on the line to the first block link point, generating a first public key and a first private key of the seller according to the digital identity information of the seller equipment sent by the payment platform.
And S13, performing hash operation on the first private key by using a first random function to obtain a seller digital signature, and encrypting the seller digital signature by using the private key of the local blockchain node to obtain a ciphertext of the seller digital signature.
And S14, sending a block chain adding request message to the seller equipment, wherein the block chain adding request message contains a cipher text of a seller digital signature, so as to apply the seller equipment to add into the block chain system.
S15, a third broadcast message is sent to the blockchain system, where the third broadcast message includes the first public key, the first private key, and the first random function of the seller device.
In this embodiment, when it is determined that the seller device corresponding to the seller information is a device that sells goods for the first time, the first blockchain link point device first requests the payment platform to verify the identity of the seller device and request the payment platform to authorize the transaction on the line, and when the requests are passed, generates a key corresponding to the seller device, performs hash calculation on the key corresponding to the seller device to obtain a digital signature, encrypts the digital signature, and so on, and then requests the seller device to join the blockchain system, and broadcasts a first public key, a first private key, and a first random function of the seller device in the blockchain. The seller identity information in the transaction process is ensured to be safe and reliable through the processing, so that the property safety and the information safety of the user in the subsequent transaction process are effectively guaranteed.
In some embodiments, the receipt confirmation request message includes the order number, the buyer digital signature of the buyer device and the commodity receipt confirmation information of the buyer device; the first broadcast message at least comprises an order number and a buyer digital signature, and is used for: and enabling each second block chain node device to compare the buyer digital signature based on the buyer private key and the first random function acquired from the block chain system, and generating and sending a signature result of the first broadcast message according to the comparison result.
In this embodiment, the step of comparing the buyer digital signature includes: and the second block chain node equipment compares the buyer digital signature obtained by carrying out hash operation on the buyer private key by using the first random function with the buyer digital signature in the first broadcast message, and if the comparison is consistent, the signature result of the first broadcast message is determined to be that the digital signature of the buyer equipment passes verification.
And the second broadcast message is also used for storing the state information of successful order sign corresponding to the order number by each block chain device.
In this embodiment, after receiving the receipt confirmation request message from the buyer device, the first blockchain node device sends the first broadcast message to enable other node devices in the blockchain to verify the digital signature of the buyer, and after receiving the verification result that the digital signature of the buyer is verified by the other node devices, completes the record saving work of the order information in the blockchain system, so as to realize the work of transaction confirmation, record saving and the like in the virtual goods online transaction process, and effectively guarantee the property safety and information safety of the user in the transaction process.
Fig. 2 is a flowchart illustrating a transaction management method according to another embodiment of the present invention. As shown in fig. 2, the transaction management method in the embodiment of the present invention is applied to a buyer device, and the method may include the following steps.
S210, a transaction request message is sent to the first blockchain node device, where the transaction request message includes the buyer information and the commodity information, and the transaction request message is used to request the first blockchain node device to send the transaction request message to the seller device.
And S220, receiving a ciphertext of the virtual article sent by the seller device through the block chain system, wherein the ciphertext of the virtual article is sent by the seller device when the seller device confirms that the purchase request of the virtual article to which the commodity information belongs passes after receiving the transaction request message and executes the delivery processing flow.
And S230, performing security verification on the transmission process of the virtual article based on the private key of the buyer equipment and the public key of the seller equipment acquired from the blockchain system, and if the transmission process is not tampered as a result of the security verification, sending a signing confirmation request message to the first blockchain link point equipment, wherein the signing confirmation request message comprises a buyer digital signature and order information.
S240, in response to a second broadcast message containing order information and signature result of the virtual article in the blockchain system, executing, by the blockchain system, payment processing corresponding to the order information, where the second broadcast message is used to indicate that each second blockchain node device verifies that the signature result of the first broadcast message is a digital signature of the buyer, the first broadcast message is a broadcast message containing a receipt confirmation request message and is forwarded by the first blockchain node device to the blockchain system, and the second blockchain node device is a node device in the blockchain system that receives the first broadcast message.
According to the transaction management method, the buyer equipment initiates a transaction request to the first block link point equipment so as to send a transaction request message to the seller equipment through the first block link point equipment; and under the condition that the purchase request of the virtual article is confirmed to pass by the seller equipment, receiving a ciphertext of the virtual article sent by the seller equipment for executing the delivery processing flow, under the condition that the security verification on the delivery process of the virtual article passes, sending a signing confirmation request message to the first block link point equipment so as to verify and sign the current transaction order through other node equipment in the first block link point request block chain system, and under the condition that the seller digital signature in the signing confirmation request message is confirmed to pass by the other node equipment according to the second broadcast message, initiating a payment flow. By the method, transaction initiation, information transmission, transaction confirmation and privacy protection work of the buyer equipment in the online transaction process of the virtual goods are realized, so that property safety and information safety of users are effectively guaranteed.
In some embodiments, in S230, the step of performing security verification on the delivery process of the virtual item based on the private key of the buyer device and the public key of the seller device obtained from the blockchain system may specifically include the following sub-steps.
S21, the ciphertext of the virtual article is decrypted based on the private key of the buyer device to obtain the plaintext of the virtual article, and the plaintext of the virtual article comprises the information of the virtual article, the information digest ciphertext of the virtual article and the second random function.
And S22, performing hash calculation on the information of the virtual article according to the second random function to obtain the information abstract of the virtual article.
And S23, decrypting the message digest ciphertext by using the public key of the seller equipment to obtain the message digest plaintext.
And S24, if the information abstract of the virtual article obtained by the Hash calculation is consistent with the comparison result of the plain text of the virtual article obtained by decryption, determining that the transmission process of the virtual article is not tampered.
In this embodiment, the buyer device may perform security verification on the delivery process of the virtual item based on the private key of the buyer device and the public key of the seller device obtained from the blockchain system, so as to perform a receiving process when it is determined that the delivery process of the virtual item is not tampered, thereby ensuring the security of the receiving process of the buyer device in the transaction.
Fig. 3 is a flowchart illustrating a transaction management method according to still another embodiment of the present invention. As shown in fig. 3, the transaction management method in the embodiment of the present invention is applied to a seller device, and the method may include the following steps.
S310, receiving a transaction request message from the first blockchain node, where the transaction request message includes buyer information and commodity information, and is a message forwarded to the seller device when the seller device is determined by the first blockchain node to be not a device selling commodities for the first time after the buyer device sends the transaction request message to the first blockchain node.
And S320, if the purchase request of the virtual goods to which the commodity information belongs is judged to pass the confirmation according to the preset goods inventory state information, executing a delivery processing flow to the buyer equipment.
S330, receiving payment content of the buyer device after payment processing is carried out on the virtual goods through the blockchain system.
According to the transaction management method, the seller equipment executes delivery processing according to the transaction request message initiated by the buyer equipment and forwarded by the first block chain node and under the condition that the payment request is confirmed to pass; and receiving payment content of the virtual goods subjected to payment processing by the buyer equipment through the blockchain system after the delivery processing is executed. By the method, the seller equipment confirms the initiated transaction in the online transaction process of the virtual article, and performs transaction processing such as processing, shipping processing and payment content receiving, so that the transaction processing of the seller equipment is performed under the security protection of a blockchain system, and the property security and information security of a user are effectively guaranteed.
In some embodiments, the step of executing the shipping processing flow on the buyer device in step S320 may specifically include the following sub-steps.
And S31, performing hash operation on the information of the virtual article corresponding to the commodity information by using a second random function to obtain the information abstract of the virtual article.
And S32, encrypting the information digest of the virtual article by using the private key of the user to obtain the information digest ciphertext of the virtual article.
And S33, encrypting the information abstract ciphertext of the virtual article, the second random function and the information of the virtual article by using the public key of the buyer equipment acquired from the block chain system to obtain the ciphertext of the virtual article.
S34, the virtual item cryptogram is sent to the buyer device via the blockchain system.
In the embodiment, in the process of executing the delivery processing flow, the seller device obtains the ciphertext of the virtual article through the security algorithm and the information encryption processing, and sends the ciphertext of the virtual article to the buyer device through the block chain system, so that the delivery processing flow is safe and reliable, information leakage and data falsification are not easy to occur, the potential safety hazard of the delivery processing flow is reduced, and the property safety and the information safety of a user are guaranteed.
In some embodiments, the transaction management method further comprises the following steps.
S41, receiving a join block chain request message sent by the first block chain link point device, where the join block chain request message includes a cipher text of a seller 'S digital signature, so as to request the seller' S device to join the block chain system; the block chain adding request message is a message sent to the seller equipment after a preset flow is executed by the first block chain node under the condition that the seller equipment is determined to be equipment for selling commodities for the first time.
The preset process is used for requesting the payment platform to verify the identity of the seller equipment, generating digital identity information for uniquely identifying the identity of the seller equipment in the blockchain system according to the identity information of the seller equipment, and requesting the payment platform to authorize the transaction on the starting line of the first blockchain node.
And S42, deploying the blockchain link point device of the seller device in the blockchain system, and acquiring the public key of the first blockchain link point device from the blockchain system.
And S43, decrypting the ciphertext of the seller digital signature by using the public key of the first block chain node device to obtain the plaintext of the seller digital signature of the seller device.
In this embodiment, when the seller device is determined to be a device that sells goods for the first time in the blockchain system, according to the received blockchain request message, the blockchain link point device of the seller device in the blockchain system is deployed, and key information of the seller device is acquired, so that a subsequent online transaction process is performed based on the blockchain system, and property security and information security of a user are effectively guaranteed.
The following describes a specific implementation of the transaction flow in the transaction management method according to the embodiment of the present invention with reference to fig. 4 to 6. Fig. 4 is a schematic flow chart illustrating the transaction flow of the embodiment of the invention, wherein the buyer initiates the online transaction.
As shown in fig. 4, the process flow of the buyer device initiating the online transaction request may specifically include the following steps.
S401, the buyer terminal device sends a transaction request message to the first blockchain link point device, requesting the blockchain to notify the seller device of the shopping request.
In this step, the transaction request message may include commodity information such as a commodity number, commodity attributes, and the quantity of the commodity.
S402, the first block chain link point device acquires seller information corresponding to the commodities from the block chain system according to the commodity numbers.
S403, if the seller device is a device that sells the commodity for the first time in the blockchain system, the first blockchain link point device sends a transaction authorization request message including seller information to a server (i.e., a payment platform server) corresponding to the payment platform, and receives a result of the payment platform verifying the seller identity; if the product is not sold for the first time, S4011 may be executed.
The transaction authorization request message in this step is used to request the payment platform to verify the seller identity information, generate a digital identity uniquely representing the identity of the seller device in the blockchain according to the seller identity information, and request the payment platform to authorize the first blockchain node device to initiate an online transaction process.
In this step, if order information corresponding to the seller device is stored in the blockchain system, it may be determined that the seller device does not sell the virtual goods for the first time, otherwise, it may be determined that the seller device sells the virtual goods for the first time.
S404, if the first block chain node device receives that the payment platform passes the seller identity verification and the authorization result is an agreement, the first block chain node device generates a first public key and a first private key according to the digital identity of the seller device.
S405, the first block link point device performs hash operation on the first private key by using a first random function to obtain a digital signature.
S406, the first block chain link point device encrypts the digital signature by using a private key of the first block chain link point device to obtain a ciphertext of the digital signature.
S407, the first block link point device sends a join block chain request message including the digital signature ciphertext to the seller device, so as to apply the seller device to join the block chain system.
S408, the vendor device deploys the blockchain nodes, and obtains the public key of the first blockchain node device from the blockchain system.
And S409, the seller equipment decrypts the received digital signature by using the public key of the first block chain node equipment to obtain the plaintext of the digital signature.
S4010, the first blockchain node device sends a broadcast message containing the first public key, the first private key and the first random function of the seller device to the blockchain system so that each blockchain node stores this information into the block.
Through the above steps S404-S410, for the seller device that sells the virtual goods for the first time in the blockchain system, the identity verification of the seller device by the payment platform is implemented, and the node deployment of the seller device in the blockchain is completed.
S411, the first blockchain node device forwards the transaction request message to the seller device, requesting the seller device to confirm the purchase request.
And S412, the seller equipment confirms the shopping request according to the inventory state of the goods, and sends a first reply message to the first block link point equipment, and if the seller equipment passes the shopping request, the seller initiates a delivery process.
And S413, the first block chain link point device generates an order number according to the buyer and seller information, the transaction time and the like, and stores the order number, the buyer and seller information, the current state and the like in the block chain system according to the timestamp.
The transaction time in this step may be a time point when the first blockchain node device receives the first reply message sent by the seller device for confirming the shopping request.
Through the above S401-S413, on the basis of the internet of things technology and the blockchain technology, an initiation process of the online transaction of the virtual item is constructed, and it is ensured that the online transaction of the virtual item is performed in a blockchain system composed of blockchain nodes deployed on a network entity, so as to implement efficient management of the online transaction process of the virtual item.
Fig. 5 is a schematic flow chart illustrating a process of shipping performed by a seller device of a transaction flow in the embodiment of the present invention. As shown in fig. 5, the process flow of the seller device performing the shipment may specifically include the following steps.
S501, the seller device performs hash operation on the virtual article by using a second random function to obtain an information summary of the virtual article.
S502, the seller equipment encrypts the information abstract by using a private key of the seller equipment to obtain a ciphertext of the information abstract, and the ciphertext of the information abstract and a second random function are carried by the virtual article.
In this step, the ciphertext of the message digest and the second random function may be attached to a position after or before the virtual article to carry the ciphertext of the message digest and the second random function through the virtual article.
And S503, the seller equipment encrypts the ciphertext carrying the information abstract and the virtual article of the second random function by using the public key of the buyer terminal equipment acquired from the block chain system to obtain the ciphertext of the virtual article.
And S504, the seller equipment sends the ciphertext of the virtual article to the buyer terminal equipment through the block chain.
Through S501-S504, the seller device realizes the delivery process in the online transaction process of the virtual article through an encryption technology in the delivery processing process, so that the delivery processing process is safe and reliable, information leakage and data falsification are not easy to occur, the potential safety hazard of the delivery processing process is reduced, and the property safety and the information safety of a user are guaranteed.
Fig. 6 is a flow chart illustrating a process of confirming receipt by a buyer of a transaction flow in an embodiment of the present invention. In fig. 6, the process flow of the buyer confirming the receipt may specifically include the following steps.
S601, after the buyer equipment receives the ciphertext of the virtual article, the private key of the buyer equipment is used for decrypting the ciphertext of the virtual article to obtain the plaintext of the virtual article.
The virtual article plaintext in this step includes the virtual article, the ciphertext of the message digest, and the second random function.
S602, the buyer device performs a hash operation on the virtual item by using the second random function obtained in the step S601 to obtain an information digest of the virtual item.
S603, the buyer device obtains the public key of the seller device from the blockchain system, and decrypts the message digest obtained in S601 by using the public key to obtain the plaintext of the message digest.
S604, the buyer device compares the information digest obtained in the step S602 with the information digest plaintext obtained by decryption in the step S603, and if the comparison result is consistent, it proves that the virtual article is not tampered during the transmission process.
S605, the buyer device sends a receipt confirmation request message containing the order number and the buyer digital signature to the first block link point device, and confirms that the virtual article corresponding to the order number has been received.
S606, the first blockchain node device sends a first broadcast message including the order number and the buyer' S digital signature to the blockchain system.
At least the order number and the buyer digital signature may be included in the first broadcast message in this step, which may be received by each second blockchain node device in the blockchain system in fig. 5.
S607, each second blk node device receives the first broadcast message and obtains the private key of the buyer and the first random function from the blk system.
S608, each second block link node device performs hash operation on the buyer private key by using the first random function to obtain a buyer digital signature, and compares the buyer digital signature with the digital signature included in the first broadcast message.
And S609, each second block chain node device signs the first broadcast message according to the comparison result.
S610, the first block link point device receives the signature result of each second block link point device.
S611, if all the signature results are the same, the first blk node device sends a second broadcast message containing the order number and the signature result to the blk system.
After step S611, the first block link point device may also send a payment permission message to the buyer device.
S612, the buyer equipment pays the seller equipment through the blockchain system.
S613, each second block link point device stores the status information of successful sign-in into the block according to the order number.
Through the steps S601-S613, transaction confirmation and record storage work in the online transaction process of the virtual article is realized through digital signatures, encryption technology, security algorithms and privacy protection strategies, and record storage work in the online transaction process of the virtual article is realized through distributed storage of a block chain system, so that property safety and information safety of users are effectively guaranteed.
A transaction management device according to an embodiment of the present invention will be described in detail below with reference to fig. 7 to 9. In the embodiment of the invention, a system and a device for safely and efficiently managing the processes of initiating, confirming, paying and storing the virtual article online transaction can be constructed on the basis of the Internet of things technology and the block chain technology. The system and the device comprise a block chain system composed of network entities such as a shopping platform, a payment platform, seller equipment, buyer equipment and the like and block chain nodes deployed on the network entities.
In another aspect, the transaction management system further comprises a transaction management system operating on the block nodes, such as a transaction management system applied to the first block node device, the buyer device, and the seller device, respectively. The transaction management system comprises a receiving module, an authentication module, an encryption module, a decryption module, a data processing module and a sending module.
The receiving module is used for receiving data or instructions sent by other nodes of the block chain; the authentication module is used for carrying out validity authentication on data or instructions sent by other nodes of the block chain; the encryption module is used for encrypting the interactive instructions and data of each node; the decryption module is used for decrypting the received instruction and data; the data processing module provides services such as data access, storage and processing. However, the present invention is not limited to the specific modules described above, and in some embodiments, the transaction management system respectively applied to the first block-link point device, the buyer device, and the seller device may only include some of the modules, that is, the transaction management system respectively applied to the first block-link point device, the buyer device, and the seller device may include a more flexible module configuration, which is described below with reference to specific embodiments.
Fig. 7 is a schematic structural diagram of a transaction management device according to an embodiment of the present invention. As shown in fig. 7, the transaction management apparatus may be applied to the first block link point device, and may include the following modules.
The transaction request processing module 710 is configured to receive a transaction request message of the buyer device, obtain, according to the buyer information and the commodity information included in the transaction request message, seller information of a virtual item to which the commodity information belongs from the blockchain system, and send the transaction request message to the seller device if it is determined that the seller device corresponding to the seller information is not a device that sells the commodity for the first time;
the order information generating module 720 is configured to receive a reply message of the seller device to the transaction request message, and generate and store corresponding order information to the blockchain system when the reply message indicates that the seller device confirms that the purchase request of the virtual item passes;
the receipt confirmation request receiving module 730 is configured to receive a receipt confirmation request message of the buyer device, where the receipt confirmation request message is a message that is sent by the buyer device to the first block link node device and contains a buyer digital signature and order information after the buyer device decrypts a ciphertext of a virtual item that is sent by the seller device when confirming that the seller device executes a shipping process flow under the condition of a purchase request, and performs security verification on a transfer process of the virtual item and when determining that the transfer process is not tampered;
the sign-off confirmation request processing module 740 is configured to send a first broadcast message including a sign-off confirmation request message to the blockchain system, and receive a signature result of each second blockchain node device on the first broadcast message, where the second blockchain node device is a node device in the blockchain system that receives the first broadcast message;
the order and signature result sending module 750 is configured to send a second broadcast message including order information of the virtual article and the signature result to the blockchain system, so that the buyer device performs payment processing on the virtual article through the blockchain system, if each signature result verifies that the buyer digital signature passes.
In some embodiments, if it is determined that the seller device corresponding to the seller information is a device for selling the commodity for the first time, the transaction management apparatus further includes the following modules.
The transaction authorization request sending module is used for sending a transaction authorization request message to a server corresponding to the payment platform, so as to request the payment platform to verify the identity of the seller equipment, generate digital identity information used for uniquely identifying the identity of the seller equipment in the blockchain system according to the identity information of the seller equipment, and request the payment platform to authorize the transaction on the starting line of the first blockchain node;
the seller key generation module is used for generating a first public key and a first private key of the seller equipment according to digital identity information of the seller equipment sent by the payment platform if a response message of the transaction authorization request message is received and the response message is used for indicating the payment platform to pass the identity verification of the seller and pass the transaction authorization on the line starting of the first block link point;
the seller signature ciphertext generating module is used for performing hash operation on the first private key by using a first random function to obtain a seller digital signature, and encrypting the seller digital signature by using the private key of the local block chain node to obtain a seller digital signature ciphertext;
the system comprises a block chain adding request sending module, a block chain adding module and a block chain adding module, wherein the block chain adding request sending module is used for sending a block chain adding request message to seller equipment, and the block chain adding request message comprises a cipher text of a seller digital signature so as to apply the seller equipment to add to a block chain system;
and the broadcast message sending module is used for sending a third broadcast message to the blockchain system, wherein the third broadcast message comprises a first public key, a first private key and a first random function of the seller equipment.
In some embodiments, the receipt confirmation request message includes the order number, the buyer digital signature of the buyer device and the commodity receipt confirmation information of the buyer device; the first broadcast message at least comprises an order number and a buyer digital signature, and is used for: and enabling each second block chain node device to compare the buyer digital signature based on the buyer private key and the first random function acquired from the block chain system, and generating and sending a signature result of the first broadcast message according to the comparison result.
Wherein, the second block link point device is specifically configured to, when comparing the digital signature of the buyer: and comparing the buyer digital signature obtained by carrying out hash operation on the buyer private key by using the first random function with the buyer digital signature in the first broadcast message, and if the comparison is consistent, determining that the signature result of the first broadcast message is that the digital signature of the buyer equipment passes verification.
And the second broadcast message is also used for storing the state information of successful order sign corresponding to the order number by each block chain device.
According to the transaction management device provided by the embodiment of the invention, after receiving the signing confirmation request message of the buyer equipment, the first block chain node equipment can verify the digital signature of the buyer by sending the first broadcast message, and after receiving the verification passing result of the digital signature of the buyer by other node equipment, the first block chain node equipment can complete the record storage work of the order information in the block chain system, so that the transaction confirmation, record storage and other works in the online transaction process of the virtual goods are realized, and the property safety and information safety of the user in the transaction process are effectively guaranteed.
Fig. 8 is a schematic structural diagram of a transaction management device according to another embodiment of the present invention. As shown in fig. 8, the transaction management arrangement is applied to a buyer's equipment and may include the following modules.
A transaction request sending module 810, configured to send a transaction request message to the first blockchain node device, where the transaction request message includes buyer information and commodity information, and the transaction request message is used to request the first blockchain node device to send the transaction request message to the seller device;
the virtual article ciphertext receiving module 820 is configured to receive a ciphertext of a virtual article sent by the seller device through the block chain system, where the ciphertext of the virtual article is sent by the seller device when the seller device receives the transaction request message and executes a shipping processing flow when the purchase request of the virtual article to which the commodity information belongs is confirmed to pass;
the transfer security verification module 830 is configured to perform security verification on the transfer process of the virtual article based on a private key of the buyer device and a public key of the seller device obtained from the blockchain system, and if the transfer process is not tampered as a result of the security verification, send a receipt confirmation request message to the first blockchain link point device, where the receipt confirmation request message includes a digital signature of the buyer and order information;
the transaction payment processing module 840 is configured to execute, by the blockchain system, payment processing corresponding to the order information in response to a second broadcast message that includes the order information and the signature result of the virtual article in the blockchain system, where the second broadcast message is used to indicate that each second blockchain node device verifies that the signature result of the first broadcast message passes the verification of the digital signature of the buyer, the first broadcast message is a broadcast message that is forwarded by the first blockchain node device to the blockchain system and includes an endorsement confirmation request message, and the second blockchain node device is a node device in the blockchain system that receives the first broadcast message.
In some embodiments, the delivery security verification module may include the following elements.
And the commodity plaintext acquisition unit is used for decrypting the ciphertext of the virtual commodity based on the private key of the buyer equipment to obtain the plaintext of the virtual commodity, and the plaintext of the virtual commodity comprises the information of the virtual commodity, the information summary ciphertext of the virtual commodity and a second random function.
And the article abstract calculating unit is used for carrying out Hash calculation on the information of the virtual article according to a second random function to obtain the information abstract of the virtual article.
And the abstract plaintext calculation unit is used for decrypting the information abstract ciphertext by using the public key of the seller equipment to obtain the information abstract plaintext.
And the article plaintext comparison unit is used for determining that the transmission process of the virtual article is not tampered if the information abstract of the virtual article obtained by the Hash calculation is consistent with the comparison result of the plaintext of the virtual article obtained by decryption.
According to the transaction management device of the embodiment of the invention, the buyer equipment initiates a transaction request to the first block link point equipment so as to send a transaction request message to the seller equipment through the first block link point equipment; and under the condition that the purchase request of the virtual article is confirmed to pass by the seller equipment, receiving a ciphertext of the virtual article sent by the seller equipment for executing the delivery processing flow, under the condition that the security verification on the delivery process of the virtual article passes, sending a signing confirmation request message to the first block link point equipment so as to verify and sign the current transaction order through other node equipment in the first block link point request block chain system, and under the condition that the seller digital signature in the signing confirmation request message is confirmed to pass by the other node equipment according to the second broadcast message, initiating a payment flow. By the method, transaction initiation, information transmission, transaction confirmation and privacy protection work of the buyer equipment in the online transaction process of the virtual goods are realized, so that property safety and information safety of users are effectively guaranteed.
Fig. 9 is a schematic structural diagram of a transaction management device according to an embodiment of the present invention. As shown in fig. 9, the transaction management apparatus is applied to a seller device, and may include the following modules.
A transaction request receiving module 910, configured to receive a transaction request message from a first blockchain node, where the transaction request message includes buyer information and commodity information, and is a message forwarded to a seller device when the seller device is determined by the first blockchain node to be not a device that sells commodities for the first time after the buyer device sends the transaction request message to the first blockchain node;
a purchase request confirmation module 920, configured to execute a shipment processing procedure on the buyer device if it is determined that the purchase request for the virtual item to which the commodity information belongs is confirmed to pass according to preset cargo inventory state information;
the payment content receiving module 930 is configured to receive payment content after payment processing is performed on the virtual goods by the buyer device through the blockchain system.
In some embodiments, the purchase request validation module includes the following elements.
And the information abstract calculating unit is used for carrying out Hash operation on the information of the virtual article corresponding to the commodity information by using a second random function to obtain the information abstract of the virtual article.
And the information digest encryption unit is used for encrypting the information digest of the virtual article by using a private key of the information digest encryption unit to obtain an information digest ciphertext of the virtual article.
And the article information encryption unit is used for encrypting the information abstract ciphertext of the virtual article, the second random function and the information of the virtual article by using the public key of the buyer equipment acquired from the block chain system to obtain the ciphertext of the virtual article.
And the article ciphertext sending unit is used for sending the ciphertext of the virtual article to the buyer equipment through the block chain system.
In some embodiments, the transaction management further includes the following modules.
The joining request receiving module is used for receiving a joining block chain request message sent by the first block chain link point device, wherein the joining block chain request message contains a cipher text of a seller digital signature so as to request the seller device to join the block chain system; the adding blockchain request message is a message sent to the seller equipment after a preset flow is executed by the first blockchain node under the condition that the seller equipment is determined to be equipment selling commodities for the first time.
The preset process is used for requesting the payment platform to verify the identity of the seller equipment, generating digital identity information for uniquely identifying the identity of the seller equipment in the blockchain system according to the identity information of the seller equipment, and requesting the payment platform to authorize the transaction on the starting line of the first blockchain node.
And the node equipment deployment module is used for deploying the blockchain link point equipment of the seller equipment in the blockchain system and acquiring the public key of the first blockchain link point equipment from the blockchain system.
And the seller signature decryption module is used for decrypting the ciphertext of the seller digital signature by using the public key of the first block chain node equipment to obtain the plaintext of the seller digital signature of the seller equipment.
According to the transaction management device of the embodiment of the invention, the seller equipment executes delivery processing according to the transaction request message initiated by the buyer equipment and forwarded by the first block chain node and under the condition of confirming the passed payment of the purchase request; and receiving payment content of the virtual goods subjected to payment processing by the buyer equipment through the blockchain system after the delivery processing is executed. By the method, the seller equipment confirms the initiated transaction in the online transaction process of the virtual article, and performs transaction processing such as processing, shipping processing and payment content receiving, so that the transaction processing of the seller equipment is performed under the security protection of a blockchain system, and the property security and information security of a user are effectively guaranteed.
According to the transaction management method, the transaction management device and the transaction management system, the block chain system achieves the operations of transaction initiation, information transmission, transaction confirmation, record storage, privacy protection and the like in the online transaction process of the virtual article through methods such as distributed storage, digital signature, encryption technology, security algorithm, privacy protection strategy and the like, so that the property safety and the information safety of users are effectively guaranteed.
It is to be understood that the invention is not limited to the particular arrangements and instrumentality described in the above embodiments and shown in the drawings. For convenience and brevity of description, detailed description of a known method is omitted here, and for the specific working processes of the system, the module and the unit described above, reference may be made to corresponding processes in the foregoing method embodiments, which are not described herein again.
Fig. 10 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing the transaction management methods and apparatus according to embodiments of the invention.
As shown in fig. 10, computing device 1000 includes an input device 1001, an input interface 1002, a central processor 1003, a memory 1004, an output interface 1005, and an output device 1006. The input interface 1002, the central processing unit 1003, the memory 1004, and the output interface 1005 are connected to each other through a bus 1010, and the input device 1001 and the output device 1006 are connected to the bus 1010 through the input interface 1002 and the output interface 1005, respectively, and further connected to other components of the computing device 1000.
Specifically, the input device 1001 receives input information from the outside, and transmits the input information to the central processor 1003 via the input interface 1002; the central processor 1003 processes input information based on computer-executable instructions stored in the memory 1004 to generate output information, stores the output information temporarily or permanently in the memory 1004, and then transmits the output information to the output device 1006 through the output interface 1005; output device 1006 outputs the output information external to computing device 1000 for use by a user.
In one embodiment, the computing device 1000 shown in FIG. 10 may be implemented as a buyer device that may include: a memory configured to store a program; a processor configured to execute the program stored in the memory to perform the transaction management method applied to the buyer device described in the above embodiments.
In one embodiment, computing device 1000 shown in FIG. 10 may be implemented as a vendor device that may include: a memory configured to store a program; a processor configured to execute the program stored in the memory to perform the transaction management method applied to the seller device described in the above embodiment.
In one embodiment, the computing device 1000 shown in fig. 10 may be implemented as a vendor device, and the first block link point device may include: a memory configured to store a program; a processor configured to run a program stored in the memory to execute the transaction management method applied to the first block-link node device described in the above embodiments.
According to an embodiment of the invention, the process described above with reference to the flow chart may be implemented as a computer software program. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network, and/or installed from a removable storage medium.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions which, when run on a computer, cause the computer to perform the method described in the various embodiments above. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (12)

1. A transaction management method applied to a first block link point device, the method comprising:
receiving a transaction request message of buyer equipment, acquiring seller information of a virtual article to which the commodity information belongs from a blockchain system according to the buyer information and the commodity information contained in the transaction request message, and if the seller equipment corresponding to the seller information is determined not to be equipment for selling commodities for the first time, sending the transaction request message to the seller equipment;
receiving a reply message of the seller device to the transaction request message, and generating and storing corresponding order information to the blockchain system under the condition that the reply message is used for indicating that the purchase request of the seller device for the virtual article is confirmed to pass;
receiving a receipt confirmation request message of the buyer equipment, wherein the receipt confirmation request message is a message which is sent by the buyer equipment to the first block link point equipment and contains a buyer digital signature and the order information when the buyer equipment confirms that the delivery process of the virtual item is not tampered after the buyer equipment decrypts a ciphertext of the virtual item sent by the seller equipment when the seller equipment executes a delivery processing flow under the condition of confirming the purchase request and carries out security verification on the delivery process of the virtual item;
sending a first broadcast message containing the receipt confirmation request message to the blockchain system, and receiving a signature result of each second blockchain node device on the first broadcast message, wherein the second blockchain node device is a node device in the blockchain system which receives the first broadcast message;
and under the condition that each signature result verifies the digital signature of the buyer, sending a second broadcast message containing the order information of the virtual article and the signature result to the blockchain system so that the buyer equipment carries out payment processing on the virtual article through the blockchain system.
2. The method of claim 1, wherein if it is determined that the seller device corresponding to the seller information is a device that sells the commodity for the first time, the method further comprises:
sending a transaction authorization request message to a server corresponding to a payment platform, so as to request the payment platform to verify the identity of the seller equipment, generate digital identity information used for uniquely identifying the identity of the seller equipment in a block chain system according to the identity information of the seller equipment, and request the payment platform to authorize the transaction on an outgoing line of the first block chain node;
if a response message of the transaction authorization request message is received and the response message is used for indicating that the payment platform passes identity verification of the seller and passes transaction authorization on the line initiated by the first block link point, generating a first public key and a first private key of the seller according to digital identity information of the seller equipment sent by the payment platform;
carrying out hash operation on the first private key by using a first random function to obtain a seller digital signature, and encrypting the seller digital signature by using the private key of the block chain node to obtain a cipher text of the seller digital signature;
sending a block chain joining request message to the seller equipment, wherein the block chain joining request message contains a cipher text of the seller digital signature so as to apply the seller equipment to join the block chain system;
and sending a third broadcast message to the blockchain system, wherein the third broadcast message comprises a first public key, a first private key and a first random function of the seller device.
3. The method of claim 1,
the signing confirmation request message comprises the order number, a buyer digital signature of the buyer equipment and commodity signing confirmation information of the buyer equipment;
the first broadcast message at least includes the order number and the buyer digital signature, and the first broadcast message is used for: enabling each second block chain node device to compare the buyer digital signature based on a buyer private key and a first random function acquired from the block chain system, and generating and sending a signature result of the first broadcast message according to the comparison result; wherein, the step of comparing the buyer digital signature comprises:
the second block link point device compares the buyer digital signature obtained by performing hash operation on the buyer private key by using the first random function with the buyer digital signature in the first broadcast message, and if the comparison is consistent, the second block link point device determines that the signature result of the first broadcast message is that the digital signature of the buyer device passes verification;
and the second broadcast message is further used for enabling each block chain device to store the state information of successful order sign corresponding to the order number.
4. A transaction management method for use with a buyer device, the method comprising:
sending a transaction request message to a first blockchain node device, wherein the transaction request message comprises buyer information and commodity information, and is used for requesting the first blockchain node device to send the transaction request message to a seller device;
receiving a ciphertext of a virtual article sent by the seller device through a blockchain system, wherein the ciphertext of the virtual article is information sent by the seller device when the seller device confirms that the purchase request of the virtual article to which the commodity information belongs passes after receiving the transaction request message;
the method comprises the steps that safety verification is conducted on the transmission process of the virtual article on the basis of a private key of buyer equipment and a public key of seller equipment obtained from a block chain system, if the transmission process is not tampered according to the safety verification result, a signing confirmation request message is sent to first block chain link point equipment, and the signing confirmation request message comprises a buyer digital signature and order information;
and in response to a second broadcast message containing the order information and the signature result of the virtual article in the blockchain system, executing payment processing corresponding to the order information through the blockchain system, wherein the second broadcast message is used for indicating that the signature result of each second blockchain link point device on a first broadcast message is that the buyer digital signature is verified, the first broadcast message is a broadcast message containing the receipt confirmation request message and is forwarded to the blockchain system by the first blockchain link point device, and the second blockchain link point device is a node device in the blockchain system which receives the first broadcast message.
5. The method of claim 4, wherein the verifying security of the virtual item delivery process based on the private key of the buyer device and the public key of the seller device obtained from the blockchain system comprises:
decrypting the ciphertext of the virtual article based on the private key of the buyer equipment to obtain the plaintext of the virtual article, wherein the plaintext of the virtual article comprises the information of the virtual article, the information summary ciphertext of the virtual article and a second random function;
performing hash calculation on the information of the virtual article according to the second random function to obtain an information abstract of the virtual article;
decrypting the information summary ciphertext by using the public key of the seller equipment to obtain an information summary plaintext;
and if the information abstract of the virtual article obtained by carrying out the hash calculation is consistent with the comparison result of the plaintext of the virtual article obtained by decryption, determining that the transmission process of the virtual article is not tampered.
6. A transaction management method applied to a seller device, the method comprising:
receiving a transaction request message from a first blockchain node, wherein the transaction request message comprises buyer information and commodity information, and is a message forwarded to the seller equipment when the seller equipment is determined not to sell commodities for the first time by the first blockchain link point after the buyer equipment sends the transaction request message to the first blockchain node;
if the purchase request of the virtual goods to which the commodity information belongs is judged to pass through confirmation according to preset goods inventory state information, a delivery processing flow is executed on the buyer equipment;
and receiving payment content of the buyer equipment after payment processing is carried out on the virtual goods through a blockchain system.
7. The method of claim 6, wherein the executing the shipment process with the buyer device comprises:
performing hash operation on the information of the virtual article corresponding to the commodity information by using a second random function to obtain an information abstract of the virtual article;
encrypting the information digest of the virtual article by using a private key of the virtual article to obtain an information digest ciphertext of the virtual article;
encrypting the information abstract ciphertext of the virtual article, the second random function and the information of the virtual article by using a public key of the buyer equipment acquired from a block chain system to obtain the ciphertext of the virtual article;
and sending the ciphertext of the virtual article to a buyer device through the blockchain system.
8. The method of claim 6, further comprising:
receiving a block chain joining request message sent by the first block chain link point device, wherein the block chain joining request message contains a cipher text of a seller digital signature, so as to request the seller device to join a block chain system; the block chain adding request message is a message sent to the seller equipment after a preset process is executed by the first block chain node under the condition that the seller equipment is determined to be equipment selling commodities for the first time;
the preset process is used for requesting the payment platform to verify the identity of the seller equipment, generating digital identity information for uniquely identifying the identity of the seller equipment in a blockchain system according to the identity information of the seller equipment, and requesting the payment platform to authorize an transaction on an initiating line of the first blockchain node;
deploying block chain link point equipment of the seller equipment in the block chain system, and acquiring a public key of the first block chain link point equipment from the block chain system;
and decrypting the ciphertext of the seller digital signature by using the public key of the first block chain node equipment to obtain the plaintext of the seller digital signature of the seller equipment.
9. A transaction management device for use with a first block link point device, the device comprising:
the transaction request processing module is used for receiving a transaction request message of buyer equipment, acquiring seller information of a virtual article to which the commodity information belongs from a blockchain system according to buyer information and commodity information contained in the transaction request message, and sending the transaction request message to the seller equipment if the seller equipment corresponding to the seller information is determined not to sell the commodity for the first time;
the order information generating module is used for receiving a reply message of the seller equipment to the transaction request message, and generating and storing corresponding order information to the blockchain system under the condition that the reply message is used for indicating that the purchase request of the seller equipment for the virtual article is confirmed to pass;
a receipt confirmation request receiving module, configured to receive a receipt confirmation request message of the buyer equipment, where the receipt confirmation request message is a message that is sent by the buyer equipment to the first block link node equipment and includes a buyer digital signature and the order information, after the buyer equipment decrypts a ciphertext of the virtual item that is sent by the seller equipment when confirming that the virtual item is sent by performing a shipping process when the purchase request is made, and performs security verification on a delivery process of the virtual item, and when it is determined that the delivery process is not tampered;
a sign-off confirmation request processing module, configured to send a first broadcast message including the sign-off confirmation request message to the blockchain system, and receive a signature result of each second blockchain node device on the first broadcast message, where the second blockchain node device is a node device in the blockchain system that receives the first broadcast message;
and the order and signature result sending module is used for sending a second broadcast message containing the order information of the virtual article and the signature result to the blockchain system under the condition that each signature result verifies the digital signature of the buyer so that the buyer equipment can pay for the virtual article through the blockchain system.
10. A transaction management arrangement for use with a buyer device, the arrangement comprising:
the transaction request sending module is used for sending a transaction request message to the first block link point device, wherein the transaction request message comprises buyer information and commodity information, and the transaction request message is used for requesting the first block link point device to send the transaction request message to the seller device;
the virtual article ciphertext receiving module is used for receiving a ciphertext of a virtual article sent by the seller device through a block chain system, wherein the ciphertext of the virtual article is sent by the seller device when the seller device confirms that the purchase request of the virtual article to which the commodity information belongs passes after receiving the transaction request message and executes a delivery processing flow;
the transmission security verification module is used for performing security verification on the transmission process of the virtual article based on a private key of the buyer equipment and a public key of the seller equipment acquired from the blockchain system, and if the transmission process is not tampered with as a security verification result, transmitting a signing confirmation request message to the first blockchain link point equipment, wherein the signing confirmation request message comprises a buyer digital signature and order information;
and a payment processing module, configured to perform, by the blockchain system, payment processing corresponding to the order information in response to a second broadcast message that includes the order information and the signature result of the virtual article in the blockchain system, where the second broadcast message is used to indicate that each second blockchain node device verifies that the signature result of the first broadcast message passes the verification of the buyer digital signature, the first broadcast message is a broadcast message that is forwarded by the first blockchain node device to the blockchain system and includes the receipt confirmation request message, and the second blockchain node device is a node device in the blockchain system that receives the first broadcast message.
11. A transaction management device for use with a vendor's facility, the device comprising:
a transaction request receiving module, configured to receive a transaction request message from a first blockchain node, where the transaction request message includes buyer information and commodity information, and is a message that is forwarded to a seller device when a buyer device determines, after sending the transaction request message to the first blockchain node, that the seller device does not sell commodities for the first time according to the first blockchain link point;
the purchase request confirmation module is used for executing a delivery processing flow to the buyer equipment if the purchase request confirmation of the virtual goods to which the commodity information belongs is judged to pass according to preset goods inventory state information;
and the payment content receiving module is used for receiving the payment content of the virtual goods subjected to payment processing by the buyer equipment through a blockchain system.
12. A transaction management system, comprising:
one or more processors;
memory having one or more programs stored thereon that, when executed by the one or more processors, cause the one or more processors to implement the transaction management method of any of claims 1-3, any of claims 4-5, or any of claims 6-8.
CN202110553361.9A 2021-05-20 2021-05-20 Transaction management method, device and system Active CN113269641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110553361.9A CN113269641B (en) 2021-05-20 2021-05-20 Transaction management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110553361.9A CN113269641B (en) 2021-05-20 2021-05-20 Transaction management method, device and system

Publications (2)

Publication Number Publication Date
CN113269641A true CN113269641A (en) 2021-08-17
CN113269641B CN113269641B (en) 2023-06-27

Family

ID=77232093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110553361.9A Active CN113269641B (en) 2021-05-20 2021-05-20 Transaction management method, device and system

Country Status (1)

Country Link
CN (1) CN113269641B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221966A (en) * 2021-12-14 2022-03-22 中国联合网络通信集团有限公司 Data flow sharing method, system, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789607A (en) * 2012-07-04 2012-11-21 北京天龙融和软件有限公司 Network transaction method and system
CN109951511A (en) * 2019-01-08 2019-06-28 上海大学 Buyer seller's secure digital Watermarking Protocol generation method based on block platform chain
US20190205873A1 (en) * 2017-12-29 2019-07-04 Ebay, Inc. Secure control of transactions using blockchain
CN110503499A (en) * 2018-05-17 2019-11-26 上海富脉实业有限公司 It is a kind of for confirming the method and system of product information
CN112508482A (en) * 2020-12-07 2021-03-16 中国联合网络通信集团有限公司 Logistics express delivery signing management method and system based on block chain and storage medium
CN112581127A (en) * 2020-12-10 2021-03-30 深圳技术大学 Commodity transaction method and device, computer equipment, storage medium and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789607A (en) * 2012-07-04 2012-11-21 北京天龙融和软件有限公司 Network transaction method and system
US20190205873A1 (en) * 2017-12-29 2019-07-04 Ebay, Inc. Secure control of transactions using blockchain
CN110503499A (en) * 2018-05-17 2019-11-26 上海富脉实业有限公司 It is a kind of for confirming the method and system of product information
CN109951511A (en) * 2019-01-08 2019-06-28 上海大学 Buyer seller's secure digital Watermarking Protocol generation method based on block platform chain
CN112508482A (en) * 2020-12-07 2021-03-16 中国联合网络通信集团有限公司 Logistics express delivery signing management method and system based on block chain and storage medium
CN112581127A (en) * 2020-12-10 2021-03-30 深圳技术大学 Commodity transaction method and device, computer equipment, storage medium and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
严振亚 等: "区块链在数字资产交易领域中的创新应用", 《企业经济》, vol. 39, no. 01, pages 56 - 64 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221966A (en) * 2021-12-14 2022-03-22 中国联合网络通信集团有限公司 Data flow sharing method, system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113269641B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN105373955B (en) Digital asset processing method and device based on multiple signatures
KR101780636B1 (en) Method for issuing certificate information and blockchain-based server using the same
JP5766199B2 (en) Secure mobile payment processing
US9159046B2 (en) Systems and methods for implementing supply chain visibility policies
WO2019050527A1 (en) System and method for generating trust tokens
US20100153273A1 (en) Systems for performing transactions at a point-of-sale terminal using mutating identifiers
CN112383611B (en) File evidence storing method and system based on block chain and server
US20140006247A1 (en) System, device and method for the interaction of security information
US7370199B2 (en) System and method for n-way authentication in a network
CN111160908B (en) Supply chain transaction privacy protection system, method and related equipment based on blockchain
CN111105235B (en) Supply chain transaction privacy protection system, method and related equipment based on blockchain
US20110161234A1 (en) Ordering scheme
CN111709752A (en) Virtual resource processing method and device, computer readable medium and electronic equipment
CN110992034A (en) Supply chain transaction privacy protection system and method based on block chain and related equipment
CN111079190A (en) Block chain supply chain transaction hiding dynamic supervision system and method
CN113269641B (en) Transaction management method, device and system
CN105051769A (en) A method and system for transferring data
JP2008004042A (en) Method of electronic commerce
JP2010212805A (en) Method and system for distributing security information of settlement processing, center apparatus thereof, settlement device and program
JP4737974B2 (en) ONLINE SHOPPING SYSTEM AND USER MANAGEMENT DEVICE, NET STORE DEVICE, AND USER TERMINAL DEVICE
CN116485381A (en) Scanned code method, electronic equipment, system and medium
CN113988982A (en) Data transaction method, device, equipment and storage medium
KR101581663B1 (en) Authentication and non-repudiation method and system using trusted third party
US20220271948A1 (en) Owner identity confirmation system, certificate authority server and owner identity confirmation method
CN116109383B (en) Payment order service method, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant