Blockchain-based transaction processing method, client, processing terminal, and system
The blockchain-based transaction processing method addresses product mismatch disputes in online shopping and live broadcasting by securely tracking and resolving transactions through user identifiers, multimedia data analysis, and dispute resolution mechanisms, ensuring accurate product delivery and efficient dispute resolution.
Patent Information
- Application Number
- JP2022581688
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-06-30
- Filing Date
- 2021-06-21
- Publication Date
- 2025-01-29
- Estimated Expiration
- 2041-06-21
AI Technical Summary
In online shopping and live broadcasting scenarios, there are challenges in ensuring that the products ordered match the products received, leading to disputes due to high interactive data volumes and lack of guaranteed product matching, which current methods fail to address effectively.
A blockchain-based transaction processing method that includes acquiring user identifiers and order information through a live broadcast interface, determining multimedia data, generating order status, and recording transaction information across blockchain nodes, with mechanisms for dispute resolution and evidence generation using hash calculations and electronic data evidence.
Provides a comprehensive evidence chain for disputes, enhances processing efficiency, and ensures accurate product matching by leveraging blockchain technology for secure and transparent transaction tracking and resolution.
Smart Images

Figure 0007607682000001 
Figure 0007607682000002 
Figure 0007607682000003
Abstract
Description
[Technical field]
[0001] The present disclosure generally relates to the technical field of blockchain, and more specifically to a transaction processing method, client, processing terminal and system based on blockchain.
[0002] This disclosure claims all rights of an invention patent application bearing application number 202010619445.3 and entitled "Blockchain-Based Transaction Processing Method, Client, Processing Terminal and System" filed with the Intellectual Property Office of the People's Republic of China on June 30, 2020, the entire contents of which are incorporated herein by reference. [Background technology]
[0003] E-commerce has been developing rapidly for more than several decades and has become more and more mature. Consumers can quickly find products that meet their needs through various online e-commerce platforms. The purchase price of products and efficient logistics systems have significantly reduced the shopping costs for consumers. However, due to the large difference in the shopping experience and transaction flow between online and offline shopping, online shopping still has many transaction risks that need to be resolved. For example, how to ensure that the products that consumers see on the page are highly consistent with the actual products they receive. In addition, with the rise of the product sales model through live broadcasting in recent years, there are frequent problems where consumers watch a newscaster's reality show in the live broadcast room and order and purchase products that do not match the actual products they receive. It is particularly important to know what effective technical means can be used to solve this problem.
[0004] Currently, the methods for recording transaction processes and resolving transaction disputes mainly rely on order information, service terms and judgment, but the following problems still exist:
[0005] Currently, the amount of interactive data between hosts and users in online live broadcast rooms is large, making it difficult to store the content of live broadcasts step by step. In addition, the host's main task is to recommend products in the live broadcast room, and it cannot guarantee that the products ordered by users are consistent with the products shown in the live broadcast room, which leads to many related after-sales disputes. Summary of the Invention [Means for solving the problem]
[0006] In one aspect, the present disclosure provides a blockchain-based transaction processing method applied to a first client in a blockchain network, comprising: Entering a live broadcast interface through a trigger operation acting on a live broadcast link and obtaining a user identifier; obtaining order information associated with the user identifier based on the live broadcast interface; determining multimedia data associated with the order information; The method includes a step of transmitting and recording the order information and the multimedia data to each node of a blockchain network.
[0007] In some implementations, the step of obtaining order information associated with the user identifier based on the live broadcast interface includes: obtaining transaction information and a transaction time associated with the user identifier; generating an order identifier based on the user identifier and the trading time; determining a first order status based on the transaction information; generating the order information based on the order identifier and the first order status.
[0008] In some implementations, the method further comprises: obtaining a live video and target information related to the live video; Segmenting the live broadcast video according to the target information to obtain at least one video clip; The step of determining multimedia data associated with the order information comprises: acquiring target information included in the order information; determining a target video clip corresponding to the target object information; obtaining communication data associated with the user identifier based on the target video clip; deriving the multimedia data from the communication data and the target video clip.
[0009] In some implementations, the method further comprises: Listening to first response information generated by the blockchain network invoking a first processing contract in a blockchain network; determining an order status in the order information based on the first response information; When the order state is a second order state and signature information is received, calling a second processing contract to update the second order state in the order information to a third order state; and transmitting and recording the updated order information to each node of the blockchain network.
[0010] In some implementations, the method further comprises: obtaining complaint information; Invoking a third processing contract according to the complaint information to update a third order status in the order information to a fourth order status; The method further includes a step of transmitting and recording the complaint information and the updated order information to each node of the blockchain network.
[0011] In some implementations, the method further comprises: Listening to second response information generated by the blockchain network invoking a fourth processing contract in a blockchain network; determining a first processing result corresponding to the complaint information based on the second response information; When receiving objection information fed back according to the first processing result, calling a fifth processing contract according to the objection information to update a fourth order status in the order information to a fifth order status; The method further includes a step of transmitting and recording the objection information and the updated order information to each node of the blockchain network.
[0012] In some implementations, the method further comprises: Listening to third response information generated by the blockchain network invoking a sixth processing contract in a blockchain network; and determining a second processing result corresponding to the objection information based on the third response information.
[0013] In another aspect, the present disclosure provides a blockchain-based transaction processing method applied to a second client in a blockchain network, comprising: Listening to order information and multimedia data, including an order identifier and an order status, in a blockchain network; When the order status in the order information is a first order status, calling an imaging device to capture an image of a predetermined area to obtain image capture information, and calling a first processing contract to update the first order status in the order information to a second order status; performing a hash calculation based on the order identifier to obtain an evidence identifier; The method includes generating electronic data evidence based on the evidence identifier, shooting information, multimedia data, and updated order information, and transmitting the electronic data evidence to each node of the blockchain network for recording.
[0014] In another aspect, the present disclosure provides a blockchain-based transaction processing method applied to a first processing terminal in a blockchain network, comprising: listening to a blockchain network for complaint information carrying the order identifier; performing a hash calculation based on the order identifier to obtain a target evidence identifier; traversing local electronic data evidence to obtain target electronic data evidence corresponding to said target evidence identifier; The method includes analyzing the complaint information based on the target electronic data evidence, obtaining a processing result, and transmitting the processing result to each node of the block chain network for recording.
[0015] In a further aspect, the present disclosure provides a blockchain-based transaction processing method applied to a second processing terminal in a blockchain network, comprising: Listening to the objection information in the block chain network, in which the order identifier is listed, and fed back from the first processing result; performing a calculation based on the order identifier to obtain a target evidence identifier; traversing local electronic data evidence to obtain target electronic data evidence corresponding to said target evidence identifier; The method includes a step of analyzing the dispute information based on the target electronic data evidence, obtaining a second processing result, and sending the second processing result to each node of the block chain network for recording.
[0016] In another aspect, the present disclosure provides a first client based on a blockchain, A first acquisition module is configured to enter the live broadcast interface through a trigger operation acting on the live broadcast link, and acquire a user identifier; a second acquisition module configured to acquire order information associated with the user identifier based on the live broadcast interface; a determination module configured to determine multimedia data associated with the order information; and a transmission module configured to transmit and record the order information and the multimedia data to each node of a blockchain network.
[0017] In another aspect, the present disclosure provides a second client based on a blockchain, A listening module configured to listen to order information and multimedia data, including an order identifier and an order status, in a blockchain network; a processing module configured to, when an order status in the order information is a first order status, call an imaging device to capture an image of a predetermined area to obtain image information, and call a first processing contract to update the first order status in the order information to a second order status; a calculation module configured to perform a hash calculation based on the order identifier to obtain an evidence identifier; and a generation module configured to generate electronic data evidence according to the evidence identifier, shooting information, multimedia data, and updated order information, and to transmit and record the electronic data evidence to each node of the blockchain network.
[0018] In a further aspect, the present disclosure provides a first processing terminal based on a blockchain, a listening module in the blockchain network configured to listen for complaint information containing the order identifier; a calculation module configured to perform a hash calculation based on the order identifier to obtain a target evidence identifier; a query module arranged to traverse local electronic data evidence to obtain target electronic data evidence corresponding to said target evidence identifier; and an analysis module for analyzing the complaint information based on the target electronic data evidence, obtaining a processing result, and transmitting the processing result to each node of the block chain network for recording.
[0019] In another aspect, the present disclosure provides a second processing terminal based on a blockchain, A listening module in a block chain network, the listening module carrying the order identifier and configured to listen to the objection information fed back from the first processing result; a calculation module configured to perform a calculation based on the order identifier to obtain a target evidence identifier; a query module arranged to traverse local electronic data evidence to obtain target electronic data evidence corresponding to said target evidence identifier; and an analysis module configured to analyze the dispute information based on the target electronic data evidence, obtain a second processing result, and send the second processing result to each node of the block chain network for recording.
[0020] In another aspect, the present disclosure provides a blockchain-based transaction processing system, the system being a blockchain network of a plurality of blockchain nodes; The blockchain nodes include a first blockchain-based client according to the present disclosure, a second blockchain-based client according to the present disclosure, a first blockchain-based processing terminal according to the present disclosure, and a second blockchain-based processing terminal according to the present disclosure.
[0021] In a further aspect, the present disclosure provides a storage medium including a program stored thereon, the program, when executed, performing a method according to the present disclosure.
[0022] In another aspect, the present disclosure provides an electronic device including a processor, a communication interface, a memory, and a communication bus, the processor, the communication interface, and the memory in communication with each other via the communication bus, the memory being arranged to store a computer program, and the processor being arranged to perform a method according to the present disclosure by executing the program stored in the memory.
[0023] In another aspect, the present disclosure provides a computer program product comprising instructions which, when executed on a computer, cause the computer to perform a method as described in the present disclosure. Effect of the Invention
[0024] In some implementations, the present disclosure can provide a complete chain of evidence for subsequent disputes by capturing multimedia data associated with an order, which can be more efficient than traditional techniques of querying live video, and allows the chain of evidence to be shared by transmitting and recording it to each node in the blockchain network.
[0025] The drawings herein are incorporated in and constitute a part of the specification, illustrate preferred embodiments of the present disclosure, and together with the specification, are used to explain the principles of the present disclosure.
[0026] In order to more clearly explain the technical solutions of the present disclosure, the following briefly describes the necessary drawings used in the present disclosure, and obviously, those skilled in the art can also obtain other drawings based on these drawings without creative efforts. [Brief description of the drawings]
[0027] [Figure 1] 1 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. [Diagram 2] 1 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. [Diagram 3] 1 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. [Figure 4] 1 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. [Diagram 5] FIG. 1 is a block diagram of a first client based on a blockchain according to an embodiment of the present disclosure. [Figure 6]FIG. 13 is a block diagram of a blockchain-based second client according to an embodiment of the present disclosure. [Figure 7] FIG. 1 is a block diagram of a first processing terminal based on a blockchain according to an embodiment of the present disclosure. [Figure 8] FIG. 13 is a block diagram of a second processing terminal based on a blockchain according to an embodiment of the present disclosure. [Figure 9] FIG. 1 is a schematic diagram of a blockchain-based transaction processing system according to an embodiment of the present disclosure. [Figure 10] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings of the embodiments of the present disclosure, but it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all the embodiments, and the schematic embodiments of the present disclosure and their descriptions are for interpreting the present disclosure, and do not unduly limit the present disclosure. All other embodiments that a person skilled in the art can obtain without creative efforts based on the embodiments of the present disclosure belong to the protection scope of the present disclosure.
[0029] It should be noted that in the specification, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between those entities or operations. Furthermore, the terms "comprise", "comprises", or any other variant thereof are intended to cover a non-exclusive inclusion, whereby a process, method, article, or device that includes a set of elements includes not only those elements, but also other elements not expressly listed, or elements inherent in such process, method, article, or device. Unless further limited, an element limited by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.
[0030] FIG. 1 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. As shown in FIG. 1, the blockchain-based transaction processing method according to this embodiment is applied to a first client in a blockchain network, and the method includes steps S11 to S14.
[0031] In step S11, a live broadcast interface is entered by a trigger operation acting on the live broadcast link, and a user identifier is obtained.
[0032] In step S12, order information associated with the user identifier is obtained based on the live broadcast interface.
[0033] In step S13, multimedia data associated with the order information is determined.
[0034] In step S14, the order information and multimedia data are sent to each node in the blockchain network and recorded.
[0035] The transaction processing method according to this embodiment is applied to a live broadcast scene, and the first client may be a client applied to a buyer. When a user enters the client, the display interface of the client displays multiple live broadcast links to the user. When the user receives a trigger operation acting on a live broadcast link, the display interface jumps to a live broadcast interface corresponding to the live broadcast link, and a user identifier is obtained through the trigger operation, and the user identifier may be a user name, a user ID, etc.
[0036] In some implementations, obtaining order information related to the user identifier based on the live broadcast interface includes obtaining transaction information and a transaction time related to the user identifier, generating an order identifier based on the user identifier and the transaction time, determining a first order status based on the transaction information, and generating order information based on the order identifier and the first order status, where the first order status is awaiting shipment.
[0037] In some implementation methods related to step S13, it is necessary to first obtain a live broadcast video and target information related to the live broadcast video, divide the live broadcast video according to the target information, obtain at least one video clip, and store the divided video clips. Here, by dividing the live broadcast video according to the target information and reserving it in stages, a direct chain of evidence can be provided for handling issues such as subsequent disputes, and the processing efficiency is higher than that of the conventional technology of querying the live broadcast video.
[0038] It can be understood that the target information related to the live broadcast video may be product information, such as the number of products, the price of the product, etc. In this embodiment, the live broadcast video is divided according to the number of products, so that a video clip corresponding to each product in the live broadcast video is obtained, for example, a live broadcast video includes three products A, B, and C, and the live broadcast video is 30 minutes long, the video clips obtained by dividing the live broadcast video include video clip 1 of 0-10 minutes corresponding to product A, video clip 2 of 11-20 minutes corresponding to product B, and video clip 3 of 21-30 minutes corresponding to product C.
[0039] The step of determining multimedia data associated with the order information includes the steps of obtaining target object information listed in the order information, determining a target video clip corresponding to the target object information, obtaining communication data associated with a user identifier based on the target video clip, and obtaining multimedia data from the communication data and the target video clip.
[0040] In some implementation methods related to step S13, when determining a product in the order information, communication data related to the user ID is obtained from the video clip, and the communication data may be chat content, etc., and the communication data and the video clip are multimedia data.
[0041] In some implementations, the method according to this embodiment further includes the steps of: listening to first response information generated by the blockchain network invoking the first processing contract in the blockchain network; determining an order state in the order information based on the first response information; when the order state is a second order state and signature information is received, invoking the second processing contract to update the second order state in the order information to a third order state; and sending and recording the updated order information to each node in the blockchain network.
[0042] As can be understood, the first response information is triggered and generated by a seller client in the blockchain network, where the second order status is shipped, and the signature information is a user authentication signature, such as fingerprint authentication, face authentication, etc., and upon receiving the signature information, the second order status is changed to a third order status, and the third order status may be received.
[0043] In some implementations, the method of the present embodiment further includes the steps of obtaining complaint information; invoking a third processing contract based on the complaint information to update the third order state in the order information to a fourth order state; and sending and recording the complaint information and the updated order information to each node in the blockchain network.
[0044] As can be understood, the complaint information is the complaint information sent by the buyer's client after receiving the goods, and the fourth order status is Buyer Complaint.
[0045] In some implementations, the method of the present embodiment further includes: in the blockchain network, listening to second response information generated by the blockchain network invoking a fourth processing contract; determining a first processing result corresponding to the complaint information based on the second response information; when obtaining objection information fed back according to the first processing result, invoking a fifth processing contract according to the objection information to update the fourth order status in the order information to a fifth order status; and sending and recording the objection information and the updated order information to each node in the blockchain network.
[0046] It can be understood that the second response information is triggered and generated by the platform side of the blockchain network. If the buyer also has an objection to the first processing result, the buyer will again provide objection feedback based on the first processing result, and the fifth order state is in arbitration.
[0047] In some implementations, the method of this embodiment further includes a step of listening to third response information generated by the blockchain network invoking the sixth processing contract, in the blockchain network, and determining a second processing result corresponding to the objection information based on the third response information.
[0048] As can be understood, the third response information is triggered and generated by the arbitration institution in the blockchain network, and the second processing result is the final arbitration result sent by the arbitration institution.
[0049] FIG. 2 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. As shown in FIG. 2, the blockchain-based transaction processing method according to this embodiment is applied to a second client in a blockchain network, and the method includes steps S21 to S24.
[0050] In step S21, listen to order information and multimedia data, including an order identifier and an order status, in the blockchain network.
[0051] In step S22, if the order status in the order information is a first order status, an imaging device is called to photograph a specified area to obtain photographic information, and a first processing contract is called to update the first order status in the order information to a second order status.
[0052] In step S23, a hash calculation is performed based on the order identifier to obtain an evidence identifier.
[0053] In step S24, electronic data evidence is generated based on the evidence identifier, the shooting information, the multimedia data, and the updated order information, and the electronic data evidence is sent to each node in the blockchain network for recording.
[0054] In some implementation methods related to step S22, calling an imaging device to photograph a specific area and obtain shooting information may be calling an imaging device to photograph an area where the product is packaged, and the shooting information is image information or video information when the product is packaged.
[0055] In some implementations related to step S23, a technology called digital summarization is adopted, which mainly adopts the HASH function, and the calculation process of this technology is as follows: input a string of a non-fixed length (i.e., the order identifier), perform calculations using the HASH function, and return a string of a fixed length (i.e., the evidence identifier).
[0056] Digital digests are used to convert a message of any length into a short message of a fixed length, and are similar to a function that uses the message as an independent variable, i.e., a hash function. Digital digests use a one-way hash function to "summarize" the plaintext that needs to be encrypted into a ciphertext of a fixed length (128 bits). This ciphertext is also called a digital fingerprint and has a fixed length. Also, if the plaintext that is digested into the ciphertext is different, the result will always be different, and if the plaintext is the same, the digest must be the same.
[0057] FIG. 3 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. As shown in FIG. 3, the blockchain-based transaction processing method according to this embodiment is applied to a first processing terminal in a blockchain network, and the method includes steps S31 to S34.
[0058] In step S31, the blockchain network is listened to for complaint information containing an order identifier.
[0059] In step S32, a hash calculation is performed based on the order identifier to obtain a target evidence identifier.
[0060] In step S33, the local electronic data evidence is traversed to obtain the target electronic data evidence corresponding to the target evidence identifier.
[0061] In step S34, the complaint information is analyzed based on the target electronic data evidence, a processing result is obtained, and the processing result is sent to each node in the block chain network for recording.
[0062] In this embodiment, the complaint information may include complaint text, complaint pictures, complaint videos, and so on.
[0063] In some implementations related to step S32, a technology called digital summarization is adopted, which mainly adopts the HASH function, and the calculation process of this technology is as follows: input a string with a non-fixed length (i.e., the order identifier), perform calculations using the HASH function, and return a string with a fixed length (i.e., the target evidence identifier).
[0064] In some implementation means related to step S33, the target electronic data evidence corresponding to the target evidence identifier includes shooting information, multimedia data and updated order information, the shooting information includes video information or product images when packaging the complained-about product, the multimedia data includes live broadcast clips and communication data corresponding to the complained-about product, where the communication data may be text data.
[0065] In some implementation means related to step S34, a first comparison result can be obtained by comparing the multimedia information with the complaint picture or the complaint video, and a second comparison result can be obtained by comparing the complaint text with the communication data, and a final processing result is obtained from the first comparison result and the second comparison result.
[0066] In some implementation methods, a feature distance between the complaint picture and the product image included in the multimedia information is obtained, the feature distance being the distance between the features of the images, and based on the obtained feature distance, the image similarity between the complaint picture and the product image is determined as the first comparison result from a predetermined correspondence relationship between the feature distance and the image similarity.
[0067] Note that image similarity tends to decrease as the feature distance increases; when the feature distance is 0, the image similarity is 1, and when the feature distance tends to infinity, the image similarity tends to become 0.
[0068] In addition, when obtaining the second comparison result by comparing the complaint text with the communication data, a part-of-speech level analysis may be performed on the complaint text to determine a first emotion index, a part-of-speech level analysis may be performed on the communication data to determine a second emotion index, and the second comparison result may be obtained by comparing based on the first emotion index and the second emotion index.
[0069] As an understandable example, the complaint text is subjected to text preprocessing, sentence segmentation, and word segmentation using a word segmentation algorithm, the word segmentation text is obtained, the word segmentation sentence is input to a trained word vector model to obtain a first word vector, and a first sentiment index is determined by the first word vector, the communication data is subjected to text preprocessing, sentence segmentation, and word segmentation using a word segmentation algorithm, the word segmentation text is obtained, the word segmentation sentence is input to a trained word vector model to obtain a second word vector, and a second sentiment index is determined by the second word vector, where the sentiment index is calculated by performing weighted addition based on the part of speech of the word vector. Next, the first sentiment index and the second sentiment index are compared to obtain a sentiment difference, and the sentiment difference is used as a second comparison result.
[0070] In some implementations, when determining a processing result based on the first comparison result and the second comparison result, if the image phase velocity is smaller than a predetermined similarity and the emotional difference is larger than a predetermined threshold, it may be determined that the complaint information is valid, and corresponding processing measures may be taken according to the complaint information.
[0071] FIG. 4 is a flowchart of a blockchain-based transaction processing method according to an embodiment of the present disclosure. As shown in FIG. 4, the blockchain-based transaction processing method according to this embodiment is applied to a second processing terminal in a blockchain network, and the method includes steps S41 to S44.
[0072] In step S41, the order identifier is placed in the blockchain network, and objection information fed back from the first processing result is listened to.
[0073] In step S42, a hash calculation is performed based on the order identifier to obtain a target evidence identifier.
[0074] In step S43, the local electronic data evidence is traversed to obtain the target electronic data evidence corresponding to the target evidence identifier.
[0075] In step S44, the dispute information is analyzed based on the target electronic data evidence to obtain a second processing result, and the second processing result is sent to each node in the block chain network for recording.
[0076] In some implementations relating to step S41, the objection information may include complaint text, complaint picture, complaint video, and so on.
[0077] In some implementations related to step S42, a technology called digital summarization is adopted, which mainly adopts the HASH function, and the calculation process according to this technology is as follows: input a string with a non-fixed length (i.e., the order identifier) and return a string with a fixed length (i.e., the target evidence identifier).
[0078] In some implementations related to step S43, a technology called digital summarization is adopted, which mainly adopts the HASH function, and the calculation process of this technology is as follows: input a string with a non-fixed length (i.e., the order identifier), perform calculations using the HASH function, and return a string with a fixed length (i.e., the target evidence identifier).
[0079] In some implementation means related to step S44, the analysis method in the above embodiment may be adopted as the analysis method when analyzing the objection information based on the target electronic data evidence, and the target electronic data evidence and the objection information may be sent to a designated terminal. By sending the target electronic data evidence and the objection information to the designated terminal, the examiner can make an analysis judgment and input the judgment result into the designated terminal, so it is also necessary to receive instruction information and determine the second processing result based on the instruction information.
[0080] 5 is a block diagram of a blockchain-based first client according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in FIG. 5, the device includes: A first acquisition module 51 is arranged to enter the live broadcast interface through a trigger operation acting on the live broadcast link, and acquire a user identifier; a second acquisition module 52 configured to acquire order information associated with the user identifier based on the live broadcast interface; a determination module 53 arranged to determine multimedia data associated with the order information; and a transmitting module 54 arranged to transmit and record the order information and multimedia data to each node of the blockchain network.
[0081] 6 is a block diagram of a blockchain-based second client according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in FIG. 6, the device includes: A listening module 61 arranged to listen to order information and multimedia data, including an order identifier and an order status, in a blockchain network; a processing module 62 arranged to call an imaging device to capture an image of a predetermined area to obtain captured image information when the order status in the order information is a first order status, and to call a first processing contract to update the first order status in the order information to a second order status; A calculation module 63 that performs a hash calculation based on the order identifier to obtain an evidence identifier; and a generating module 64 configured to generate electronic data evidence according to the evidence identifier, the shooting information, the multimedia data, and the updated order information, and to transmit and record the electronic data evidence to each node of the blockchain network.
[0082] 7 is a block diagram of a first processing terminal based on the blockchain according to an embodiment of the present disclosure, which may be implemented as part or whole of an electronic device by software, hardware or a combination of both. As shown in FIG. 7, the device includes: A listening module 71 in the blockchain network, configured to listen for complaint information containing the order identifier; a calculation module 72 arranged to perform a hash calculation based on the order identifier to obtain a target evidence identifier; a query module 73 arranged to traverse the local electronic data evidence to obtain a target electronic data evidence corresponding to the target evidence identifier; and an analysis module 74, which is configured to analyze the complaint information based on the target electronic data evidence, obtain a processing result, and send the processing result to each node in the block chain network for recording.
[0083] 8 is a block diagram of a second processing terminal based on the blockchain according to an embodiment of the present disclosure, which may be implemented as part or whole of an electronic device by software, hardware or a combination of both. As shown in FIG. 8, the device includes: A listening module 81 in a blockchain network, the listening module 81 being configured to listen to the objection information fed back from the first processing result, the order identifier being loaded thereon; A module 82 configured to perform a calculation based on the order identifier to obtain a target evidence identifier; a query module 83 arranged to traverse the local electronic data evidence to obtain a target electronic data evidence corresponding to the target evidence identifier; and an analysis module 84 configured to analyze the dispute information based on the target electronic data evidence, obtain a second processing result, and send the second processing result to each node in the blockchain network for recording.
[0084] FIG. 9 is a schematic diagram of a blockchain-based transaction processing system according to an embodiment of the present disclosure. As shown in FIG. 9, the system includes a first client 100 according to the above embodiment, a second client 200 according to the above embodiment, a third client 300 according to the above embodiment, and a fourth client 400 according to the above embodiment.
[0085] An embodiment of the present disclosure also provides an electronic device, which may include a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, as shown in FIG. 10, where the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other via the communication bus 1504.
[0086] The memory 1503 is arranged to store a computer program, The processor 1501 is arranged to execute a computer program stored in the memory 1503 to effect the steps of the above embodiments.
[0087] The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) standard bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus is divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, the figure shows one thick line, but does not mean that there is only one bus or one type of bus.
[0088] The communication interface is used for communication between the terminal and other devices.
[0089] The memory may include Random Access Memory (RAM) or may include non-volatile memory, such as at least one magnetic disk memory. Optionally, the memory may be at least one storage device remote from the processor.
[0090] The processor may be a general-purpose processor such as a Central Processing Unit (CPU) or a Network Processor (NP), or may be a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware unit.
[0091] The present disclosure further provides a computer-readable storage medium having instructions stored thereon that, when executed by a computer, cause the computer to perform the blockchain-based transaction processing method described in the present disclosure.
[0092] The present disclosure provides a computer program product comprising instructions, which when executed on a computer, causes the computer to perform the blockchain based transaction processing method described in the present disclosure.
[0093] In the above embodiments, all or part may be realized by software, hardware, firmware, or any combination thereof. When realized by software, all or part may be realized in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed in a computer, the flow or function described in the embodiments of the present disclosure may be generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, optical fiber, digital user line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium accessible by a computer, or a data storage device such as an integrated server, data center, etc. that includes one or more available media. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0094] The above is merely a preferred embodiment of the present disclosure, and does not limit the scope of the patent of the present disclosure. All modifications, equivalent replacements, improvements, etc. made without departing from the spirit and principle of the present disclosure shall be included in the patent scope of the present disclosure.
[0095] The above are merely specific embodiments of the present disclosure, allowing those skilled in the art to understand or realize the present disclosure. Many modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments described herein, but should meet the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A blockchain-based transaction processing method applied to a first client in a blockchain network, comprising: Entering a live broadcast interface through a trigger operation acting on a live broadcast link and obtaining a user identifier; obtaining order information associated with the user identifier based on the live broadcast interface; determining multimedia data associated with the order information; and transmitting and recording the order information and the multimedia data to each node of a blockchain network.
2. The step of obtaining order information associated with the user identifier based on the live broadcast interface includes: obtaining transaction information and a transaction time associated with the user identifier; generating an order identifier based on the user identifier and the trading time; determining a first order status based on the transaction information; and generating the order information based on the order identifier and the first order status.
3. The method comprises: obtaining a live video and target information related to the live video; and dividing the live broadcast video according to the target information to obtain at least one video clip. The step of determining multimedia data associated with the order information comprises: acquiring target information included in the order information; determining a target video clip corresponding to the target object information; obtaining communication data associated with the user identifier based on the target video clip; 3. The method of claim 1, further comprising the step of: deriving said multimedia data from said communication data and said target video clip.
4. The method comprises: Listening to first response information generated by the blockchain network invoking a first processing agreement in a blockchain network; determining an order status in the order information based on the first response information; when the order state is a second order state and signature information is received, calling a second processing contract to update the second order state in the order information to a third order state; The method according to any one of claims 1 to 3, further comprising the step of transmitting and recording the updated order information to each node of the blockchain network.
5. The method comprises: obtaining complaint information; calling a third processing contract according to the complaint information to update the third order status in the order information to a fourth order status; and transmitting and recording the complaint information and the updated order information to each node of the blockchain network.
6. The method comprises: Listening to second response information generated by the blockchain network invoking a fourth processing contract in a blockchain network; determining a first processing result corresponding to the complaint information based on the second response information; When obtaining objection information fed back according to the first processing result, calling a fifth processing contract according to the objection information to update the fourth order status in the order information to a fifth order status; and transmitting and recording the dispute information and the updated order information to each node of the blockchain network.
7. The method comprises: Listening to third response information generated by the blockchain network invoking a sixth processing contract in a blockchain network; The method of claim 6 , further comprising: determining a second processing result corresponding to the objection information based on the third response information.
8. A blockchain-based transaction processing method applied to a second client in a blockchain network, comprising: The blockchain network further comprises a first client arranged to execute the method according to any one of claims 1 to 6, Listening to order information and multimedia data, including an order identifier and an order status, in a blockchain network; When the order status in the order information is a first order status, calling an imaging device to capture an image of a predetermined area to obtain image capture information, and calling a first processing contract to update the first order status in the order information to a second order status; performing a hash calculation based on the order identifier to obtain an evidence identifier; generating electronic data evidence based on the evidence identifier, shooting information, multimedia data, and updated order information, and transmitting the electronic data evidence to each node of the blockchain network for recording.
9. A blockchain-based transaction processing method applied to a first processing terminal in a blockchain network, comprising: The blockchain network further comprises a first client arranged to execute the method according to any one of claims 1 to 6, listening to a blockchain network for complaint information carrying the order identifier; performing a hash calculation based on the order identifier to obtain a target evidence identifier; Traversing local electronic data evidence generated by evidence identifiers, shooting information, multimedia data, and updated order information and stored in the first processing terminal to obtain target electronic data evidence corresponding to the target evidence identifier; and analyzing the complaint information based on the target electronic data evidence, obtaining a processing result, and transmitting the processing result to each node of the blockchain network for recording.
10. A blockchain-based transaction processing method applied to a second processing terminal in a blockchain network, comprising: The blockchain network further includes a first client configured to execute the method of claim 6, Listening to objection information in a block chain network, where the order identifier is listed, and fed back from the first processing result; performing a calculation based on the order identifier to obtain a target evidence identifier; Traversing local electronic data evidence generated by the evidence identifier, the photographing information, the multimedia data, and the updated order information and stored in the second processing terminal to obtain a target electronic data evidence corresponding to the target evidence identifier; and analyzing the dispute information based on the target electronic data evidence to obtain a second processing result, and sending the second processing result to each node of the blockchain network for recording.
11. A first blockchain-based client, A first acquisition module is configured to enter the live broadcast interface through a trigger operation acting on the live broadcast link, and acquire a user identifier; a second acquisition module configured to acquire order information associated with the user identifier based on the live broadcast interface; a determination module configured to determine multimedia data associated with the order information; A first client including a transmission module configured to transmit and record the order information and the multimedia data to each node of a blockchain network.
12. A second blockchain-based client, A listening module arranged to listen to order information and multimedia data, including an order identifier and an order status, in a blockchain network including a first client arranged to execute the method according to any one of claims 1 to 6; a processing module arranged to, when an order status in the order information is a first order status, call an imaging device to capture an image of a predetermined area to obtain image information, and call a first processing contract to update the first order status in the order information to a second order status; a calculation module configured to perform a hash calculation based on the order identifier to obtain an evidence identifier; A second client including a generating module configured to generate electronic data evidence according to the evidence identifier, shooting information, multimedia data, and updated order information, and transmit the electronic data evidence to each node of the blockchain network for recording.
13. A first processing terminal based on a blockchain, A listening module in a blockchain network including a first client configured to execute the method according to any one of claims 1 to 6, the listening module being configured to listen to complaint information carrying an order identifier; a calculation module configured to perform a hash calculation based on the order identifier to obtain a target evidence identifier; a query module configured to traverse local electronic data evidence generated by an evidence identifier, shooting information, multimedia data, and updated order information stored in the first processing terminal to obtain a target electronic data evidence corresponding to the target evidence identifier; and an analysis module configured to analyze the complaint information based on the target electronic data evidence, obtain a processing result, and send the processing result to each node of the block chain network for recording.
14. A second processing terminal based on a blockchain, A listening module in a blockchain network including a first client configured to execute the method of claim 6, the listening module being configured to listen to objection information fed back from the first processing result, the order identifier being loaded thereon; a calculation module configured to perform a calculation based on the order identifier to obtain a target evidence identifier; a query module configured to traverse local electronic data evidence generated by an evidence identifier, shooting information, multimedia data, and updated order information stored in the second processing terminal to obtain a target electronic data evidence corresponding to the target evidence identifier; and an analysis module configured to analyze the dispute information based on the target electronic data evidence, obtain a second processing result, and send the second processing result to each node of the blockchain network for recording.
15. A blockchain-based transaction processing system, The system is a blockchain network consisting of a plurality of blockchain nodes, A blockchain-based transaction processing system, wherein the blockchain nodes include a blockchain-based first client as described in claim 11, a blockchain-based second client as described in claim 12, a blockchain-based first processing terminal as described in claim 13, and a blockchain-based second processing terminal as described in claim 14.
16. A storage medium including a program stored therein, A storage medium, the program being capable of executing the method according to any one of claims 1 to 10 when executed.
17. An electronic device including a processor, a communication interface, a memory, and a communication bus, the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory is arranged to store a computer program; Electronic device, wherein the processor is arranged to carry out the method according to any one of claims 1 to 10 by executing a program stored in a memory.
Citation Information
Patent Citations
Traceable commodity transaction system based on block chain
CN110889702A
Server device, electronic commerce system, and electric commerce method
JP2020030783A
Payment method and payment system utilizing code information
WO2018047982A1