Product traceability reward method and blockchain server
By configuring public and private keys and blockchain addresses for blockchain traceability products, users can obtain and sell points, which solves the problem of low enthusiasm for blockchain traceability behavior and achieves the conversion of user attention and the improvement of the producer's brand image. .
Patent Information
- Application Number
- CN202110762961.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-06
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-07-06
AI Technical Summary
Blockchain traceability has limited effect in improving users’ enthusiasm for product traceability behavior. Traditional reward methods such as red envelope distribution have credibility issues and poor results.
Configure public and private keys and blockchain addresses for each traceable product. Users receive points during traceability and can sell points to obtain legal currency. Points and accounting currency are managed through smart contracts, and the initial points and currency product are set to be fixed. Value, the public key can be set on the product core framework or outer packaging, and the points will be automatically recycled when the life cycle is not triggered.
It increases users' enthusiasm for product traceability, expands the scope of benefits from points increase, promotes product sales, and enhances producer brand image and customer returns.
Smart Images

Figure CN113657905B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a product traceability reward method and a blockchain server. Background Art
[0002] As blockchain technology is recognized and accepted by the general public, more and more blockchain technologies are becoming practical. Blockchain traceability is the earliest application to be implemented. However, blockchain traceability only records the information of production and circulation on the blockchain. The data is transparent, and the public can query the blockchain to obtain the production or circulation information of the product. Since blockchain traceability itself does not involve encryption, users and producers who expect to provide anti-counterfeiting are disappointed. At the same time, blockchain traceability only becomes an information source for supply chain operation, with limited functions. It is not much different from traditional single servers and databases to query production or circulation information. The operating costs of maintaining blockchain traceability are regarded as costs within producers. Many producers feel that blockchain traceability is a pity to abandon and tasteless.
[0003] On the other hand, blockchain traceability is the verification of products by users during the process of using the products. It is the best and most accurate publicity entry point. If certain methods can be used to convert users' occasional attention into long-term attention, and light attention into heavy attention, it will be the best publicity.
[0004] The traditional method is to distribute red envelopes to users, which has indeed achieved certain results, but the amount of red envelopes given to everyone is small and the effect is not good. Another improved method is to randomly give out different amounts of reward red envelopes, but since the random process is invisible and intangible, there are doubts about its credibility and the effect is limited. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a product traceability reward method and a blockchain server, which can improve the user's enthusiasm for implementing product traceability.
[0006] In order to solve the above problems, the present invention provides a method for rewarding product traceability, including: the producer configures a pair of public and private keys and blockchain addresses for traceability for each traceable product, and presets a certain number of points for the corresponding address; the user obtains a corresponding number of points when running the traceability program on the blockchain; the user sells the points and obtains legal currency.
[0007] Optionally, the step in which the user sells points to obtain legal tender further includes: the producer configures a contract to manage user points and accounting currency, and defines the product of the initial user points and the initial accounting currency as a fixed value; the user sells points to obtain accounting currency; the producer buys points and invests new accounting currency.
[0008] Optionally, the public key is set on the core frame, outer packaging or core parts of the traceable product.
[0009] Optionally, the generation of public and private keys and blockchain addresses is further as follows: a hexadecimal number is generated based on a random number; a public key is obtained after the private key is calculated by referencing an encryption function; and a digital signature calculation is performed on the public key to obtain an on-chain address.
[0010] Optionally, a recycling step is further included, that is, if the points used for traceability are not triggered until the end of the product life cycle, they are automatically recycled.
[0011] In order to solve the above problems, the present invention provides a blockchain server for executing a reward method for product traceability behavior, and the blockchain server is configured for product producers and users to perform the following steps on it: the producer configures a pair of public and private keys and a blockchain address for traceability for each traceable product; the user obtains a corresponding number of points when running the traceability program on the blockchain; the user sells the points and obtains legal currency.
[0012] Optionally, the step in which the user sells points to obtain legal tender further includes: the producer configures a contract to manage user points and accounting currency, and defines the product of the initial user points and the initial accounting currency as a fixed value; the user sells points to obtain accounting currency; the producer buys points and invests new accounting currency.
[0013] Optionally, the public key is set on the core frame, outer packaging or core parts of the traceable product.
[0014] Optionally, the generation of public and private keys and blockchain addresses is further as follows: a hexadecimal number is generated based on a random number; a public key is obtained after the private key is calculated by referencing an encryption function; and a digital signature calculation is performed on the public key to obtain an on-chain address.
[0015] Optionally, a recycling step is further included, that is, if the points used for traceability are not triggered until the end of the product life cycle, they are automatically recycled.
[0016] The present invention issues a limited number of points based on blockchain smart contracts, which are given to users when they use blockchain traceability. Users can sell points or temporarily keep them, and the point issuer uses a fixed proportion of sales or a fixed amount to recover the points. Producers can establish a system to reward buyers and sharers with points, expand the scope of beneficiaries of the increase in points, further directly promote product sales, and return the benefits obtained from the development of producers to their own customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Attached Figure 1Shown is a schematic diagram of the implementation steps of a specific embodiment of the present invention.
[0018] Attached Figure 2 The figure shows a schematic diagram of a preset process of tracing and integration provided by a specific embodiment of the present invention.
[0019] Attached Figure 3 Shown is a relationship diagram of private keys, public keys and addresses taking Ethereum as an example in a specific implementation manner of the present invention.
[0020] Attached Figure 4 The figure is a specific flow chart of a user obtaining legal tender in a specific implementation manner of the present invention.
[0021] Attached Figure 5 Shown is a schematic diagram of the operation of a contract between a producer and a user in a specific implementation manner of the present invention.
[0022] Attached Figure 6 Shown is a schematic diagram of the changes in the number of points and unit price in a specific implementation manner of the present invention. DETAILED DESCRIPTION
[0023] The specific implementation methods of the product traceability behavior reward method and the blockchain server provided by the present invention are described in detail below with reference to the accompanying drawings.
[0024] Attached Figure 1 The figure shows the implementation steps of this specific implementation method, including: step S10, the producer (in this specific implementation method, the enterprise) configures a pair of public and private keys and blockchain addresses for each traceable product; step S11, the user obtains a corresponding number of points when running the traceability program on the blockchain; step S12, the user sells the points and obtains legal currency. Steps S11 and S12 can be implemented in parallel and repeatedly multiple times.
[0025] Attached Figure 2 The figure shows a preset process of traceability and integration provided by this specific implementation. In step S10, after the product is initially formed, for example, after the numbered frame, outer packaging or core parts appear, a pair of public and private keys and addresses are generated. The generation of public and private keys itself generates a hexadecimal number based on a random number, and then references an encryption function such as an elliptic curve, secp256k1, and then performs an ECDSA operation on the private key to obtain the public key. Perform SHA-3 calculation on the public key to obtain the on-chain address. Attached Figure 3 Shown is a relationship diagram of private keys, public keys, and addresses using Ethereum as an example in this specific implementation.
[0026] The producer creates a smart contract and issues points. The total number is capped. When the user runs the traceability program, the smart contract is triggered and a certain amount of points are obtained. As a preferred technical solution, if the traceability QR code or traceability RFID tag on each product has not been triggered for a long time, even at the end of the product life cycle, the producer can agree on automatic recycling in the smart contract. This can prevent the product information from being stolen.
[0027] In step S11, after the user gets the points, he can call the smart contract to sell them and obtain legal currency. Figure 4 Shown is a specific flow chart of a user obtaining legal tender in a specific implementation manner of the present invention.
[0028] In step S12, the producer sets up another smart contract to complete the sale of user points and the repurchase of points. As a preferred solution, this step may further include: the producer configures a contract to manage user points and accounting currency, defining the product of the initial user points and the initial accounting currency as a fixed value; the user sells the points to obtain accounting currency; the producer buys the points and invests in new accounting currency.
[0029] Specifically, this smart contract provides the functions of buying and selling points and automatic pricing. It starts with x points and y accounting currencies, and the pricing formula is:
[0030] x*y=constant
[0031] The constant can be set by yourself, the purpose is to make the points have a reasonable price at the beginning. Figure 5 Shown is a schematic diagram of the operation of the contract between the producer and the user in this specific implementation method.
[0032] Attached Figure 6 The figure shows the change of points quantity and unit price when the above strategy is used to configure the points pool in this specific implementation. Users sell points and obtain accounting currency. Moreover, the transaction in this step is completed immediately when the user initiates it and does not depend on whether there is a buyer of points at this time. As the points in the pool increase, the currency corresponding to each point, that is, the unit price, decreases. Figure 6 Producers provide funds according to the needs of publicity, and can purchase points in the above x+y trading pool regularly or irregularly like ordinary users. The number of points in the pool decreases, and the equivalent attached Figure 6 Moving to the left. In addition, the transaction of buying points in this step is completed immediately regardless of whether there is a point seller at this time.
[0033] In the attached Figure 6 If we simply set the pricing formula
[0034] Points pool inventory * points unit price = constant
[0035] When selling off points in the short term, the price will drop to nearly 0, which will affect the brand image of the producer. An improved pricing formula
[0036] Points pool inventory * (points unit price - k) = constant
[0037] Even if there is a short-term sell-off, prices will not go close to zero.
[0038] In most cases, the points for selling goods or services are subordinate, and the followers are few. The rise and fall in the short term basically does not affect sales. The rise and fall only affect the attention of users, and in the long run, it will surely promote sales steadily. Therefore, the points will rise and fall sharply, and the general trend must be rising. In the point system of the present invention, only the followers benefit from the points. In the rise and fall of the points, the producers have gained widespread attention and gained the goodwill of those who sold the points and made huge profits, which greatly promoted the construction of the brand image.
[0039] Producers can establish a system that not only rewards traceability users with points, but also rewards buyers and sharers with points, thereby expanding the scope of beneficiaries of increased points, further directly promoting product sales, and returning the profits gained from the producer's development to their own customers. Therefore, the practical significance of this invention has a far-reaching impact on producers.
[0040] The above specific implementation method is based on the issuance of a limited number of points by blockchain smart contracts, which are given to users when they use blockchain traceability. Users can sell points or temporarily retain them, and the issuer of points will use a fixed proportion of sales or a fixed amount to recover points. Since most users do not pay enough attention to points, the proportion of points collected and sold in the early stage is extremely low, resulting in only a few points being actually sold, and the amount is relatively fixed, which will inevitably lead to a sharp rise in the price of points in the early stage. This price increase can easily attract the attention of a large number of users. When a large number of users collect points and sell them, the price of points drops. At a certain point, the willingness to sell weakens, while the purchase amount is relatively stable, and even continues to rise due to the expansion of the influence. The comparison between the two pushes the price of points to rise again. This process of rising and falling points continues to attract the attention of users.
[0041] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for rewarding product traceability, characterized in that: include: The producer configures a pair of public and private keys and blockchain addresses for each traceable product; Preset a certain amount of points at the corresponding address; When users run the traceability program on the blockchain, they will receive a corresponding number of points; Users sell their points and receive legal tender; The step of the user selling the points to obtain legal tender further includes: The producer configures a contract to manage user points and accounting currency, and defines the initial user points and the initial accounting currency as a certain functional relationship; Users sell their points and obtain accounting currency; Producers buy points and put them into new accounting currency; The determined functional relationship is: initial user points*initial accounting currency amount=constant; Among them, the generation of public and private keys and blockchain addresses is further: Generate a hexadecimal number based on a random number; The public key is obtained by using the encryption function to operate the private key; Perform digital signature calculation on the public key to obtain the on-chain address.
2. The method according to claim 1, characterized in that The blockchain address is set on the core frame, outer packaging or core parts of the traceable product.
3. The method according to claim 1, characterized in that It further includes a recycling step, that is, if the points used for traceability are not triggered until the end of the product's life cycle, they are automatically recycled.
4. A blockchain server for executing a reward method for product traceability, characterized in that: The blockchain server is configured so that product producers and users can perform the following steps on it: The producer configures a pair of public and private keys and blockchain addresses for each traceable product; a certain number of points are preset on the corresponding address; When users run the traceability program on the blockchain, they will receive a corresponding number of points; Users sell their points and receive legal tender; The step of the user selling the points to obtain legal tender further includes: The producer configures a contract to manage user points and accounting currency, and defines a definite functional relationship between the initial user points and the initial accounting currency number; Users sell their points and obtain accounting currency; Producers invest new bookkeeping currency; The determined functional relationship is: initial user points*initial accounting currency amount=constant; Among them, the generation of public and private keys and blockchain addresses is further: Generate a hexadecimal number based on a random number; The public key is obtained by using the encryption function to operate the private key; Perform digital signature calculation on the public key to obtain the on-chain address.
5. The blockchain server according to claim 4, characterized in that: The address is set on the core frame, outer packaging or core parts of the traceable product.
6. The blockchain server according to claim 4, characterized in that: It further includes a recycling step, that is, if the points used for traceability are not triggered until the end of the product's life cycle, they are automatically recycled.
