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

Transaction management method, device and system Download PDF

Info

Publication number
CN113269641B
CN113269641B CN202110553361.9A CN202110553361A CN113269641B CN 113269641 B CN113269641 B CN 113269641B CN 202110553361 A CN202110553361 A CN 202110553361A CN 113269641 B CN113269641 B CN 113269641B
Authority
CN
China
Prior art keywords
seller
equipment
buyer
information
blockchain
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.)
Active
Application number
CN202110553361.9A
Other languages
Chinese (zh)
Other versions
CN113269641A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a transaction management method, a transaction management device and a transaction management system. The transaction management method comprises the following steps: receiving a transaction request message of a buyer device, and sending the transaction request message to a seller device; receiving reply information of the seller equipment to the transaction request information, and generating and storing corresponding order information to a blockchain system; receiving a signing 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 order information of the virtual article and the signature results to the blockchain system under the condition that each signature result is that the digital signature of the buyer passes verification, so that the buyer equipment pays 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 present invention relates to the field of communications technologies, and in particular, to a transaction management method, device, and system.
Background
With the development of internet technology and computer technology, online transactions of virtual articles (software, programs, etc.) are increasingly developed.
The online transaction process of the virtual article is extremely easy to have the problems of information leakage, data tampering and the like, and when a shopping platform or a payment platform encounters security attack, great hidden danger is brought to the property security of a user, so that the security of the transaction process and transaction data is required to be ensured.
Disclosure of Invention
Therefore, the invention provides a transaction management method, device and system, which are used for solving the transaction safety problem caused by the potential safety hazard in the online transaction process in the prior art.
To achieve the above object, a first aspect of the present invention provides a transaction management method, applied to a first blockchain node device, the method including: receiving a transaction request message of a buyer device, acquiring the 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 device corresponding to the seller information is determined not to sell the commodity device for the first time, sending the transaction request message to the seller device;
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 virtual article by the seller equipment is confirmed to pass;
Receiving a signing confirmation request message of the buyer equipment, wherein the signing confirmation request message is a message which is sent to the first block link point equipment and contains a buyer digital signature and order information after the buyer equipment decrypts ciphertext of the virtual article sent by the seller equipment when confirming that the delivery processing flow is executed under the condition of a purchase request and performs security verification on the delivery process of the virtual article;
the method comprises the steps that a first broadcast message containing a signing confirmation request message is sent to a block chain system, a signature result of each second block chain node device on the first broadcast message is received, and the second block chain node device is the node device in the block chain system, which receives the first broadcast message;
and under the condition that each signature result is that the digital signature of the buyer passes verification, sending a second broadcast message containing order information of the virtual goods and the signature result to the blockchain system so that the buyer equipment pays for the virtual goods 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: transmitting 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 transmit the transaction request message to the seller device;
Receiving ciphertext of the virtual article sent by the seller equipment through the blockchain system, wherein the ciphertext of the virtual article is information sent by the seller equipment when the purchase request of the virtual article to which the commodity information belongs is confirmed to pass after receiving the transaction request message;
based on the private key of the buyer equipment and the public key of the seller equipment acquired from the blockchain system, carrying out security verification on the transmission process of the virtual article, and if the security verification result is that the transmission process is not tampered, sending a signing and receiving confirmation request message to the first blockchain node equipment, wherein the signing and receiving confirmation request message comprises the digital signature of the buyer and order information;
and responding to a second broadcast message containing order information and signature results of the virtual objects 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 that the signature results of the first broadcast message are all the digital signatures of buyers, the first broadcast message is forwarded to the blockchain system by the first blockchain node device and contains a signing confirmation request message, and the second blockchain node device is the node device receiving the first broadcast message in the blockchain system.
In order to achieve the above object, a third aspect of the present invention provides a transaction management method, applied to a seller apparatus, the method comprising:
receiving a transaction request message from a first blockchain node, wherein the transaction request message contains buyer information and commodity information, and is a message forwarded to the seller device under the condition that the first blockchain node determines that the seller device does not sell the commodity for the first time after the buyer device sends the transaction request message to the first blockchain node;
if the purchase request of the virtual article to which the commodity information belongs is judged to pass through according to the preset commodity inventory state information, executing a shipping processing flow on the buyer equipment;
and receiving payment content of the virtual article subjected to payment processing by the buyer equipment through the blockchain system.
A fourth aspect of the present invention provides a transaction management device for use with a first block link point apparatus, the device comprising:
the transaction request processing module is used for receiving a transaction request message of the buyer equipment, acquiring the 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 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 the seller equipment to confirm that the purchase request of the virtual article passes;
the signing confirmation request receiving module is used for receiving signing confirmation request information of the buyer equipment, wherein the signing confirmation request information is a message which is sent to the first block link point equipment and contains the buyer digital signature and order information after the buyer equipment decrypts ciphertext of the virtual article sent by the seller equipment when confirming that the delivery processing flow is executed under the condition of purchasing request and verifies the security of the delivery process of the virtual article;
the signing confirmation request processing module is used for sending a first broadcast message containing signing confirmation request information 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 the node device in the blockchain system which 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 and the signature result of the virtual article to the blockchain system under the condition that each signature result is verified by the digital signature of the buyer, so that the buyer equipment pays for the virtual article through the blockchain system.
A fifth aspect of the present invention provides a transaction management device for use with a buyer apparatus, the device comprising:
the transaction request sending module is used for sending a transaction request message to the first block link point equipment, 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 equipment to send the transaction request message to the seller equipment;
the virtual article ciphertext receiving module is used for receiving ciphertext of the virtual article sent by the seller equipment through the blockchain system, wherein the ciphertext of the virtual article is information sent by executing a shipping processing flow when the seller equipment receives a transaction request message and confirms that the purchase request of the virtual article to which the commodity information belongs passes;
the transfer security verification module is used for carrying out security verification on the transfer 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 security verification result is that the transfer process is not tampered, sending a signing confirmation request message to the first blockchain node equipment, wherein the signing confirmation request message comprises the digital signature of the buyer and order information;
and the payment processing module is used for responding to a second broadcast message containing order information and signature results of the virtual objects 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 that the signature results of the first broadcast message are all the digital signature of the buyer, the first broadcast message is forwarded to the blockchain system by the first blockchain node device and contains a signing confirmation request message, and the second blockchain node device is the node device receiving the first broadcast message in the blockchain system.
A sixth aspect of the present invention provides a transaction management device for use with vendor equipment, the device comprising:
the transaction request receiving module is used for receiving a transaction request message from the first blockchain node, wherein the transaction request message contains buyer information and commodity information, and is a message forwarded to the seller equipment under the condition that the seller equipment is determined by the first blockchain node to not sell the commodity equipment for the first time after the buyer equipment sends the transaction request message to the first blockchain node;
the purchase request confirming module is used for executing a shipping processing flow on the buyer equipment if the purchase request of the virtual article to which the commodity information belongs is judged to pass according to the preset cargo inventory state information;
and the payment content receiving module is used for receiving the payment content after the buyer equipment pays the virtual article through the blockchain system.
A seventh aspect of the invention provides a system comprising: one or more processors; and 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 of the methods of 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 online transaction process of the virtual article is safely and efficiently managed on the basis of the Internet of things technology and the blockchain technology, so that the transaction safety problem caused by potential safety hazards in the online transaction process in the prior art is solved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention.
FIG. 1 is a flow chart 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 present invention;
FIG. 3 is a flow chart of a transaction management method according to yet another embodiment of the present invention;
FIG. 4 is a flow chart of a buyer initiating an online transaction according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a process flow of a seller device executing shipment for a transaction flow in accordance with an embodiment of the present invention;
FIG. 6 is a flow chart of a buyer confirming receipt of a transaction flow according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a transaction management device according to an embodiment of the invention
FIG. 8 is a schematic diagram of a transaction management device according to another embodiment of the present invention;
FIG. 9 is a schematic 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 invention.
Detailed Description
The following describes specific embodiments of the present invention in detail with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention. 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 invention by showing examples of the 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 like elements in a process, method, article, or apparatus that comprises an 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 articles 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 information of the virtual article, the buyer initiates a shopping process and pays commodity fees to the payment platform, the seller sends the virtual article to the buyer, and the payment platform pays the commodity fees to the seller or the shopping platform after the buyer confirms the receipt of the commodity. In the whole online transaction process, the security of the transaction process and transaction data is ensured by only depending on the security of a shopping platform and a payment platform, the problems of information leakage, data tampering and the like are very easy to occur in the transmission process of virtual articles, and when the shopping platform or the payment platform encounters security attack, the condition 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 prevents the shopping platform and the payment platform from self-certifying and moreover, once the database collapses, a destructive disaster can be brought to the whole system.
Therefore, it is necessary to provide a transaction management method, device and system, so as to effectively ensure the security of the transaction process and the transaction data, thereby ensuring the property security and the information security of the user. 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, it being noted that these embodiments are not intended to limit the scope of the present disclosure.
Fig. 1 is a flowchart illustrating a transaction management method according to an embodiment of the present invention. As shown in fig. 1, the transaction management method in the embodiment of the present invention is applied to the first blockchain node device, and the method may include the following steps.
S110, receiving a transaction request message of the buyer equipment, acquiring the 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 to be equipment for selling the commodity for the first time, sending the transaction request message to the seller equipment.
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 purchase request of the seller equipment to the virtual article is confirmed to pass.
And S130, receiving a signing confirmation request message of the buyer equipment, wherein the signing confirmation request message is a message which is sent to the first block link point equipment and contains the buyer digital signature and order information after the buyer equipment decrypts the ciphertext of the virtual article sent by the seller equipment when confirming that the delivery processing flow is executed under the condition of the purchase request and verifies the security of the delivery process of the virtual article.
S140, the first broadcast message containing the signing confirmation request message is sent to the block chain system, and a signature result of each second block chain node device on the first broadcast message is received, wherein the second block chain node device is the node device in the block chain system, which receives the first broadcast message.
And S150, under the condition that each signature result is that the digital signature of the buyer passes verification, sending a second broadcast message containing order information of the virtual goods and the signature result to the blockchain system so that the buyer equipment pays for the virtual goods through the blockchain system.
According to the transaction management method provided by the embodiment of the invention, the first blockchain node 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; and according to the received signing confirmation request message of the buyer equipment, requesting other node equipment in the blockchain system to verify and sign the current transaction order, storing the current transaction order information into the blockchain system under the condition that the signature results are verified, and triggering the payment processing flow of the buyer equipment according to the stored current transaction order information. By the method, the work of transaction initiation, information transfer, transaction confirmation, record preservation and privacy protection in the online transaction process of the virtual article is realized, so that the property safety and the information safety of a user are effectively ensured.
In some embodiments, the seller may be an individual seller or 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, a terminal device corresponding to an individual seller or a server corresponding to a shopping bar (referred to simply as a shopping platform server) may be collectively referred to as a seller device.
If the seller equipment corresponding to the seller information is determined to be equipment for selling the commodity for the first time, the transaction management method further comprises the following steps.
S11, sending a transaction authorization request message to a server corresponding to the payment platform, wherein the server 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 online transaction initiated by the first blockchain link point.
And S12, 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 initiating the on-line transaction authorization to pass the first blockchain node, generating a first public key and a first private key of the seller equipment according to the digital identity information of the seller equipment sent by the payment platform.
S13, 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 ciphertext of the seller digital signature.
S14, sending a block chain joining request message to the seller equipment, wherein the block chain joining request message comprises ciphertext of the digital signature of the seller, so as to be used for applying the seller equipment to join the block chain system.
S15, a third broadcast message is sent to the block chain 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 this embodiment, when the first blockchain link point device determines that the vendor device corresponding to the vendor information is the device that sells the commodity for the first time, the payoff platform is first requested to verify the identity of the vendor device and to authorize the transaction on the line by the payoff platform, and under the condition that the requests pass, the corresponding key of the vendor device is generated, hashed to obtain a digital signature, encrypted to the digital signature, and the like, and then the vendor device is requested to join the blockchain system, and the first public key, the first private key, and the first random function of the vendor device are broadcasted in the blockchain. The safety and reliability of the seller identity information in the transaction process are ensured through the processing, so that the property safety and the information safety of the user in the subsequent transaction process are effectively ensured.
In some embodiments, the signing confirmation request message includes an order number, a buyer digital signature of the buyer device, and merchandise signing 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 blockchain node device to compare the digital signature of the buyer based on the buyer private key and the first random function acquired from the blockchain 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 comprises: and the second block link point 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 pass the verification of the digital signature of the buyer equipment.
The second broadcast message is further used for enabling each blockchain device to store state information of successful order signing corresponding to the order number.
In this embodiment, after receiving the signing confirmation request message of 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 passing result of the other node devices on the digital signature of the buyer, the first blockchain node device completes the record preservation work of the order information in the blockchain system, thereby realizing the works such as transaction confirmation, record preservation and the like in the virtual article online transaction process, and effectively guaranteeing the property safety and information safety of the user in the transaction process.
Fig. 2 is a flow chart 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 the buyer device, and the method may include the following steps.
S210, a transaction request message is sent to the first block link point device, wherein the transaction request message contains 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.
S220, receiving ciphertext of the virtual article sent by the seller equipment through the blockchain system, wherein the ciphertext of the virtual article is information sent by the seller equipment by executing a shipping process flow when the purchase request of the virtual article to which the commodity information belongs is confirmed to pass after receiving the transaction request message.
S230, carrying out 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 security verification result is that the transmission process is not tampered, sending a signing confirmation request message to the first blockchain node equipment, wherein the signing confirmation request message comprises the digital signature of the buyer and order information.
And S240, responding to second broadcast messages containing order information and signature results of virtual objects in the blockchain system, and executing payment processing corresponding to the order information through the blockchain system, wherein the second broadcast messages are used for indicating that each second blockchain node device verifies that the signature results of the first broadcast messages are all digital signatures of buyers, the first broadcast messages are broadcast messages which are forwarded to the blockchain system by the first blockchain node device and contain signing confirmation request messages, and the second blockchain node device is a node device which receives the first broadcast messages in the blockchain system.
According to the transaction management method 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; when the purchase request of the virtual article is confirmed to pass through by the seller device, the ciphertext of the virtual article, which is sent by the seller device for executing the shipping processing flow, is received, and when the security verification passes through the delivery process of the virtual article, a signing confirmation request message is sent to the first blockchain node device, so that verification and signature are carried out on the transaction order through other node devices in the first blockchain node request blockchain system, and when the fact that the seller digital signature verification passes through the signing confirmation request message is determined by the other node devices according to the second broadcast message, a payment flow is initiated. The method realizes the transaction initiation, information transfer, transaction confirmation and privacy protection work of the buyer equipment in the online transaction process of the virtual article, thereby effectively guaranteeing the property safety and information safety of the user.
In some embodiments, in S230, the step of performing security verification on the delivery process of the virtual article based on the private key of the buyer device and the public key of the seller device acquired from the blockchain system may specifically include the following sub-steps.
S21, decrypting the ciphertext of the virtual article based on the private key of the buyer equipment to obtain a plaintext of the virtual article, wherein the plaintext of the virtual article comprises information of the virtual article, the ciphertext of the information abstract of the virtual article and a second random function.
S22, carrying out hash calculation on the information of the virtual article according to the second random function to obtain the information abstract of the virtual article.
S23, decrypting the information abstract ciphertext by using the public key of the seller equipment to obtain the information abstract plaintext.
And S24, if the information abstract of the virtual article obtained by 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.
In this embodiment, the buyer device may perform security verification on the delivery process of the virtual article based on the private key of the buyer device and the public key of the seller device acquired from the blockchain system, so as to perform the receiving process when it is determined that the delivery process of the virtual article is not tampered, thereby ensuring the security of the receiving process of the buyer device in the transaction.
Fig. 3 is a flow chart 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 the seller device, and the method may include the following steps.
S310, receiving a transaction request message from a first blockchain node, wherein the transaction request message contains buyer information and commodity information, and is a message forwarded to the seller device under the condition that the seller device is determined by the first blockchain node to not sell the commodity for the first time after the buyer device sends the transaction request message to the first blockchain node.
And S320, if the fact that the purchase request of the virtual article to which the commodity information belongs is confirmed to pass is judged according to the preset commodity inventory state information, executing a shipping processing flow on the buyer equipment.
S330, the payment content after the buyer equipment pays the virtual article is received through the block chain system.
According to the transaction management method of the embodiment of the invention, the seller equipment executes shipping processing according to the transaction request message transmitted by the first blockchain node and initiated by the buyer equipment and under the request for confirming the passing of the purchase request; and receiving payment content of the virtual article subjected to payment processing by the buyer equipment through the blockchain system after the shipment processing is executed. The method realizes that the seller equipment confirms the initiated transaction in the online transaction process of the virtual article through transaction processing, delivery processing, payment content receiving and other transaction processing works, so that the transaction processing of the seller equipment is performed under the safety protection of the blockchain system, thereby effectively guaranteeing the property safety and information safety of users.
In some embodiments, in step S320, the steps of the shipping process flow are performed on the buyer device, which may specifically include the following sub-steps.
S31, carrying out hash operation on the information of the virtual article corresponding to the commodity information by using the second random function to obtain the information abstract of the virtual article.
S32, encrypting the information abstract of the virtual article by using the private key of the user to obtain the information abstract ciphertext of the virtual article.
S33, encrypting the information summary 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 blockchain system to obtain the ciphertext of the virtual article.
S34, the ciphertext of the virtual article is sent to the buyer equipment through the blockchain system.
In the embodiment, the seller equipment obtains the ciphertext of the virtual article through a security algorithm and information encryption processing in the process of executing the shipping process flow, and sends the ciphertext of the virtual article to the buyer equipment through the blockchain system, so that the shipping process flow is safe and reliable, information leakage and data tampering are not easy to occur, potential safety hazards of the shipping process flow are reduced, and property safety and information safety of a user are guaranteed.
In some embodiments, the transaction management method further comprises the following steps.
S41, receiving a block chain joining request message sent by first block chain node equipment, wherein the block chain joining request message comprises a ciphertext of a seller digital signature and is used for requesting the seller equipment to join a block chain system; the joining blockchain request message is sent to the seller device after executing the preset flow under the condition that the first blockchain node determines that the seller device is the device for selling the commodity for the first time.
The predetermined flow is used for requesting the payment platform to carry out identity verification on 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 online transaction of the first blockchain link point.
S42, deploying the block chain node equipment of the seller equipment in the block chain system, and acquiring a public key of the first block chain node equipment from the block chain system.
S43, decrypting the ciphertext of the seller digital signature by using the public key of the first block link point device to obtain the plaintext of the seller digital signature of the seller device.
In the embodiment, under the condition that the seller equipment is judged to be the equipment for selling goods for the first time in the blockchain system, according to the received blockchain request message, the blockchain point equipment of the seller equipment in the blockchain system is deployed, key information of the seller equipment is acquired, and the follow-up online transaction flow is realized based on the blockchain system, so that the property safety and the information safety of a user are effectively ensured.
Specific implementation of the transaction flow in the transaction management method according to the embodiment of the present invention is described below with reference to fig. 4 to 6. FIG. 4 is a flow diagram illustrating a buyer initiated online transaction of a transaction flow in an embodiment of the invention.
As shown in fig. 4, the buyer device initiates a processing procedure of the online transaction request, which may specifically include the following steps.
S401, the buyer terminal device sends a transaction request message to the first blockchain node device, and the request blockchain informs the seller device of the shopping request.
In this step, the transaction request message may include commodity information such as a commodity number, a commodity attribute, a commodity number, and the like.
S402, the first blockchain node device acquires seller information corresponding to the commodity from the blockchain system according to the commodity number.
S403, if the seller equipment is equipment for selling goods for the first time in the blockchain system, the first blockchain link point equipment sends a transaction authorization request message containing seller information to a server corresponding to the payment platform (namely the payment platform server) and receives a result of verifying the identity of the seller by the payment platform; if the commodity is not sold for the first time, S4011 may be performed.
The transaction authorization request message in the step is used for requesting the payment platform to verify the identity information of the seller, generating the digital identity of the unique representative identity of the seller equipment in the blockchain according to the identity information of the seller, and requesting the payment platform to authorize the first blockchain link point equipment to initiate an online transaction flow.
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 good for the first time, otherwise, it may be determined that the seller device sells the virtual good for the first time.
S404, if the first block chain node device receives that the payment platform passes the verification of the identity of the seller and the authorization result is 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 blockchain node device uses a first random function to hash the first private key to obtain a digital signature.
S406, the first blockchain node device encrypts the digital signature by using the private key of the first blockchain node device to obtain a ciphertext of the digital signature.
S407, the first blockchain node device sends a joining blockchain request message containing the digital signature ciphertext to the vendor device for applying the vendor device to join the blockchain system.
S408, the vendor device deploys the blockchain node and obtains a 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 link point equipment to obtain the plaintext of the digital signature.
S4010, the first blockchain node device sends a broadcast message to the blockchain system that includes the first public key, the first private key, and the first random function of the vendor device so that each blockchain node device stores this information into a block.
Through the steps S404-S410, for the vendor equipment that sells the virtual commodity for the first time in the blockchain system, the identity verification of the vendor equipment by the payment platform is implemented, and the node deployment of the vendor equipment in the blockchain is completed.
S411, the first block link point device forwards the transaction request message to the vendor device, requesting the vendor device to confirm the purchase request.
S412, the seller equipment confirms the shopping request according to the goods stock state, and sends a first reply message to the first block chain link point equipment, and if the seller equipment passes the shopping request, the seller initiates a shipping process.
S413, the first blockchain node 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 buyer information, the current state and the like in the blockchain system according to the timestamp.
The transaction time in this step may be a point in time when the first blockchain node device receives the first reply message sent by the vendor device to confirm the shopping request.
Through the S401-S413, an initiation flow of online transaction of the virtual article is constructed on the basis of the Internet of things technology and the blockchain technology, and the online transaction of the virtual article is ensured to be carried out in a blockchain system formed by blockchain nodes deployed on a network entity, so that efficient management of the online transaction flow of the virtual article is realized.
Fig. 5 is a schematic diagram showing a process flow of executing shipment by a seller device of a transaction flow in an embodiment of the present invention. As shown in FIG. 5, the process flow of the shipment performed by the seller device may include the following steps.
S501, the seller equipment uses a second random function to carry out hash operation on the virtual article to obtain the information abstract of the virtual article.
S502, the seller equipment encrypts the information abstract by using the private key of the seller equipment to obtain the ciphertext of the information abstract, and the ciphertext of the information abstract and the 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 appended 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.
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 blockchain system to obtain the ciphertext of the virtual article.
S504, the seller equipment sends the ciphertext of the virtual article to the buyer terminal equipment through the blockchain.
Through S501-S504, in the shipping process flow, the seller equipment realizes the shipping process flow in the online transaction process of the virtual article through the encryption technology, so that the shipping process flow is safe and reliable, information leakage and data falsification are not easy to occur, the potential safety hazard of the shipping process flow is reduced, and the property safety and the information safety of a user are ensured.
FIG. 6 is a flow chart illustrating a buyer confirmation receipt of a transaction flow in an embodiment of the present invention. In fig. 6, the process flow of confirming receipt by the buyer may specifically include the following steps.
And S601, after receiving the ciphertext of the virtual article, the buyer equipment decrypts the ciphertext of the virtual article by using the private key of the buyer equipment to obtain the plaintext of the virtual article.
The plaintext of the virtual article in this step comprises the virtual article, the ciphertext of the message digest, and the second random function.
S602, the buyer equipment performs hash operation on the virtual article by using the second random function obtained in the step S601 to obtain the information abstract of the virtual article.
S603, the buyer equipment obtains the public key of the seller equipment from the blockchain system, and decrypts the information abstract obtained in S601 by using the public key to obtain the plaintext of the information abstract.
S604, the buyer equipment compares the information abstract obtained in the step S602 with the information abstract plaintext obtained in the step S603, and if the comparison results are consistent, the buyer equipment proves that the virtual article is not tampered in the transmission process.
S605, the buyer device sends a signing 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 signed.
The first blockchain node device sends a first broadcast message including the order number and the buyer digital signature to the blockchain system S606.
At least an order number and a 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 block chain node device receives the first broadcast message and obtains the buyer' S private key and the first random function from the block chain system.
And S608, each second block chain node device uses the first random function to carry out hash operation on the buyer private key to obtain a buyer digital signature, and compares the buyer digital signature with the digital signature contained in the first broadcast message.
And S609, each second blockchain node device signs the first broadcast message according to the comparison result.
S610, the first blockchain node device receives signature results of the second blockchain node devices.
S611, if the signature results are all consistent, the first blockchain node device sends a second broadcast message including the order number and the signature result to the blockchain system.
After step S611, the first block link point device may also send a payment permission message to the buyer device.
S612, the buyer device pays the seller device through the blockchain system.
S613, each second block chain node device stores the successfully signed state information into the block according to the order number.
Through the steps S601-S613, the transaction confirmation and record preservation work in the virtual article online transaction process is realized through the digital signature, the encryption technology, the security algorithm and the privacy protection strategy, and the record preservation work in the virtual article online transaction process is realized through the distributed storage of the blockchain system, so that the property security and the information security of a user are effectively ensured.
A transaction management device according to an embodiment of the present invention will be described in detail 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 online transaction of the virtual article can be constructed on the basis of the Internet of things technology and the blockchain technology. The system and the device comprise a blockchain system formed by network entities such as a shopping platform, a payment platform, seller equipment, buyer equipment and the like and blockchain nodes deployed on the network entities.
In another aspect, the transaction management system further includes a transaction management system operating on the blockchain node, such as a transaction management system applied to the first blockchain 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 blockchain; the encryption module is used for carrying out encryption processing on the instructions and the data interacted by 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 applied to the first blockchain node device, the buyer device, and the seller device respectively may include only some of the modules, that is, the transaction management system applied to the first blockchain node device, the buyer device, and the seller device respectively may include more flexible module configurations, which will be described below in connection with 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 device may be applied to the first block link point apparatus, and may include the following modules.
The transaction request processing module 710 is configured to receive a transaction request message of a buyer device, obtain, from the blockchain system, vendor information of a virtual article to which the commodity information belongs according to the buyer information and the commodity information included in the transaction request message, and if it is determined that the vendor device corresponding to the vendor information is not a device that first sells the commodity, send the transaction request message to the vendor device;
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 is used to indicate that the purchase request of the seller device to the virtual article is confirmed to pass;
a receipt confirmation request receiving module 730, configured to receive a receipt confirmation request message of the buyer device, where the receipt confirmation request message is a message including a buyer digital signature and order information sent to the first block link point device when the buyer device decrypts a ciphertext of the virtual article sent by the seller device when confirming that the delivery process is performed by the purchase request, and verifies security of the delivery process of the virtual article, and determines that the delivery process is not tampered;
The signing confirmation request processing module 740 is configured to send a first broadcast message including a signing 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 and a signature result of the virtual object to the blockchain system when each signature result is verified by the digital signature of the buyer, so that the buyer device performs payment processing on the virtual object through the blockchain system.
In some embodiments, if the seller device corresponding to the seller information is determined to be the device for selling the commodity for the first time, the transaction management apparatus further includes the following module.
The transaction authorization request sending module is used for sending a transaction authorization request message to a server corresponding to the payment platform, and after the payment platform is requested 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 online transaction initiated by the first blockchain link point;
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 initiating the on-line transaction authorization to pass the first blockchain node;
the seller signature ciphertext generation module is used for 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 ciphertext of the seller digital signature;
the joining block chain request sending module is used for sending a joining block chain request message to the seller equipment, wherein the joining block chain request message comprises a ciphertext of a digital signature of the seller, so as to be used for applying the seller equipment to join the 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 signing confirmation request message includes an order number, a buyer digital signature of the buyer device, and merchandise signing 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 blockchain node device to compare the digital signature of the buyer based on the buyer private key and the first random function acquired from the blockchain system, and generating and sending a signature result of the first broadcast message according to the comparison result.
The second blockchain node device is specifically configured to, when comparing the buyer digital signatures: 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.
The second broadcast message is further used for enabling each blockchain device to store state information of successful order signing corresponding to the order number.
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 link point equipment can enable other node equipment in the block chain to verify the digital signature of the buyer by sending the first broadcast message, and after receiving the verification passing result of the other node equipment on the digital signature of the buyer, the record storage work of order information in the block chain system is completed, so that the work of transaction confirmation, record storage and the like in the virtual article online transaction process is realized, and the property safety and information safety of a user in the transaction process are effectively ensured.
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 device is applied to the buyer apparatus and may include the following modules.
The transaction request sending module 810 is configured to send a transaction request message to the first block link point device, where the transaction request message includes buyer information and commodity information, and the transaction request message is configured to request the first block link point device to send a 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 a seller device through a blockchain system, where the ciphertext of the virtual article is information sent by the seller device by executing a shipping process when a purchase request of the virtual article to which commodity information belongs is confirmed to pass after receiving a transaction request message;
the transfer security verification module 830 is configured to perform security verification on a transfer process of the virtual article based on a private key of the buyer device and a public key of the seller device acquired from the blockchain system, and if the security verification result indicates that the transfer process is not tampered, send a signing confirmation request message to the first blockchain node device, where the signing confirmation request message includes a digital signature of the buyer and order information;
The transaction payment processing module 840 is configured to respond to a second broadcast message in the blockchain system, where the second broadcast message is used to instruct each second blockchain node device to verify that the signature result of the first broadcast message is a broadcast message that the first blockchain node device forwards to the blockchain system and includes a signing confirmation request message, and the second blockchain node device is a node device in the blockchain system that receives the first broadcast message, where the second broadcast message is used to instruct each second blockchain node device to verify that the signature result of the first broadcast message is a digital signature of the buyer.
In some embodiments, the delivery security verification module may include the following elements.
The article plaintext obtaining unit is used for 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 abstract ciphertext of the virtual article and a second random function.
And the article abstract calculation unit is used for carrying out 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 the digest plaintext calculation unit is used for decrypting the information digest ciphertext by using the public key of the seller equipment to obtain the information digest 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 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; when the purchase request of the virtual article is confirmed to pass through by the seller device, the ciphertext of the virtual article, which is sent by the seller device for executing the shipping processing flow, is received, and when the security verification passes through the delivery process of the virtual article, a signing confirmation request message is sent to the first blockchain node device, so that verification and signature are carried out on the transaction order through other node devices in the first blockchain node request blockchain system, and when the fact that the seller digital signature verification passes through the signing confirmation request message is determined by the other node devices according to the second broadcast message, a payment flow is initiated. The method realizes the transaction initiation, information transfer, transaction confirmation and privacy protection work of the buyer equipment in the online transaction process of the virtual article, thereby effectively guaranteeing the property safety and information safety of the user.
Fig. 9 is a schematic diagram of a transaction management device according to an embodiment of the present invention. As shown in fig. 9, the transaction management device is applied to the seller device and may include the following modules.
The transaction request receiving module 910 is 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 the seller device when the first blockchain node determines that the seller device is not a device for selling the commodity for the first time after the buyer device sends the transaction request message to the first blockchain node;
the purchase request confirmation module 920 is configured to execute a shipping process on the buyer device if it is determined that the purchase request for the virtual article to which the commodity information belongs passes according to the preset cargo inventory status information;
the payment content receiving module 930 is configured to receive, through the blockchain system, payment content after the buyer device performs payment processing on the virtual object.
In some embodiments, the purchase request validation module includes the following elements.
And the information abstract calculation unit is used for carrying out hash operation on the information of the virtual article corresponding to the commodity information by using the second random function to obtain the information abstract of the virtual article.
And the information abstract encryption unit is used for encrypting the information abstract of the virtual article by using the private key of the information abstract encryption unit to obtain the information abstract ciphertext of the virtual article.
And the article information encryption unit is used for encrypting the information summary 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 blockchain 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 blockchain system.
In some embodiments, transaction management further includes the following modules.
The joining request receiving module is used for receiving a joining blockchain request message sent by the first blockchain node device, wherein the joining blockchain request message comprises a ciphertext of a seller digital signature and is used for requesting the seller device to join the blockchain system; the joining blockchain request message is a message sent to the vendor equipment after executing a predetermined flow under the condition that the first blockchain node determines that the vendor equipment is equipment for selling the commodity for the first time.
The predetermined flow is used for requesting the payment platform to carry out identity verification on 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 online transaction of the first blockchain link point.
The node equipment deployment module is used for deploying the block chain node equipment of the seller equipment in the block chain system and acquiring the public key of the first block chain link point equipment from the block chain 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 link point device to obtain the plaintext of the seller digital signature of the seller device.
According to the transaction management device of the embodiment of the invention, the seller equipment executes shipping processing according to the transaction request message transmitted by the first blockchain node and initiated by the buyer equipment and under the request for confirming the passing of the purchase request; and receiving payment content of the virtual article subjected to payment processing by the buyer equipment through the blockchain system after the shipment processing is executed. The method realizes that the seller equipment confirms the initiated transaction in the online transaction process of the virtual article through transaction processing, delivery processing, payment content receiving and other transaction processing works, so that the transaction processing of the seller equipment is performed under the safety protection of the blockchain system, thereby effectively guaranteeing the property safety and information safety of users.
According to the transaction management method, device and system provided by the embodiment of the invention, the blockchain system realizes the works of transaction initiation, information transmission, transaction confirmation, record preservation, privacy protection and the like in the online transaction process of the virtual article through the methods of distributed storage, digital signature, encryption technology, security algorithm, privacy protection strategy and the like, so that the property safety and the information safety of a user are effectively ensured.
It should be clear that the invention is not limited to the specific arrangements and processes described in the foregoing embodiments and shown in the drawings. For convenience and brevity of description, detailed descriptions of known methods are omitted herein, and specific working processes of the systems, modules and units described above may refer to corresponding processes in the foregoing method embodiments, which are not repeated herein.
Fig. 10 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing transaction management methods and apparatus according to embodiments of the invention.
As shown in fig. 10, the 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 via a bus 1010, and the input device 1001 and the output device 1006 are connected to the bus 1010 via 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 through the input interface 1002; the central processor 1003 processes the input information based on computer executable instructions stored in the memory 1004 to generate output information, temporarily or permanently stores the output information in the memory 1004, and then transmits the output information to the output device 1006 through the output interface 1005; output device 1006 outputs output information to the outside of 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, which may include: a memory configured to store a program; and a processor configured to run a program stored in the memory to perform the transaction management method applied to the buyer device described in the above embodiment.
In one embodiment, the computing device 1000 shown in FIG. 10 may be implemented as a vendor device that may include: a memory configured to store a program; and a processor configured to run 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, the first block link point device may include: a memory configured to store a program; and a processor configured to run a program stored in the memory to perform the transaction management method applied to the first block link point device described in the above embodiment.
The processes described above with reference to flowcharts may be implemented as computer software programs according to embodiments of the present invention. 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 shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network, and/or installed from a removable storage medium.
In the above embodiments, it may be implemented in whole or in part 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 methods described in the various embodiments above. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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), etc.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It is to be understood that the above embodiments are merely illustrative of the application of the principles of the present invention, but not in limitation thereof. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the invention, and are also considered to be within the scope of the invention.

