CN113869838A - Transportation management method for chemical products - Google Patents
Transportation management method for chemical products Download PDFInfo
- Publication number
- CN113869838A CN113869838A CN202111461046.XA CN202111461046A CN113869838A CN 113869838 A CN113869838 A CN 113869838A CN 202111461046 A CN202111461046 A CN 202111461046A CN 113869838 A CN113869838 A CN 113869838A
- Authority
- CN
- China
- Prior art keywords
- uploaded
- logistics waybill
- logistics
- data
- waybill data
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Computing Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Bioethics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention relates to the technical field of chemical products, in particular to a transportation management method for chemical products, which comprises the following steps: verifying the identity of the logistics waybill provider; after the verification is passed, receiving logistics waybill data to be uploaded at each logistics stage, which is sent by a logistics waybill provider; determining the current state information of the logistics waybill data to be uploaded based on the logistics waybill data to be uploaded; determining the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data based on the current state information of the logistics waybill data to be uploaded; uploading the logistics waybill data to be uploaded to a block chain network based on the correlation relationship; and when the uploaded logistics waybill data are determined to be in a logistics finished state, the uploaded logistics waybill data are sent to an external checking mechanism so as to check the authenticity of the uploaded logistics waybill data. The scheme can solve the problem of false logistics waybill.
Description
Technical Field
The embodiment of the invention relates to the technical field of chemical products, in particular to a transportation management method for chemical products.
Background
Petroleum is the primary raw material for many chemical products, such as solvents, fertilizers, pesticides, and plastics. With the development of society, the demand of people on chemical products is gradually increased, so that the transportation management of the chemical products is gradually paid attention. The transportation management of the chemical products mainly refers to the management of the information of the chemical products in the transportation process or the logistics stage of the chemical products.
In the prior art, the transportation management of chemical products usually has the risk of false logistics waybills, which is not favorable for the development of the transportation management of the chemical products.
Therefore, there is a need for a transportation management method for chemical products to solve the above technical problems.
Disclosure of Invention
In order to solve the problem of false logistics waybill, the embodiment of the invention provides a transportation management method for chemical products.
The embodiment of the invention provides a transportation management method for chemical products, which is applied to an uploading verification device, wherein the uploading verification device is respectively in communication connection with a logistics waybill provider and a blockchain network, and the method comprises the following steps:
verifying the identity of the logistics waybill provider;
after the verification is passed, receiving logistics waybill data to be uploaded at each logistics stage, which is sent by the logistics waybill provider;
determining the current state information of the logistics waybill data to be uploaded based on the logistics waybill data to be uploaded;
determining the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data based on the current state information of the logistics waybill data to be uploaded;
uploading the logistics waybill data to be uploaded to the block chain network based on the correlation relationship;
and when the uploaded logistics waybill data are determined to be in a logistics finished state, the uploaded logistics waybill data are sent to an external checking mechanism so as to check the authenticity of the uploaded logistics waybill data.
In one possible design, the verifying the identity of the logistics waybill provider includes:
and comparing the identity of the logistics waybill provider with a pre-stored identity, judging whether the pre-stored identity comprises the identity of the logistics waybill provider, and if so, checking to pass.
In one possible design, the determining current state information of the to-be-uploaded logistics invoice data includes:
acquiring name information of the logistics waybill data to be uploaded;
inquiring the name information in a preset database; the database stores name information of the logistics waybill data and state information corresponding to the name information;
if the name information cannot be inquired, determining that the current state information of the logistics waybill data to be uploaded is initial state information;
if the name information can be inquired, acquiring tail state information corresponding to the name information from the database, and determining the current state information of the logistics waybill data to be uploaded as the next state information of the tail state information.
In one possible design, name information is stored in a preset field position of the logistics waybill data to be uploaded;
the acquiring of the name information of the logistics waybill data to be uploaded comprises the following steps:
and processing the logistics waybill data to be uploaded according to a preset acquisition rule so as to acquire name information of the logistics waybill data to be uploaded.
In one possible design, the determining, based on the current state information of the to-be-uploaded logistics waybill data, a correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data includes:
and if the current state information is the initial state information, determining that the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data is irrelevant.
In one possible design, when the correlation relationship is irrelevant, the uploading the to-be-uploaded logistics waybill data to the blockchain network based on the correlation relationship includes:
storing first related information in a preset database; uploading the logistics waybill data to be uploaded to the block chain network; wherein the first related information comprises: and the name information, the initial state information, the hash function information and the corresponding relation among the three information of the logistics waybill data to be uploaded.
In one possible design, the determining, based on the current state information of the to-be-uploaded logistics waybill data, a correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data includes:
and if the current state information is not the initial state information, determining that the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data is relevant, and iterating the uploaded logistics waybill data by using the to-be-uploaded logistics waybill data.
In one possible design, when the correlation relationship is correlation, the uploading the to-be-uploaded logistics waybill data to the blockchain network based on the correlation relationship includes:
based on the name information of the logistics waybill data to be uploaded, inquiring tail state information corresponding to the name information and hash function information corresponding to the tail state information from a preset database; the database stores name information of logistics waybill data, at least one piece of state information corresponding to the name information and hash function information corresponding to each piece of state information;
determining whether uploaded logistics waybill data corresponding to the hash function information can be obtained in the blockchain network based on the inquired hash function information;
if so, executing: generating latest state information and logistics waybill data corresponding to the latest state information based on the obtained uploaded logistics waybill data and the to-be-uploaded logistics waybill data; storing the second related information in a preset database; uploading the logistics waybill data corresponding to the latest state information to the block chain network; wherein the second related information includes: the name information of the logistics waybill data to be uploaded, the latest state information, the logistics waybill data corresponding to the latest state information and the corresponding relation among the information of the logistics waybill data to be uploaded, the latest state information is the next state information of the last state information;
and if not, terminating the uploading of the logistics waybill data to be uploaded to the block chain network.
In one possible design, after the storing the second relevant information in the preset database and before the uploading the to-be-uploaded logistics list data to the blockchain network, the method further includes:
judging whether third relevant information exists in the database or not; the name information, the latest state information and the hash function information of the logistics waybill data included in the third relevant information and the second relevant information are the same;
and if so, selecting any one of the third related information and the second related information, and uploading logistics waybill data corresponding to the latest state information included in the selected one related information to a block chain network.
In one possible design, the sending the uploaded physical distribution slip data to an external verification authority to verify authenticity of the uploaded physical distribution slip data includes:
calling an intelligent contract to acquire uploaded logistics waybill data from the blockchain network;
sending the uploaded logistics waybill data to an external checking mechanism so as to check the authenticity of the uploaded logistics waybill data according to prestored logistics waybill data by using the external checking mechanism;
and receiving a verification result sent by the verification mechanism.
In one possible design, the logistics stage includes at least one of a waybill generation stage, a waybill deployment stage, a ship from stage, a ship to stage, and a freight payment stage.
The embodiment of the invention provides a transportation management method for chemical products, which is characterized in that the authenticity of the uploaded logistics waybill data is verified by sending the uploaded logistics waybill data to an external verification mechanism, so that the authenticity of the uploaded logistics waybill data is improved, and the occurrence of false logistics waybill can be effectively avoided; meanwhile, the to-be-uploaded logistics waybill data at each logistics stage sent by the logistics waybill provider is uploaded to the block chain network, so that the non-tamper property of the logistics waybill data is ensured, and the traceability of the logistics waybill is ensured.
In addition, the state information is set, the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data can be embodied, so that the logistics waybill provider only needs to send the modified partial data to the uploading checking device, and does not need to send the complete data to the uploading checking device, and the uploading requirement between the logistics waybill providers with data not shared can be met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a transportation management method for chemical products according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As mentioned above, the chemical product management has a risk of false physical distribution of waybills, which is not favorable for the development of chemical product management. For example, current freight management is mainly governed by a freight platform selected by a chemical industry enterprise, during the transportation of chemical products, the freight platform may tamper with the logistics waybill in each logistics stage, for example, a batch of chemical products are transported from a place a to a place B, and the transportation means is appointed to adopt air transportation, but the freight platform may adopt a land transportation mode, but the air transportation is embodied in the logistics waybill (that is, the logistics waybill is a false logistics waybill), so that the stable and benign development of the logistics business is not facilitated.
In order to solve the technical problem, a third-party verification mechanism (such as a freight track supervision mechanism) can be considered to be introduced to verify the authenticity of the logistics waybill data, so that the authenticity and reliability of the uploaded logistics waybill data are improved; and meanwhile, a block chain technology is introduced to ensure the non-tamper property of the physical distribution waybill data and ensure the traceability of the physical distribution waybill.
In addition, the existing data uploading method generally adopts a scheme of uploading complete data to a block chain, that is, after one data is changed, the uploaded data cannot be iterated, but the changed complete data needs to be uploaded again, which may complicate the data uploading process. For example, in the logistics business process, when a chemical product arrives at different transportation locations, different nodes iterate current logistics data of the chemical product, and different nodes usually can only iterate logistics data with an open authority of each node, but cannot tamper with logistics data of other nodes, that is, data may not be shared between different nodes, which also embodies the security of data iteration. However, in this way, a single node cannot generally upload complete data again; even if a single node can upload complete data again, the process of uploading data of the node is complicated.
In order to solve the technical problem, it is considered that iteration and uploading of the logistics waybill data are realized through the uploading verification device according to the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data by means of an intermediate medium, namely the uploading verification device, and only the logistics waybill provider is required to send part of modified data to the uploading verification device during iteration, and the whole data is not required to be sent to the uploading verification device.
Specific implementations of the above concepts are described below.
Referring to fig. 1, an embodiment of the present invention provides a transportation management method for chemical products, which is applied to an upload check device, where the upload check device is respectively in communication connection with a logistics waybill provider and a blockchain network, and the method includes:
step 100: verifying the identity of the logistics waybill provider;
step 102: after the verification is passed, receiving logistics waybill data to be uploaded at each logistics stage, which is sent by a logistics waybill provider;
step 104: determining the current state information of the logistics waybill data to be uploaded based on the logistics waybill data to be uploaded;
106, determining the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data based on the current state information of the logistics waybill data to be uploaded;
and step 110, when the uploaded logistics waybill data are determined to be in a logistics finished state, sending the uploaded logistics waybill data to an external checking mechanism so as to check the authenticity of the uploaded logistics waybill data.
In the embodiment of the invention, the authenticity of the uploaded logistics waybill data is verified by sending the uploaded logistics waybill data to an external verification mechanism, so that the authenticity of the uploaded logistics waybill data is improved, and the occurrence of false logistics waybill can be effectively avoided; meanwhile, the to-be-uploaded logistics waybill data at each logistics stage sent by the logistics waybill provider is uploaded to the block chain network, so that the non-tamper property of the logistics waybill data is ensured, and the traceability of the logistics waybill is ensured.
In addition, the state information is set, the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data can be embodied, so that the logistics waybill provider only needs to send the modified partial data to the uploading checking device, and does not need to send the complete data to the uploading checking device, and the uploading requirement between the logistics waybill providers with data not shared can be met.
Each step in fig. 1 is explained below.
For step 100, the logistics manifest provider includes, but is not limited to, shippers and carriers of chemical products. In some embodiments, the physical distribution waybill provider may upload the identity of the physical distribution waybill provider to the upload verification device by operating a human-computer interaction device (e.g., a terminal device such as a computer or a mobile phone); where, when the shipper is a person, its identity includes, but is not limited to, name, contact and identity document number; when the shipper is a business, its identity includes, but is not limited to, the business name, the name of the business's designated person, contact details, and identity document number; the identity of the carrier includes, but is not limited to, the name, contact address, identification document number, and license plate number of the vehicle.
In some embodiments, the verification may compare the identity of the logistics waybill provider with a pre-stored identity, and determine whether the pre-stored identity includes the identity of the logistics waybill provider, if so, the verification passes.
For step 102, the logistics phase includes at least one of a waybill generation phase, a waybill deployment phase, a ship from phase, a ship to phase, and a freight payment phase. The freight bill generation stage is a stage in which the freight platform generates freight bills based on a shipping request sent by a shipper, the freight bill allocation stage is a stage in which the freight platform determines a carrier according to the generated freight bills, the shipment starting stage is a stage in which the carrier arrives at an initial position and starts to transport the chemical products to be shipped, the delivery stage is a stage in which the carrier delivers the chemical products to be shipped to a target position, and the freight charge payment stage is a stage in which the carrier settles freight charges after delivering the chemical products to be shipped to the target position.
That is, during each of the above logistics stages, the logistics manifest provider generates logistics manifest data, i.e., the logistics manifest data includes, but is not limited to, the identity of the shipper, the identity of the carrier, the start and end time of delivery, the delivery vehicle, the delivery start address, and the delivery freight rate.
For step 104, in some embodiments, in order to determine the current status information of each physical distribution order data, a database for query may be set in the upload check device in advance, and the database stores name information of the physical distribution order data and status information corresponding to the name information. Therefore, the current state information of the logistics waybill data to be uploaded can be determined by inquiring the name information of the logistics waybill data to be uploaded. For example, the indexing scheme in the database is shown in table 1, where: the state information corresponding to the name information 1 of the logistics waybill data comprises a state 11, a state 12 and a state 13, the state information corresponding to the name information 2 of the logistics waybill data comprises a state 21, and the state information corresponding to the name information 3 of the logistics waybill data comprises a state 31 and a state 32.
In some embodiments, step 104 may specifically include the following steps:
a1, acquiring name information of logistics waybill data to be uploaded;
in this step, the name information may be stored in a preset field position of the logistics waybill data, and the logistics waybill data to be uploaded is processed according to a preset obtaining rule to obtain the name information of the logistics waybill data to be uploaded.
A2, inquiring name information in a preset database; the database stores name information of the logistics waybill data and state information corresponding to the name information;
step A3, if the name information can not be inquired, determining the current state information of the logistics waybill data to be uploaded as the initial state information;
in this step, if the name information cannot be queried, it may be determined that the waybill data to be uploaded is the first upload, rather than an iteration of the uploaded waybill data, and thus the state information thereof is the initial state information, such as state 11, state 21, and state 31 in table 1.
Step A4, if the name information can be inquired, acquiring the tail state information corresponding to the name information from the database, and determining the current state information of the logistics waybill data to be uploaded as the next state information of the tail state information.
In this step, if the name information can be queried, it may be determined that the logistics waybill data to be uploaded is not uploaded for the first time, but is an iteration of the uploaded logistics waybill data, and the current state information of the iterated logistics waybill data may be, for example, a state 14, a state 22, and a state 33, that is, a next state in the state 13, a next state in the state 21, and a next state in the state 32.
For step 106, this step includes two cases:
in the first situation, if the current state information is the initial state information, the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data is determined to be irrelevant.
And secondly, if the current state information is not the initial state information, determining that the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data is relevant so as to use the to-be-uploaded logistics waybill data to iterate the uploaded logistics waybill data.
It should be noted that the uploaded physical distribution slip data refers to all physical distribution slip data stored in the blockchain network.
For step 108, this step includes two uploading methods for the case in step 106:
the method comprises the steps that first relevant information is stored in a preset database; uploading the logistics waybill data to be uploaded to a block chain network; wherein the first related information comprises: name information, initial state information, hash function information (namely hash information) of the logistics waybill data to be uploaded and the corresponding relation among the three information.
The second way,
Based on the name information of the logistics waybill data to be uploaded, tail state information corresponding to the name information and hash function information corresponding to the tail state information are inquired from a preset database; the database stores name information of the logistics waybill data, at least one piece of state information corresponding to the name information and hash function information corresponding to each piece of state information;
determining whether uploaded logistics waybill data corresponding to the hash function information can be obtained or not in the block chain network based on the inquired hash function information;
if so, executing: generating latest state information and logistics waybill data corresponding to the latest state information based on the obtained uploaded logistics waybill data and logistics waybill data to be uploaded; storing the second related information in a preset database; uploading the logistics waybill data corresponding to the latest state information to a block chain network; wherein the second related information includes: the name information of the logistics waybill data to be uploaded, the latest state information, the logistics waybill data corresponding to the latest state information and the corresponding relation among the three information, wherein the latest state information is the next state information of the last state information;
and if not, terminating uploading the logistics waybill data to be uploaded to the block chain network.
It should be noted that the hash function information is obtained by calculating the to-be-uploaded logistics waybill data by using a preset hash algorithm, and the hash function information is used as the first related information and the second related information, which is beneficial to avoiding the logistics waybill data from being tampered and querying the logistics waybill data corresponding to the hash function information by using the hash function information as an index in the subsequent process.
For the first way, for example, the indexing way in the database is shown in table 2:
if the name information 4 cannot be queried, it may be determined that the waybill data to be uploaded is the first time uploaded, a state 41 is generated, and meanwhile, hash calculation is performed on the waybill data of the name information 4 to obtain hash function information 41, so that the uploaded waybill data can be found based on the hash function information in subsequent data iteration.
For the second way, for example, the indexing way in the database is shown in table 3:
if the name information 1 can be inquired, it can be determined that the waybill data to be uploaded is not uploaded for the first time, a state 14 (namely, the next state of the state 13) is generated, meanwhile, the corresponding uploaded waybill data is found based on the hash function information 13, the waybill data corresponding to the state 14 is generated based on the found uploaded waybill data and the waybill data to be uploaded, and hash calculation is performed according to a preset hash algorithm to obtain the hash function information 14.
For example, the uploaded physical distribution bill data corresponding to the state 13 in the database includes a parameter F, the value of which is 1.5, and the physical distribution bill data to be uploaded includes only a value 2.5 obtained by modifying the parameter F, so that the replacement of the value of the parameter F can be realized by the step of the second method, and thus, part of data other than the parameter F is not considered. Therefore, a piece of second related information, that is, hash function information 14 including name information 1 of the physical distribution order data, a state 14, and the physical distribution order data corresponding to the state 14, is added to the database (specifically, table 3).
In this embodiment, the upload check device can find the end state information by using the database, so that it can be ensured that the iteration is performed on the basis of the logistics waybill data which is uploaded and corresponds to the end state information. For example, the end state information of the uploaded logistics list data is state 13, and when data iteration is performed, iteration is not performed based on state 11 or state 12, so that the problem of error of basic data adopted during iteration can be avoided.
In addition, since the hash function information corresponding to each state is stored in the database, after the end state information is determined, the uploaded logistics statement data corresponding to the hash function information can be found in the block chain network by using the hash function information corresponding to the end state information, so that the logistics statement data corresponding to the latest state information (for example, the state 14) can be further generated based on the obtained uploaded logistics statement data and the logistics statement data to be uploaded, and further the hash function information (for example, the hash function information 14) is formed and stored in the database. Therefore, the logistics waybill provider only needs to send the modified partial data to the uploading verification device, and does not need to send the complete data to the uploading verification device, so that the uploading requirement among the logistics waybill providers with data which cannot be shared can be met.
When data iteration is performed, there may be a case where iteration is performed on the same uploaded logistics list data within a short time, which may cause an iteration error.
In order to solve the technical problem, in some embodiments, the second method may further include the following steps:
judging whether third relevant information exists in the database; the name information, the latest state information and the hash function information of the logistics waybill data, which are included in the third relevant information and the second relevant information, are the same;
if yes, selecting any one of the third related information and the second related information, and uploading the logistics waybill data corresponding to the latest state information included in the selected one related information to the block chain network.
In this embodiment, since each piece of uploaded logistics waybill data must be sequentially iterated according to the order of state progression, it is determined whether the same piece of uploaded logistics waybill data is concurrently iterated by determining whether third related information identical to the second related information exists in the database, and if the third related information is concurrently iterated, only one of the processes is allowed to be iterated successfully, while the other processes are failed to be iterated, otherwise, each iteration cannot be sequentially iterated according to the order of state progression.
For step 110, after the last logistics stage of the logistics freight note is completed, the freight platform sends a logistics completion status to the upload verification device. At this time, the uploading verification device sends the uploaded logistics waybill data to an external verification mechanism so as to verify the authenticity of the uploaded logistics waybill data.
In some embodiments, step 110 specifically includes the following steps:
calling an intelligent contract to acquire uploaded logistics waybill data from a block chain network;
the uploaded logistics waybill data are sent to an external checking mechanism, so that the external checking mechanism is utilized to check the authenticity of the uploaded logistics waybill data according to the prestored logistics waybill data;
and receiving a checking result sent by a checking organization.
In the embodiment, the intelligent contract is called, so that the verification efficiency of the uploaded logistics waybill data is improved; meanwhile, the authenticity of the uploaded logistics waybill data is verified by sending the uploaded logistics waybill data to an external verification mechanism, so that the authenticity of the uploaded logistics waybill data is improved, and the occurrence of false logistics waybill can be effectively avoided.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (11)
1. The transportation management method for the chemical products is applied to an uploading verification device which is respectively in communication connection with a logistics waybill provider and a blockchain network, and comprises the following steps:
verifying the identity of the logistics waybill provider;
after the verification is passed, receiving logistics waybill data to be uploaded at each logistics stage, which is sent by the logistics waybill provider;
determining the current state information of the logistics waybill data to be uploaded based on the logistics waybill data to be uploaded;
determining the correlation relationship between the logistics waybill data to be uploaded and the uploaded logistics waybill data based on the current state information of the logistics waybill data to be uploaded;
uploading the logistics waybill data to be uploaded to the block chain network based on the correlation relationship;
and when the uploaded logistics waybill data are determined to be in a logistics finished state, the uploaded logistics waybill data are sent to an external checking mechanism so as to check the authenticity of the uploaded logistics waybill data.
2. The method of claim 1, wherein verifying the identity of the logistics waybill provider comprises:
and comparing the identity of the logistics waybill provider with a pre-stored identity, judging whether the pre-stored identity comprises the identity of the logistics waybill provider, and if so, checking to pass.
3. The method of claim 1, wherein the determining the current status information of the to-be-uploaded logistics invoice data comprises:
acquiring name information of the logistics waybill data to be uploaded;
inquiring the name information in a preset database; the database stores name information of the logistics waybill data and state information corresponding to the name information;
if the name information cannot be inquired, determining that the current state information of the logistics waybill data to be uploaded is initial state information;
if the name information can be inquired, acquiring tail state information corresponding to the name information from the database, and determining the current state information of the logistics waybill data to be uploaded as the next state information of the tail state information.
4. The method according to claim 3, wherein name information is stored in a preset field position of the logistics waybill data to be uploaded;
the acquiring of the name information of the logistics waybill data to be uploaded comprises the following steps:
and processing the logistics waybill data to be uploaded according to a preset acquisition rule so as to acquire name information of the logistics waybill data to be uploaded.
5. The method of claim 1, wherein the determining the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data based on the current state information of the to-be-uploaded logistics waybill data comprises:
and if the current state information is the initial state information, determining that the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data is irrelevant.
6. The method of claim 5, wherein when the correlation relationship is irrelevant, the uploading the to-be-uploaded logistics waybill data to the blockchain network based on the correlation relationship comprises:
storing first related information in a preset database; uploading the logistics waybill data to be uploaded to the block chain network; wherein the first related information comprises: and the name information, the initial state information, the hash function information and the corresponding relation among the three information of the logistics waybill data to be uploaded.
7. The method of claim 1, wherein the determining the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data based on the current state information of the to-be-uploaded logistics waybill data comprises:
and if the current state information is not the initial state information, determining that the correlation relationship between the to-be-uploaded logistics waybill data and the uploaded logistics waybill data is relevant, and iterating the uploaded logistics waybill data by using the to-be-uploaded logistics waybill data.
8. The method of claim 7, wherein when the correlation relationship is correlation, the uploading the to-be-uploaded logistics manifest data to the blockchain network based on the correlation relationship comprises:
based on the name information of the logistics waybill data to be uploaded, inquiring tail state information corresponding to the name information and hash function information corresponding to the tail state information from a preset database; the database stores name information of logistics waybill data, at least one piece of state information corresponding to the name information and hash function information corresponding to each piece of state information;
determining whether uploaded logistics waybill data corresponding to the hash function information can be obtained in the blockchain network based on the inquired hash function information;
if so, executing: generating latest state information and logistics waybill data corresponding to the latest state information based on the obtained uploaded logistics waybill data and the to-be-uploaded logistics waybill data; storing the second related information in a preset database; uploading the logistics waybill data corresponding to the latest state information to the block chain network; wherein the second related information includes: the name information of the logistics waybill data to be uploaded, the latest state information, the logistics waybill data corresponding to the latest state information and the corresponding relation among the information of the logistics waybill data to be uploaded, the latest state information is the next state information of the last state information;
and if not, terminating the uploading of the logistics waybill data to be uploaded to the block chain network.
9. The method according to claim 8, further comprising, after the storing the second related information in the preset database and before the uploading the to-be-uploaded logistics invoice data to the blockchain network:
judging whether third relevant information exists in the database or not; the name information, the latest state information and the hash function information of the logistics waybill data included in the third relevant information and the second relevant information are the same;
and if so, selecting any one of the third related information and the second related information, and uploading logistics waybill data corresponding to the latest state information included in the selected one related information to a block chain network.
10. The method of claim 1, wherein sending the uploaded logistics statement data to an external verification authority to verify authenticity of the uploaded logistics statement data comprises:
calling an intelligent contract to acquire uploaded logistics waybill data from the blockchain network;
sending the uploaded logistics waybill data to an external checking mechanism so as to check the authenticity of the uploaded logistics waybill data according to prestored logistics waybill data by using the external checking mechanism;
and receiving a verification result sent by the verification mechanism.
11. The method of any one of claims 1-10, wherein the logistics stage comprises at least one of a waybill generation stage, a waybill deployment stage, a ship from stage, a ship to stage, and a freight payment stage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111461046.XA CN113869838B (en) | 2021-12-03 | 2021-12-03 | Transportation management method for chemical products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111461046.XA CN113869838B (en) | 2021-12-03 | 2021-12-03 | Transportation management method for chemical products |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113869838A true CN113869838A (en) | 2021-12-31 |
CN113869838B CN113869838B (en) | 2022-02-18 |
Family
ID=78985650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111461046.XA Active CN113869838B (en) | 2021-12-03 | 2021-12-03 | Transportation management method for chemical products |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113869838B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160063437A1 (en) * | 2014-09-02 | 2016-03-03 | Unisys Corporation | Logistics management system with pricing based on linked transportation and other charge contracts |
CN107679794A (en) * | 2017-09-19 | 2018-02-09 | 前海云链科技(深圳)有限公司 | A kind of commodity distribution control method and device based on block chain |
KR20190115525A (en) * | 2018-03-20 | 2019-10-14 | 주식회사 워너버스이노베이션 | System and method for managing logistics using blockchain |
CN111382980A (en) * | 2020-05-29 | 2020-07-07 | 支付宝(杭州)信息技术有限公司 | Logistics management method, device, equipment and system based on block chain |
CN111429055A (en) * | 2020-03-18 | 2020-07-17 | 财付通支付科技有限公司 | Goods transportation information prompting method, equipment and storage medium |
CN112101856A (en) * | 2020-08-17 | 2020-12-18 | 北京康拓红外技术股份有限公司 | Railway freight transportation management platform and method based on block chain technology |
CN112506747A (en) * | 2021-02-03 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Business process monitoring method and device, electronic equipment and storage medium |
CN113537881A (en) * | 2021-07-07 | 2021-10-22 | 深圳市易流科技股份有限公司 | Logistics information monitoring method and system |
-
2021
- 2021-12-03 CN CN202111461046.XA patent/CN113869838B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160063437A1 (en) * | 2014-09-02 | 2016-03-03 | Unisys Corporation | Logistics management system with pricing based on linked transportation and other charge contracts |
CN107679794A (en) * | 2017-09-19 | 2018-02-09 | 前海云链科技(深圳)有限公司 | A kind of commodity distribution control method and device based on block chain |
KR20190115525A (en) * | 2018-03-20 | 2019-10-14 | 주식회사 워너버스이노베이션 | System and method for managing logistics using blockchain |
CN111429055A (en) * | 2020-03-18 | 2020-07-17 | 财付通支付科技有限公司 | Goods transportation information prompting method, equipment and storage medium |
CN111382980A (en) * | 2020-05-29 | 2020-07-07 | 支付宝(杭州)信息技术有限公司 | Logistics management method, device, equipment and system based on block chain |
CN112101856A (en) * | 2020-08-17 | 2020-12-18 | 北京康拓红外技术股份有限公司 | Railway freight transportation management platform and method based on block chain technology |
CN112506747A (en) * | 2021-02-03 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Business process monitoring method and device, electronic equipment and storage medium |
CN113537881A (en) * | 2021-07-07 | 2021-10-22 | 深圳市易流科技股份有限公司 | Logistics information monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
CN113869838B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9641342B2 (en) | Tracking unitization occurring in a supply chain | |
US20180374037A1 (en) | Tracking code generation, application, and verification using blockchain technology | |
KR101425090B1 (en) | Physical distribution container management system | |
WO2021120686A1 (en) | Sign-bill collection method and apparatus based on blockchain, and device and readable storage medium | |
CN110599174A (en) | Block chain information processing method and related equipment | |
US20230334609A1 (en) | Information management method and non-transitory, computer readable, tangible storage medium storing information management program | |
CN111931245A (en) | Information processing method and device | |
CN112529499A (en) | Aviation cargo traceability method and device based on block chain and related equipment | |
CN113239398A (en) | Service processing method and device | |
US9852317B2 (en) | Printable, writeable article for tracking counterfeit and diverted products | |
CN110599267A (en) | Electronic invoice billing method and device, computer readable storage medium and computer equipment | |
CN110599133B (en) | Data processing method, device and storage medium based on blockchain network | |
CN115841285A (en) | Commodity logistics tracing method and system based on block chain | |
CN113869838B (en) | Transportation management method for chemical products | |
US20190066043A1 (en) | Method and system for tracking products | |
CN112184127A (en) | Supply chain asset life cycle management system based on block chain technology | |
CN112669049A (en) | Method and device for verifying logistics vehicle certificate information | |
CN111414436A (en) | Data pushing method, device, equipment and system | |
CN111552989A (en) | Service data processing method, device, equipment and storage medium based on block chain | |
CN113806335A (en) | Data migration method and device applied to block chain | |
CN111967820A (en) | Pallet management method and system based on block chain | |
CN110555649A (en) | Method and device for checking facts in a decentralized transaction system | |
US9646310B2 (en) | Printable, writeable article for tracking counterfeit and diverted products | |
CN114118924A (en) | Logistics flow signing method and system based on block chain | |
CN116090917A (en) | Logistics performance verification method, device, equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |