Commodity price segmentation coupling intelligent retail method based on block chain intelligent contract
Through the third-party platform price endorsement system and blockchain smart contract, customization and fairness of the transaction prices of goods (services) are achieved, and the problem of difficult transaction prices in the existing technology is solved, which improves the transparency and security of transactions. .
Patent Information
- Application Number
- CN202411214569.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-01
- Publication Date
- 2024-12-24
AI Technical Summary
In the prior art, the transaction price problem of goods (services) is difficult to effectively solve, which makes it difficult for buyers and sellers to reach a consensus, and the promotions and subsidies of e-commerce platforms cannot fundamentally solve the transaction barriers.
A third-party platform price endorsement system is introduced, and a blockchain smart contract is used to achieve price slicing coupling, allowing buyers and sellers to customize prices, and ensuring the fairness and irrevocability of prices through a probability generator.
It has achieved standardization and intelligence of the transaction prices of goods (services), reduced transaction risks, improved transaction fairness and transparency, and avoided the trust issue between buyers and sellers.
Smart Images

Figure CN119180694A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain smart contract technology, and in particular to a method and platform for smart retail of commodity (service) transactions. Background Art
[0002] Whether the sale of goods (services) is online or offline, the existing technology uses e-commerce platforms, whether it is people looking for goods or goods looking for people, the purpose is to sell goods (services), and in essence, it is to achieve a transaction between buyers and sellers for goods (services). Whether the existing buyers and sellers can complete the transaction has nothing to do with the third-party e-commerce platform. The e-commerce platform only plays the role of connecting consumers with goods.
[0003] The technology of the present invention is to introduce a third-party platform to endorse the transaction price of goods (services) to achieve a transaction method without price barriers.
[0004] When selling goods (services), sellers want to sell at a high price, while buyers want to buy at a low price. This is a contradiction that is difficult to reconcile. High and low prices play a key role in the exchange of goods and are also the biggest pain points for both buyers and sellers.
[0005] The present invention aims to solve the problem that sellers do not need to offer discounts or price cuts for promotions, and buyers do not need to bargain. Both buyers and sellers endorse the prices of a third-party platform that they trust, and use a price segmentation coupling method to meet the respective needs of buyers and sellers for transaction prices.
[0006] Price is the most important determinant of the delivery of any commodity (service). Blockchain smart contracts are used to standardize, intelligentize, and irrevocably couple price splits, thereby achieving barrier-free transaction prices. Summary of the invention
[0007] In view of this, the fundamental problem to be solved by the present invention is the price problem that hinders the transaction in the purchase and sale of goods (services).
[0008] The seller's goods (services) and the buyer's people are first linked. After the supply and demand parties reach a consensus, a trusted third-party platform is introduced to endorse the price and access it. Figure 1 .
[0009] Using the price endorsement of the third-party platform system to conduct price segmentation and coupling transactions provides a new transaction method for both buyers and sellers. The current e-commerce platform technology is very mature, and there is no barrier to the connection between goods and people. In other words, the e-commerce platform has realized that whether people are looking for goods or goods are looking for people, it is technically feasible and there are no obstacles. The obstacles to whether goods (services) can be traded depend largely on the price of goods (services). The purpose of merchants' discounts, price reductions, and huge subsidies from e-commerce platforms is to maximize the transaction of goods (services). Even so, the pressure adjustment of goods (services) cannot fundamentally solve the problem of barrier-free transactions of goods (services).
[0010] The transaction method of the present invention: no matter it is an online e-commerce platform, an offline physical store, or a point-to-point transaction between individuals, any product (service) can be sold at a customized price by the seller, and the buyer can purchase the product (service) at a customized price. The price can be customized and divided into different equal parts. For example, it can be divided into 100 equal parts, and the opportunity to obtain the product (service) by coupling with the price of 1 equal part is equivalent to obtaining the opportunity to purchase the product (service) at a price of 0.01G. As long as the probability of the probability generator is determined and the sum of the divided prices 0.01G is set not to exceed the total price G, it is ensured that the consumer will not bid more than the total price G to purchase the product (service).
[0011] The transaction price must be endorsed by a third-party platform price endorsement system, so that a transaction can form a closed loop. The price of a commodity (service) can be divided into P equal parts, and the size of P can be determined by the seller. This is the seller's customization of the commodity price (service).
[0012] Buyers can use G / p price coupling and write into standardized smart contracts. Use probability generators to couple and achieve price transactions.
[0013] p≥1: When p=1, it is equivalent to the original price G. When p=100, the coupling price is 0.01G. The size of p is determined by the endorsed third-party platform system according to different product functions and characteristics, and written into the smart contract system.
[0014] The exchange and sale of such a commodity (service) is not just a relationship between buyers, but is directly related to the price endorsement of the third-party platform system.
[0015] The so-called third-party platform price endorsement system is an indispensable node, which must guarantee the seller's price G.
[0016] The buyer successfully couples with the price of 0.01G, and gets the product (service) he / she wants. The price of 0.99G is the price endorsement burden of the third-party platform, so that the seller can get the overall price G of a product. A successful transaction can be achieved.
[0017] The price part of the third-party platform is compensated by the total discount given by the merchant to the third-party platform system and the method of traffic monetization to achieve profitability, thus realizing a complete price transaction closed loop. The seller, the seller and the third-party platform are completely connected to realize the price transaction of goods (services).
[0018] Price coupling is implemented using a probability generator.
[0019] Probability Generator: A device or algorithm used to generate random events or outcomes with the goal of producing outputs according to a predetermined probability distribution.
[0020] Probability generator: P(s) = 1 / 6 a
[0021] p(s): probability size, a: number of identical independent events
[0022] Coupling is simulated through a random number generator combined with specific probability calculations and selection logic.
[0023] Write the probability generator into the smart contract.
[0024] Choose an appropriate random number source: Use the six planes of a cube to build a trusted random number oracle.
[0025] A cube has 6 planes, namely: a1; a2; a3; a4; a5; a6;
[0026] The random number of A is one of a1 to a6, expression: A∈{a1, a2, a3, a4, a5, a6}
[0027] A=x equation expression: x is a uniformly distributed random number between a1 and a6.
[0028] Principle of random number generation: The use of mathematical methods to generate random numbers is fast and can be used to recalculate and check simulation problems. It is implemented in the alliance chain using coupled nodes and has good statistics.
[0029] The audit node can be treated as a true random number by checking for uniformity, randomness, and independence.
[0030] Define probability logic: clarify probability distribution and related rules. This probability generator is a uniform distribution.
[0031] The cube uses a Cartesian three-dimensional coordinate system to set multiple random variables of the cube's motion changes.
[0032] Use gravity sensor to determine the up and down position of cube in space.
[0033] The coupling process and results are determined using the linear congruential method.
[0034] Calculate the costs and profits of third-party endorsement platforms based on the law of large numbers.
[0035] Linear Congruential Method: LCG is defined as follows
[0036] X n+1 =(aX n +c)mod m
[0037] X is a random number sequence m, 0<m, modulus a, 0<a<m, multiplier c, 0≤c<m, increment, also called offset X 0, 0≤X0
[0038] Writing smart contract code: Use a programming language suitable for the blockchain platform (such as Ethereum’s Solidity) to implement probabilistic logic.
[0039] Conduct security and accuracy testing: Ensure that the output of the probability generator conforms to the expected probability distribution and that there are no exploitable vulnerabilities.
[0040] The six planes a1, a2, ..., a6 of the cube, the text, numbers, and images of the explicit code at the input end are customized, which means that the customer can choose the text code, number code, and image code according to his or her own preferences at the device terminal. Compare with the coupled output. The probability size is determined by the probability generator in the smart contract.
[0041] The buyer's customized price splitting and coupling is based on the standardized price splitting and coupling rules of the price endorsement system of the third-party platform. The buyer sets the price S based on the seller's price G, and the resulting price difference (GS) is used to complete the transaction using the price splitting and coupling method.
[0042] When S=0, it is equivalent to the buyer buying the goods at a price of 0. In the present invention, the price segmentation coupling method can also be used to achieve this. The third-party platform can set the percentage fee for each coupling in the contract to achieve a closed-loop price transaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a system connection between a buyer and a seller and a price endorser on a third-party platform provided in an embodiment of the present application;
[0044] Figure 2 A schematic diagram of the connection between an external third-party platform computer center and an alliance chain provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of a transaction between a buyer and a seller through blockchain provided in an embodiment of the present application;
[0046] Figure 4 A functional diagram of a blockchain node provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of a commodity (service) price segmentation and coupling transaction provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustrating specific issues rather than for limiting the specifics, so as to provide a thorough and clear understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary redundant details that hinder the description of the present invention.
[0049] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0050] In the embodiment of the present invention, the execution subject of the process is a terminal device, which includes but is not limited to terminal devices with software development functions such as laptops, computers, servers, tablet computers, and smart phones. In particular, when the terminal device executes the process in the implementation of the present invention, it can be used to provide the native application with the hosting function of the desktop application or the display of the front-end interface, and provide an interface assembly framework for the desktop application.
[0051] Figure 1 This is a schematic diagram of the system of sellers, buyers and third-party platform price endorsers in an embodiment of the present application, wherein the transaction of goods (services) includes an alliance chain system and an external system. The alliance chain system is composed of alliance chains, and the external system is composed of various trigger type services and databases controlled by a third-party platform computer center and hardware equipment of a price splitting coupling machine.
[0052] The computer center of the third-party price endorsement platform, the trigger type services mainly include e-commerce platform services, identity authentication services, logistics services, price segmentation coupling machine link links, etc. The transactions of major commodities (services) do not require auxiliary operations and transactional data queries and service records on the blockchain.
[0053] The alliance chain includes management nodes, accounting nodes, terminal nodes, audit nodes, certificate nodes, restricted nodes, coupling nodes and other nodes, and the nodes are associated with each other. Each node has different permissions and functions, and has different read and write permissions for blockchain data. The functions of each node are described as follows:
[0054] Management node: The alliance chain is linked to the computer center of the third-party price endorsement platform, and is mainly responsible for block data packaging, accounting node management and authorization, and management and authorization of external system services.
[0055] Accounting node: A node that joins the alliance chain and receives block data from the management node, joins the blockchain, receives transaction data from the terminal node, and is responsible for the management and authorization of the terminal node.
[0056] Terminal node: A sales terminal that joins the alliance chain, which is mainly responsible for collecting data on multiple categories of goods (services) and sending it to the accounting node.
[0057] Audit node: An audit contract that joins the alliance chain, mainly responsible for auditing all aspects of standardized commodity transactions.
[0058] Certificate node: A certificate authority that joins the consortium chain, mainly responsible for issuing and managing the public and private keys of each node.
[0059] Restricted node: Joining the alliance chain and downloading alliance chain data is subject to the platform of the third-party price endorsement computer center.
[0060] Coupling node: Joining the alliance chain to download alliance chain data is subject to the platform of the third-party price endorsement computer center.
[0061] The alliance chain includes a blockchain composed of blockchain data, and the blockchain data is composed of multiple block data arranged in the chronological order of transaction occurrence. Among them, each block data includes a block header and a block body. The block header stores the block number, block timestamp, block hash, previous block hash, and Merkle root generated based on the signature hash of batch transaction data in the block. The block body stores the recorded batch transaction data.
[0062] refer to Figure 3 , Figure 3 The flowchart of the price splitting coupling method of the embodiment of the present invention is as follows:
[0063] S301: Obtain the seller's product (service) information and match it with the buyer's delivery consensus information. This can be achieved whether people are looking for goods or goods are looking for people.
[0064] S302: The product information of the e-commerce platform, the personal information of registered members, and the delivery environment type information are signed by the third-party price endorsement platform under standardized transaction rules.
[0065] S302: According to the mapping relationship between the preset commodity delivery environment type and the first verification node, the first verification node is used to perform public key verification on the signature data, wherein the first verification node is a management node and / or accounting node / price splitting node / coupling node in the alliance chain.
[0066] S304: When the verification is successful, the commodity price segmentation coupling information and the information of the first node are packaged and processed by the management node to obtain block data.
[0067] S305: The block data is verified through the accounting node, and the successfully verified block data is loaded as the latest block data into the current blockchain in the alliance chain.
[0068] In the application embodiment of the present invention, the method of obtaining the information of the buyer's purchase intention for the seller's goods (services) can be obtained from the trigger service of the e-commerce platform system.
[0069] Specifically, the types of commodity (service) retail links include commodity display, purchase rules, coupling rules, probability occurrence and commodity (service) distribution. The commodity (service) type information includes the transaction data, timestamp and node information that needs to be processed by the node, etc. The node information can be a node number, such as a management node number, an accounting node number, a coupling node number, etc. The signature data is obtained by processing the commodity (service) link type information with a private key.
[0070] The specific process of obtaining product (service) information includes:
[0071] Receive information on the type of commodity (service) link and the type of commodity (service) transaction.
[0072] Obtain the private key information corresponding to the product (service) link type through the certificate node on the alliance chain.
[0073] The commodity (service) link type and commodity (service) transaction link type information are encrypted into signature data according to the private key information.
[0074] Specifically, this transaction can only be triggered when the commodity (service) transaction link type is accepted by the third-party price endorsement platform: the timestamp, commodity type, logistics, delivery process and other commodity (service) link type information are signed using the private key information issued by the certificate node to obtain signature data, and sent to the management node in the alliance chain.
[0075] When the sale of a product (service) type is stopped, the third-party price endorsement platform computer center triggers the stop-sale information, signs the timestamp, product (service) type, item number, stop-sale time, and the private key information issued by the certificate authority of the certificate node to obtain the signature data, and sends it to the management node.
[0076] When the commodity (service) link type is normal sales, the terminal node signs the timestamp, terminal node number, commodity (service) type, number, purchase rules, commodity (service) amount, and price coupling amount through the private key information of the certificate node to obtain the signature data, and records the timestamp, terminal node number, commodity (service) type, number, delivery plan, purchase amount, and coupling amount signature data and sends it to the accounting node.
[0077] In the embodiment of the present application, the certificate node issues corresponding private key information to different nodes according to different commodity (service) link types, so that the private key information encrypts the commodity (service) link type and coupling link type information into signature data. Since the signature data is used to verify whether the transmitted content is sent by a real third-party price endorsement platform, that is, to verify whether the sent data has been tampered with, the transaction data in each link of the commodity (service) transaction process is guaranteed to be tamper-proof through private key encryption.
[0078] The third-party price endorsement system uses the first verification node to perform public key verification on the signature data based on the mapping relationship between the preset commodity (service) link type and the first verification node, where the first verification node includes the management node and / or accounting node in the alliance chain.
[0079] It should be noted that other nodes on the alliance chain cannot obtain product (service) information without passing the signature data verification. Each node needs to encrypt and verify the product (service) information when transmitting it. For example, the process of node A transmitting information a to node B for processing: before node A transmits information a, the third-party price endorsement platform in the certificate node simultaneously issues private key information a and public key information b, and sends private key information a to node A, and public key information b to node B. Node A encrypts information a with private key information a to form signature data a, and sends signature data a and information a to node B. Node B performs public key verification on signature data a according to public key information b. Only after the verification is passed can node B obtain information a, so that the transmission process of each node cannot be tampered with, making the data transmission more secure.
[0080] The mapping relationship between the preset commodity (service) link type and the first verification node means that there is a corresponding verification node for each commodity (service) link type. For example, when the commodity (service) link type is commodity (service) listing, the first verification node is the management node; when the commodity (service) link type is buyer purchase, the first verification node is the accounting node and management node; when the commodity (service) link type is price segmentation coupling, the first verification node is the accounting node.
[0081] S304: When the verification is successful, the product (service) information and the information of the first verification node are packaged and processed by the management node to obtain block data.
[0082] In the embodiment of the present invention, when the first verification node passes the public key verification of the signature data, the data involved in each node processing process, such as the transaction data and signature data in the management node and / or accounting node / price splitting node / coupling node / commodity (service) information in the first verification node, are packaged and processed to obtain block data.
[0083] Among them, each block data consists of two parts: block header and block body. The block body stores the recorded batch transaction data, and the block header stores the block number, block timestamp, previous block hash, and Merkle root generated based on the signature hash of the batch transaction data in the block.
[0084] S305: The block data is verified through the accounting node, and the successfully verified block data is loaded as the latest block data into the current blockchain in the alliance chain.
[0085] Specifically, blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of block data generated by cryptographic methods. Each block data contains a batch transaction data signature, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain is an unalterable, full-history distributed database storage technology. The huge blockchain data set contains the entire history of each transaction. The traceability of blockchain makes the data from collection, transaction, circulation, and every step of computation and analysis recorded on the blockchain trustworthy, and also ensures the correctness and reliability of data analysis results.
[0086] Furthermore, the current blockchain that verifies the block data through the accounting node and loads the successfully verified block data as the latest block data into the alliance chain includes:
[0087] The block data in the management node is sent to the accounting node through the peer-to-peer network.
[0088] The block data is verified through the accounting nodes.
[0089] When the verification is successful, the block data is downloaded and appended to the current blockchain.
[0090] Among them, peer-to-peer networking (P2P), that is, peer-to-peer computer network, is a distributed application architecture, which is a form of networking or network formed by the peer-to-peer computing model at the application layer. Since nodes need to establish consensus before data is added to the blockchain, it is almost impossible for attackers to change the data. Basically, each node saves a copy of the blockchain and verifies it with other nodes to ensure the accuracy of the data. The combination of a distributed peer-to-peer network and a consensus mechanism of the majority of nodes can make the blockchain relatively resistant to malicious tampering activities.
[0091] Therefore, based on the advantages of peer-to-peer networks, the block data in the management node is sent to the corresponding accounting node, and the accuracy of the block data is verified by the accounting node. The verification method can be consensus verification, and the consensus verification adopts a consensus algorithm, such as coupled algorithm proof and equity proof, to prevent data tampering. After the verification is successful, the downloaded block data is backed up to the current blockchain to form a complete blockchain.
[0092] In an embodiment of the present invention, by obtaining commodity (service) information including buyer-defined price segmentation, seller-defined price segmentation information, and signature data, the first verification node is used to perform public key verification on the signature data according to the mapping relationship between the preset probability generator and the coupling type and the first verification node. When the verification is successful, the commodity (service) information and the information of the first verification node are packaged and processed by the management node to obtain block data, and the block data is verified by the accounting node, and the block data after successful verification is loaded as the latest block data into the current blockchain in the alliance chain, that is, by storing the transaction data of each link in the commodity (service) on the alliance chain, the degree of centralization of the commodity (service) delivery process management is reduced through the alliance chain, and the credibility of the third-party platform is improved. At the same time, the characteristics of the blockchain are used to ensure the distributed storage and non-tamperability of the data, thereby improving the security of commodity (service) transaction management.
[0093] Furthermore, when the commodity (service) link type reaches a consensus on the price of the commodity (service), the commodity (service) link type mainly includes the transaction and termination of the commodity (service). According to the delivery rules of the third-party platform commodity (service), the commodity (service) transaction process is as follows:
[0094] When the computer center of the third-party price endorsement platform accepts the buyer's commodity (service) transaction request, the certificate node issues and provides the private key, and at the same time provides the public key to the management node. The public key corresponds to the private key one by one. The third-party platform signs the timestamp, commodity (service) type, logistics, delivery time and other data with the private key to obtain signature data 1, and sends it to the management node;
[0095] After receiving the signature data from the platform, the management node uses the corresponding public key for verification. After the verification is passed, the timestamp, product (service) type, logistics, delivery time, signature data 1 are recorded and packaged into block data, which is sent to other accounting nodes through the peer-to-peer network;
[0096] After receiving the block data from the management node, the accounting node will verify the consensus of the block data. After passing the verification, the block will be downloaded to the local computer and added to the blockchain.
[0097] The terminal node queries the latest block data, parses the block data to obtain the product (service) type, logistics, and delivery time, and then starts the custom coupling method.
[0098] Furthermore, the product (service) termination process is as follows:
[0099] The terminal node closes the corresponding coupling method through the preset commodity (service) type, logistics, and delivery time; when the third-party platform triggers the termination of the commodity (service), the certificate node issues a private key to the third-party price endorsement platform system, which signs according to the private key to obtain the signature data, and sends the timestamp, commodity (service) type, logistics, delivery time, and the signature data obtained by signing to the management node; after the management node receives the signature data from the third-party price endorsement platform, it uses the corresponding public key to verify it. After the verification is passed, the timestamp, commodity (service) type, logistics, delivery time, and signature data are recorded and packaged into block data, and sent to other accounting nodes through the peer-to-peer network; after receiving the block data from the management node, the accounting node performs consensus verification on the block data. After the verification is passed, the block is downloaded to the local and appended to the blockchain.
[0100] In the application embodiment of the present invention, by combining the transaction of goods (services) with blockchain technology, the risk of commodity (service) transactions is reduced by using a consortium chain, data information is encrypted and protected through multi-level nodes and authority control, and the entire process of commodity (service) transactions is published on the blockchain, thereby increasing fairness, justice, and open transparency.
[0101] Reference Figure 4 , is a schematic diagram of the commodity (service) transaction process in the embodiment of the present invention, and the commodity (service) transaction process includes:
[0102] A01: The buyer initiates a request to purchase goods (services);
[0103] A02: The terminal node writes the signature data into the price splitting node;
[0104] A03: The price splitting node sends the signature data to the price coupling node;
[0105] A04: The coupling node sends the signature data to the accounting node;
[0106] A05: The accounting node packages the block data and sends it to the management node through the peer-to-peer network;
[0107] A06: The management node verifies the block data, writes it into the blockchain when the verification is successful, and sends it to the accounting node;
[0108] A07: Accounting nodes package block data;
[0109] A08: Blockchain data forms a closed loop and starts from the terminal node;
[0110] A09: The terminal node pays the seller the total price and the seller delivers the goods.
[0111] When the specific commodity (service) link type complies with the commodity (service) transaction rules, the commodity (service) information includes commodity (service) transaction information, price segmentation coupling information and initial commodity (service) signature data encrypted by the terminal node in the alliance chain. The first verification node is the accounting node. According to the preset mapping relationship between the commodity (service) link type and the first verification node, the first verification node is used to perform public key verification on the signature data, including:
[0112] Obtain the first public key information corresponding to the terminal node through the certificate node;
[0113] Using at least one accounting node and the first public key information to perform first public key verification on the initial commodity (service) transaction signature data;
[0114] When the initial public key verification succeeds, the commodity (service) purchase transaction information, the initial purchase commodity (service) signature data, the terminal node information and the accounting node information are processed with the private key to obtain the signature data of the commodity (service) transaction;
[0115] Obtain the second public key information corresponding to the accounting node through the certificate node;
[0116] The management node and the second public key information are used to perform the second public key verification on the product (service) signature data.
[0117] Furthermore, when the verification is successful, the management node packages the product (service) information and the information of the first verification node to obtain block data including:
[0118] When it is detected that the sum of the price segments of the accounting nodes is the preset package total price, the commodity (service) transaction information and the information of the first verification node are packaged and processed to obtain block data, where the block data includes a block header and a block body.
[0119] In the embodiment of the present invention, the first public key information and the second public key information are both issued by the certification node.
[0120] Specifically, the buyer selects a custom coupling method on the terminal node, determines the price splitting scheme, and pays the corresponding price splitting amount for coupling;
[0121] The terminal node signs the timestamp, terminal node number, commodity type and logistics and other delivery plans, and the total price of the commodity (service) with a private key to obtain the initial commodity (service) transaction signature data, and records the timestamp, terminal node number, commodity type, logistics, delivery period, price segmentation plan, total price, and initial commodity (service) signature data and sends them to the accounting node;
[0122] After receiving the data sent by the terminal node, the accounting node verifies it through the public key of the corresponding terminal node number; after the verification is passed, the timestamp, accounting node number, terminal node number, commodity (service) type, logistics, price segmentation scheme, total price, initial commodity (service) transaction signature data are signed by the private key to obtain commodity (service) transaction signature data, and then the timestamp, accounting node number, terminal node number, commodity (service) type, logistics, price segmentation scheme, total price, initial commodity (service) signature data, commodity (service) transaction signature data are sent to the management node; after receiving the data sent by the accounting node, the management node verifies it through the public key of the corresponding accounting node number. After the verification is passed, the timestamp, terminal node number, commodity (service) type, logistics, price segmentation scheme, total price, initial commodity (service) signature data are recorded, and the third-party platform computer center system interface is called to write them into the database for storage. When it is detected that the sum of the price segments of the accounting nodes is the preset total price, that is, when the specified number of accounting node data is collected and packaged to generate a block, the preset package total price can be set according to the actual situation. Each block consists of a block header and a block body. The block data includes commodity (service) transaction information and accounting node data. The block header stores the block number, block timestamp, block hash, previous block hash, and Merkle root generated based on the signature hash of the batch transaction data in the block. The block body stores the recorded batch transaction data.
[0123] Furthermore, the packaged block data is sent to all accounting nodes through the peer-to-peer network. Each accounting node verifies the block data, and after verification, downloads the block data to the local and appends it to the blockchain.
[0124] Furthermore, the terminal node queries the commodity (service) transaction information and prints the order.
[0125] According to the attached Figure 5 , Figure 5This is a program diagram of the commodity (service) price segmentation coupling method in the embodiment of the present invention, which specifically includes:
[0126] 501: The commodity (service) price segmentation and coupled transaction rules are stored in the blockchain data;
[0127] 502: Smart contract standardization, with the probability generator triggered by the management node and the mapping with the smart contract;
[0128] 503: The probability generator is controlled by the management node;
[0129] 504: The management node inputs the price segmentation data into the probability generator;
[0130] 505: Accounting node records and compares the execution of smart contracts;
[0131] 506: Blockchain data retrieves the standard smart contract of commodity (service) price segmentation coupling method, and each price segmentation coupling process data input by the accounting node.
[0132] In the application embodiment of the present invention, a terminal-instant-coupled-and-obtained goods (services) transaction method is adopted.
[0133] Furthermore, the audit nodes added to the alliance chain are mainly responsible for auditing the nodes in each link of the commodity (service) transaction process. They can directly query the full process commodity (service) transaction records, price segmentation records, and coupling records in the blockchain, thereby simplifying the supervision method of external third-party platforms.
[0134] In the process of point-to-point commodity (service) transaction, commodity (service) buying and selling consensus, price segmentation, price coupling, transaction method, logistics, return and other types of processes are all recorded on the blockchain, and the transaction data of each link in the commodity (service) process is stored on the alliance chain. The characteristics of the blockchain are used to ensure the distributed storage and non-tamperability of the data. The commodity (service) type, purchase transaction method, price segmentation method, coupling method, probability generator and probability size involved in the commodity (service) transaction process are published on the whole chain to increase the openness and transparency of commodity (service) transactions. That is, the present invention applies for the combination of commodity (service) smart retail with blockchain technology throughout the process, and uses the alliance chain to reduce the centralization of commodity (service) transactions. User purchase information is encrypted and protected through multi-level nodes and authority control. On the basis of reducing the centralization, the security of user privacy data can be effectively increased, and the standardized commodity (service) transaction process is announced on the chain, realizing the openness and transparency of seamless transactions from factory assembly line products (sellers) to consumers (buyers).
[0135] Those skilled in the art should understand that the sequence numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0136] In the embodiment of the present invention, a management system for the point-to-point transaction process of goods (services) is also provided. The modules included in the goods (services) process management system are used to execute the attached Figure 2 For details, please refer to the attached Figure 2 Related description in the corresponding embodiment.
[0137] The terminal device described in the present invention application, that is, the computer program is divided into an acquisition module, an execution module, and a generation module (module in a virtual device). There are many paths to implement the specific functions of each module and no further description will be given.
[0138] The terminal device may be a computing device such as a desktop computer, a notebook, a handheld computer, or a cloud server.
[0139] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0140] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0141] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0142] In the embodiments provided by the present invention, it should be understood that the disclosed system / terminal device and method can be implemented in other ways. For example, the system / terminal device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0145] If the integrated module / unit is implemented in the form of a software functional unit and used as an independent product, it can be stored in a computer center readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiments, such as the method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. . Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM0 Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0146] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for buying and selling transactions by price split coupling method, characterized by: A method of achieving a transaction by dividing the price G of a product (service) into p parts, using the price coupling of G / p to obtain a transaction opportunity, with the price endorsed by a third-party platform and providing a guarantee for G. The maximum sum of the coupled prices G / p is equal to or less than the price G of the product (service), thereby achieving a transaction.
2. The method according to claim 1, characterized in that: Price coupling is the use of a probability generator to realize the opportunity of making the split price P equal to the total price G of the product (service).
3. The method according to claim 2, characterized in that: The probability of the probability generator is expressed by the equation: P(s) = 1 / 6 a Define and uniformly distribute (P(s): probability size, a: number of identical independent events).
4. The method according to claim 1, characterized in that: Dividing the price G of a commodity (service) into P parts is a method of achieving unimpeded transaction of the commodity transaction price by allowing the buyer to customize the size of the price split P or the seller to customize the size of the price split P according to the standard rules of the third-party platform.
5. The method according to claim 1, characterized in that: The coupling price is equal to the split unit price, and each split unit price is coupled once. If the binomial distribution result coupling is unsuccessful, the split unit price is equal to the down payment for the commodity (service) deposited in a specific public account and written into the blockchain system and the smart contract system.
6. The method according to claim 3, characterized in that: The probability generator uses a Cartesian three-dimensional coordinate system to set multiple random variables of the cube's motion changes, uses a gravity sensor to determine the cube's shape and orientation, and uses a Gaussian random generator and a linear congruential method to determine the coupling process and results.
7. The method according to claim 6, characterized in that: The six faces a1, a2, ..., a6 of the cube, the text, numbers, images of the explicit coding at the input end, and the customized coupling results are compared with the random results to determine the success or failure of the coupling.
8. The method according to claim 1, characterized in that: The price endorsement of the third-party platform provides a bottom-line guarantee for the transaction of the consensus price between the buyer and the seller to ensure that the price difference of G is made up when the binomial distribution results are successfully coupled.
9. The method according to claim 4, characterized in that: The seller's customized price segmentation and coupling is to customize the size of the price G in equal or unequal parts, and to customize the input and output methods of text, numbers, and image display forms on the coupled terminal cube plane using integrated equipment connection.
10. The method according to claim 4, characterized in that: The buyer's customized price segmentation and coupling is based on the standardized price segmentation and coupling rules of the price endorsement system of the third-party platform. The buyer sets the price S based on the seller's price G, and the price difference (GS) is formed. The transaction price is customized by the buyer using the price segmentation and coupling method.
