CN113409058A - Multi-terminal query system - Google Patents
Multi-terminal query system Download PDFInfo
- Publication number
- CN113409058A CN113409058A CN202110572420.7A CN202110572420A CN113409058A CN 113409058 A CN113409058 A CN 113409058A CN 202110572420 A CN202110572420 A CN 202110572420A CN 113409058 A CN113409058 A CN 113409058A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal
- module
- layer
- block chain
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6227—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computational Linguistics (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Entrepreneurship & Innovation (AREA)
- Data Mining & Analysis (AREA)
- Probability & Statistics with Applications (AREA)
- Mathematical Physics (AREA)
- Fuzzy Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a multi-terminal query system, which comprises a terminal query system and a block chain system, wherein the terminal query system comprises a verification module, an input module, a login module, a search module, an output module and a display module, and the block chain system sequentially comprises a data layer, a communication layer, a sorting layer and an interface application layer from bottom to top.
Description
Technical Field
The invention relates to the field of commodity information query, in particular to a multi-terminal query system.
Background
The commodity information needs to be inquired in daily life, the traditional commodity data inquiry is to inquire through a data center or a server of a manufacturer, then the data center is sealed or the server is paralyzed, and the data center cannot be accessed, the whole system is controlled by the manufacturer, the authenticity of the information is questioned, and even the authenticity of the information can be possibly fake, so the reliability and the authenticity of the information are questioned; meanwhile, the maintenance of the system is dispersed, so that manufacturers maintain the system for a long time, the maintenance cost of the society is high on the whole, and safe, reliable and comprehensive information exchange among commodity circulation participants cannot be performed.
Disclosure of Invention
The present invention is directed to a multi-terminal query system to solve the problems set forth in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
the multi-terminal query system comprises a terminal query system and a block chain system, wherein the terminal query system comprises a verification module, an input module, a login module, a search module, an output module and a display module, the input module comprises a camera and an input unit, the input module carries out information input according to a two-dimensional code scanned by the camera or a commodity identification code input from the input unit, the output module outputs commodity circulation information to the display module, the display module displays the sequenced commodity circulation information on the terminal query system, and the block chain system sequentially comprises a data layer, a communication layer, a sequencing layer and an interface application layer from bottom to top; wherein:
the data layer comprises a block chain library, the block chain library comprises a state database and a chain type block structure, the state database is used for storing real data of commodity circulation information, and the chain type block structure is formed by chain type storage structures formed by mutually connecting blocks;
the communication layer is used for realizing network communication service with the terminal inquiry system;
the sorting layer is used for sorting the submitted commodity circulation information, packaging the commodity circulation information into blocks after sorting is completed, and sending the blocks to the main nodes of all organizations in the block chain;
the interface application layer comprises a Fabric SDK interface and an API interface, the Fabric SDK interface encapsulates an API for operating the database, the data adding, deleting, modifying and checking are realized by calling the API interface, after the terminal is logged in to a query system, the search module calls the API interface in the interface application layer and searches the required commodity information based on the commodity identification code.
The blockchain system is connected with a third-party system, the third-party system is a member forming the whole blockchain transaction process and comprises a raw material system, a production system, a distribution system and a retail system, and the third-party system and the blockchain system realize data sharing through the communication layer.
The data layer on the blockchain system comprises commodity circulation information which can be normally interpreted only by relying on the blockchain system and commodity circulation information which can be interpreted without the blockchain system.
The chain block structure in the block chain system comprises a chain code unit, and the chain code unit is used as an intelligent contract among all members of the block chain and plays a role in restricting the members.
The verification module is used for scanning the code to verify the identity information of the user.
The commodity circulation information comprises commodity production information, packaging information, detection information, production place information and manufacturer information.
The blockchain system is published on a public network.
The terminal system is a mobile phone, a computer or a tablet.
Compared with the prior art, the invention has the beneficial effects that: the traditional commodity data inquiry is carried out by data returned by a data server of a manufacturer, once the data server is paralyzed, the data server cannot be accessed, the commodity data inquiry system and the block chain system are matched for inquiry, the block chain system has the characteristics of decentralization, openness and transparency, development consensus and safety and reliability in the block chain technology, and can ensure that the commodity inquiry information is not falsified, a data layer in the block chain system is used for storing commodity circulation information, a communication layer in the block chain system is used for conveniently establishing network communication with the terminal inquiry system, a sequencing layer in the block chain system is used for sequencing the information stored in the commodities, an interface application layer in the block chain system is used for conveniently carrying out incremental modification and check on the data, when the commodity circulation information inquiry is carried out, firstly, the data inquiry is logged into the terminal inquiry system through a login module, and a verification module is used for verifying user information, then starting a camera to scan the two-dimension code of the commodity, or inputting a commodity identification code from an input module of the terminal system, calling a Fabric SDK interface and an API interface in the block chain system by a searching module, inquiring, outputting commodity circulation information by an output module, and displaying through a display module; the supervision mechanism and the consumer can inquire commodity circulation information through the terminal inquiry system, once the product is in counterfeit, the consumer complains the supervision mechanism, and the supervision mechanism can quickly know the source of the counterfeit problem through the inquiry from the retailer to the primary level of the raw material supplier, so that the consumer can purchase the product more securely.
Drawings
FIG. 1 is a block diagram of a terminal query system architecture of a multi-terminal query system;
FIG. 2 is a block chain structure block diagram of a multi-terminal query system.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Referring to fig. 1-2, the present invention provides a technical solution: the multi-terminal query system comprises a terminal query system and a block chain system, wherein the terminal query system comprises a verification module, an input module, a login module, a search module, an output module and a display module, the input module comprises a camera and an input unit, the input module carries out information input according to a two-dimensional code scanned by the camera or a commodity identification code input from the input unit, the output module outputs commodity circulation information to the display module, the display module displays the sequenced commodity circulation information on the terminal query system, and the block chain system sequentially comprises a data layer, a communication layer, a sequencing layer and an interface application layer from bottom to top; wherein:
the data layer comprises a block chain library, the block chain library comprises a state database and a chain type block structure, the state database is used for storing real data of commodity circulation information, and the chain type block structure is formed by chain type storage structures formed by mutually connecting blocks;
the communication layer is used for realizing network communication service with the terminal inquiry system;
the sorting layer is used for sorting the submitted commodity circulation information, packaging the commodity circulation information into blocks after sorting is completed, and sending the blocks to the main nodes of all organizations in the block chain;
the interface application layer comprises a Fabric SDK interface and an API interface, the Fabric SDK interface encapsulates an API for operating the database, the data adding, deleting, modifying and checking are realized by calling the API interface, after the terminal is logged in to a query system, the search module calls the API interface in the interface application layer and searches the required commodity information based on the commodity identification code.
The traditional commodity data inquiry is carried out by data returned by a data server of a manufacturer, once the data server is paralyzed, the data server cannot be accessed, the commodity data inquiry system and the block chain system are matched for inquiry, the block chain system has the characteristics of decentralization, openness and transparency, development consensus and safety and reliability in the block chain technology, and can ensure that the commodity inquiry information is not falsified, a data layer in the block chain system is used for storing commodity circulation information, a communication layer in the block chain system is used for conveniently establishing network communication with the terminal inquiry system, a sequencing layer in the block chain system is used for sequencing the information stored in the commodities, an interface application layer in the block chain system is used for conveniently carrying out incremental modification and check on the data, when the commodity circulation information inquiry is carried out, firstly, the data inquiry is logged into the terminal inquiry system through a login module, and a verification module is used for verifying user information, then starting a camera to scan the two-dimension code of the commodity, or inputting a commodity identification code from an input module of the terminal system, calling a Fabric SDK interface and an API interface in the block chain system by a search module, inquiring, outputting commodity circulation information by an output module, and displaying through a display module.
The blockchain system is connected with a third-party system, the third-party system is a member forming the whole blockchain transaction process and comprises a raw material system, a production system, a distribution system and a retail system, and the third-party system and the blockchain system realize data sharing through the communication layer.
Raw materials are provided for a raw material by a raw material supplier, then information of the provided materials is uploaded to a blockchain system, the raw material supplier produces products, product information is also uploaded to the blockchain system, the products produced by the manufacturer are placed to each distributor, the distributors obtain the products and then distribute the products to retailers in batches, the distributed product information is uploaded to the blockchain system, the retailers sell the products to consumers, the product information purchased by each consumer is stored in the blockchain system, therefore, the products are collected into the blockchain system from raw material supply and production, a monitoring organization and the consumers can inquire commodity circulation information through a terminal inquiry system, once the products are counterfeit, the consumers complain the monitoring organization, and the monitoring organization can quickly know the source of the counterfeit goods through the inquiry of the retailers to the primary level of the raw material supplier, the consumer can purchase the product more securely.
The data layer on the blockchain system comprises commodity circulation information which can be normally interpreted only by relying on the blockchain system and commodity circulation information which can be interpreted without the blockchain system.
The chain block structure in the block chain system comprises a chain code unit, and the chain code unit is used as an intelligent contract among all members of the block chain and plays a role in restricting the members.
The verification module is used for scanning the code to verify the identity information of the user.
The commodity circulation information comprises commodity production information, packaging information, detection information, production place information and manufacturer information.
The block chain system is published on a public network, and is public on the network, so that the information is public and transparent.
The terminal system is a mobile phone, a computer or a tablet, and supports multi-terminal login for inquiry.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.
Claims (8)
1. The multi-terminal query system comprises a terminal query system and a block chain system, and is characterized in that: the terminal inquiry system comprises a verification module, an input module, a login module, a search module, an output module and a display module, wherein the input module comprises a camera and an input unit, the input module inputs information according to a two-dimensional code scanned by the camera or a commodity identification code input from the input unit, the output module outputs commodity circulation information to the display module, the display module displays the sequenced commodity circulation information on the terminal inquiry system, and the block chain system sequentially comprises a data layer, a communication layer, a sequencing layer and an interface application layer from bottom to top; wherein:
the data layer comprises a block chain library, the block chain library comprises a state database and a chain type block structure, the state database is used for storing real data of commodity circulation information, and the chain type block structure is formed by chain type storage structures formed by mutually connecting blocks;
the communication layer is used for realizing network communication service with the terminal inquiry system;
the sorting layer is used for sorting the submitted commodity circulation information, packaging the commodity circulation information into blocks after sorting is completed, and sending the blocks to the main nodes of all organizations in the block chain;
the interface application layer comprises a Fabric SDK interface and an API interface, the Fabric SDK interface encapsulates an API for operating the database, the data adding, deleting, modifying and checking are realized by calling the API interface, after the terminal is logged in to a query system, the search module calls the API interface in the interface application layer and searches the required commodity information based on the commodity identification code.
2. The multi-terminal polling system of claim 1, wherein: the blockchain system is connected with a third-party system, the third-party system is a member forming the whole blockchain transaction process and comprises a raw material system, a production system, a distribution system and a retail system, and the third-party system and the blockchain system realize data sharing through the communication layer.
3. The multi-terminal polling system of claim 2, wherein: the data layer on the blockchain system comprises commodity circulation information which can be normally interpreted only by relying on the blockchain system and commodity circulation information which can be interpreted without the blockchain system.
4. The multi-terminal polling system of claim 3, wherein: the chain block structure in the block chain system comprises a chain code unit, and the chain code unit is used as an intelligent contract among all members of the block chain and plays a role in restricting the members.
5. The multi-terminal polling system of claim 4, wherein: the verification module is used for scanning the code to verify the identity information of the user.
6. The multi-terminal polling system of claim 5, wherein: the commodity circulation information comprises commodity production information, packaging information, detection information, production place information and manufacturer information.
7. The multi-terminal polling system of claim 6, wherein: the blockchain system is published on a public network.
8. The multi-terminal polling system of claim 7, wherein: the terminal system is a mobile phone, a computer or a tablet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110572420.7A CN113409058A (en) | 2021-05-25 | 2021-05-25 | Multi-terminal query system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110572420.7A CN113409058A (en) | 2021-05-25 | 2021-05-25 | Multi-terminal query system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113409058A true CN113409058A (en) | 2021-09-17 |
Family
ID=77674831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110572420.7A Pending CN113409058A (en) | 2021-05-25 | 2021-05-25 | Multi-terminal query system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113409058A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114240441A (en) * | 2021-11-22 | 2022-03-25 | 广东电网有限责任公司 | Transaction flow abnormity monitoring system and method based on block chain technology |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106779527A (en) * | 2016-11-10 | 2017-05-31 | 北京物资学院 | Commodity circulation information inquiry system and method based on block chain |
CN111539750A (en) * | 2020-04-27 | 2020-08-14 | 中山大学 | Commodity traceability system based on block chain and big data technology |
CN112347194A (en) * | 2021-01-08 | 2021-02-09 | 南京锦隆金属制品有限公司 | Steel supply chain product traceability system based on block chain technology |
-
2021
- 2021-05-25 CN CN202110572420.7A patent/CN113409058A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106779527A (en) * | 2016-11-10 | 2017-05-31 | 北京物资学院 | Commodity circulation information inquiry system and method based on block chain |
CN111539750A (en) * | 2020-04-27 | 2020-08-14 | 中山大学 | Commodity traceability system based on block chain and big data technology |
CN112347194A (en) * | 2021-01-08 | 2021-02-09 | 南京锦隆金属制品有限公司 | Steel supply chain product traceability system based on block chain technology |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114240441A (en) * | 2021-11-22 | 2022-03-25 | 广东电网有限责任公司 | Transaction flow abnormity monitoring system and method based on block chain technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190164174A1 (en) | Internet-based multi-level two-dimensional code anti-counterfeiting method, device and system | |
CN108256875A (en) | A kind of safe traceability system based on product supply chain | |
CN111445264A (en) | Food supply chain traceability system based on block chain and implementation method | |
CN110716988A (en) | Anti-counterfeiting traceability system based on block chain | |
CN107767143B (en) | Electronic tracing method for food safety by directly using domain name website | |
CN103020829A (en) | Spatial visualization revealed two-dimension code food information tracing method | |
WO2021128588A1 (en) | Tracing method and system for item circulation system | |
CN111401810A (en) | Product block chain tracing system | |
CN103049853A (en) | Identifying device and verification method for authenticity of shop | |
CN109191033A (en) | Item Information retroactive method and system | |
CN105260892A (en) | Anti-counterfeiting verification and sales information obtaining method and anti-counterfeiting verification and sales information obtaining system | |
CN109461006A (en) | A kind of trace to the source two-dimensional code generation method and the system of food in bulk and agricultural product | |
CN105096139A (en) | Mobile-phone-based intelligent household archive management system | |
CN109034842B (en) | Agricultural product supply chain tracing system and method based on block chain | |
CN109146528A (en) | Antiforge method for commodities and system based on block chain | |
CN104657866A (en) | Method, device and system for inquiring business object information based on product encoded information | |
CN113409058A (en) | Multi-terminal query system | |
CN111091399A (en) | Block chain-based fidelity traceability method and system for fast-selling goods | |
CN111860715A (en) | Wine anti-counterfeiting traceability system and method based on block chain and RFID | |
CN103824169A (en) | Seed product quality traceability management system and method | |
Shwetha et al. | A comprehensive review of blockchain based solutions in food supply chain management | |
CN103258276A (en) | Electronic traceability system and traceability method in commodity production, circulation and consumption process | |
CN117745307A (en) | Block chain-based food supply chain multi-state change full-flow safety tracing method | |
CN113327116A (en) | Agricultural product planting management, product marketing and traceability integrated management method | |
CN112396379A (en) | Cross-border logistics block chain management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |