CN109727043A - A kind of product traceability method, system and storage medium based on block chain - Google Patents
A kind of product traceability method, system and storage medium based on block chain Download PDFInfo
- Publication number
- CN109727043A CN109727043A CN201811637381.9A CN201811637381A CN109727043A CN 109727043 A CN109727043 A CN 109727043A CN 201811637381 A CN201811637381 A CN 201811637381A CN 109727043 A CN109727043 A CN 109727043A
- Authority
- CN
- China
- Prior art keywords
- source
- tracing
- data
- information
- product
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention gives a kind of product traceability methods based on block chain, system and storage medium, including trace to the source application and data distribution of tracing to the source be deployed on each node of block chain, formulate the cochain standard for information of tracing to the source, cochain standard includes requiring the database model established and information processing rules of tracing to the source according to tracing to the source, reception is traced to the source information, according to cochain standard, information of tracing to the source is written in the node of corresponding block chain, it is integrated according to the data of tracing to the source of the information of tracing to the source in the node of write-in block chain, by materials procurement, production, product stream transport, product sale and production payment are integrally formed chain of completely tracing to the source, generate the code of tracing to the source of product, the code of tracing to the source signed using trading standard, carry out the inquiry of tracing to the source of product.The characteristics of can not being distorted using block chain, establishes genuine and believable product traceability chain, the authenticity questions of data is effectively solved, so that the data for allowing user to experience each link are credible.
Description
Technical field
The present invention relates to product traceability field, especially a kind of product traceability method, system and storage based on block chain
Medium.
Background technique
Product traceability is early in many years ago just it has been proposed that along with information-based, intelligentized continuous development, entire industry
This problem how is solved in continuous exploration, but up to the present, this problem obtains intact solution not yet, studies carefully its original
Cause, in addition to product links have the data and mark system of oneself, the data of different links are difficult except being series connected,
More importantly data tampering problem and data honesty issue.People go to supermarket to do shopping, and often can be appreciated that green, organic, anti-fake
Confidence level Deng mark, but this mark itself substantially leans on enterprise oneself to provide data to prove, but this is not ensured that
The safety and validity of data are provided.
Summary of the invention
It is easy to be tampered the problem with data sincerity, product links for traditional existing data in the process of tracing to the source
There are oneself data and mark system, the data of different links are difficult except being series connected, it is often more important that data tampering
Problem and data honesty issue, it cannot be guaranteed that providing the safety and validity of data.The present invention can not be distorted using block chain
The characteristics of establish genuine and believable product traceability chain, effectively solve data authenticity questions, so that it is each to allow user to experience
The data of a link are credible.
To achieve the above object, according to an aspect of the invention, it is proposed that a kind of product traceability method based on block chain,
The following steps are included:
S1: it application is traced to the source and data distribution of tracing to the source is deployed on each node of block chain, traces to the source using including to trace back
Source Data Acquisition, supervision auxiliary, traceability code and mark management, chain synthesis platform application of tracing to the source, data of tracing to the source include food, medicine
The data of product, agricultural product and imported food major class;
S2: based on trace to the source information the characteristics of, formulate the cochain standard of information of tracing to the source, the cochain standard includes according to tracing to the source
It is required that the database model established and information processing rules of tracing to the source;
S3: it receives information of tracing to the source and information of tracing to the source is written in the node of corresponding block chain according to cochain standard;
S4: it is integrated according to the information of tracing to the source in the node of write-in block chain, by materials procurement, production, production
Product logistics transportation, product sale and production payment are integrally formed chain of completely tracing to the source;
S5: generating the code of tracing to the source of product, the code of tracing to the source signed using trading standard, carries out the inquiry of tracing to the source of product.
In an alternate embodiment of the invention, application of tracing to the source in step S1 further includes having food, drug, agricultural product, imported food
Retrospect application, data of tracing to the source further include food, drug, agricultural product, the body data of the several major class of imported food data, production number
According to, currency data and transaction data.Trace to the source data and the application of tracing to the source of each major class can targetedly carry out data of tracing to the source
Management and use reach effect of preferably tracing to the source.
In an alternate embodiment of the invention, the specific formulating method of the cochain standard in step S2 is as follows:
The characteristics of for staple product tracing information, by theme, by different level, independently of application carry out database design,
Database is divided into basic information, infrastructure information, real time information, alert information and business-subject information from level;
The data in database are handled using information processing rules engine is traced to the source, the process object of data includes tracing back
Data area, data type, specific object and the data ciphering method of source information.Spirit can be carried out to data according to cochain standard
Configuration living avoids all carrying out the trouble extracted of programming for every item data.
In an alternate embodiment of the invention, cochain standard includes place in regulation engine equipped with information processing rules engine of tracing to the source
It manages time started, trigger condition, data conversion rule and error handle rule.The setting of regulation engine realizes data processing
Full name automation.
In an alternate embodiment of the invention, the data source of cochain includes off-line data and real time data, using information processing of tracing to the source
Regulation engine to handle real time data in real time, and extracts principle using timing batch, extracts off-line data in system idle, so
Off-line data is handled according to information processing rules engine is traced to the source afterwards.The processing rule setting of off-line data and real time data, makes
The cochain of data is effectively.
In an alternate embodiment of the invention, the cipher mode for information of tracing to the source including the use of hash function to the data of information of tracing to the source into
Row Hash translation, then encrypted by way of asymmetric encryption.The safety for guaranteeing data by encryption, so that number of tracing to the source
According to more safe and reliable.
In an alternate embodiment of the invention, step S4 is specifically included: the forming method for chain of completely tracing to the source includes by the original of product
Material purchases data, production data, product stream transportation data, product sales data and production payment data carry out whole
It closes, forms chain of completely tracing to the source, the data for chain of tracing to the source are placed on block chain by unified interface.Interface can also link political affairs
Mansion, enterprises and individuals keep the application range traced to the source bigger.
In an alternate embodiment of the invention, interface includes real-time interface and batch interface, and real-time interface is external by method of service
It provides, batch interface is realized by file.
According to another aspect of the invention, it is proposed that a kind of computer readable storage medium, is stored thereon with one or more
Computer program, which is characterized in that one or more computer programs, which are subsequently can by computer when device executes, implements the above method.
According to the third aspect of the invention we, a kind of system of product traceability based on block chain is proposed, which includes
Following unit:
Trace to the source application and data deployment unit of tracing to the source, for trace to the source application and data distribution of tracing to the source be deployed in block chain
On each node;
The formulation unit of information of tracing to the source cochain standard, for formulating the cochain standard of the information of tracing to the source, the cochain mark
Standard includes requiring the database model established and information processing rules of tracing to the source according to tracing to the source;
It traces to the source information receiving unit, for receiving the information of tracing to the source traced to the source;
Information of tracing to the source writing unit, for information of tracing to the source being written according to cochain standard in the node of corresponding block chain, benefit
The characteristics of can not being distorted with block chain, establishes genuine and believable product traceability chain;
Information of tracing to the source integral unit by materials procurement, is produced for being integrated according to the information of tracing to the source in write-in node
Product production, product stream transport, product sale and production payment are integrally formed chain of completely tracing to the source;
It traces to the source unit, for the APP or the code of tracing to the source signed of other modes scanning trading standard by mobile terminal device, into
Row product is traced to the source.
The system is uploaded in block chain by the information that will trace to the source according to the cochain standard of formulation, according to the upper of information of tracing to the source
Chain standard handles information of tracing to the source, and the required information of tracing to the source for having utility value is uploaded to the node of block chain
In, and chain of tracing to the source is formed, the efficiency traced to the source is greatly improved, is traced to the source by generating code of tracing to the source, keeps the process of tracing to the source simpler
It is prompt.
The present invention gives a kind of product traceability method, system and storage mediums based on block chain, including answer tracing to the source
It is deployed on each node of block chain with data distribution of tracing to the source, formulates the cochain standard for information of tracing to the source, cochain standard includes
It requires the database model established according to tracing to the source and traces to the source information processing rules, reception is traced to the source information, according to cochain standard, tracing back
Source information is written in the node of corresponding block chain, according to write-in block chain node in information of tracing to the source trace to the source data into
Row integration is integrally formed and is completely traced back by materials procurement, production, product stream transport, product sale and production payment
Source chain generates the code of tracing to the source of product, the code of tracing to the source signed using trading standard, carries out the inquiry of tracing to the source of product.Not using block chain
The characteristics of can distorting, establishes genuine and believable product traceability chain, the authenticity questions of data is effectively solved, so that user be allowed to experience
Data to each link are credible.
Detailed description of the invention
Including attached drawing to provide a further understanding of embodiments and attached drawing is incorporated into this specification and is constituted this
Part of specification.Drawing illustration embodiment and together with the description principle for explaining the present invention.It will readily recognize that
To many expected advantages of other embodiments and embodiment, because described in detail below by quoting, they become by preferably
Understand.By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, other spies of the application
Sign, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of the product traceability method based on block chain of one embodiment of the present of invention;
Fig. 2 is the system construction drawing of the product traceability based on block chain of one embodiment of the present of invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
It is understood that specific embodiment described herein is used only for explaining related invention, rather than to the invention
Restriction.It also should be noted that illustrating only part relevant to related invention for ease of description, in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows a kind of product traceability method based on block chain, method includes the following steps:
S1: trace to the source application and data distribution of tracing to the source be deployed on each node of block chain.Application of tracing to the source includes to trace back
Source Data Acquisition, supervision auxiliary, traceability code and mark management, chain synthesis platform of tracing to the source application and food, drug, agricultural product,
The retrospect application of the staple products such as imported food, data of tracing to the source include the data of food, drug, agricultural product and imported food major class,
Each major class data include subject data, creation data, currency data, transaction data again.The above-mentioned data and tracing to the source of tracing to the source are answered
With distributed deployment on each node of block chain, guarantee that the information inquired is using the characteristic that block chain can not be distorted
Really.
S2: based on trace to the source information the characteristics of, formulate the cochain standard of information of tracing to the source.Cochain standard includes according to requirement of tracing to the source
The database model of foundation and trace to the source information processing rules, the data for needing cochain modeled, according to specific business into
The method of row abstract modeling models uplink data, can be realized retrospect from needing to extract in each major class business traced
Determinant attribute data, uplink data is the huge data of the entire supply chain life cycle from producing to consuming, be based on business
Transaction certificate record product life cycle, segmentation and data splitting, with the migration of time, space and responsible party, gradually plus
Enter the subject data of supply chain links.
In the particular embodiment, for staple product tracing information the characteristics of, the design of database is carried out.Database from
Five basic information, infrastructure information, real time information, alert information and business-subject information layers, upper layer are divided on level
Rely on lower layer, more general character embody in lower layer, more individual characteies are embodied on upper layer.Subject layer is the embodiment of business feature, is divided into life
Themes, the divisions of multiple database levels such as production, processing/packaging, storage/transport, wholesale/retail, consumption make to trace to the source information more
The cochain of the materialization added, the information that can be carried out tracing to the source according to specific classification works, and improves the retrospect efficiency of product.
In the particular embodiment, cochain standard can pass through reality simultaneously equipped with the regulation engine for information processing of tracing to the source
Border situation adjusts time of data processing, makes full use of system resource to carry out the processing work of data, can also be according to tracing back
The classification of source data carries out the setting of trigger condition, and targetedly data are carried out with the processing of cochain with this, can also be directed to
The information of specific data carries out the setting of transformation rule, to guarantee the validity of obtained data;Simultaneously for the number of mistake
Corresponding error handle rule has also been formulated according to processing, has avoided the cochain of invalid data, has been caused to tracing to the source result not
Good influence.By the way that processing time started, trigger condition, data conversion rule, error handle rule are arranged in regulation engine, realize
The whole-course automation of data processing.
In some optional implementations of the present embodiment, to the place of data in the square regulation engine for information processing of tracing to the source
Data area, data type, specific object and data enciphered method of the reason including information of tracing to the source, pass through the data model to information of tracing to the source
Enclose, data type and specific object are classified, on targeted cochain to the corresponding node for tracing to the source chain.Simultaneously to tracing to the source
The data of information are encrypted, and ensure that the safety for information of tracing to the source, and improve the accuracy and peace of process of entirely tracing to the source
Quan Xing.
In some optional implementations of the present embodiment, such as in the field of food, the packet of tracing to the source of food
Include the relevant information of the trace to the source information and Food circulation enterprise of food itself, relatively more and information the types of the information bothhed refer to
It is more many and diverse, if being introduced directly into block chain, will cause the disorder for information of tracing to the source, can not precise and high efficiency carry out work of tracing to the source.System
The cochain standard for determining food information can avoid the occurrence of above situation, make more efficient progress of tracing to the source.
In the particular embodiment, the database of food is designed, formulates the information category of needs, such as food letter
The information of the production information of the food that breath includes, packaged information, storage information, logistics information and food merchant/retailer
Information is bought with the consumer of food, the processing of food information is carried out according to classification, the information of generic is targeted
The block chain uploaded to corresponding thereto node on.Further include the processing regulation engine to information in cochain standard, utilizes
Regulation engine handles the cochain of foodstuff traceability information, the conversion of time, information including information processing, error message
The condition of processing rule and triggering cochain, for example, adjusting the cochain of foodstuff traceability information according to the resource of system, and will be existing
Foodstuff traceability information extraction and be processed into the information of unified format and be uploaded in block chain, improve information of tracing to the source consistency and
Availability is carried out screening exclusion to the foodstuff traceability information of mistake, avoids the cochain of garbage, completed with this standard to food
Product trace to the source information cochain work, ensure that the validity of foodstuff traceability information, can really trace to the source in information required for
It reaches in block chain, realizes the authentic and valid of the information of tracing to the source of food, it finally can also be by way of encryption to information of tracing to the source
It is handled, also improves the safety of foodstuff traceability information while the validity for ensuring information.
S3: it receives information of tracing to the source and information of tracing to the source is written in the node of corresponding block chain according to cochain standard.It traces back
The write-in of source information can be the number of real time data, off-line data, the data of internet-of-things terminal equipment and other operation systems
According to the comprehensive covering for data of tracing to the source.It ensure that the comprehensive of data of tracing to the source, can effectively be carried out using data of comprehensively tracing to the source
Product is traced to the source, and all data informations for the product that needs to trace to the source are obtained.
In the particular embodiment, for real time data, according to the processing rule in regulation engine, so that it may calculate and implement
Data, not needing to write any code can be completed, and processing rule comes into force in real time in real time;For off-line data, use
The principle that timing batch extracts, according to the resource situation of system, idle extracts off-line data, and according in the regulation engine of configuration
Processing rule carry out data processing, greatly improve the utilization rate of entire traceability system.
In some optional implementations of the present embodiment, by hash function, rivest, shamir, adelman to product number
It is protected according to encryption and effectively confirmatory, uses Hash translation for each character of product data, then pass through asymmetric encryption mode
It is encrypted, i.e., is encrypted by public key.It in verify data, can be verified by private key, participation ensure that with this
The style of calligraphy of block chain can be transparent see each link, while distorting of being not to be regarded as of the information of product.
S4: being integrated according to the data of tracing to the source of the information of tracing to the source in the node of write-in block chain, and formation is completely traced to the source
Chain.It is integrally formed chain of completely tracing to the source by materials procurement, production, product stream transport, product sale and production payment,
Respective transaction data and product data were placed by unified interface and were traced to the source on chain by corresponding node each stage,
Trace to the source the government accessed on chain, enterprises and individuals can investigate and shared data, consumer can also be with real-time query to above-mentioned
Information, trace to the source, greatly improve the convenience traced to the source while also reducing the cost traced to the source.
In the particular embodiment, materials procurement, production, product stream transport, product sale and production payment
The transaction data and product data of each stage corresponding node can be placed into and be traced to the source by real-time interface and batch interface
On chain, real-time interface is externally provided by service, and batch interface is realized by file, and the setting of multiplex roles can increase
Addend can select suitable interface to carry out the cochain of data according to the alternative traced to the source on chain is placed into for actual needs,
Improve the efficiency for data update of tracing to the source.
S5: generating the code of tracing to the source of product, the code of tracing to the source signed using trading standard, carries out the inquiry of tracing to the source of product.Utilize chain
Upper production, logistics, the clearing for selling links online trading realize electronic contract, greatly simplify transaction journey
Sequence reduces transaction cost, reduces product circulation approach, can increase product profit with this, reduce enterprise's production cost, improve and produce
Product profit margin.
In some optional implementations of the present embodiment, bank card, wechat and Alipay etc. are supported in the payment of product
Various ways, when paying completion, transaction data whole cochain can not be distorted, while being generated two dimensional code of tracing to the source and being printed upon transaction
On receipt, consumer can be traced to the source by the two dimensional code of tracing to the source on scanning transaction receipt.
The embodiment of the present invention further relates to a kind of computer readable storage medium, is stored thereon with one or more computer journeys
Sequence, one or more computer programs are subsequently can by computer the method implemented when device executes above.The computer program includes
Program code for method shown in execution flow chart.It should be noted that the computer-readable medium of the application can be
Computer-readable signal media or computer-readable medium either the two any combination.
As shown in Fig. 2, showing the system of the product traceability according to the application based on block chain, which includes: to trace to the source
Using and data deployment unit 1 of tracing to the source, the formulation unit 2 of information of tracing to the source cochain standard, information receiving unit 3 of tracing to the source, letter of tracing to the source
Cease writing unit 4, information of tracing to the source integral unit 5 and unit 6 of tracing to the source.
In the particular embodiment, trace to the source application and trace to the source data deployment unit 1 for trace to the source apply and data of tracing to the source
Distribution is deployed on each node of block chain, and application of tracing to the source includes trace back Source Data Acquisition, supervision auxiliary, traceability code and mark
It manages, chain synthesis platform of tracing to the source is applied and the retrospect application of the staple products such as food, drug, agricultural product, imported food, number of tracing to the source
According to the data for including food, drug, agricultural product and imported food major class, each major class data include subject data, production number again
According to, currency data, transaction data.Above-mentioned data and the application distribution formula of tracing to the source of tracing to the source is deployed on each node of block chain,
Guarantee that the information inquired is true using the characteristic that block chain can not be distorted.
In the particular embodiment, the formulation unit 2 of information of tracing to the source cochain standard be used for based on trace to the source information the characteristics of, system
Surely the cochain standard for information of tracing to the source.Cochain standard includes that can require the database model established and information processing of tracing to the source according to tracing to the source
Rule models the data for needing cochain.Uplink data is carried out according to the method that specific business carries out abstract modeling
Modeling can be realized the data of the determinant attribute of retrospect from needing to extract in each major class business for tracing, uplink data be from
The huge data for consuming entire supply chain life cycle are produced, based on business transaction evidence record product life cycle, segmentation
The subject data of supply chain links is gradually added with the migration of time, space and responsible party with data splitting.
Cochain standard equipped with the regulation engine for information processing of tracing to the source, can be adjusted at data simultaneously by actual conditions
The time of reason makes full use of system resource to carry out the processing work of data, can also be touched according to the classification for data of tracing to the source
The setting of clockwork spring part targetedly carries out the processing of cochain with this to data, can also carry out for the information of specific data
The setting of transformation rule, to guarantee the validity of obtained data;Data processing simultaneously for mistake has also been formulated relatively
The error handle rule answered, avoids the cochain of invalid data, causes the adverse effect to result of tracing to the source.Pass through regulation engine
Middle setting processing time started, trigger condition, data conversion rule, error handle rule, realize the whole process of data processing certainly
Dynamicization.
In the particular embodiment, information receiving unit 3 of tracing to the source is traced to the source for receiving the information of tracing to the source traced to the source
Information includes materials procurement information, production information, product stream transit information, product sale information and production payment letter
Breath, the information of tracing to the source of covering overall process from producing to consuming, guarantees product traceability comprehensively.
In the particular embodiment, information of tracing to the source writing unit 4 is used for according to cochain standard, and tracing to the source, information write-in is corresponded to
Block chain node in, the write-in for information of tracing to the source can be the number of real time data, off-line data, internet-of-things terminal equipment
According to the data with other operation systems.The comprehensive covering for data of tracing to the source, ensure that the comprehensive of data of tracing to the source, and can effectively carry out
Product is traced to the source, and all data informations for the product that needs to trace to the source are obtained.
In the particular embodiment, information of tracing to the source integral unit 5 is used for the letter of tracing to the source in the node according to write-in block chain
The data of tracing to the source of breath are integrated, whole by materials procurement, production, product stream transport, product sale and production payment
It closes and forms chain of completely tracing to the source.Respective transaction data and product data are passed through unification by each stage corresponding node
Interface, which is placed into, traces to the source on chain, and the government that accesses on chain of tracing to the source, enterprises and individuals can investigate and shared data, consumer
It can trace to the source with real-time query to above-mentioned information, greatly improve what the convenience traced to the source while also reducing was traced to the source
Cost.
In the particular embodiment, unit 6 of tracing to the source is used for APP or other modes the scanning transaction by mobile terminal device
Code of tracing to the source on label, carries out tracing to the source for product.The code of tracing to the source of product is generated, the code of tracing to the source signed using trading standard is produced
The inquiry of tracing to the source of product realizes electronic contract using production, logistics, the clearing for selling links online trading on chain,
Transaction program is greatly simplified, transaction cost is reduced, product circulation approach is reduced, product profit can be increased with this, reduced
Enterprise's production cost improves product profit space.
It can be seen that The present invention gives a kind of product traceability method, system and storage mediums based on block chain, including
Application is traced to the source and data distribution of tracing to the source is deployed on each node of block chain, the cochain standard of information of tracing to the source, cochain are formulated
Standard includes requiring the database model established and information processing rules of tracing to the source according to tracing to the source, and information of tracing to the source is received, according to cochain
Standard is written information of tracing to the source in the node of corresponding block chain, according to the information of tracing to the source in the node of write-in block chain
Data of tracing to the source are integrated, and integrate shape by materials procurement, production, product stream transport, product sale and production payment
At chain of completely tracing to the source, the code of tracing to the source of product is generated, the code of tracing to the source signed using trading standard carries out the inquiry of tracing to the source of product.Benefit
The characteristics of can not being distorted with block chain, establishes genuine and believable product traceability chain, effectively solves the authenticity questions of data, thus
The data for allowing user to experience each link are credible, realize the authenticity and reliability of product traceability.
Obviously, those skilled in the art can make to the present invention without departing from the spirit and scope of the present invention
Embodiment various modifications and change.In this manner, if these modifications and changes be in claim of the invention and its
In the range of equivalent form, then the present invention, which also aims to, covers these modifications and changes.Word " comprising " is not excluded for not wanting in right
The presence for the other element or steps listed in asking.The simple thing that certain measures are recorded in mutually different dependent claims
It is real not show that the combination of these measures is consequently not used for making a profit.Any appended drawing reference in claim should not be regarded as limited to
Range.
Claims (10)
1. a kind of method of the product traceability based on block chain, which comprises the following steps:
S1: described to trace to the source using including to trace back tracing to the source application and data distribution of tracing to the source is deployed on each node of block chain
Source Data Acquisition, supervision auxiliary, traceability code and mark management, chain synthesis platform application of tracing to the source, the data of tracing to the source include food,
The data of drug, agricultural product and imported food major class;
S2: formulating the cochain standard of information of tracing to the source, the cochain standard include according to trace to the source the database model for requiring to establish and
It traces to the source information processing rules;
S3: according to the cochain standard the corresponding block chain is written in the information of tracing to the source by information of tracing to the source described in reception
In node;
S4: information of tracing to the source according in the node that the block chain is written is integrated, raw by materials procurement, product
It produces, product stream transport, product is sold and production payment is integrally formed chain of completely tracing to the source;
S5: generating the code of tracing to the source of the product, using trading standard sign described in trace to the source code, carry out tracing to the source for the product and look into
It askes.
2. a kind of method of product traceability based on block chain according to claim 1, which is characterized in that the step S1
Described in trace to the source using further including the retrospect application for having food, drug, agricultural product, imported food, the data of tracing to the source further include
Food, drug, agricultural product, the several major class of imported food data body data, creation data, currency data and transaction data.
3. a kind of method of product traceability based on block chain according to claim 1, which is characterized in that the step S2
Specifically includes the following steps:
The characteristics of for staple product tracing information, carries out the design of database, the number using the theme of the tracing information
Basic information, infrastructure information, real time information, alert information and business-subject information are divided into from level according to library;
The data in the database are handled using information processing rules engine is traced to the source, the process object packet of the data
Include data area, data type, specific object and the data ciphering method of the information of tracing to the source.
4. a kind of method of product traceability based on block chain according to claim 3, which is characterized in that the rule is drawn
It include processing time started, trigger condition, data conversion rule and error handle rule in holding up.
5. a kind of method of product traceability based on block chain according to claim 4, which is characterized in that the data of cochain
Source includes off-line data and real time data, is traced to the source information processing rules engine using described and is handled the real time data in real time,
And principle is extracted using timing batch, extracts off-line data, information processing rules of then tracing to the source according in system idle
Engine handles the off-line data.
6. a kind of method of product traceability based on block chain according to claim 5, which is characterized in that the letter of tracing to the source
The cipher mode of breath carries out Hash translation including the use of data of the hash function to the information of tracing to the source, then passes through asymmetric encryption
Mode encrypted.
7. a kind of method of product traceability based on block chain according to claim 1, which is characterized in that the step S4
Specifically include: the forming method for completely tracing to the source chain includes that the materials procurement data of the product, the product is raw
It produces data, the product stream transportation data, the product sales data and the production payment data to be integrated, formed
The data of whole chain of tracing to the source, the chain of tracing to the source are placed on block chain by unified interface.
8. a kind of method of product traceability based on block chain according to claim 7, which is characterized in that the interface packet
Real-time interface and batch interface are included, the real-time interface is externally provided by method of service, and the batch interface is passed by file
Defeated mode is realized.
9. a kind of computer readable storage medium is stored thereon with one or more computer programs, which is characterized in that this is one or more
A computer program, which is subsequently can by computer when device executes, implements method described in any one of any one of claims 1 to 88.
10. a kind of system of the product traceability based on block chain, which is characterized in that the system comprises:
Trace to the source application and data deployment unit of tracing to the source, for trace to the source described in handle using and the data distribution of tracing to the source be deployed in it is described
On each node of block chain;
The formulation unit of information of tracing to the source cochain standard, for formulating the cochain standard of the information of tracing to the source, the cochain standard packet
It includes and requires the database model established and information processing rules of tracing to the source according to tracing to the source;
Trace to the source information receiving unit, for receive trace to the source described in trace to the source information;
Information of tracing to the source writing unit, for the section according to the cochain standard the corresponding block chain of information write-in of tracing to the source
Point in;
Information of tracing to the source integral unit is integrated for information of tracing to the source according in the node that the block chain is written, is pressed
Materials procurement, production, product stream transport, product sale and production payment are integrally formed chain of completely tracing to the source;
It traces to the source unit, for the APP or the code of tracing to the source signed of other modes scanning trading standard by mobile terminal device, is produced
Product are traced to the source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811637381.9A CN109727043A (en) | 2018-12-29 | 2018-12-29 | A kind of product traceability method, system and storage medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811637381.9A CN109727043A (en) | 2018-12-29 | 2018-12-29 | A kind of product traceability method, system and storage medium based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109727043A true CN109727043A (en) | 2019-05-07 |
Family
ID=66297914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811637381.9A Pending CN109727043A (en) | 2018-12-29 | 2018-12-29 | A kind of product traceability method, system and storage medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109727043A (en) |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110335049A (en) * | 2019-06-14 | 2019-10-15 | 左燕 | A kind of block chain arithmetic facility based on computer |
CN110458671A (en) * | 2019-08-16 | 2019-11-15 | 弦子科技(北京)有限公司 | A kind of commodity circulation method and device based on commodity digital voucher |
CN110503362A (en) * | 2019-08-01 | 2019-11-26 | 深圳市珍久库科技有限公司 | A kind of intelligent repository management method and system based on block chain |
CN110503373A (en) * | 2019-08-21 | 2019-11-26 | 腾讯云计算(北京)有限责任公司 | A kind of material-flow method and device based on block chain network |
CN110879902A (en) * | 2019-11-25 | 2020-03-13 | 北京工商大学 | Grain, oil and food full supply chain information safety management system and method based on trusted identification and IPFS |
CN110930171A (en) * | 2020-01-09 | 2020-03-27 | 烟台大学 | Whole-process traceability monitoring system for ticket payment flow three-chain cross verification product security |
CN111047335A (en) * | 2019-12-24 | 2020-04-21 | 天津理工大学 | Article circulation system tracing method and system |
CN111092896A (en) * | 2019-12-23 | 2020-05-01 | 北京工商大学 | Food traceability distributed data synchronization method based on optimized PAXOS |
CN111127047A (en) * | 2020-01-09 | 2020-05-08 | 烟台大学 | Whole-process traceability supervision method for ticket payment flow three-chain cross verification product security |
CN111325564A (en) * | 2020-03-17 | 2020-06-23 | 河南佼荣网络科技有限公司 | Method and system for tracing supply chain by using block chain |
CN111400779A (en) * | 2020-01-07 | 2020-07-10 | 李蕴光 | High-dimensional data encryption method and system |
CN111401810A (en) * | 2020-03-17 | 2020-07-10 | 中追(广东)信息科技有限公司 | Product block chain tracing system |
CN111523888A (en) * | 2020-04-16 | 2020-08-11 | 武汉有牛科技有限公司 | On-chain data and information traceability system based on block chain technology |
CN111681015A (en) * | 2020-06-10 | 2020-09-18 | 复旦大学 | Product tracing method, system and equipment based on alliance chain |
CN111972666A (en) * | 2020-07-28 | 2020-11-24 | 经鸿纬预防医学科技(上海)有限公司 | Medicine-food homologous magnolia obavata cake capable of improving immunity and data tracing method thereof |
CN112016136A (en) * | 2020-10-22 | 2020-12-01 | 浙江网商银行股份有限公司 | Data processing method and device based on alliance chain |
CN112149013A (en) * | 2020-10-17 | 2020-12-29 | 北京年发纺织科技有限公司 | Product tracing method |
CN112330340A (en) * | 2020-11-06 | 2021-02-05 | 新华中经信用管理有限公司 | Food tracing method based on block chain |
CN112351045A (en) * | 2020-12-26 | 2021-02-09 | 旗美供应链(深圳)有限公司 | Supply chain management method, system, server and computer readable medium |
CN112380555A (en) * | 2020-11-27 | 2021-02-19 | 南京知麦信息科技有限公司 | Agricultural product traceability information chaining method based on block chain intelligent contract |
CN112418659A (en) * | 2020-11-20 | 2021-02-26 | 上海魔橙网络科技有限公司 | Cross-border commodity tracing method, system and device based on block chain system |
CN112541770A (en) * | 2020-11-27 | 2021-03-23 | 长威信息科技发展股份有限公司 | Block chain-based emergency reserve material tracing method and system |
CN112711724A (en) * | 2021-01-11 | 2021-04-27 | 河北博健科技有限公司 | Commodity code identification method and system suitable for block chain |
CN112749976A (en) * | 2020-12-22 | 2021-05-04 | 安徽农业大学 | Credible vegetable tracing device based on block chain and Internet of things technology |
CN113127571A (en) * | 2021-06-21 | 2021-07-16 | 华智生物技术有限公司 | Tracing information uplink, query method and tracing equipment |
CN113506118A (en) * | 2021-07-27 | 2021-10-15 | 平安普惠企业管理有限公司 | Livestock product information tracing method, device, equipment and medium |
CN113554443A (en) * | 2021-06-15 | 2021-10-26 | 深圳市利得链科技有限公司 | Block chain-based imported frozen food quality safety tracing method and system |
CN115099833A (en) * | 2022-06-30 | 2022-09-23 | 河北冠卓检测科技股份有限公司 | Food safety tracing detection method |
CN115271753A (en) * | 2022-06-30 | 2022-11-01 | 上海聚向信息科技有限公司 | Give birth to bright product quality safety intelligent management system that traces to source |
CN116739618A (en) * | 2023-06-19 | 2023-09-12 | 河北华烨冀科信息技术有限责任公司 | Variable code tracing system based on block chain and data processing method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108470266A (en) * | 2018-04-01 | 2018-08-31 | 南京交通职业技术学院 | Product tracking system based on block chain |
CN108764719A (en) * | 2018-05-28 | 2018-11-06 | 中国建筑股份有限公司 | Sleeve grouting quality retroactive method, system and acquisition terminal based on block chain |
CN108805585A (en) * | 2018-05-28 | 2018-11-13 | 广州中国科学院软件应用技术研究所 | Distributed commodity data storage system, circulation and source tracing method based on block chain |
CN108846010A (en) * | 2018-04-28 | 2018-11-20 | 腾讯科技(深圳)有限公司 | The method of product traceability, system, computer system and storage medium in network |
CN109034833A (en) * | 2018-06-16 | 2018-12-18 | 复旦大学 | A kind of product back-tracing information management system and method based on block chain |
-
2018
- 2018-12-29 CN CN201811637381.9A patent/CN109727043A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108470266A (en) * | 2018-04-01 | 2018-08-31 | 南京交通职业技术学院 | Product tracking system based on block chain |
CN108846010A (en) * | 2018-04-28 | 2018-11-20 | 腾讯科技(深圳)有限公司 | The method of product traceability, system, computer system and storage medium in network |
CN108764719A (en) * | 2018-05-28 | 2018-11-06 | 中国建筑股份有限公司 | Sleeve grouting quality retroactive method, system and acquisition terminal based on block chain |
CN108805585A (en) * | 2018-05-28 | 2018-11-13 | 广州中国科学院软件应用技术研究所 | Distributed commodity data storage system, circulation and source tracing method based on block chain |
CN109034833A (en) * | 2018-06-16 | 2018-12-18 | 复旦大学 | A kind of product back-tracing information management system and method based on block chain |
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110335049A (en) * | 2019-06-14 | 2019-10-15 | 左燕 | A kind of block chain arithmetic facility based on computer |
CN110503362A (en) * | 2019-08-01 | 2019-11-26 | 深圳市珍久库科技有限公司 | A kind of intelligent repository management method and system based on block chain |
CN110458671A (en) * | 2019-08-16 | 2019-11-15 | 弦子科技(北京)有限公司 | A kind of commodity circulation method and device based on commodity digital voucher |
CN110503373A (en) * | 2019-08-21 | 2019-11-26 | 腾讯云计算(北京)有限责任公司 | A kind of material-flow method and device based on block chain network |
CN110879902A (en) * | 2019-11-25 | 2020-03-13 | 北京工商大学 | Grain, oil and food full supply chain information safety management system and method based on trusted identification and IPFS |
CN110879902B (en) * | 2019-11-25 | 2022-01-28 | 北京工商大学 | Grain, oil and food full supply chain information safety management system and method based on trusted identification and IPFS |
CN111092896B (en) * | 2019-12-23 | 2022-08-26 | 北京工商大学 | Food source tracing distributed data synchronization method based on optimized PAXOS |
CN111092896A (en) * | 2019-12-23 | 2020-05-01 | 北京工商大学 | Food traceability distributed data synchronization method based on optimized PAXOS |
CN111047335A (en) * | 2019-12-24 | 2020-04-21 | 天津理工大学 | Article circulation system tracing method and system |
CN111400779A (en) * | 2020-01-07 | 2020-07-10 | 李蕴光 | High-dimensional data encryption method and system |
CN111127047A (en) * | 2020-01-09 | 2020-05-08 | 烟台大学 | Whole-process traceability supervision method for ticket payment flow three-chain cross verification product security |
CN110930171A (en) * | 2020-01-09 | 2020-03-27 | 烟台大学 | Whole-process traceability monitoring system for ticket payment flow three-chain cross verification product security |
CN111401810A (en) * | 2020-03-17 | 2020-07-10 | 中追(广东)信息科技有限公司 | Product block chain tracing system |
CN111325564A (en) * | 2020-03-17 | 2020-06-23 | 河南佼荣网络科技有限公司 | Method and system for tracing supply chain by using block chain |
CN111325564B (en) * | 2020-03-17 | 2024-02-02 | 河南佼荣网络科技有限公司 | Method and system for realizing supply chain tracing by using block chain |
CN111523888B (en) * | 2020-04-16 | 2023-09-05 | 武汉有牛科技有限公司 | On-chain data and information tracing system based on block chain technology |
CN111523888A (en) * | 2020-04-16 | 2020-08-11 | 武汉有牛科技有限公司 | On-chain data and information traceability system based on block chain technology |
CN111681015A (en) * | 2020-06-10 | 2020-09-18 | 复旦大学 | Product tracing method, system and equipment based on alliance chain |
CN111972666A (en) * | 2020-07-28 | 2020-11-24 | 经鸿纬预防医学科技(上海)有限公司 | Medicine-food homologous magnolia obavata cake capable of improving immunity and data tracing method thereof |
CN112149013A (en) * | 2020-10-17 | 2020-12-29 | 北京年发纺织科技有限公司 | Product tracing method |
CN112016136A (en) * | 2020-10-22 | 2020-12-01 | 浙江网商银行股份有限公司 | Data processing method and device based on alliance chain |
CN112330340B (en) * | 2020-11-06 | 2023-07-25 | 新华中经信用管理有限公司 | Block chain-based food tracing method |
CN112330340A (en) * | 2020-11-06 | 2021-02-05 | 新华中经信用管理有限公司 | Food tracing method based on block chain |
CN112418659A (en) * | 2020-11-20 | 2021-02-26 | 上海魔橙网络科技有限公司 | Cross-border commodity tracing method, system and device based on block chain system |
CN112380555B (en) * | 2020-11-27 | 2024-03-12 | 南京知麦信息科技有限公司 | Agricultural product traceability information uplink method based on blockchain intelligent contract |
CN112541770A (en) * | 2020-11-27 | 2021-03-23 | 长威信息科技发展股份有限公司 | Block chain-based emergency reserve material tracing method and system |
CN112380555A (en) * | 2020-11-27 | 2021-02-19 | 南京知麦信息科技有限公司 | Agricultural product traceability information chaining method based on block chain intelligent contract |
CN112749976A (en) * | 2020-12-22 | 2021-05-04 | 安徽农业大学 | Credible vegetable tracing device based on block chain and Internet of things technology |
CN112749976B (en) * | 2020-12-22 | 2023-06-20 | 安徽农业大学 | Vegetable credible traceability device based on blockchain and Internet of things technology |
CN112351045A (en) * | 2020-12-26 | 2021-02-09 | 旗美供应链(深圳)有限公司 | Supply chain management method, system, server and computer readable medium |
CN112711724A (en) * | 2021-01-11 | 2021-04-27 | 河北博健科技有限公司 | Commodity code identification method and system suitable for block chain |
CN112711724B (en) * | 2021-01-11 | 2022-05-31 | 河北博健科技有限公司 | Commodity code identification method and system suitable for block chain |
CN113554443A (en) * | 2021-06-15 | 2021-10-26 | 深圳市利得链科技有限公司 | Block chain-based imported frozen food quality safety tracing method and system |
CN113127571A (en) * | 2021-06-21 | 2021-07-16 | 华智生物技术有限公司 | Tracing information uplink, query method and tracing equipment |
CN113127571B (en) * | 2021-06-21 | 2022-02-01 | 华智生物技术有限公司 | Tracing information uplink, query method and tracing equipment |
CN113506118A (en) * | 2021-07-27 | 2021-10-15 | 平安普惠企业管理有限公司 | Livestock product information tracing method, device, equipment and medium |
CN115271753A (en) * | 2022-06-30 | 2022-11-01 | 上海聚向信息科技有限公司 | Give birth to bright product quality safety intelligent management system that traces to source |
CN115099833A (en) * | 2022-06-30 | 2022-09-23 | 河北冠卓检测科技股份有限公司 | Food safety tracing detection method |
CN116739618A (en) * | 2023-06-19 | 2023-09-12 | 河北华烨冀科信息技术有限责任公司 | Variable code tracing system based on block chain and data processing method |
CN116739618B (en) * | 2023-06-19 | 2024-01-26 | 河北华烨冀科信息技术有限责任公司 | Variable code tracing system based on block chain and data processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109727043A (en) | A kind of product traceability method, system and storage medium based on block chain | |
Montecchi et al. | It’s real, trust me! Establishing supply chain provenance using blockchain | |
CN109598540A (en) | A kind of advertisement accurately method for pushing and advertisement accurately supplying system | |
US20220050982A1 (en) | Systems and methods to Authenticate a Security Device | |
JP6990197B2 (en) | Safe and traceable manufacturing parts | |
CN106779737A (en) | Product based on block chain technology is traced to the source verification method | |
CN104252677A (en) | Two-dimension code anti-counterfeiting technology and two-dimension code anti-counterfeiting system-based platform system | |
US20160098730A1 (en) | System and Method for Block-Chain Verification of Goods | |
CN104574122A (en) | Two-dimensional code anti-counterfeit and random product packaging goods-fleeing preventing method | |
CN107977845A (en) | Food traceability system and method based on label information | |
Taherdoost et al. | Blockchain-based e-commerce: A review on applications and challenges | |
Lee et al. | Blockchain-based traceability for anti-counterfeit in cross-border e-commerce transactions | |
CN104616150A (en) | Tracking, managing and authentic identification system and method for circulation goods | |
Chen et al. | A traceable and verifiable tobacco products logistics system with GPS and RFID technologies | |
Romano et al. | Beyond bitcoin: recent trends and perspectives in distributed ledger technology | |
Chen et al. | An anti-counterfeit and traceable management system for brand clothing with hyperledger fabric framework | |
WO2008056105A1 (en) | Verification method | |
KR20150129967A (en) | 3d printer contents dealing system through on-line | |
Hasan et al. | Understanding Data Products: Motivations, Definition, and Categories. | |
Sreerakhi et al. | Transforming supply chain network and logistics using blockchain-a survey | |
Al Noman et al. | An intelligent application for preventing the counterfeit medicines through a distributed blockchain | |
Meydani et al. | A Comprehensive Review of the Applications of Blockchain Technology | |
Klöckner et al. | Exploring the physical–digital interface in blockchain applications: Insights from the luxury watch industry | |
Liu et al. | Modeling and efficiency analysis of blockchain agriculture products E-commerce cold chain traceability system based on Petri net | |
CN110278245A (en) | APP message sharing method, system, device and storage medium based on block chain |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190507 |
|
RJ01 | Rejection of invention patent application after publication |