CN110288300A - The method for carrying out the charging of packaging bag logistic track based on block chain technology - Google Patents

The method for carrying out the charging of packaging bag logistic track based on block chain technology Download PDF

Info

Publication number
CN110288300A
CN110288300A CN201910579879.2A CN201910579879A CN110288300A CN 110288300 A CN110288300 A CN 110288300A CN 201910579879 A CN201910579879 A CN 201910579879A CN 110288300 A CN110288300 A CN 110288300A
Authority
CN
China
Prior art keywords
block
participant
packaging bag
charging
service node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910579879.2A
Other languages
Chinese (zh)
Inventor
田川
尹祖伟
李鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING HC-INNOVATION TECH Co.,Ltd.
Original Assignee
Wuxi Huaxi World Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Huaxi World Technology Co Ltd filed Critical Wuxi Huaxi World Technology Co Ltd
Priority to CN201910579879.2A priority Critical patent/CN110288300A/en
Publication of CN110288300A publication Critical patent/CN110288300A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination

Abstract

The invention proposes a kind of methods for carrying out the charging of packaging bag logistic track based on block chain technology, comprising: disposes two Peer trading processing service nodes to the block catenary system of participant, disposes corresponding charging regulation in the form of intelligent contract;The own system of participant obtains the container image file of corresponding block catenary system, with the block chain business API service node voluntarily disposed in its own system and own call charge service system, the interaction of two Peer trading processing service nodes in own system and its block catenary system to realize participant.The present invention is based on block chain technology and it is equipped with the support of container cloud, realization allows multi-party participant that can fast and accurately establish believable packaging bag tracking, charge system, and the inside industry of efficient, non-interfering each participant of complete independently.

Description

The method for carrying out the charging of packaging bag logistic track based on block chain technology
Technical field
The present invention relates to block chain technical fields, in particular to a kind of to carry out packaging bag logistic track based on block chain technology The method of charging.
Background technique
With the continuous development of logistics transportation business, the continuous improvement of living standards of the people, used during logistics transportation Non-returnable container bag quantity present explosive growth, cause the great wasting of resources and environmental pollution.
To solve the above problems, logistics and transportation industry just starts the upsurge using the enviroment protective packing bag that can be repeatedly multiplexed.? During this, logistics transportation company and packaging bag production are held company and are gradually taken by actual use situation payment rental charge Similar business model, to achieve the purpose that reduce use cost, professional division.
But above-mentioned settling mode has the following problems in actual job: how to guarantee the business procedure participated in many ways The logistic track of middle packaging bag and the accuracy of metering data and credibility.Due to the application system of complicated logistics environment, isomery The many factors such as system, more participant and company cause packaging bag tracking and account software to be difficult to safeguard, original tracking is remembered Record data exchange is difficult and easy to be lost, metering data compares account caused by very complicated, charging regulation ambiguity resolution etc. in many ways Problem takes place frequently, even results in mutual trust basis between each participant sharply decline etc. similar problems generation it is more and more, how to have Effect avoids roadblock of the above problem just at enviroment protective packing bag business development.
Summary of the invention
The purpose of the present invention aims to solve at least one of described technological deficiency.
For this purpose, it is an object of the invention to propose a kind of side for carrying out the charging of packaging bag logistic track based on block chain technology Method.
To achieve the goals above, the embodiment of the present invention provide it is a kind of based on block chain technology carry out packaging bag logistics with The method of track charging is disposed with the block catenary system of multiple participants, the block chain of each participant on distributed block chain System is communicated with the own system of the corresponding participant,
(1) two Peer trading processing service nodes are disposed, in the form of intelligent contract to the block catenary system of participant Corresponding charging regulation is disposed, described two Peer trading processing service nodes include: the first Peer trading processing service node With the 2nd Peer trading processing service node, the intelligence contract is stored in the 2nd Peer trading processing service node;
(2) the own system of participant obtains the container image file of corresponding block catenary system, voluntarily to dispose it certainly Have the block chain business API service node in system and own call charge service system, with realize participant own system and its The interaction of two Peer trading processing service nodes in block catenary system;
(3) the first Peer trading processing service node receives the service order sent from the API service node Proposal by the first Peer trading processing service node verification Proposal signature, and is checked whether and is met access control letter Road, to API service node reverts back response message if meeting, the API node is further taken to the first Peer trading processing Be engaged in node propose transaction request, the first Peer trading processing service node to Order trade common recognition sequence service node turn Transaction request is issued, the 2nd Peer trading processing service node is received from Order transaction common recognition sequence service section The transaction block of point construction, verifies the transaction block by the 2nd Peer trading processing service node, after being proved to be successful, holds Licit traffic in the row transaction block, and it is synchronous with the first Peer trading processing service node, it is traded by the first Peer Processing service node simulation, which executes, trades and signs to transaction results, then by the corresponding business processing data of transaction results Be stored in the block catenary system or return to the own system of participant, with realize each participant to the logistics of packaging bag with Track charging.
Further, the 2nd Peer trading processing service node verifies the transaction block, comprising: checks transaction Whether the integrality and signature of structure repeat, and examine whether transaction meets Endorsement strategy, and check version in readset conjunction Whether this is consistent with account book, after executing the licit traffic in block, updates account book state.Further, the own charging industry Business system carries out charging using one of following two mode:
(1) based on the own call charge service system is according to the metering data from the block catenary system received It is calculated;
(2) the own call charge service system is according to the packaging bag usage record from the block catenary system received Independent counting, and the metering data voluntarily calculated is compared with the metering data that the block catenary system is fed back, and judges Whether the otherness of the two is located in default error range, and the reason of otherness occurs in analysis.
Further, for charging mode in (2): when the own call charge service system judges the charging number voluntarily calculated According to the otherness of the metering data fed back with the block catenary system, when being more than default error range, first to participant from There is system to be checked oneself, if it find that it is errorless, further the block catenary system of participant is checked, and inform other ginsengs The intelligent contract in block catenary system is repaired or improved with person, and uniformly redeploys upgrading.
Further, the block chain business API service node provides expansion interface calling function to access third party system System, wherein before accessing third party system, after the block chain business API service node obtains each participant agreement, to institute Third party system granting authorization letter of identity is stated, to share block chain data.
Further, the participant further executes following functions: using the scanning device being mounted on away on envelope curve to packet Pack is scanned, and is obtained packaging bag usage record, and the packaging bag usage record is uploaded to block catenary system, as can chase after It traces back trusted service data;By the intelligent contract according to the packaging bag usage record, calculated using the charging regulation prestored To believable real time billing data can be traced.
Further, the block chain technology uses Hyperledger Fabric technology, and the container cloud uses Docker Cloud.
The present invention also proposes a kind of method for carrying out the charging of packaging bag logistic track based on block chain technology, in distributed area Be disposed with the block catenary system of multiple participants on block chain, the block catenary system of each participant and the corresponding participant from There is system to be communicated,
(1) to the block catenary system deployment Order transaction common recognition sequence service node of participant, in the form of intelligent contract Dispose corresponding charging regulation;
(2) the own system of participant obtains the container image file of corresponding block catenary system, voluntarily to dispose it certainly Have the block chain business API service node in system and own call charge service system, with realize participant own system and its The interaction of Order transaction common recognition sequence service node in block catenary system;
(3) the Order transaction common recognition sequence service node is for the transaction request from API node or by the first Peer The transaction request of trading processing service node forwarding, and transaction is ranked up, corresponding transaction block is constructed, it then will transaction Block is sent to the 2nd Peer trading processing service node and carries out verifying and trading processing, then by the corresponding business of transaction results Processing data are stored in the block catenary system or return to the own system of participant, to realize each participant to packaging bag Logistic track charging.
Further, the Order transaction common recognition sequence service node will construct corresponding transaction block and be sent to second Peer trading processing service node, the 2nd Peer trading processing service node verifies the transaction block, after being proved to be successful, The licit traffic in the transaction block is executed, and synchronous with the first Peer trading processing service node, is handed over by the first Peer Easy to handle service node simulation, which executes, trades and signs to transaction results.
Further, the own call charge service system carries out charging using one of following two mode:
(1) based on the own call charge service system is according to the metering data from the block catenary system received It is calculated;
(2) the own call charge service system is according to the packaging bag usage record from the block catenary system received Independent counting, and the metering data voluntarily calculated is compared with the metering data that the block catenary system is fed back, and judges Whether the otherness of the two is located in default error range, and the reason of otherness occurs in analysis, when the own call charge service system The otherness of the metering data of metering data and block catenary system feedback that system judgement voluntarily calculates, is more than default error model When enclosing, the own system of participant is checked oneself first, if it find that errorless then further to the block catenary system of participant It is checked, and informs the intelligent contract that other participants are repaired or improved in block catenary system, and uniformly redeploy upgrading.
Further, the participant further executes following functions: using the scanning device being mounted on away on envelope curve to packet Pack is scanned, and is obtained packaging bag usage record, and the packaging bag usage record is uploaded to block catenary system, as can chase after It traces back trusted service data;By the intelligent contract according to the packaging bag usage record, calculated using the charging regulation prestored To believable real time billing data can be traced.
Further, the block chain technology uses Hyperledger Fabric technology, and the container cloud uses Docker Cloud.
The method according to an embodiment of the present invention that the charging of packaging bag logistic track is carried out based on block chain technology, it is multiple for having The logistics transportation business of heterocycle border and shared multiple-use package bag resource requirement based on block chain technology and is equipped with the support of container cloud, Realization allows multi-party participant that can fast and accurately establish believable packaging bag tracking, charge system, and efficiently, do not interfere with each other Each participant of complete independently interior business, while also share packaging bag using tracking during process, metering data With other outputs, with achieve the purpose that in many ways participate in cooperate.Present invention can ensure that entire tracking and call charge service process Steady progress, and can guarantee simultaneously to fair, the credible and business efficiency of each participant, can effectively be met due to reality To the high request of business realizing caused by environment and the complexity participated in many ways.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is to illustrate figure according to the HyperLedger Fabric process of exchange of the embodiment of the present invention;
Fig. 2 is the technology image figure according to the Docker container of the embodiment of the present invention;
Fig. 3 is the stream according to the method for carrying out the charging of packaging bag logistic track based on block chain technology of the embodiment of the present invention Cheng Tu;
Fig. 4 is the side that the charging of packaging bag logistic track is carried out based on block chain technology according to another embodiment of the present invention The flow chart of method;
Fig. 5 is the system deployment pattern diagram according to the embodiment of the present invention;
Fig. 6 is block chain containerization environment-business activity schematic diagram according to the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
The present invention proposes a kind of method for carrying out the charging of packaging bag logistic track based on block chain technology, may be implemented to object The packaging bag logistic track data and metering data in transportational process are flowed, reinforces tractability, improves confidence level, promoted accurately Degree simplifies the purpose of complexity.
It is first before being illustrated to the method for the invention for carrying out the charging of packaging bag logistic track based on block chain technology First the portion of techniques title applied in the application is illustrated.
(1) block chain:
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm Application model.For narrow sense, block chain is that data block is combined by one kind in such a way that sequence is connected sequentially in time A kind of linked data structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Broadly, Block chain is to verify to know together algorithm with storing data, using distributed node to generate and update using block linked data structure Data, utilize the intelligence being made of automatized script code at the safety for guaranteeing data transmission and access in the way of cryptography Contract programs the completely new distributed basis framework and calculation of one kind with operation data.
(2) Hyperledger Fabric:
With reference to Fig. 1, Hyperledger Fabric is an open source block towards enterprise-level client of Linux foundation Chain technological project.Node in Hyperledger Fabric network could be added after having to pass through authorization identifying, and substantially mention High transaction processing efficiency, using the system design philosophies of high modularization, by purview certification, common recognition service, endorsement, block Modules such as submission etc. are deployed separately, and are allow developer according to specific business scenario replacement module, are realized module Plug-in type management.
(3) container cloud:
Container be isolated to operate on host different processes by some mapping isolation technologies, thus reach process it Between, process and host operating system are mutually isolated, the technology that is independent of each other.This mutually isolated process is just container, it has The a set of file system resource and dependent processes of oneself;It is deployed in the container of cloud computing platform, it can be soft by the Container Management of profession What part carried out high-volume automatic management is container cloud.
(4) Docker:
It is the container engine of an open source with reference to Fig. 2, Docker, easily can creates a lightweight for any application , transplantable, self-centered container;And more than resource needed for virtualization technology light weight.
(5) mirror image (Image):
Mirror image is exactly the unified visual angle of a pile read only layer (read-only layer), such as Docker, Docker is exactly that one group of software for having cured software relationship and configuration is distributed by image file to user, user After obtaining mirror image, so that it may the software in mirror image has easily been run, without having the relevant professional skill of these softwares.
Below with reference to Fig. 1 to Fig. 6 to the method for the invention for carrying out the charging of packaging bag logistic track based on block chain technology It is illustrated.
As shown in Figure 3 and Figure 4, the side that the charging of packaging bag logistic track is carried out based on block chain technology of the embodiment of the present invention Method, is disposed with the block catenary system of multiple participants on distributed block chain, the block catenary system of each participant with it is corresponding The own system of the participant communicate.
(1) two Peer trading processing service nodes are disposed, with intelligent contract to the block catenary system of each participant Form disposes corresponding charging regulation, and two Peer trading processing service nodes include: the first Peer trading processing service node (Endorser) and the 2nd Peer trading processing service node (Comitter), intelligent contract are stored in the 2nd Peer trading processing In service node, with reference to shown in Fig. 1.
Refering to what is shown in Fig. 5, by the deployment personnel of profession by container mirror image, in accordance with unified planning voluntarily portion in container cloud Affix one's name to all kinds of service nodes.By the image file of container cloud carry out to each side distribute have cured software relationship and configuration one group it is soft Part, realization that can be easy are disposed.For example, generally at least being disposed in a CA certificate for the participant (company) of each party Heart node, Order transaction common recognition sequence a service node, two Peer trading processing service nodes, a block chain business API service node.It should be noted that the service node quantity of top can according to need and be adjusted deployment.
In addition, in the present invention, the node of shared other side is allowed between different participants.Specifically, for it is some compared with It can also be participated in deployment portion directly as the inside composition of larger participant if its agreement of the participant by small participant Partial node.For example, block catenary system only disposes Peer trading processing service node, other services for lesser participant Node then shares the node in the block catenary system using larger participant.
Other than disposing above-mentioned service node in the block catenary system in participant, the further portion in the form of intelligent contract Affix one's name to corresponding charging regulation.Specifically, the logics such as main charging regulation are written as to the intelligence increased income in unified block chain Energy contract program, then by related side's autonomous deployment in same channel into own node.Wherein, own node refers to block chain System, the node being deployed on own machine, block chain can be with distributed deployments, it is possible to which a part is deployed in A public affairs Department, a part are deployed in B company, referred to be exactly deployed position that these companies have by oneself, these positions can be beyond the clouds, It is also possible to oneself local area network (but can be communicated with outer net).
Preferably, block chain technology uses Hyperledger Fabric technology, and container cloud uses Docker cloud.It needs It is noted that block chain technology and container cloud of the invention is not limited to the example above, it can also be real using other technologies Existing, details are not described herein.
(2) the own system of each participant obtains the container image file of corresponding block catenary system, voluntarily to dispose Block chain business API service node and own call charge service system in its own system, to realize the own system of participant With the interaction of two Peer trading processing service nodes in its block catenary system.This deployment side using container image file Formula is simple and easy to operate.
(3) the first Peer trading processing service nodes receive the service order Proposal sent from API service node, It by the first Peer trading processing service node verification Proposal signature, and checks whether and meets access control channel, if full It is sufficient then to API service node reverts back response message, API node further proposes to trade to the first Peer trading processing service node Request, the first Peer trading processing service node are transmitted to transaction request to Order transaction common recognition sequence service node, and second Peer trading processing service node receives the transaction block from Order transaction common recognition sequence service node construction, by second Peer trading processing service node verifies the transaction block, after being proved to be successful, executes the legal friendship in the transaction block Easily, and it is synchronous with the first Peer trading processing service node, it is simulated by the first Peer trading processing service node and executes transaction simultaneously It signs to transaction results, then the corresponding business processing data of transaction results is stored in block catenary system or is returned to The own system of participant, to realize logistic track charging of each participant to packaging bag.
In an embodiment of the present invention, the 2nd Peer trading processing service node verifies the transaction block, comprising: Whether the integrality and signature for checking structure of deal repeat, and examine whether transaction meets Endorsement strategy, and check reading Whether version and account book are consistent in set, after executing the licit traffic in block, update account book state.
Specifically, with reference to Fig. 6, the own system of each side participant, by own block chain business API service node, Corresponding service instruction is sent, intelligent contract carries out corresponding service processing after receiving corresponding instruction, to carry out more business Or the processing such as charging regulation calculates, inquiry, and related data is stored in block chain or is inquired from block chain and is returned to respectively In the own system of square participant.
In an embodiment of the present invention, the service order that the own system of participant is sent includes one or more of: Business processing, the calculating of the expense of packaging bag, the inquiry of packaging bag usage record.
Own call charge service system carries out charging using one of following two mode:
(1) call charge service system is had by oneself according to being counted based on the metering data from block catenary system received It calculates;
(2) call charge service system is had by oneself independently to be counted according to the packaging bag usage record from block catenary system received Take, and the metering data voluntarily calculated is compared with the metering data that block catenary system is fed back, and judges the difference of the two Property whether be located in default error range, analysis there is the reason of otherness.
When the metering data that own call charge service system judgement voluntarily calculates and the metering data of block catenary system feedback Otherness first checks oneself the own system of participant when being more than default error range, if it find that errorless then further The block catenary system of participant is checked, and the intelligence for informing that other participants repair or improve in block catenary system is closed About, and uniformly upgrading is redeployed.
Specifically, when being more than default error range, first self checking own charging regulation, charging number when finding differences property It is whether consistent and the problems such as voluntarily analysis difference is by what generation in block chain using data etc. according to, packaging bag.If it is Participant from caused by systematic business misinterpretation or bug, then voluntarily correct own system problem;If it find that being base Plinth block chain charging regulation or intelligent contract program are wrong or have ambiguity, then inform other participants, solve ambiguity jointly, repair Or block chain intelligence contract program is improved, and uniformly redeploy upgrading.
By the above-mentioned means, may be implemented no matter the quantity of participant has more, it is not required to carry out mutually the operation such as reconciliation, or It only needs to carry out reconciliation operation with block catenary system, to enormously simplify the complexity of the charge system under multi-party participate in.
In one embodiment of the invention, block chain business API service node provides expansion interface calling function to connect Enter third party system, wherein before accessing third party system, block chain business API service node is obtained each participant and agreed to Afterwards, to third party system granting authorization letter of identity, to share block chain data.
Specifically, the own system of participant of the invention is supported to access more third parties or participant is internal machine Structure sets up independent charging or other business rules, can get block chain data by block chain business API service, can also Referring to block chain technical requirements, and authorization letter of identity is provided after obtaining each side and agreeing to.Then can voluntarily it be extended with related side Related service logic even establishes autonomous channel, the block chain data that still can be used each side shared, therefore also ensures that industry It the trusted sources for data of being engaged in and avoids mistake, and there is stronger scalability.
It should be noted that each participant has system by oneself in addition to the functions discussed above, below further alternative execution Function:
Packaging bag is scanned using the scanning device being mounted on away on envelope curve, obtains packaging bag usage record, and will The packaging bag usage record is uploaded to block catenary system, as traceable trusted service data;By intelligent contract according to packaging bag Usage record is calculated using the charging regulation prestored and believable real time billing data can be traced.
Scanning device can walk envelope curve equipment or target rifle etc. using Environmental protection bag.With reference to Fig. 6, block is uploaded to by scanning device Packaging bag usage record in catenary system can be used as the original retrospective business datum that can not be distorted, for intelligent contract Program and each side have system queries by oneself and use.Intelligent contract is when receiving packaging bag usage record, in real time according in step S1 The charging regulation of deployment carries out the calculating of packaging bag expense, and calculated result is stored in block catenary system, as it is original not The retrospective believable real time billing data that can be distorted use so that each side has system queries by oneself.
It should be noted that above-mentioned function is not that the own system of each participant is required to execute, according to participant Mission requirements selectively be unfolded.
The present invention is based on block chain technologies to construct the packaging bag distributed tracking call charge service and be that height is credible, can trace to the source System, and additional reservoir cloud deployment techniques are packaged complicated deployed environment, decouple, containerization, to realize each participant It is shared use, the stable service environment of mutual trusting and mutual benefiting, possess between each participant can shared service product cooperative mechanism, Complicated business model can effectively be safeguarded by the unification of each participant, be simplified, and common business development personnel are not required to too much The purpose of intervention.It is using block chain technology to be deployed in container cloud environment, more can significantly reduce the complexity of system environments, Conducive to the maintenance and steady use of environment, also it is conducive to the extension of system from now on.
The present invention also proposes a kind of method for carrying out the charging of packaging bag logistic track based on block chain technology, in distributed area Be disposed with the block catenary system of multiple participants on block chain, the block catenary system of each participant and the corresponding participant from There is system to be communicated,
(1) to the block catenary system deployment Order transaction common recognition sequence service node of participant, in the form of intelligent contract Dispose corresponding charging regulation;
(2) the own system of participant obtains the container image file of corresponding block catenary system, voluntarily to dispose it certainly Have the block chain business API service node in system and own call charge service system, with realize participant own system and its The interaction of Order transaction common recognition sequence service node in block catenary system;
(3) Order transaction common recognition sequence service node is traded for the transaction request from API node or by the first Peer The transaction request of service node forwarding is handled, and transaction is ranked up, constructs corresponding transaction block, then will trade block It is sent to the 2nd Peer trading processing service node and carries out verifying and trading processing, then by the corresponding business processing of transaction results Data are stored in block catenary system or return to the own system of participant, with realize each participant to the logistics of packaging bag with Track charging, with reference to shown in Fig. 1.
Specifically, Order transaction common recognition sequence service node will construct corresponding transaction block and be sent to the 2nd Peer friendship Easy to handle service node, the 2nd Peer trading processing service node verifies the transaction block, and after being proved to be successful, executing should Licit traffic in transaction block, and it is synchronous with the first Peer trading processing service node, by the first Peer trading processing Service node simulation, which executes, trades and signs to transaction results.
Specifically, with reference to Fig. 6, the own system of each side participant, by own block chain business API service node, Corresponding service instruction is sent, intelligent contract carries out corresponding service processing after receiving corresponding instruction, to carry out more business Or the processing such as charging regulation calculates, inquiry, and related data is stored in block chain or is inquired from block chain and is returned to respectively In the own system of square participant.
In an embodiment of the present invention, the service order that the own system of participant is sent includes one or more of: Business processing, the calculating of the expense of packaging bag, the inquiry of packaging bag usage record.
Own call charge service system carries out charging using one of following two mode:
(1) call charge service system is had by oneself according to being counted based on the metering data from block catenary system received It calculates;
(2) call charge service system is had by oneself independently to be counted according to the packaging bag usage record from block catenary system received Take, and the metering data voluntarily calculated is compared with the metering data that block catenary system is fed back, and judges the difference of the two Property whether be located in default error range, analysis there is the reason of otherness.
When the metering data that own call charge service system judgement voluntarily calculates and the metering data of block catenary system feedback Otherness first checks oneself the own system of participant when being more than default error range, if it find that errorless then further The block catenary system of participant is checked, and the intelligence for informing that other participants repair or improve in block catenary system is closed About, and uniformly upgrading is redeployed.
Specifically, when being more than default error range, first self checking own charging regulation, charging number when finding differences property It is whether consistent and the problems such as voluntarily analysis difference is by what generation in block chain using data etc. according to, packaging bag.If it is Participant from caused by systematic business misinterpretation or bug, then voluntarily correct own system problem;If it find that being base Plinth block chain charging regulation or intelligent contract program are wrong or have ambiguity, then inform other participants, solve ambiguity jointly, repair Or block chain intelligence contract program is improved, and uniformly redeploy upgrading.
By the above-mentioned means, may be implemented no matter the quantity of participant has more, it is not required to carry out mutually the operation such as reconciliation, or It only needs to carry out reconciliation operation with block catenary system, to enormously simplify the complexity of the charge system under multi-party participate in.
In one embodiment of the invention, block chain business API service node provides expansion interface calling function to connect Enter third party system, wherein before accessing third party system, block chain business API service node is obtained each participant and agreed to Afterwards, to third party system granting authorization letter of identity, to share block chain data.
Specifically, the own system of participant of the invention is supported to access more third parties or participant is internal machine Structure sets up independent charging or other business rules, can get block chain data by block chain business API service, can also Referring to block chain technical requirements, and authorization letter of identity is provided after obtaining each side and agreeing to.Then can voluntarily it be extended with related side Related service logic even establishes autonomous channel, the block chain data that still can be used each side shared, therefore also ensures that industry It the trusted sources for data of being engaged in and avoids mistake, and there is stronger scalability.
It should be noted that each participant has system by oneself in addition to the functions discussed above, below further alternative execution Function:
Packaging bag is scanned using the scanning device being mounted on away on envelope curve, obtains packaging bag usage record, and will The packaging bag usage record is uploaded to block catenary system, as traceable trusted service data;By intelligent contract according to packaging bag Usage record is calculated using the charging regulation prestored and believable real time billing data can be traced.
Scanning device can walk envelope curve equipment or target rifle etc. using Environmental protection bag.With reference to Fig. 6, block is uploaded to by scanning device Packaging bag usage record in catenary system can be used as the original retrospective business datum that can not be distorted, for intelligent contract Program and each side have system queries by oneself and use.Intelligent contract is when receiving packaging bag usage record, in real time according in step S1 The charging regulation of deployment carries out the calculating of packaging bag expense, and calculated result is stored in block catenary system, as it is original not The retrospective believable real time billing data that can be distorted use so that each side has system queries by oneself.
It should be noted that above-mentioned function is not that the own system of each participant is required to execute, according to participant Mission requirements selectively be unfolded.
The present invention is based on block chain technologies to construct the packaging bag distributed tracking call charge service and be that height is credible, can trace to the source System, and additional reservoir cloud deployment techniques are packaged complicated deployed environment, decouple, containerization, to realize each participant It is shared use, the stable service environment of mutual trusting and mutual benefiting, possess between each participant can shared service product cooperative mechanism, Complicated business model can effectively be safeguarded by the unification of each participant, be simplified, and common business development personnel are not required to too much The purpose of intervention.It is using block chain technology to be deployed in container cloud environment, more can significantly reduce the complexity of system environments, Conducive to the maintenance and steady use of environment, also it is conducive to the extension of system from now on.
The present invention provides a set of believable accurate packaging bag logistic track and charging easy to maintain for participating in many ways System environments and mark post business model make system environments in the case where multi-party environment and private service system rely on complicated Distributed isolation is carried out with container cloud, and after taking block chain technology to construct operation system, is not only able to satisfy daily each Confidence level, the retrospective of business datum also can be improved in the conventional requirement for the distributed business system that can be participated in, and enhances business energy The scalability of power.In addition, the present invention further improves the maintainability and consistency of service environment, although need to put into additional Block chain, the study of container cloud, lower deployment cost, but the core technology due to reasonably encapsulating, taking mainstream, not only not Increase too many cost, and integrate and also effectively reduce exploitation, maintenance cost, improves exploitation, maintenance efficiency.And And the present invention can be ensure that more when team, each side needs collaborative development, maintenance using identical block chain, container cloud Square environment, technology, the consistency of core business, reduce under multi-party case in order to it is credible it is available caused by link up, failure at This, reduces the actual cost of each side, the above feature is also combined in current technology and business complexity instead in general It is required that the multi-party application and development of higher and higher industry and business activity customize.
The method according to an embodiment of the present invention that the charging of packaging bag logistic track is carried out based on block chain technology, it is multiple for having The logistics transportation business of heterocycle border and shared multiple-use package bag resource requirement based on block chain technology and is equipped with the support of container cloud, Realization allows multi-party participant that can fast and accurately establish believable packaging bag tracking, charge system, and efficiently, do not interfere with each other Each participant of complete independently interior business, while also share packaging bag using tracking during process, metering data With other outputs, with achieve the purpose that in many ways participate in cooperate.Present invention can ensure that entire tracking and call charge service process Steady progress, and can guarantee simultaneously to fair, the credible and business efficiency of each participant, can effectively be met due to reality To the high request of business realizing caused by environment and the complexity participated in many ways.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention By appended claims and its equivalent limit.

Claims (10)

1. a kind of method for carrying out the charging of packaging bag logistic track based on block chain technology, which is characterized in that in distributed block It is disposed with the block catenary system of multiple participants on chain, the block catenary system of each participant is own with the corresponding participant's System is communicated,
(1) two Peer trading processing service nodes disposed to the block catenary system of participant, disposed in the form of intelligent contract Corresponding charging regulation, described two Peer trading processing service nodes include: the first Peer trading processing service node and Two Peer trading processing service nodes, the intelligence contract are stored in the 2nd Peer trading processing service node;
(2) the own system of participant obtains the container image file of corresponding block catenary system, voluntarily to dispose its own system Block chain business API service node and own call charge service system in system, to realize the own system and its block of participant The interaction of two Peer trading processing service nodes in catenary system;
(3) the first Peer trading processing service node receives the service order sent from the API service node Proposal by the first Peer trading processing service node verification Proposal signature, and is checked whether and is met access control letter Road, to API service node reverts back response message if meeting, the API node is further taken to the first Peer trading processing Be engaged in node propose transaction request, the first Peer trading processing service node to Order trade common recognition sequence service node turn Transaction request is issued, the 2nd Peer trading processing service node is received from Order transaction common recognition sequence service section The transaction block of point construction, verifies the transaction block by the 2nd Peer trading processing service node, after being proved to be successful, holds Licit traffic in the row transaction block, and it is synchronous with the first Peer trading processing service node, it is traded by the first Peer Processing service node simulation, which executes, trades and signs to transaction results, then by the corresponding business processing data of transaction results Be stored in the block catenary system or return to the own system of participant, with realize each participant to the logistics of packaging bag with Track charging.
2. the method for carrying out the charging of packaging bag logistic track based on block chain technology as described in claim 1, which is characterized in that The 2nd Peer trading processing service node verifies the transaction block, comprising: check the integrality of structure of deal with And whether signature repeats, and examines whether transaction meets Endorsement strategy, and check readset close in version and account book whether one It causes, after executing the licit traffic in block, updates account book state.
3. the method for carrying out the charging of packaging bag logistic track based on block chain technology as described in claim 1, which is characterized in that The own call charge service system carries out charging using one of following two mode:
(1) the own call charge service system based on the metering data from the block catenary system received according to carrying out It calculates;
(2) the own call charge service system is independent according to the packaging bag usage record from the block catenary system received Both charging, and the metering data voluntarily calculated is compared with the metering data that the block catenary system is fed back, and is judged Otherness whether be located in default error range, analysis there is the reason of otherness, when the own call charge service system is sentenced The otherness of the disconnected metering data voluntarily calculated and the metering data of block catenary system feedback is more than default error range When, the own system of participant is checked oneself first, if it find that it is errorless then further to the block catenary system of participant into Row checks, and informs the intelligent contract that other participants are repaired or improved in block catenary system, and uniformly redeploy upgrading.
4. the method for carrying out the charging of packaging bag logistic track based on block chain technology as described in claim 1, which is characterized in that The participant further executes following functions: being scanned, is obtained to packaging bag using the scanning device being mounted on away on envelope curve Packaging bag usage record is taken, and the packaging bag usage record is uploaded to block catenary system, as traceable trusted service data; By the intelligent contract according to the packaging bag usage record, being calculated using the charging regulation prestored can be traced believable reality When metering data.
5. the method according to any one of claims 1-4 that the charging of packaging bag logistic track is carried out based on block chain technology, It is characterized in that, the block chain technology uses Hyperledger Fabric technology, and the container cloud uses Docker cloud.
6. a kind of method for carrying out the charging of packaging bag logistic track based on block chain technology, which is characterized in that in distributed block It is disposed with the block catenary system of multiple participants on chain, the block catenary system of each participant is own with the corresponding participant's System is communicated,
(1) it is disposed to the block catenary system deployment Order transaction common recognition sequence service node of participant, in the form of intelligent contract Corresponding charging regulation;
(2) the own system of participant obtains the container image file of corresponding block catenary system, voluntarily to dispose its own system Block chain business API service node and own call charge service system in system, to realize the own system and its block of participant The interaction of Order transaction common recognition sequence service node in catenary system;
(3) the Order transaction common recognition sequence service node is traded for the transaction request from API node or by the first Peer The transaction request of service node forwarding is handled, and transaction is ranked up, constructs corresponding transaction block, then will trade block It is sent to the 2nd Peer trading processing service node and carries out verifying and trading processing, then by the corresponding business processing of transaction results Data are stored in the block catenary system or return to the own system of participant, to realize each participant to the object of packaging bag Stream tracking charging.
7. the method for carrying out the charging of packaging bag logistic track based on block chain technology as claimed in claim 6, which is characterized in that The Order transaction common recognition sequence service node will construct corresponding transaction block and be sent to the 2nd Peer trading processing service section Point, the 2nd Peer trading processing service node verifies the transaction block, after being proved to be successful, executes in the transaction block Licit traffic, and it is synchronous with the first Peer trading processing service node, it is simulated by the first Peer trading processing service node It executes and trades and sign to transaction results.
8. the method for carrying out the charging of packaging bag logistic track based on block chain technology as claimed in claim 6, which is characterized in that The own call charge service system carries out charging using one of following two mode:
(1) the own call charge service system based on the metering data from the block catenary system received according to carrying out It calculates;
(2) the own call charge service system is independent according to the packaging bag usage record from the block catenary system received Both charging, and the metering data voluntarily calculated is compared with the metering data that the block catenary system is fed back, and is judged Otherness whether be located in default error range, analysis there is the reason of otherness, when the own call charge service system is sentenced The otherness of the disconnected metering data voluntarily calculated and the metering data of block catenary system feedback is more than default error range When, the own system of participant is checked oneself first, if it find that it is errorless then further to the block catenary system of participant into Row checks, and informs the intelligent contract that other participants are repaired or improved in block catenary system, and uniformly redeploy upgrading.
9. the method for carrying out the charging of packaging bag logistic track based on block chain technology as claimed in claim 6, which is characterized in that The participant further executes following functions: being scanned, is obtained to packaging bag using the scanning device being mounted on away on envelope curve Packaging bag usage record is taken, and the packaging bag usage record is uploaded to block catenary system, as traceable trusted service data; By the intelligent contract according to the packaging bag usage record, being calculated using the charging regulation prestored can be traced believable reality When metering data.
10. the method that the charging of packaging bag logistic track is carried out based on block chain technology as claim in any one of claims 6-9, It is characterized in that, the block chain technology uses Hyperledger Fabric technology, and the container cloud uses Docker cloud.
CN201910579879.2A 2019-06-28 2019-06-28 The method for carrying out the charging of packaging bag logistic track based on block chain technology Pending CN110288300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910579879.2A CN110288300A (en) 2019-06-28 2019-06-28 The method for carrying out the charging of packaging bag logistic track based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910579879.2A CN110288300A (en) 2019-06-28 2019-06-28 The method for carrying out the charging of packaging bag logistic track based on block chain technology

Publications (1)

Publication Number Publication Date
CN110288300A true CN110288300A (en) 2019-09-27

Family

ID=68019883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910579879.2A Pending CN110288300A (en) 2019-06-28 2019-06-28 The method for carrying out the charging of packaging bag logistic track based on block chain technology

Country Status (1)

Country Link
CN (1) CN110288300A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539694A (en) * 2020-04-29 2020-08-14 重庆忽米网络科技有限公司 Cooperative working method and system based on block chain record contribution and identity identification
CN112750260A (en) * 2021-03-02 2021-05-04 华录智达科技股份有限公司 Quick safety response communication system of intelligent vehicle-mounted terminal
CN114268634A (en) * 2021-06-02 2022-04-01 支付宝(杭州)信息技术有限公司 Business execution method based on off-chain computing service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769750A (en) * 2018-05-02 2018-11-06 中广热点云科技有限公司 A kind of digital content banking system based on block chain technology
CN109151013A (en) * 2018-08-13 2019-01-04 南京邮电大学 Logistics information platform based on alliance's block chain
US20190080284A1 (en) * 2017-09-11 2019-03-14 Accenture Global Solutions Limited Distributed ledger technology for freight system
CN109919676A (en) * 2019-03-05 2019-06-21 苏州卡海尔思信息技术有限公司 A kind of intelligent environment protection bag accounting management method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190080284A1 (en) * 2017-09-11 2019-03-14 Accenture Global Solutions Limited Distributed ledger technology for freight system
CN108769750A (en) * 2018-05-02 2018-11-06 中广热点云科技有限公司 A kind of digital content banking system based on block chain technology
CN109151013A (en) * 2018-08-13 2019-01-04 南京邮电大学 Logistics information platform based on alliance's block chain
CN109919676A (en) * 2019-03-05 2019-06-21 苏州卡海尔思信息技术有限公司 A kind of intelligent environment protection bag accounting management method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539694A (en) * 2020-04-29 2020-08-14 重庆忽米网络科技有限公司 Cooperative working method and system based on block chain record contribution and identity identification
CN111539694B (en) * 2020-04-29 2023-10-20 重庆忽米网络科技有限公司 Collaborative work method and system based on blockchain record contribution and identity
CN112750260A (en) * 2021-03-02 2021-05-04 华录智达科技股份有限公司 Quick safety response communication system of intelligent vehicle-mounted terminal
CN114268634A (en) * 2021-06-02 2022-04-01 支付宝(杭州)信息技术有限公司 Business execution method based on off-chain computing service

Similar Documents

Publication Publication Date Title
Calvaresi et al. Multi-agent systems and blockchain: Results from a systematic literature review
Uriarte et al. Blockchain-based decentralized cloud/fog solutions: Challenges, opportunities, and standards
CN110599181B (en) Data processing method, device and equipment based on block chain and storage medium
Rathee et al. A secure communicating things network framework for industrial IoT using blockchain technology
CN108989389B (en) Method for establishing intelligent contract micro-servitization
US9946984B2 (en) System and method for transporting a document between a first service provider and a second service provider
CN110288300A (en) The method for carrying out the charging of packaging bag logistic track based on block chain technology
Liao et al. Securing collaborative environment monitoring in smart cities using blockchain enabled software-defined internet of drones
Patsonakis et al. Permissioned blockchains and virtual nodes for reinforcing trust between aggregators and prosumers in energy demand response scenarios
Mathur et al. A survey on role of blockchain for IoT: Applications and technical aspects
Tkachuk et al. A survey on blockchain-based telecommunication services marketplaces
Farooq et al. A blockchain-based framework for distributed agile software development
Fernández-Fernández et al. Multi-party collaboration in 5G networks via DLT-enabled marketplaces: A pragmatic approach
Karumba et al. Bailif: A blockchain agnostic interoperability framework
WALES Using blockchain to enable untrusted business process monitoring and execution
Koshizuka et al. Data-ex: Infrastructure for cross-domain data exchange based on federated architecture
WO2018235028A1 (en) A holistic human capital management digital platform
Nguyen et al. TrustedMaaS: Transforming trust and transparency Mobility-as-a-Service with blockchain
Kuruppuarachchi et al. Trusted and secure composite digital twin architecture for collaborative ecosystems
Jacobs Model-driven development of command and control capabilities for joint and coalition warfare
CN102523335A (en) Mobile terminal middleware system oriented to virtual community application
Mascardi et al. Engineering multi-agent systems Anno 2025
Aryal et al. Moving towards open radio access networks with blockchain technologies
Marathe et al. A Blockchain Implementation to Improve Collaboration between Original Equipment Manufacturers (OEM) and Partnering Organizations
Valtanen Design challenges of developing a blockchain-enabled smart home

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
TA01 Transfer of patent application right

Effective date of registration: 20210805

Address after: 101111 3-01, 3rd floor, building 5, yard 10, Jiachuang Road, Tongzhou District, Beijing

Applicant after: BEIJING HC-INNOVATION TECH Co.,Ltd.

Address before: 215002 Room 203, zone a, Liye building, No. 20 Qingyuan Road, sensor network University Science Park, Taike Park, Xinwu District, Wuxi City, Jiangsu Province

Applicant before: WUXI HUAXI WORLD TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right