CN110232576A - A kind of trace to the source data processing method and relevant apparatus based on block chain - Google Patents
A kind of trace to the source data processing method and relevant apparatus based on block chain Download PDFInfo
- Publication number
- CN110232576A CN110232576A CN201910428672.5A CN201910428672A CN110232576A CN 110232576 A CN110232576 A CN 110232576A CN 201910428672 A CN201910428672 A CN 201910428672A CN 110232576 A CN110232576 A CN 110232576A
- Authority
- CN
- China
- Prior art keywords
- source
- tracing
- data
- business datum
- business
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 42
- 230000008569 process Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 27
- 238000003860 storage Methods 0.000 claims description 19
- 230000002159 abnormal effect Effects 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 claims description 5
- 238000012015 optical character recognition Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 239000003550 marker Substances 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 241000406668 Loxodonta cyclotis Species 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 3
- 239000004615 ingredient Substances 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 235000013372 meat Nutrition 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000005303 weighing Methods 0.000 description 2
- 108091026890 Coding region Proteins 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013479 data entry Methods 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Accounting & Taxation (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Business Process Optimizing of the embodiment of the present invention suitable for O&M field, disclose a kind of trace to the source data processing method and relevant apparatus based on block chain, the described method includes: Xiang Suyuan block catenary system sends the first business datum acquisition request when receiving the circulation service request for object of tracing to the source;Block catenary system of tracing to the source described in reception responds the first business datum of the object of tracing to the source that the first business datum acquisition request returns;Generate the business pretreatment list comprising first business datum for the object of tracing to the source;Verifying of tracing to the source is carried out to object of tracing to the source according to first business datum;To the object of tracing to the source trace to the source be verified in the case where, trigger according to the business pre-process single pair described in trace to the source object progress first-class business of being transferred to civilian work.Effectively the data of tracing to the source for object of tracing to the source can be tracked through the invention, and then improve the reliability for data of tracing to the source in block catenary system of tracing to the source.
Description
Technical field
This application involves computer field more particularly to a kind of trace to the source data processing method and related dresses based on block chain
It sets.
Background technique
In recent years, fake products problem, food-safety problem are produced again and again, how to guarantee food safety, and avoid buying
Fake products is always the big problem that people can not thoroughly solve.In order to solve this problem, there are a variety of commodity to trace to the source platform, usually
During commodity this circulation of the agency from supplier to least significant end, after a certain circulation side receives commodity, upper level
The business processing list that the circulation side carries out the circulation and transfer of goods is filled at scene by circulation side, which carries out quotient according to the business processing list
Product circulation, and convection current raw data of tracing to the source of changing the line of production are uploaded to commodity and trace to the source on platform.During this, each circulation side is uploaded
Commodity data of tracing to the source it is independent mutually, commodity platform data that can not trace to the source commodity of tracing to the source carry out any tracking, and commodity are traced to the source number
According to authenticity not can guarantee, if there are tracing to the source data and when actuals mismatches, it is difficult to determine and occur when commodity are traced to the source
Abnormal reason.
Summary of the invention
The application provides a kind of trace to the source data processing method and relevant apparatus based on block chain, can have through the invention
Effect tracks the data of tracing to the source for object of tracing to the source, and then improves the reliability for data of tracing to the source in block catenary system of tracing to the source.
First aspect of the embodiment of the present invention provides a kind of data processing method of tracing to the source based on block chain, comprising:
When receiving the circulation service request for object of tracing to the source, Xiang Suyuan block catenary system sends the first business datum
Acquisition request, the first business datum acquisition request carry the object identity of tracing to the source for object of tracing to the source;
Block catenary system of tracing to the source described in reception responds the object of tracing to the source that the first business datum acquisition request returns
The first business datum, first business datum is that the block catenary system of tracing to the source traces to the source object identity from tracing to the source according to
First on block chain, which trace to the source, extracts in data, and the described first data of tracing to the source trace to the source block catenary system receiving for described in
The data of tracing to the source of the object of tracing to the source stored before stating the first business datum acquisition request;
Generate the business pretreatment list comprising first business datum for the object of tracing to the source;
Verifying of tracing to the source is carried out to object of tracing to the source according to first business datum;
To the object of tracing to the source trace to the source be verified in the case where, triggering according to the business pre-process single pair described in
The first-class business of being transferred to civilian work that object of tracing to the source carries out.
In conjunction with the embodiment of the present invention in a first aspect, in the first possible implementation, the area that traces to the source that receives
The first business datum that block catenary system returns includes three or more, and described three or more the first business datums are the area that traces to the source
Block catenary system respectively from the block catenary system of tracing to the source three or more be stored with the block for tracing to the source data comprising described first
Node obtain;
The business comprising first business datum for generating object of tracing to the source for described in, which pre-processes, singly includes:
When described three or more the first business datums include different editions, by the first business datum in each version
Most corresponding first business datum of version of number is determined as reliable first business datum;
Generate the business pretreatment list comprising reliable first business datum for the object of tracing to the source.
It is in the second possible implementation, described according to first business datum in conjunction with first aspect present invention
Include: to the object of the tracing to the source verifying that trace to the source
Picture is verified for the business datum for object of tracing to the source described in first service data acquisition;
It is obtained by optical character recognition technology corresponding with first business datum in the business datum verifying picture
The object of tracing to the source actual traffic data;
Verify whether the actual traffic data matches with first business datum.
In conjunction with first aspect present invention, in the third possible implementation, described in the circulation service request carrying
It traces to the source the attribute data of object;
Sending the first business datum acquisition request to block catenary system of tracing to the source includes:
According to the corresponding relationship of preset attribute data and business datum entry, the attribute data for object of tracing to the source described in determination
Corresponding first business datum entry;
First business datum for sending carrying the first business datum entry to the block catenary system of tracing to the source obtains
Request is taken, so that the block catenary system of tracing to the source obtains simultaneously from the block chain of tracing to the source according to the first business datum entry
Return to first business datum.
It may appoint into the third possible implementation in conjunction with the first of first aspect present invention or first aspect
It anticipates one kind, in the fourth possible implementation, the method also includes:
Described trace back is uploaded to by single carry out that first-class business of being transferred to civilian work generates second data of tracing to the source are pre-processed according to the business
Block chain of tracing to the source in source area block catenary system, so that the block catenary system of tracing to the source is in the number of tracing to the source for being requested the object of tracing to the source
According to when, return to the described first data and described second of tracing to the source comprising extracting from the block chain of tracing to the source and trace to the source the tracing to the source of data
Data.
In conjunction with the 4th kind of possible implementation of first aspect present invention, in a fifth possible implementation, institute
Single carry out that first-class business of being transferred to civilian work generates second data of tracing to the source will be pre-processed according to the business by, which stating, is uploaded to the block of tracing to the source
Block chain of tracing to the source in catenary system includes:
To the object of tracing to the source trace to the source be verified in the case where, trace to the source from described second delete in data with it is described
The data of tracing to the source of first service data consistence obtain data of tracing to the source for the duplicate removal second of the object of tracing to the source;
The data of tracing to the source of the duplicate removal second are uploaded to the block chain of tracing to the source of the block catenary system of tracing to the source.
In conjunction with the embodiment of the present invention in a first aspect, in a sixth possible implementation, the method also includes:
It traces to the source the tracing to the source pair of the corresponding circulation side of server going to described first according to the first business datum convection current
Tracing to the source for elephant is verified in unacceptable situation, the abnormal traffic data for object of tracing to the source described in acquisition;
The abnormal traffic data of the object of tracing to the source are uploaded to the block chain of tracing to the source of the block catenary system of tracing to the source, it is described
Abnormal traffic data are by the block catenary system of tracing to the source for asking in the abnormal positioning of tracing to the source for receiving object of tracing to the source for described in
When asking, the abnormal traffic data extracted from the block chain of tracing to the source are returned.
Second aspect of the embodiment of the present invention provides a kind of data processing equipment of tracing to the source based on block chain, comprising:
Request transmitting unit, for receive for trace to the source object circulation service request when, Xiang Suyuan block linkwork
System sends the first business datum acquisition request, and the first business datum acquisition request carries the object mark of tracing to the source for object of tracing to the source
Know;
Data receipt unit is returned for receiving block catenary system response the first business datum acquisition request of tracing to the source
First business datum of the object of tracing to the source returned, first business datum are that the block catenary system of tracing to the source traces back according to
Source object mark, which is traced to the source from first on block chain of tracing to the source, to be extracted in data;
Document generation unit, the business comprising first business datum for generating object of tracing to the source for described in are located in advance
Reason is single;
It traces to the source authentication unit, for carrying out verifying of tracing to the source to object of tracing to the source according to first business datum;
Circulate trigger unit, for the object of tracing to the source trace to the source be verified in the case where, trigger according to
The first-class business of being transferred to civilian work that object of tracing to the source described in business pretreatment single pair carries out.
The third aspect of the embodiment of the present invention provides a kind of data processing equipment of tracing to the source based on block chain, including processing
Device, memory and communication interface, the processor, memory and communication interface are connected with each other, wherein the communication interface is used
In sending and receiving data, the memory is for storing program code, and the processor is for calling said program code, institute
Stating program code when executed by a computer makes the computer execute above-mentioned first aspect and each possible reality of first aspect
Any one method in existing mode.
Fourth aspect of the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with
Computer program, the computer program include program instruction, and described program instruction makes the calculating when executed by a computer
Machine executes above-mentioned first aspect and each possible implementation of first aspect.
In the embodiment of the present invention, when receiving the circulation service request for object of tracing to the source, Xiang Suyuan block catenary system
The first business datum acquisition request is sent, tracing to the source data from first on block chain of tracing to the source for block catenary system return is being received
After first business datum of middle extraction, generates the business comprising first business datum and pre-process list, according to first industry
Business data carry out verifying of tracing to the source to object of tracing to the source, and trigger in the case where tracing to the source and being verified and pre-process list according to the business
First-class business of being transferred to civilian work to object progress of tracing to the source.During the circulation for object of tracing to the source, by according to tracing back on block chain of tracing to the source
Verifying of the source data to object progress of tracing to the source, realizes effective tracking to the data of tracing to the source traced to the source on block chain, and then improve
Block chain of tracing to the source traces back the reliability of source data.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of the data processing method of tracing to the source based on block chain provided in an embodiment of the present invention;
Fig. 2 is the interaction signal of another data processing method of tracing to the source based on block chain provided in an embodiment of the present invention
Figure;
Fig. 3 be it is provided in an embodiment of the present invention it is a kind of by second trace to the source data be uploaded to block chain of tracing to the source interaction illustrate
Figure;
Fig. 4 is a kind of data processing equipment structural diagram of tracing to the source based on block chain provided in an embodiment of the present invention;
Fig. 5 is another data processing equipment structural diagram of tracing to the source based on block chain provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
The use background of the data processing method of tracing to the source based on block chain is introduced first, is based on block in the present embodiment
The business of tracing to the source of chain can be the business of tracing to the source based on one of publicly-owned chain, alliance's chain or privately owned chain block chain.It is tracing to the source pair
It needs as circulating from producer into consumer's hand by multistage circulation side, for example, object of tracing to the source can be import overseas,
After electric business platform reach consumer's hand in, the circulation side that object successively passes through that traces to the source may include: overseas goods providers,
International Freighting Corporation, airport ground agency, customs, bonded warehouse, electric business platform, domestic logistics, for another example, object of tracing to the source can be
Domestic commodity reach in consumer's hand after sale by agent quotient at different levels, and the circulation side that object successively passes through that traces to the source may include:
Commodity production quotient, the first domestic logistics company, first-level agent dealer, the second domestic logistics company, secondary agent dealer.?
It traces to the source during Object flow, the data of tracing to the source that Object flow to circulation sides at different levels generate that will trace to the source are uploaded to block of tracing to the source
Chain, with the requested object of tracing to the source of block chain of tracing to the source trace to the source data when, the data in block chain of tracing to the source are returned into requestor.
The processing method of business of tracing to the source in the present embodiment based on block chain can be applied in object of tracing to the source in circulation to different circulation sides
When, in the processing scene of the first-class business of being transferred to civilian work for object of tracing to the source.
Next the scheme for introducing the embodiment of the present invention, referring to Fig. 1, Fig. 1 is that one kind provided in an embodiment of the present invention is based on
The flow diagram of the data processing method of tracing to the source of block chain, the data processing method of tracing to the source based on block chain in the present embodiment
Executing subject, which can be, to be deployed in the first of the circulation side that object will reach of tracing to the source and traces to the source server, as shown, the side
Method may include:
S101, first traces to the source server when receiving the circulation service request for object of tracing to the source, Xiang Suyuan block chain
System sends the first business datum acquisition request.
Here, the circulation service request can be trace to the source object upper level circulation side or object of tracing to the source possess direction
First request first for tracing to the source server transmission is traced to the source the corresponding request that circulates to object of tracing to the source of circulation policy of server,
For example, airport ground agency will receive the pass generated after the commodity when receiving commodity of a batch transport to bonded storage
After the data of tracing to the source of the commodity are uploaded to and trace to the source block chain, before which reaches bonded storage, to bonded storage deployment
Trace to the source server send be directed to the commodity circulation service request;It is also possible to the importers of the commodity in the commodity by airport
After ground agency receives, before reaching bonded storage, to the bonded server transmission of tracing to the source stored in a warehouse and disposed for the commodity
Circulation service request.
The first business datum acquisition request be described first trace to the source server to trace to the source block catenary system request trace to the source
The request of the first business datum on block chain, the first business datum acquisition request carry the object mark of tracing to the source for object of tracing to the source
Know.Described first server of tracing to the source to the block catenary system of tracing to the source requests the concrete mode of the first business datum can be for institute
Any accounting nodes of tracing to the source stated in block catenary system of tracing to the source send the first business datum acquisition request, the accounting nodes of tracing to the source
According to the object identity of tracing to the source obtain described in trace to the source object the first business datum and return to described first and trace to the source server.
In an optional implementation manner, the circulation service request carry described in trace to the source the item property number of object
According to e.g., which is import or domestic commodity, and for another example the object of tracing to the source is powdered, liquid or gas etc..Institute
State first and trace to the source server according to the corresponding relationships of preset item property data and business datum entry, determine described in trace to the source pair
The corresponding first business datum entry of the item property data of elephant, then, described first traces to the source server to the block of tracing to the source
Catenary system sends the first business datum acquisition request for carrying the first business datum entry, so that the block of tracing to the source
Catenary system obtains from the block chain of tracing to the source according to the first business datum entry and returns to first business datum.Example
Such as, if the object of tracing to the source is imported meat commodity, business datum entry corresponding with this attribute data of imported meat commodity
It may include the entries such as product name, quantity, customs inspection Quarantine Bureau testing identity.If the object of tracing to the source is domestic commodity,
Business datum entry corresponding with this attribute data of domestic commodity may include product name, quantity, animal health supervision machine
The entries such as structure quarantine inspection.
S102, first trace to the source server receive described in block catenary system of tracing to the source respond the first business datum acquisition request
First business datum of the object of tracing to the source returned.
Specifically, first business datum is that the block catenary system of tracing to the source traces to the source object identity from tracing to the source according to
First on block chain, which trace to the source, extracts in data.Described first data of tracing to the source trace to the source block catenary system receiving for described in
The data of tracing to the source of the object of tracing to the source stored before stating the first business datum acquisition request can be the Object flow of tracing to the source
It traces to the source before the corresponding circulation side of server to described first, what the block catenary system of tracing to the source received described first traces to the source clothes
Trace to the source data of the higher level's circulation policy of the corresponding circulation side of business device to the object upload of tracing to the source.
First business datum includes that first to trace to the source on block chain is traced to the source in data, and described first traces to the source number
It traces to the source in the corresponding block of data according to being included on the block chain of tracing to the source first, the described first corresponding block of data of tracing to the source is deposited
Storage is in each accounting nodes of tracing to the source in the block catenary system of tracing to the source.Described first trace to the source the corresponding block of data include area
Build (block header) and block body (block body), block head and block body are distinguished in the accounting nodes of tracing to the source
It is stored in key-value (key-value) database of the accounting nodes of tracing to the source, has respectively and corresponding key-value pair.Its
Described in the first data of tracing to the source be stored in the block body.Described first data of tracing to the source include tracing to the source pair for the object of tracing to the source
As mark.
In the key-value database of the accounting nodes of tracing to the source, the described first block body for tracing to the source the corresponding block of data
Corresponding key include block body prefix " b ", described first trace to the source data 64 big end formats of corresponding block block number and
Described first Hash (hash) value for tracing to the source the corresponding block of data;The described first block body pair for tracing to the source the corresponding block of data
The value answered includes the block body after RLP (Recursive Length Prefix, recursion length prefix) coding
Sequence code.
After the corresponding block of data is traced to the source in the accounting nodes storage described first of tracing to the source, object mark of tracing to the source described in foundation
Know with described first trace to the source the corresponding block of data cryptographic Hash corresponding relationship, receiving the first business datum acquisition
After request, according to the object identity of tracing to the source of above-mentioned corresponding relationship and the object of tracing to the source, traces to the source and the first of object trace back described in acquisition
The cryptographic Hash of the corresponding block of source data, and then retrieval is traced to the source the corresponding area of data comprising described first in key-value database
The cryptographic Hash and prefix of block are the corresponding value of key of block body prefix " b ", and the value that retrieval is obtained is decoded by RLP
Afterwards, it obtains described trace to the source the first of object to trace to the source data, and then traces to the source from described first and extract the first business number in data
According to.
The accounting nodes storage described first of tracing to the source is traced to the source after the corresponding block of data, in another implementation, also
Can establish it is described trace to the source object identity with described first trace to the source the corresponding block of data block number corresponding relationship, according to upper
The object identity of tracing to the source of corresponding relationship Yu the object of tracing to the source is stated, traces to the source and the first of object traces to the source the corresponding area of data described in acquisition
The block number of block, and then retrieval is traced to the source the block number of the corresponding block of data and preceding comprising described first in key-value database
Sew the corresponding value of key for block body prefix " b ", the value that retrieval is obtained obtains described trace to the source after RLP is decoded
The first of object is traced to the source data, and then is traced to the source from described first and extracted first business datum in data.
S103, the first business comprising first business datum that server is generated for the object of tracing to the source of tracing to the source are pre-
Processing is single.
Specifically, tracing to the source described first presets the corresponding business processing single mode of the circulation service request in server
Plate, the business processing template include the clear data column for different business data entry, are receiving the block of tracing to the source
After the first business datum that catenary system returns, the industry for the first business datum entry that will include in first business datum
Business data fill in corresponding clear data column in the business processing single mode plate and generate the business pretreatment list.Optionally,
First business datum does not include the corresponding industry in empty bag data column of whole business datum entries in the business processing template
Business data can also receive user's input, the corresponding business datum in clear data column in the business processing template herein
Described in other data other than the first business datum, first business datum is filled in other data received into
It is single that the business pretreatment is generated in the business processing single mode plate behind corresponding clear data column.
In one implementation, described in step S101 first trace to the source server to it is described trace to the source block catenary system send
The first business datum acquisition request be obtain described in trace to the source three or more the first business datums stored in block catenary system
Request, described first traces to the source, and first business datum for tracing to the source the return of block catenary system that server receives includes three
More than, for it is described trace to the source block catenary system respectively from the block catenary system of tracing to the source three or more be stored with comprising described the
One trace to the source data block node obtain.Described first to trace to the source described in server judgement be three or more the first business numbers
According to whether include different editions, if judging result be it is no, the first business datum of same version is determined as reliable first industry
Business data, if the determination result is YES, it is determined that the quantity of the first business datum of each version, by the first business in each version
Corresponding first business datum of the most version of data amount check is determined as reliable first business datum, and then generates and trace back for described
The business comprising reliable first business datum of source object pre-processes single.Can will trace to the source quilt on block chain by this way
The first business datum distorted filters out, and realizes according to the reliable first business number traced to the source on block chain in block catenary system of tracing to the source
According to generating, the business pretreatment is single.
S104, the first server of tracing to the source according to first business datum carry out verifying of tracing to the source to object of tracing to the source.
Specifically, trace to the source behind the corresponding circulation side of server in the Object flow of tracing to the source to described first, described first
First business datum and the object of tracing to the source can be carried out bi-directional verification by server of tracing to the source.On the one hand, first industry
Business data are to trace to the source to extract in data from first to trace to the source on block chain, are to a certain extent more true described
It traces to the source the data of tracing to the source of object, if the object and described first of tracing to the source that circulation traces to the source the corresponding circulation side of server to described first
Business datum mismatches, then illustrate to circulate to described first trace to the source the corresponding circulation side of server trace to the source object presence by
The possibility of replacement, therefore can trigger the verifying whether being replaced to object of tracing to the source.On the other hand, when discovery circulation to described first
When the object of tracing to the source of the corresponding circulation side of server of tracing to the source is mismatched with first business datum, if by true after forensics analysis
Surely object of tracing to the source is not replaced, then the uploader for illustrating that described first traces to the source data has the possibility of data fabrication of tracing to the source, and can be touched
Send out to trace to the source on block chain first trace to the source data uploader verifying.Block of tracing to the source can be improved by above-mentioned bi-directional verification
The authenticity of data of tracing to the source on chain, at the same trace to the source if it exists data exception when, can more find that above-mentioned exception is traced to the source in time
Data, and then solve to cause the traffic issues of above-mentioned data exception of tracing to the source in time.
In one implementation, described first trace to the source server can be for tracing back described in first service data acquisition
The business datum of source object verifies picture;Then the described first server of tracing to the source by optical character recognition technology obtains the industry
The actual traffic data of the object of tracing to the source corresponding with first business datum in business data verification picture;And then verify institute
State whether actual traffic data matches with first business datum.For example, the described first server of tracing to the source is available described
It traces to the source the outer packing picture of object, and then passes through optical character recognition technology and identify product name in outer packing picture, ingredient
Deng, and then be compared and judge whether unanimously with product name, the ingredient of object of tracing to the source etc. that first business datum includes.
For another example, when weighing to the object of tracing to the source, the weight picture shown on weighing instrument can be acquired, and then passes through optical character and knows
It traces to the source described in the identification of other technology the weight of object, and then the weight for the object of tracing to the source for including with first business datum is compared
It is consistent to judging whether.
If tracing to the source in step S104 is verified here, S105 is thened follow the steps, if verifying of tracing to the source does not pass through, is obtained
The abnormal traffic data of the object of tracing to the source, and the abnormal traffic data of the object of tracing to the source are uploaded to the block chain of tracing to the source
The block chain of tracing to the source of system, the abnormal traffic data are by the block catenary system of tracing to the source for being traced to the source for described receiving
Object trace to the source abnormal Location Request when, return to the abnormal traffic data extracted from the block chain of tracing to the source.
S105, first trace to the source server to the object of tracing to the source trace to the source be verified in the case where, trigger according to institute
State the first-class business of being transferred to civilian work for object progress of tracing to the source described in business pretreatment single pair.
Here, described first trace to the source server triggers according to the business pre-process single pair described in trace to the source the of object progress
One stream business of being transferred to civilian work can be the server of tracing to the source of triggering described first and carry out first-class business of being transferred to civilian work, and is also possible to trigger described first and trace back
The corresponding circulation side of source server carries out first-class business of being transferred to civilian work.For example, if described first trace to the source server be customs server,
Customs server it is described trace to the source be verified in the case where, customs server can trigger the warehouse of object of tracing to the source described in storage
Opening, realize and the clearance clearance for object of tracing to the source or customs server triggering clearance server generated and traced to the source pair to described
The clearance voucher of elephant, and then so that the related service personnel of customs is carried out clearance to the object of tracing to the source according to the clearance voucher and lead to
It closes.
In the embodiment of the present invention, first traces to the source server when receiving the circulation service request for object of tracing to the source, to
Block catenary system of tracing to the source send the first business datum acquisition request, receive block catenary system return from block chain of tracing to the source
First trace to the source after the first business datum extracted in data, the first server of tracing to the source is generated comprising first business datum
Business pretreatment is single, and the first server of tracing to the source according to first business datum carries out verifying of tracing to the source to object of tracing to the source, and is tracing back
Source be verified in the case where triggering according to the business pre-process single pair trace to the source object progress first-class business of being transferred to civilian work.It is tracing to the source
During the circulation of object, by first trace to the source server according to trace to the source on block chain trace to the source data to trace to the source object progress
Verifying, realizes effective tracking to the data of tracing to the source traced to the source on block chain, and then improve block chain of tracing to the source and trace back source data
Reliability, meanwhile, by trace to the source the first business datum on block chain generation first-class business of being transferred to civilian work is carried out to object of tracing to the source
Business pretreatment is single, improves the efficiency of first-class business of being transferred to civilian work.
Referring to fig. 2, Fig. 2 is the friendship of another data processing method of tracing to the source based on block chain provided in an embodiment of the present invention
Mutual schematic diagram, the executing subject of the data processing method of tracing to the source based on block chain may include to be deployed in and trace to the source pair in the present embodiment
It traces to the source server and the circulation side as the first of the circulation side that will be reached, as shown, the method may include:
S201, first traces to the source server when receiving the circulation service request for object of tracing to the source, Xiang Suyuan block chain
System sends the first business datum acquisition request.
S202, the block catenary system of tracing to the source respond the first business datum acquisition request and obtain and trace back to described first
Source server returns to first business datum.
S203, the described first server of tracing to the source generate the industry comprising first business datum for the object of tracing to the source
Business pretreatment is single.
The implementation of step S201- step S203 can be corresponding with step S101- step S103 in the corresponding embodiment of Fig. 1
Embodiment, details are not described herein again.
S204, described first trace to the source server by first business pretreatment single-shot give circulation side.
Here, the circulation can be with the circulation and transfer of goods server or first for server object of tracing to the source with described first
Circulate business personnel etc..Described first trace to the source server can by first business pre-process singly be transmitted directly to the commodity
Circulate server, or gives first business pretreatment single-shot to the display instrument of the circulation and transfer of goods personnel, and then make
It is first-class to turn business personnel by display instrument reading the first business pretreatment list, described first can also be located in advance
Reason single-shot gives preset printer, and it is single that the preset printer prints the first business pretreatment, and then makes first-class
Turn the first business pretreatment list that business personnel obtains papery.
S205, the circulation root carry out verifying of tracing to the source to object of tracing to the source according to first business datum.
The circulation side can pass through the corresponding with first business datum of the object of tracing to the source of acquisition circulation to circulation side
Actual traffic data, and then by the comparison of the first business datum and the actual traffic data, realization is to object of tracing to the source
It traces to the source verifying.
S206, the circulation side to the object of tracing to the source trace to the source be verified in the case where, it is pre- according to the business
The first-class business of being transferred to civilian work that object of tracing to the source described in processing single pair carries out.
S207, the circulation side by the object of tracing to the source carry out it is first-class turn the second of service generation trace to the source data send
It traces to the source server to described first.
The circulation side to object of tracing to the source carry out it is first-class turn the second of service generation trace to the source data may include it is a variety of, such as
If the circulation side is logistics service device, described second trace to the source data may include the product name of the object of tracing to the source, weight,
The information such as each logistics transportation node, the corresponding contact person of each logistics transportation node;For another example, if the circulation side is customs's clothes
It is engaged in device, the described second data of tracing to the source may include product name, quantity, purposes, ingredient survey report of the object of tracing to the source etc.
Information.
S208, the described first server of tracing to the source will pre-process single carry out that first-class business of being transferred to civilian work generates the according to the business
Two trace to the source block chain of tracing to the source that data are uploaded in the block catenary system of tracing to the source.
Here, the described second data of tracing to the source are uploaded to the area that traces to the source of block catenary system of tracing to the source by the described first server of tracing to the source
Block chain, it is described trace to the source block catenary system the object of tracing to the source trace to the source data when, return and trace to the source comprising described second
The data of tracing to the source of data, alternatively, the block catenary system of tracing to the source is traced to the source the use for including in data requested for described second
When generating the second business pretreatment single the second business datum, traces to the source from second to trace to the source on block chain and extract in data
And return to second business datum.
Specifically it may refer to Fig. 3, Fig. 3 is provided in an embodiment of the present invention a kind of second data of tracing to the source to be uploaded to the area that traces to the source
The interaction schematic diagram of block chain, as shown, can realize the described second data of tracing to the source being uploaded to described trace back by following steps
Block chain of tracing to the source in source area block catenary system:
S301, the described first server of tracing to the source are generated to trace to the source comprising described second and the second of data are traced to the source affairs.
Specifically, the second affairs of tracing to the source include described first to trace to the source block chain passage in the specified block catenary system of server
Gap marker, the channel be it is preset trace to the source the corresponding block chain passage of affairs for described second, described second traces to the source thing
The generation time that business also traces to the source affairs comprising described second.Optionally, it described second traces to the source and can also trace back comprising second in affairs
The corresponding version of source affairs.
Described second affairs of tracing to the source are sent in the block catenary system of tracing to the source by S302, the described first server of tracing to the source
Endorsement node.
Here, the described second affairs of tracing to the source are sent to the corresponding block of the gap marker by the described first server of tracing to the source
Endorsement node in chain passage, above-mentioned endorsement node are that the described first back for tracing to the source server is arranged in based on intelligent contract of endorsing
Node in book strategy.
In the specific implementation, described first trace to the source server can be the mode that sends by way of multicast or respectively by
Two trace to the source affairs to the endorsement node in block catenary system.
S303, the endorsement node carry out the described second affairs of tracing to the source according to preset affairs of tracing to the source intelligent contract of endorsing
It endorses and generates endorsement result.
Here, endorsement node second traces to the source the process that affairs endorse to this are as follows: endorsement node is traced to the source thing according to
The business endorsement logic in intelligent contract of endorsing verifies the described second affairs of tracing to the source, then using the private key pair of endorsement node
Verification result is signed to obtain endorsement result.
The endorsement result is sent to described first and traced to the source server by S304, the endorsement node.
S305, described first traces to the source server at determining pair of the endorsement result sent according to the endorsement node received
Described second traces to the source in the case that affairs endorsement completes, and the described second affairs of tracing to the source are sent in the block catenary system of tracing to the source
Command node.
Described first trace to the source server can the endorsement result received meet it is preset trace to the source affairs endorsement strategy when,
Determine that the endorsement for tracing to the source affairs to second is completed.Specifically, described first traces to the source server in the determining endorsement result received
What the endorsement node specified in affairs of tracing to the source described in middle presence endorsement strategy was sent endorse as a result, and the endorsement result that receives
In the case that quantity is greater than or equal to the endorsement fruiting quantities set in the affairs endorsement strategy of tracing to the source, determine to described second
The endorsement for affairs of tracing to the source is completed.
Described first trace to the source server determine to described second trace to the source affairs endorsement complete in the case where, by described second
Affairs of tracing to the source and the endorsement result received are transmitted to the order section in the corresponding block chain passage of the gap marker
Point.
S306, the command node trace to the source described second and transaction orderings and generate and trace to the source the of data comprising described second
Two trace to the source affairs block.
Here, the command node according to described second trace to the source affairs time of origin and be sent to the command node
Other all affairs not being packaged also, successively sequence, then obtains the corresponding area of the gap marker sequentially in time
The last one block of block chain, and the affairs after the sequence be packaged constructing according to the last one described block and form area
Block.
S307, the command node by described second trace to the source affairs block be sent to it is more in the block catenary system of tracing to the source
A accounting nodes of tracing to the source.
In the specific implementation, the command node can be confirmed according to the gap marker it is more in the same block chain passage
Then a accounting nodes of tracing to the source select one as leader node from the multiple accounting nodes of tracing to the source, second are traced to the source thing
Business block be sent to the leader node, then the leader node based on Gossip agreement randomly with the part in block chain
Accounting nodes of tracing to the source are communicated so that the second affairs block of tracing to the source is synchronous between the accounting nodes of tracing to the source of block chain, in turn
It realizes and described second traces to the source all accounting nodes of tracing to the source that affairs block is synchronized on block chain.
S308, the accounting nodes of tracing to the source verify the described second affairs block of tracing to the source.
Here, the accounting nodes of tracing to the source carry out verifying and refer to trace to the source affairs block to second to the second affairs block of tracing to the source
In all affairs endorsement strategy and transactional version verified, the concrete mode of verifying are as follows: respectively in the block
It signs and is verified in the endorsement result of each affairs, verify whether the corresponding endorsement node of the signature is the corresponding back of the affairs
Whether the node in book strategy, the version for verifying each affairs are identical as local version.If to the endorsement knot of each affairs
The verifying of fruit and transactional version passes through, it is determined that is verified to the described second affairs block of tracing to the source.
It traces to the source in the case where being verified of affairs block to described second, the accounting nodes of tracing to the source execute step
S309 gives up the described second affairs block of tracing to the source in the case where verifying unacceptable situation.
S309, the accounting nodes storage described second of tracing to the source are traced to the source affairs block.
The described second data of tracing to the source are uploaded to tracing to the source in the block catenary system of tracing to the source for the first server of tracing to the source
In a kind of implementation of block chain, to the object of tracing to the source trace to the source be verified in the case where, described first traces to the source clothes
Business device is traced to the source the data of tracing to the source deleted in data with first service data consistence from described second, obtains tracing to the source for described
The duplicate removal second of object is traced to the source data;The data of tracing to the source of the duplicate removal second are uploaded to the area that traces to the source of the block catenary system of tracing to the source
Block chain.It is traced to the source in data by deleting described second with the duplicate data of tracing to the source of the first business datum, has saved the area that traces to the source
The memory space of each accounting nodes of tracing to the source in block catenary system.
S209, it is described trace to the source block catenary system the object of tracing to the source trace to the source data when, return comprising from institute
State described first extracted in block chain of tracing to the source trace to the source data and described second trace to the source data data of tracing to the source.
In the embodiment of the present invention, first traces to the source server when receiving the circulation service request for object of tracing to the source, to
Block catenary system of tracing to the source send the first business datum acquisition request, receive block catenary system return from block chain of tracing to the source
First trace to the source after the first business datum extracted in data, the first server of tracing to the source is generated comprising first business datum
Business pretreatment is single, and first traces to the source after server gives business pretreatment single-shot to circulation side, and the root that circulates is according to described the
One business datum carries out verifying of tracing to the source to object of tracing to the source, and is pre-processed according to the business in the case where tracing to the source and being verified single
First-class business of being transferred to civilian work to object progress of tracing to the source, first traces to the source, and also by circulation side, to tracing to the source, object progress is first-class to be transferred to civilian work server
The second data of tracing to the source that business generates are uploaded to block chain of tracing to the source.It realizes during the circulation for object of tracing to the source, according to the area that traces to the source
Data of tracing to the source on block chain verify object of tracing to the source, and realize to trace to the source data and the object of tracing to the source traced to the source on block chain
Bi-directional verification improves the reliability that block chain of tracing to the source traces back source data, moreover, passing through the first business number on block chain of tracing to the source
List is pre-processed according to the business for carrying out first-class business of being transferred to civilian work to object of tracing to the source is generated, improves the efficiency of first-class business of being transferred to civilian work, simultaneously
By the second of object of tracing to the source trace to the source data upload trace to the source block chain realization trace to the source object of tracing to the source.
Referring to fig. 4, Fig. 4 is that a kind of data processing equipment structure of tracing to the source based on block chain provided in an embodiment of the present invention is shown
It is intended to, as shown, the data processing equipment 40 of tracing to the source based on block chain is including at least request transmitting unit 401, data
Receiving unit 402, document generation unit 403, trace to the source authentication unit 404 and circulation trigger unit 405, in which:
Request transmitting unit 401, for receive for trace to the source object circulation service request when, Xiang Suyuan block chain
System sends the first business datum acquisition request, and the first business datum acquisition request carries the object mark of tracing to the source for object of tracing to the source
Know.
Data receipt unit 402 is asked for receiving block catenary system response of tracing to the source the first business datum acquisition
The first business datum of the object of tracing to the source of return is sought, first business datum traces to the source block catenary system according to institute for described in
It states object identity of tracing to the source and traces to the source from first on block chain of tracing to the source and extract in data.
Document generation unit 403, for generating the business comprising first business datum for being directed to the object of tracing to the source
Pretreatment is single.
It traces to the source authentication unit 404, for carrying out verifying of tracing to the source to object of tracing to the source according to first business datum.
Circulate trigger unit 405, for the object of tracing to the source trace to the source be verified in the case where, trigger according to institute
State the first-class business of being transferred to civilian work for object progress of tracing to the source described in business pretreatment single pair.
In the specific implementation, the data processing equipment of tracing to the source based on block chain can be by each function mould built in it
Block executes each step in the guarantee business processing method based on block chain such as Fig. 1-Fig. 3, and specific implementation details are seen
The realization details of each step in the corresponding embodiment of Fig. 1-Fig. 3, details are not described herein again.
In the embodiment of the present invention, request transmitting unit is when receiving the circulation service request for object of tracing to the source, Xiang Su
Source area block catenary system sends the first business datum acquisition request, data receipt unit receive the return of block catenary system from tracing back
First on source area block chain traces to the source after the first business datum extracted in data, and it includes first industry that document generation unit, which generates,
The business for data of being engaged in pre-processes list, and authentication unit of tracing to the source carries out verifying of tracing to the source to object of tracing to the source according to first business datum,
Circulation trigger unit traces back in triggering in the case where tracing to the source and be verified for authentication unit of tracing to the source according to business pretreatment single pair
The first-class business of being transferred to civilian work that source object carries out.During the circulation for object of tracing to the source, by authentication unit of tracing to the source according to block of tracing to the source
Data of tracing to the source on chain verify object of tracing to the source, and realize effective tracking to the data of tracing to the source traced to the source on block chain, mention
High block chain of tracing to the source traces back the reliability of source data.
Referring to Fig. 5, Fig. 5 is another data processing equipment structure of tracing to the source based on block chain provided in an embodiment of the present invention
Schematic diagram, as shown, it is described based on block chain trace to the source data processing equipment 50 include processor 501, memory 502 and
Communication interface 503.Processor 501 is connected to memory 502 and communication interface 503, such as processor 501 can be connected by bus
It is connected to memory 502 and communication interface 503.
Processor 501 is configured as that the data processing equipment of tracing to the source based on block chain is supported to execute described in Fig. 1-Fig. 3
Business datum transfer method in corresponding function.The processor 501 can be central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP), hardware chip or any combination thereof.
Above-mentioned hardware chip can be specific integrated circuit (Application-Specific Integrated Circuit, ASIC),
Programmable logic device (Programmable Logic Device, PLD) or combinations thereof.Above-mentioned PLD can be complex programmable
Logical device (Complex Programmable Logic Device, CPLD), field programmable gate array (Field-
Programmable Gate Array, FPGA), Universal Array Logic (Generic Array Logic, GAL) or its any group
It closes.
Memory 502 is for storing program code etc..Memory 502 includes internal storage, and internal storage can wrap
Include at least one of following: volatile memory (such as dynamic random access memory (DRAM), static state RAM (SRAM), synchronize it is dynamic
State RAM (SDRAM) etc.) and nonvolatile memory (such as disposable programmable read only memory (OTPROM), programming ROM
(PROM), erasable programmable ROM (EPROM), electrically erasable ROM (EEPROM).Memory 502 can also include outer
Portion's memory, external memory may include at least one of following: hard disk (Hard Disk Drive, HDD) or solid state hard disk
(Solid-State Drive, SSD), flash drive, for example, high density flash memory (CF), secure digital (SD), miniature SD, mini SD,
Extreme digital (xD), memory stick etc..
The communication interface 503 is for receiving or sending data.
Processor 501 can call said program code to execute following operation:
When receiving the circulation service request for object of tracing to the source, Xiang Suyuan block catenary system sends the first business datum
Acquisition request, the first business datum acquisition request carry the object identity of tracing to the source for object of tracing to the source;
Block catenary system of tracing to the source described in reception responds the object of tracing to the source that the first business datum acquisition request returns
The first business datum, first business datum is that the block catenary system of tracing to the source traces to the source object identity from tracing to the source according to
First on block chain, which trace to the source, extracts in data;
Generate the business pretreatment list comprising first business datum for the object of tracing to the source;
Verifying of tracing to the source is carried out to object of tracing to the source according to first business datum;
To the object of tracing to the source trace to the source be verified in the case where, triggering according to the business pre-process single pair described in
The first-class business of being transferred to civilian work that object of tracing to the source carries out.
It should be noted that the realization of each operation can also correspond to referring to Fig.1-embodiment of the method shown in Fig. 3 phase
It should describe;The processor 501 can be also used for executing other operations in above method embodiment.
The embodiment of the present invention also provides a kind of computer storage medium, and the computer storage medium is stored with computer journey
Sequence, the computer program include program instruction, and described program instruction executes the computer such as
Method described in previous embodiment, the computer can be the data processing equipment of tracing to the source mentioned above based on block chain
A part.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of data processing method of tracing to the source based on block chain characterized by comprising
When receiving the circulation service request for object of tracing to the source, Xiang Suyuan block catenary system sends the first business datum and obtains
Request, the first business datum acquisition request carry the object identity of tracing to the source for object of tracing to the source;
Block catenary system of tracing to the source described in reception responds the of the object of tracing to the source that the first business datum acquisition request returns
One business datum, first business datum are that the block catenary system of tracing to the source traces to the source object identity from block of tracing to the source according to
First on chain, which trace to the source, extracts in data, and the described first data of tracing to the source are that the block catenary system of tracing to the source is receiving described the
The data of tracing to the source of the object of tracing to the source stored before one business datum acquisition request;
Generate the business pretreatment list comprising first business datum for the object of tracing to the source;
Verifying of tracing to the source is carried out to object of tracing to the source according to first business datum;
To the object of tracing to the source trace to the source be verified in the case where, triggering according to the business pre-process single pair described in trace to the source
The first-class business of being transferred to civilian work that object carries out.
2. the method as described in claim 1, which is characterized in that the first industry of the block catenary system return of tracing to the source received
Data of being engaged in include three or more, and described three or more the first business datums are that the block catenary system of tracing to the source traces back from described respectively
In source area block catenary system three or more be stored with comprising described first trace to the source data block node obtain;
The business comprising first business datum for generating object of tracing to the source for described in, which pre-processes, singly includes:
When described three or more the first business datums include different editions, most by the first business datum number in each version
Corresponding first business datum of more versions is determined as reliable first business datum;
Generate the business pretreatment list comprising reliable first business datum for the object of tracing to the source.
3. the method as described in claim 1, which is characterized in that it is described according to first business datum to the object of tracing to the source
The verifying that trace to the source includes:
Picture is verified for the business datum for object of tracing to the source described in first service data acquisition;
The business datum, which is obtained, by optical character recognition technology verifies institute corresponding with first business datum in picture
State the actual traffic data for object of tracing to the source;
Verify whether the actual traffic data matches with first business datum.
4. the method as described in claim 1, which is characterized in that the attribute for object of tracing to the source described in the circulation service request carrying
Data;
Sending the first business datum acquisition request to block catenary system of tracing to the source includes:
According to the corresponding relationship of preset attribute data and business datum entry, the attribute data for object of tracing to the source described in determination is corresponding
The first business datum entry;
First business datum acquisition for sending carrying the first business datum entry to the block catenary system of tracing to the source is asked
It asks, so that the block catenary system of tracing to the source is obtained and returned from the block chain of tracing to the source according to the first business datum entry
First business datum.
5. the method as described in any in claim 1-4, which is characterized in that the method also includes:
The area that traces to the source is uploaded to by single carry out that first-class business of being transferred to civilian work generates second data of tracing to the source are pre-processed according to the business
Block chain of tracing to the source in block catenary system, so that the block catenary system of tracing to the source is in the data of tracing to the source for being requested the object of tracing to the source
When, return comprising extracted from the block chain of tracing to the source described first trace to the source data and described second trace to the source data number of tracing to the source
According to.
6. method as claimed in claim 5, which is characterized in that described to pre-process single the first circulation of progress according to the business
The second block chain of tracing to the source that data are uploaded in the block catenary system of tracing to the source of tracing to the source that business generates includes:
To the object of tracing to the source trace to the source be verified in the case where, trace to the source from described second and delete and described first in data
The data of tracing to the source of service data consistence obtain data of tracing to the source for the duplicate removal second of the object of tracing to the source;
The data of tracing to the source of the duplicate removal second are uploaded to the block chain of tracing to the source of the block catenary system of tracing to the source.
7. the method as described in claim 1, which is characterized in that the method also includes:
The described first object of tracing to the source for tracing to the source server corresponding circulation side is being gone to according to the first business datum convection current
It traces to the source and verifies in unacceptable situation, the abnormal traffic data for object of tracing to the source described in acquisition;
The abnormal traffic data of the object of tracing to the source are uploaded to the block chain of tracing to the source of the block catenary system of tracing to the source, the exception
Business datum by it is described trace to the source block catenary system for receive for the object of tracing to the source trace to the source abnormal Location Request when,
Return to the abnormal traffic data extracted from the block chain of tracing to the source.
8. a kind of data processing equipment of tracing to the source based on block chain characterized by comprising
Request transmitting unit, for when receiving the circulation service request for object of tracing to the source, Xiang Suyuan block catenary system to be sent out
The first business datum acquisition request is sent, the first business datum acquisition request carries the object identity of tracing to the source for object of tracing to the source;
Data receipt unit responds what the first business datum acquisition request returned for receiving the block catenary system of tracing to the source
First business datum of the object of tracing to the source, first business datum are that the block catenary system of tracing to the source is traced to the source pair according to
It is extracted in data as identifying to trace to the source from first on block chain of tracing to the source;
Document generation unit, for generating the business pretreatment comprising first business datum for being directed to the object of tracing to the source
It is single;
It traces to the source authentication unit, for carrying out verifying of tracing to the source to object of tracing to the source according to first business datum;
Circulate trigger unit, for the object of tracing to the source trace to the source be verified in the case where, trigger according to the business
The first-class business of being transferred to civilian work that object of tracing to the source described in pretreatment single pair carries out.
9. a kind of data processing equipment of tracing to the source based on block chain, which is characterized in that connect including processor, memory and communication
Mouthful, the processor, memory and communication interface are connected with each other, wherein the communication interface is for sending and receiving data, institute
It states memory and is executed for calling said program code as claim 1-7 is any for storing program code, the processor
Method described in.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described
Computer program includes program instruction, and described program instruction makes the processor execute such as claim when being executed by a processor
The described in any item methods of 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428672.5A CN110232576A (en) | 2019-05-21 | 2019-05-21 | A kind of trace to the source data processing method and relevant apparatus based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428672.5A CN110232576A (en) | 2019-05-21 | 2019-05-21 | A kind of trace to the source data processing method and relevant apparatus based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110232576A true CN110232576A (en) | 2019-09-13 |
Family
ID=67860946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910428672.5A Pending CN110232576A (en) | 2019-05-21 | 2019-05-21 | A kind of trace to the source data processing method and relevant apparatus based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110232576A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110808839A (en) * | 2019-10-30 | 2020-02-18 | 百度在线网络技术(北京)有限公司 | Processing method, device, equipment and medium for block chain abnormal data |
CN110825725A (en) * | 2019-10-12 | 2020-02-21 | 国网安徽省电力有限公司 | Data quality checking method and system based on double helix management |
CN112000730A (en) * | 2020-07-10 | 2020-11-27 | 邦邦汽车销售服务(北京)有限公司 | Tracing information writing and tracing information verification method and system based on block chain |
CN112446051A (en) * | 2020-12-02 | 2021-03-05 | 东莞市盟大塑化科技有限公司 | Abnormal tracking method and system based on block chain technology |
CN112632640A (en) * | 2020-12-30 | 2021-04-09 | 杭州趣链科技有限公司 | Green power tracing method, electronic device and storage medium |
CN113051156A (en) * | 2021-03-16 | 2021-06-29 | 广东工业大学 | Software defect positioning method based on block chain traceability and information retrieval |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391735A (en) * | 2017-08-04 | 2017-11-24 | 北京明朝万达科技股份有限公司 | Business datum source tracing method, device, system and storage device based on block chain |
CN108305083A (en) * | 2018-02-11 | 2018-07-20 | 张国忠 | A kind of commodity source tracing method and system based on block chain |
CN108364181A (en) * | 2018-01-08 | 2018-08-03 | 广州中国科学院计算机网络信息中心 | Source tracing method and system based on block chain and Internet of Things mark |
CN109034845A (en) * | 2018-07-27 | 2018-12-18 | 中链科技有限公司 | Commodity based on block chain trace to the source code generate, verifying and querying method and device |
-
2019
- 2019-05-21 CN CN201910428672.5A patent/CN110232576A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391735A (en) * | 2017-08-04 | 2017-11-24 | 北京明朝万达科技股份有限公司 | Business datum source tracing method, device, system and storage device based on block chain |
CN108364181A (en) * | 2018-01-08 | 2018-08-03 | 广州中国科学院计算机网络信息中心 | Source tracing method and system based on block chain and Internet of Things mark |
CN108305083A (en) * | 2018-02-11 | 2018-07-20 | 张国忠 | A kind of commodity source tracing method and system based on block chain |
CN109034845A (en) * | 2018-07-27 | 2018-12-18 | 中链科技有限公司 | Commodity based on block chain trace to the source code generate, verifying and querying method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825725A (en) * | 2019-10-12 | 2020-02-21 | 国网安徽省电力有限公司 | Data quality checking method and system based on double helix management |
CN110825725B (en) * | 2019-10-12 | 2022-08-19 | 国网安徽省电力有限公司 | Data quality checking method and system based on double helix management |
CN110808839A (en) * | 2019-10-30 | 2020-02-18 | 百度在线网络技术(北京)有限公司 | Processing method, device, equipment and medium for block chain abnormal data |
CN110808839B (en) * | 2019-10-30 | 2022-07-12 | 百度在线网络技术(北京)有限公司 | Processing method, device, equipment and medium for block chain abnormal data |
CN112000730A (en) * | 2020-07-10 | 2020-11-27 | 邦邦汽车销售服务(北京)有限公司 | Tracing information writing and tracing information verification method and system based on block chain |
CN112446051A (en) * | 2020-12-02 | 2021-03-05 | 东莞市盟大塑化科技有限公司 | Abnormal tracking method and system based on block chain technology |
CN112446051B (en) * | 2020-12-02 | 2023-08-22 | 东莞盟大集团有限公司 | Abnormality tracking method and system based on blockchain technology |
CN112632640A (en) * | 2020-12-30 | 2021-04-09 | 杭州趣链科技有限公司 | Green power tracing method, electronic device and storage medium |
CN113051156A (en) * | 2021-03-16 | 2021-06-29 | 广东工业大学 | Software defect positioning method based on block chain traceability and information retrieval |
CN113051156B (en) * | 2021-03-16 | 2022-03-11 | 广东工业大学 | Software defect positioning method based on block chain traceability and information retrieval |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232576A (en) | A kind of trace to the source data processing method and relevant apparatus based on block chain | |
CN109067541B (en) | Data verification method and device based on block chain and electronic equipment | |
JP6939791B2 (en) | Bulletin board information management system | |
CN109829726B (en) | Block chain-based drug information management method and system | |
CN103685307B (en) | The method and system of feature based storehouse detection fishing fraud webpage, client, server | |
CN109670321A (en) | Date storage method, data query method and device | |
CN110222053B (en) | Traceability data acquisition method based on block chain and related equipment | |
US20200387859A1 (en) | Methods, Application Server, Block Chain Node and Media For Logistics Tracking and Source Tracing | |
CN109345268A (en) | Two-dimensional code anti-counterfeiting label, label register method and label identification method based on NFC | |
CN109446259B (en) | Data processing method and device, processor and storage medium | |
CN108710681A (en) | File acquisition method, device, equipment and storage medium | |
CN108092955A (en) | Processing method, device, server and the storage medium for information of insuring | |
CN109510860A (en) | A kind of data processing method, relevant device and system | |
CN108537542B (en) | Data processing method for social network | |
CN110598480A (en) | Data right confirming method and device | |
KR102213120B1 (en) | System and method for providing smart contract of content sharing for integrity verification based on blockchain | |
CN110460686A (en) | A kind of block chain address register method and device | |
US20200175514A1 (en) | Using a blockchain to establish a web of trust | |
CN117709981A (en) | Tobacco product monitoring method, device and management system | |
CN110858211B (en) | Data storage method, device and system and storage medium | |
Trouw et al. | The xy oracle network: The proof-of-origin based cryptographic location network | |
CN117009683A (en) | Codeword data processing method and device, electronic equipment and storage medium | |
KR102169311B1 (en) | Subscription method using smart contract based block chain | |
CN110599347A (en) | Bill processing method, device, computer readable storage medium and computer equipment | |
CN113919827A (en) | Virtual resource account creating method and device, storage medium and electronic equipment |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190913 |