CN110689358A - Furniture circulation information tracing method and device based on block chain - Google Patents

Furniture circulation information tracing method and device based on block chain Download PDF

Info

Publication number
CN110689358A
CN110689358A CN201910911606.3A CN201910911606A CN110689358A CN 110689358 A CN110689358 A CN 110689358A CN 201910911606 A CN201910911606 A CN 201910911606A CN 110689358 A CN110689358 A CN 110689358A
Authority
CN
China
Prior art keywords
furniture
information
block chain
block
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201910911606.3A
Other languages
Chinese (zh)
Inventor
吉建勋
杨慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910911606.3A priority Critical patent/CN110689358A/en
Publication of CN110689358A publication Critical patent/CN110689358A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The application discloses a furniture circulation information tracing method and device based on a block chain, which are applied to block chain nodes, wherein the method comprises the following steps: receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node; verifying the private key signature of the service node by using the public key of the service node; after the verification is passed, the furniture factory information is packaged into a first block, so that the block chain system stores the first block into a block chain after the common identification verification is carried out on the first block. The method can store the circulation information of the furniture into the block chain, and is convenient for a user to inquire, thereby solving the problem of fake furniture.

Description

Furniture circulation information tracing method and device based on block chain
Technical Field
The invention relates to the technical field of internet big data, in particular to a furniture circulation information tracing method and device based on a block chain.
Background
Currently, the blockchain technology is a distributed stored ledger that uses technologies such as encryption algorithm and consensus mechanism. With the use of blockchain technology, more and more internet data is stored on the blockchain.
The blockchain technology has the characteristics of non-falsification and information traceability, and solves the problem of counterfeit furniture by using the blockchain technology.
The foregoing description is merely for convenience in understanding and is not to be construed as limiting the prior art to the present application.
Disclosure of Invention
Based on the problems, the application discloses a furniture circulation information tracing method and device based on a block chain.
The application discloses a furniture circulation information tracing method based on a block chain in a first aspect, which is applied to a block chain node, and the method comprises the following steps:
receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node;
verifying the private key signature of the service node by using the public key of the service node;
after the verification is passed, the furniture factory information is packaged into a first block, so that the block chain system stores the first block into a block chain after the common identification verification is carried out on the first block.
In one possible embodiment, the method further comprises: receiving a furniture trading information chaining request sent by a merchant node, wherein the furniture trading information chaining request comprises a private key signature of the merchant node;
verifying the private key signature of the merchant node by using the merchant node public key;
and after the verification is passed, packaging the furniture marketing information into a second block, so that the second block is identified and verified by a block chain system and then stored in a block chain.
In one possible embodiment, the method further comprises: receiving a furniture circulation information query request sent by user equipment, wherein the furniture circulation information query request comprises a private key signature of the user equipment, and the user equipment is registered user equipment of the block chain system;
verifying the private key signature of the user equipment by using the public key of the user equipment;
and after the verification is passed, sending the furniture circulation information to the user equipment, wherein the furniture circulation information comprises the furniture delivery information and the furniture buying and selling information.
In a possible implementation manner, the furniture circulation information query request includes information of furniture, so that the block link point queries the furniture circulation information according to the information of the furniture; wherein the content of the first and second substances,
the information of the furniture generates a hash value of the furniture through a hash algorithm, and the hash value of the furniture is stored on a block chain; wherein the information of the furniture comprises one or more of furniture type, furniture name, manufacturer name, production date and recommended effective period.
In one possible embodiment, the furniture marketing information includes a seller of the furniture, a purchaser of the furniture, a name of the furniture, and a marketing date;
the furniture delivery information comprises the name of the furniture, the name of a manufacturer and the delivery date of the furniture.
In a possible implementation manner, the user equipment queries the furniture factory information and the furniture business information corresponding to the furniture by scanning a two-dimensional code of the furniture.
In one possible embodiment, the method further comprises: receiving comment information of the furniture sent by the user equipment; and packing the comment information of the furniture into a third block, so that the third block is subjected to consensus verification by a block chain system and then stored into a block chain.
The application discloses a furniture circulation information tracing device based on a block chain, wherein the device is a block chain node, and the block chain node comprises a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node;
the processing unit is used for verifying the private key signature of the service node by using the service node public key;
and the processing unit packages the furniture delivery information into a first block after the verification is passed, so that the block chain system stores the first block into a block chain after the consensus verification is performed on the first block.
In a possible implementation manner, the receiving unit receives a furniture trading information uplink request sent by a merchant node, where the furniture trading information uplink request includes a private key signature of the merchant node;
the processing unit is used for verifying the private key signature of the merchant node by using the merchant node public key;
and the processing unit is used for packaging the furniture buying and selling information into a second block after the verification is passed, so that the second block is identified and verified by the block chain system and then stored in the block chain.
In a possible implementation manner, the blockchain node further includes a sending unit, where the receiving unit receives a furniture flow information query request sent by a user device, where the furniture flow information query request includes a private key signature of the user device, and the user device is a registered user device of the blockchain system;
the processing unit is used for verifying the private key signature of the user equipment by using the public key of the user equipment;
and the sending unit sends the furniture circulation information to the user equipment after the verification is passed, wherein the furniture circulation information comprises the furniture delivery information and the furniture buying and selling information.
The application can store the circulation information of the furniture into the block chain, and brings convenience to the query of a user, so that the problem of fake furniture is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a furniture circulation information tracing method based on a blockchain disclosed in the present application;
fig. 2 is a schematic structural diagram of a furniture circulation information tracing device based on a blockchain according to the present disclosure;
fig. 3 is a schematic structural diagram of a furniture circulation information tracing device based on a blockchain disclosed in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second" in this application are used for convenience of understanding only, and are not to be construed as sequential or limiting in any way.
For the purpose of facilitating understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
As shown in FIG. 1, the furniture flow information tracing method based on the blockchain is applied to the blockchain node, and the method comprises steps S101-S103.
S101, receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node.
And S102, verifying the private key signature of the service node by using the public key of the service node.
S103, after the verification is passed, packaging the furniture delivery information into a first block, and storing the first block into a block chain after the block chain system performs consensus verification on the first block.
In one example, the method further comprises: receiving a furniture trading information chaining request sent by a merchant node, wherein the furniture trading information chaining request comprises a private key signature of the merchant node;
verifying the private key signature of the merchant node by using the merchant node public key;
and after the verification is passed, packaging the furniture marketing information into a second block, so that the second block is identified and verified by a block chain system and then stored in a block chain.
In one example, the method further comprises: receiving a furniture circulation information query request sent by user equipment, wherein the furniture circulation information query request comprises a private key signature of the user equipment, and the user equipment is registered user equipment of the block chain system;
verifying the private key signature of the user equipment by using the public key of the user equipment;
and after the verification is passed, sending the furniture circulation information to the user equipment, wherein the furniture circulation information comprises the furniture delivery information and the furniture buying and selling information.
In one example, the furniture circulation information query request includes information of furniture, so that the block link point queries the furniture circulation information according to the information of the furniture; wherein the content of the first and second substances,
the information of the furniture generates a hash value of the furniture through a hash algorithm, and the hash value of the furniture is stored on a block chain; wherein the information of the furniture comprises one or more of furniture type, furniture name, manufacturer name, production date and recommended effective period.
In one example, the furniture marketing information includes a seller of the furniture, a purchaser of the furniture, a name of the furniture, and a marketing date; the furniture delivery information comprises the name of the furniture, the name of a manufacturer and the delivery date of the furniture.
In one example, the user equipment inquires the furniture factory information and the furniture business information corresponding to the furniture by scanning a two-dimensional code of the furniture.
In one example, the method further comprises: receiving comment information of the furniture sent by the user equipment;
and packing the comment information of the furniture into a third block, so that the third block is subjected to consensus verification by a block chain system and then stored into a block chain.
The application can store the circulation information of the furniture into the block chain, and brings convenience to the query of a user, so that the problem of fake furniture is solved.
As shown in fig. 2, the furniture circulation information tracing device based on the block chain is a block chain node, and the block chain node includes a receiving unit and a processing unit.
The receiving unit is used for receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node;
the processing unit is used for verifying the private key signature of the service node by using the service node public key;
and the processing unit packages the furniture delivery information into a first block after the verification is passed, so that the block chain system stores the first block into a block chain after the consensus verification is performed on the first block.
In one example, the receiving unit receives a furniture purchase and sale information uplink request sent by a merchant node, wherein the furniture purchase and sale information uplink request includes a private key signature of the merchant node;
the processing unit is used for verifying the private key signature of the merchant node by using the merchant node public key;
and the processing unit is used for packaging the furniture buying and selling information into a second block after the verification is passed, so that the second block is identified and verified by the block chain system and then stored in the block chain.
In one example, the blockchain node further includes a sending unit, where the receiving unit receives a furniture flow information query request sent by a user device, where the furniture flow information query request includes a private key signature of the user device, and the user device is a registered user device of the blockchain system;
the processing unit is used for verifying the private key signature of the user equipment by using the public key of the user equipment;
and the sending unit sends the furniture circulation information to the user equipment after the verification is passed, wherein the furniture circulation information comprises the furniture delivery information and the furniture buying and selling information.
The application can store the circulation information of the furniture into the block chain, and brings convenience to the query of a user, so that the problem of fake furniture is solved.
The application further discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of the above embodiments when executing the program.
The present application also discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above embodiments.
Fig. 3 shows a schematic diagram of a computer device, which may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 340, the memory 320, the input/output interface 330, and the communication interface 340 are communicatively coupled to each other within the device via a bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the scope of the present invention should be included in the scope of the present invention.

Claims (10)

1. The furniture circulation information tracing method based on the block chain is characterized by being applied to the block chain nodes, and comprises the following steps:
receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node;
verifying the private key signature of the service node by using the public key of the service node;
after the verification is passed, the furniture factory information is packaged into a first block, so that the block chain system stores the first block into a block chain after the common identification verification is carried out on the first block.
2. The method of claim 1, further comprising:
receiving a furniture trading information chaining request sent by a merchant node, wherein the furniture trading information chaining request comprises a private key signature of the merchant node;
verifying the private key signature of the merchant node by using the merchant node public key;
and after the verification is passed, packaging the furniture marketing information into a second block, so that the second block is identified and verified by a block chain system and then stored in a block chain.
3. The method of claim 2, further comprising:
receiving a furniture circulation information query request sent by user equipment, wherein the furniture circulation information query request comprises a private key signature of the user equipment, and the user equipment is registered user equipment of the block chain system;
verifying the private key signature of the user equipment by using the public key of the user equipment;
and after the verification is passed, sending the furniture circulation information to the user equipment, wherein the furniture circulation information comprises the furniture delivery information and the furniture buying and selling information.
4. The method according to claim 3, wherein the furniture circulation information query request includes information of furniture, so that the block link point queries the furniture circulation information according to the information of the furniture; wherein the content of the first and second substances,
the information of the furniture generates a hash value of the furniture through a hash algorithm, and the hash value of the furniture is stored on a block chain; wherein the information of the furniture comprises one or more of furniture type, furniture name, manufacturer name, production date and recommended effective period.
5. The method of claim 2, wherein the furniture marketing information includes a seller of the furniture, a purchaser of the furniture, a name of the furniture, and a marketing date;
the furniture delivery information comprises the name of the furniture, the name of a manufacturer and the delivery date of the furniture.
6. The method according to claim 2, wherein the user device queries the furniture factory information and the furniture sales information corresponding to the furniture by scanning a two-dimensional code of the furniture.
7. The method of claim 3, further comprising:
receiving comment information of the furniture sent by the user equipment;
and packing the comment information of the furniture into a third block, so that the third block is subjected to consensus verification by a block chain system and then stored into a block chain.
8. The furniture circulation information tracing device based on the block chain is characterized in that the device is a block chain node, and the block chain node comprises a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a furniture factory information chaining request sent by a service node, wherein the service node is a factory node, and the furniture factory information chaining request comprises a private key signature of the service node;
the processing unit is used for verifying the private key signature of the service node by using the service node public key;
and the processing unit packages the furniture delivery information into a first block after the verification is passed, so that the block chain system stores the first block into a block chain after the consensus verification is performed on the first block.
9. The apparatus according to claim 8, wherein the receiving unit receives a furniture marketing information uplink request sent by a merchant node, and the furniture marketing information uplink request includes a private key signature of the merchant node;
the processing unit is used for verifying the private key signature of the merchant node by using the merchant node public key;
and the processing unit is used for packaging the furniture buying and selling information into a second block after the verification is passed, so that the second block is identified and verified by the block chain system and then stored in the block chain.
10. The apparatus of claim 9, wherein the blockchain node further comprises a transmitting unit, wherein,
the receiving unit is used for receiving a furniture circulation information query request sent by user equipment, wherein the furniture circulation information query request comprises a private key signature of the user equipment, and the user equipment is registered user equipment of the block chain system;
the processing unit is used for verifying the private key signature of the user equipment by using the public key of the user equipment;
and the sending unit sends the furniture circulation information to the user equipment after the verification is passed, wherein the furniture circulation information comprises the furniture delivery information and the furniture buying and selling information.
CN201910911606.3A 2019-09-25 2019-09-25 Furniture circulation information tracing method and device based on block chain Withdrawn CN110689358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910911606.3A CN110689358A (en) 2019-09-25 2019-09-25 Furniture circulation information tracing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910911606.3A CN110689358A (en) 2019-09-25 2019-09-25 Furniture circulation information tracing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN110689358A true CN110689358A (en) 2020-01-14

Family

ID=69110089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910911606.3A Withdrawn CN110689358A (en) 2019-09-25 2019-09-25 Furniture circulation information tracing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN110689358A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112232838A (en) * 2020-10-20 2021-01-15 北京抱朴再生文化传播有限公司 Method and system for winding up recycled articles by means of block chain
CN112261123A (en) * 2020-10-20 2021-01-22 北京抱朴再生文化传播有限公司 Method and system for chaining recovered goods based on block chain and Internet of things equipment
WO2021175023A1 (en) * 2020-03-06 2021-09-10 深圳壹账通智能科技有限公司 Electronic warehouse receipt source tracing method and apparatus, computer device, and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021175023A1 (en) * 2020-03-06 2021-09-10 深圳壹账通智能科技有限公司 Electronic warehouse receipt source tracing method and apparatus, computer device, and storage medium
CN112232838A (en) * 2020-10-20 2021-01-15 北京抱朴再生文化传播有限公司 Method and system for winding up recycled articles by means of block chain
CN112261123A (en) * 2020-10-20 2021-01-22 北京抱朴再生文化传播有限公司 Method and system for chaining recovered goods based on block chain and Internet of things equipment
CN112232838B (en) * 2020-10-20 2021-06-25 北京抱朴再生文化传播有限公司 Method and system for winding up recycled articles by means of block chain
CN112261123B (en) * 2020-10-20 2023-12-19 北京抱朴再生环保科技有限公司 Recovered article uplink method and system based on blockchain and Internet of things equipment

Similar Documents

Publication Publication Date Title
CN110324363B (en) Uplink method and device for Internet e-commerce associated data
CN110689358A (en) Furniture circulation information tracing method and device based on block chain
CN110599209A (en) Wine circulation information tracing method and device based on block chain
CN110634001A (en) Food circulation information tracing method and device based on block chain
CN105099675A (en) Method and device for generating authentication data for identity authentication and method and device for identity authentication
CN108885743A (en) The unified payment interface preference monitoring service of merchant web site can be integrated into
CN110674218A (en) Company business license tracing method and device related to block chain
CN110659912A (en) Cosmetic circulation information tracing method and device based on block chain
CN110634002A (en) Tracing method and device for household appliance circulation information based on block chain
CN110555312A (en) method and device for sending rewards to e-commerce platform users based on block chain
CN110634003A (en) Medicine circulation information tracing method and device based on block chain
CN110380870B (en) Block chain private key signing method and device for e-commerce platform user
CN110599208A (en) Block chain-based academic certificate tracing method and device
CN114037494A (en) Random processing method and device for NFT (network File transfer) works
CN109886707A (en) Quality guarantee data processing equipment and method based on block chain
CN110634000A (en) Tea flow information tracing method and device based on block chain
CN110647586A (en) Artwork transfer information tracing method and device based on block chain
CN110688630A (en) Book circulation information tracing method and device based on block chain
CN110598389A (en) Method and device for storing account book certificate based on block chain
CN111078715A (en) Synchronous storage method and device for internet advertisement data on block chain
TWI665629B (en) Data packet sending / receiving method, device, transmission system and mobile equipment
CN110633999A (en) Clothing circulation information tracing method and device based on block chain
CN110647768A (en) Passport deposit method and device based on block chain
CN110351389B (en) UpLink method and device for user community associated data
CN110569306A (en) evidence storing method and device for roses on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200114

WW01 Invention patent application withdrawn after publication