Claims (11)

1. A transaction management method applied to a first block link point device, the method comprising:
receiving a transaction request message of a buyer device, acquiring seller information of a virtual article to which the commodity information belongs from a blockchain system according to the buyer information and commodity information contained in the transaction request message, and if the seller device corresponding to the seller information is determined not to sell the commodity for the first time, sending the transaction request message to the seller device;
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 virtual article by the seller equipment is confirmed to pass;
receiving a signing confirmation request message of the buyer device, wherein the signing confirmation request message is a message which is sent to the first block link point device and contains a buyer digital signature and the order information after the buyer device decrypts a ciphertext of the virtual article, which is sent by the seller device to execute a shipping processing flow when confirming the purchase request, and verifies the security of a delivery process of the virtual article, and the delivery process is not tampered;
sending a first broadcast message containing the 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, wherein the second block chain node device is the node device in the block chain system which receives the first broadcast message;
and under the condition that each signature result is that the digital signature of the buyer passes verification, sending a second broadcast message containing order information of the virtual article and the signature result to the blockchain system so that the buyer equipment pays for the virtual article through the blockchain system.
2. The method of claim 1, wherein if the seller device corresponding to the seller information is determined to be a device that first sells goods, the method further comprises:
transmitting a transaction authorization request message to a server corresponding to a payment platform, wherein the server 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 the online transaction initiated by the first blockchain link point;
if a response message of the transaction authorization request message is received, and the response message is used for indicating that the identity verification of the seller by the payment platform passes and initiating the online transaction authorization to pass by the first blockchain node, generating a first public key and a first private key of the seller device according to the digital identity information of the seller device sent by the payment platform;
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 block chain node to obtain a ciphertext of the seller digital signature;
Sending a block chain joining request message to the seller equipment, wherein the block chain joining request message comprises a ciphertext of the digital signature of the seller and is used for applying 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, wherein the step of determining the position of the substrate comprises,
the signing confirmation request message comprises an 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 comprises the order number and the buyer digital signature, and is used for: each second blockchain node device compares the buyer digital signature based on a buyer private key and a first random function acquired from the blockchain system, and generates and sends 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 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, determines that the signature result of the first broadcast message is that the digital signature of the buyer device passes verification;
The second broadcast message is further configured to cause each blockchain device to store status information that the order corresponding to the order number is successfully signed.
4. A transaction management method, applied to a buyer device, the method comprising:
transmitting a transaction request message to a first blockchain node device, wherein the transaction request message comprises buyer information and commodity information, and the transaction request message is used for requesting the first blockchain node device to transmit the transaction request message to a seller device;
receiving ciphertext of the virtual article sent by the seller equipment through a blockchain system, wherein the ciphertext of the virtual article is information sent by the seller equipment when the purchase request of the virtual article to which the commodity information belongs is confirmed to pass after receiving the transaction request message, and executing a shipping process flow;
based on the private key of the buyer equipment and the public key of the seller equipment acquired from the blockchain system, carrying out security verification on the transmission process of the virtual article, and if the security verification result shows that the transmission process is not tampered, sending a signing confirmation request message to the first blockchain point equipment, wherein 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 results of the virtual objects 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 that the signature results of first broadcast messages are the digital signature of the buyer, the first broadcast message is forwarded to the blockchain system by the first blockchain node device and contains the signing confirmation request message, and the second blockchain node device is the node device receiving the first broadcast message in the blockchain system.
5. The method of claim 4, wherein the security verification of the delivery process of the virtual article 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 a plaintext of the virtual article, wherein the plaintext of the virtual article comprises information of the virtual article, information abstract ciphertext of the virtual article and a second random function;
Carrying out 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 abstract ciphertext by using the public key of the seller equipment to obtain an information abstract plaintext;
if the information abstract of the virtual article obtained by 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 for use with a vendor device, the method comprising:
receiving a transaction request message from a first blockchain node, wherein the transaction request message contains buyer information and commodity information, and is a message forwarded to the seller device under the condition that the first blockchain node determines that the seller device does not sell the commodity for the first time after the buyer device sends the transaction request message to the first blockchain node;
if the purchase request of the virtual article to which the commodity information belongs is judged to pass through according to the preset commodity inventory state information, executing a shipping processing flow for the buyer equipment;
receiving payment content of the buyer equipment after payment processing of the virtual article through a blockchain system;
The method further comprises the steps of: receiving a joining blockchain request message sent by the first blockchain node device, wherein the joining blockchain request message comprises a ciphertext of a digital signature of a seller, so as to be used for requesting the seller device to join a blockchain system; the first blockchain node executes a preset flow and then sends the message to the seller equipment under the condition that the first blockchain node determines that the seller equipment is equipment for selling goods for the first time;
the predetermined flow is used for requesting a 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 the online transaction initiated by the first blockchain link point;
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 blockchain node device to obtain the plaintext of the seller digital signature of the seller device.
7. The method of claim 6, wherein said performing a shipping process on said buyer device comprises:
carrying out 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 abstract of the virtual article by using a private key of the user to obtain the information abstract ciphertext of the virtual article;
encrypting the information summary 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 obtained from a blockchain system to obtain the ciphertext of the virtual article;
and sending the ciphertext of the virtual article to buyer equipment through the blockchain system.
8. A transaction management device for application to a first block link point apparatus, the device comprising:
the transaction request processing module is used for receiving a transaction request message of a buyer device, acquiring the 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 the seller device if the seller device 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 the seller equipment to confirm that the purchase request of the virtual article passes;
a receipt confirmation request receiving module, configured to receive a receipt confirmation request message of the buyer device, where the receipt confirmation request message is a message including a buyer digital signature and the order information, which is sent to the first block link point device when the buyer device decrypts a ciphertext of the virtual article, which is sent by the seller device when confirming that the delivery process is performed by the purchase request, and verifies security of a delivery process of the virtual article, and determines that the delivery process is not tampered;
the signing confirmation request processing module is used for sending a first broadcast message containing the signing 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 the node device in the blockchain system which 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 passes through verification of the digital signature of the buyer, so that the buyer equipment pays for the virtual article through the blockchain system.
9. A transaction management device for use with a buyer apparatus, the device comprising:
the transaction request sending module is used for sending a transaction request message to the first blockchain node equipment, wherein the transaction request message comprises buyer information and commodity information, and the transaction request message is used for requesting the first blockchain node equipment to send the transaction request message to the seller equipment;
the virtual article ciphertext receiving module is used for receiving ciphertext of a virtual article sent by the seller equipment through a blockchain system, wherein the ciphertext of the virtual article is information sent by the seller equipment by executing a shipping processing flow when the purchase request of the virtual article to which the commodity information belongs is confirmed to pass after the transaction request message is received;
The transfer security verification module is used for carrying out security verification on the transfer 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 security verification result is that the transfer process is not tampered, a signing confirmation request message is sent 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 object 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 each second blockchain node device verifies that the signature result of a first broadcast message is the digital signature of the buyer, the first broadcast message is forwarded to the blockchain system by the first blockchain node device and contains the signing confirmation request message, and the second blockchain node device is the node device receiving the first broadcast message in the blockchain system.
10. A transaction management device for use with a vendor's equipment, the device comprising:
the transaction request receiving module is used for receiving a transaction request message from a first blockchain node, wherein the transaction request message comprises buyer information and commodity information, and the message is forwarded to the seller equipment under the condition that the first blockchain node determines that the seller equipment does not sell commodity for the first time after the buyer equipment sends the transaction request message to the first blockchain node;
the purchase request confirming module is used for executing a shipping processing flow on the buyer equipment if the purchase request of the virtual article to which the commodity information belongs is confirmed to pass according to the preset cargo inventory state information;
the payment content receiving module is used for receiving payment content after the buyer equipment performs payment processing on the virtual article through a blockchain system;
the apparatus further comprises:
the joining request receiving module is used for receiving a joining blockchain request message sent by the first blockchain node device, wherein the joining blockchain request message comprises a ciphertext of a digital signature of a seller, so as to request the seller device to join a blockchain system; the first blockchain node executes a preset flow and then sends the message to the seller equipment under the condition that the first blockchain node determines that the seller equipment is equipment for selling goods for the first time;
The predetermined flow is used for requesting a 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 the online transaction initiated by the first blockchain link point;
the node equipment deployment module is used for deploying the 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 the seller signature decryption module is used for decrypting the ciphertext of the seller digital signature by using the public key of the first blockchain node equipment to obtain the plaintext of the seller digital signature of the seller equipment.
11. A transaction management 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 the transaction management method of any of claims 1-3, any of claims 4-5, or any of claims 6-7.
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 CN113269641A (en) 2021-08-17
CN113269641B true 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)

Families Citing this family (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 (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10896418B2 (en) * 2017-12-29 2021-01-19 Ebay Inc. Secure management of data files using a blockchain

Patent Citations (5)

* 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
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
区块链在数字资产交易领域中的创新应用;严振亚 等;《企业经济》;第39卷(第01期);第56-64页 *

Also Published As

Publication number Publication date
CN113269641A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN109462588B (en) Decentralized data transaction method and system based on block chain
US11374754B2 (en) System and method for generating trust tokens
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
CN110766406B (en) Resource transfer method, resource transfer device, storage medium and electronic equipment
US9159046B2 (en) Systems and methods for implementing supply chain visibility policies
JP5766199B2 (en) Secure mobile payment processing
KR102621116B1 (en) Elecronic device and electronic payement method using id-based public key cryptography
CN112383611B (en) File evidence storing method and system based on block chain and server
CN113545000B (en) Distributed processing of interactions at delivery time
CN111444273B (en) Data authorization method and device based on block chain
US20140006247A1 (en) System, device and method for the interaction of security information
US7370199B2 (en) System and method for n-way authentication in a network
CN107231335B (en) Service processing method and device
US20160292676A1 (en) Cryptographic apparatus
CN115760082B (en) Digital payment processing method, device, equipment, system and medium
US6453296B1 (en) Electronic credit system and communication apparatus
US20110161234A1 (en) Ordering scheme
CN113269641B (en) Transaction management method, device and system
JPH09305666A (en) Electronic settling method and its system
CN105051769A (en) A method and system for transferring data
CN114240547A (en) Steel trade transaction method, system, device and storage medium based on digital signature
JP5391743B2 (en) Payment processing security information distribution method, payment processing security information distribution system, center device thereof, server device, payment terminal, and program
JP2008004042A (en) Method of electronic commerce
CN112150158B (en) Block chain transaction delivery verification method and device

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