[go: up one dir, main page]

CN108898407A - Goods information retroactive method, apparatus and system - Google Patents

Goods information retroactive method, apparatus and system Download PDF

Info

Publication number
CN108898407A
CN108898407A CN201810832789.5A CN201810832789A CN108898407A CN 108898407 A CN108898407 A CN 108898407A CN 201810832789 A CN201810832789 A CN 201810832789A CN 108898407 A CN108898407 A CN 108898407A
Authority
CN
China
Prior art keywords
cargo
information
platform
data content
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810832789.5A
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.)
Zhuhai Hongqiao Hi Tech Co Ltd
Original Assignee
Zhuhai Hongqiao Hi Tech 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 Zhuhai Hongqiao Hi Tech Co Ltd filed Critical Zhuhai Hongqiao Hi Tech Co Ltd
Priority to CN201810832789.5A priority Critical patent/CN108898407A/en
Publication of CN108898407A publication Critical patent/CN108898407A/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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供了一种货物信息追溯方法、装置及系统,方法应用于区块链网络,区块链网络分别与多个业务平台通信连接,方法包括:接收需求业务平台发送的货物状态查询请求,需求业务平台为多个业务平台中的一个业务平台;提取货物状态查询请求中的目标货物标识;在已存储的多个货物状态信息中,查找与目标货物标识对应的货物状态信息;将货物状态信息返回给需求业务平台,缓解现有技术中存在的被篡改的货物信息不能支持管理决策的技术问题,达到了使得货物信息能够支持管理决策的技术效果。

The present invention provides a cargo information traceability method, device and system. The method is applied to a blockchain network, and the blockchain network communicates with multiple business platforms respectively. The method includes: receiving a cargo status query request sent by a demand business platform, The demand business platform is one of multiple business platforms; extract the target cargo identification in the cargo status query request; search for the cargo status information corresponding to the target cargo status in the multiple stored cargo status information; store the cargo status The information is returned to the demand business platform, which alleviates the technical problem in the existing technology that the tampered cargo information cannot support management decisions, and achieves the technical effect of enabling cargo information to support management decisions.

Description

货物信息追溯方法、装置及系统Cargo information traceability method, device and system

技术领域technical field

本发明涉及信息追溯技术领域,尤其是涉及一种货物信息追溯方法、装置及系统。The present invention relates to the technical field of information traceability, in particular to a cargo information traceability method, device and system.

背景技术Background technique

国际贸易(International Trade)也称通商,是指跨越国境的货品和服务交易,一般由进口贸易和出口贸易所组成,因此也可称之为进出口贸易。国际贸易的参与者可以包括:国际贸易收发货人、国际贸易服务提供者、国际贸易场所经营者和监管机构。每个国际贸易的参与者分别对应一个业务平台,业务平台之间进行货物信息的传输。International trade, also known as commerce, refers to the transaction of goods and services across borders, generally consisting of import trade and export trade, so it can also be called import and export trade. Participants in international trade may include: international trade consignees and consignors, international trade service providers, international trade venue operators and regulatory agencies. Each international trade participant corresponds to a business platform, and cargo information is transmitted between business platforms.

在实际应用中,国际贸易货物的提供者和消费者都有货物信息追溯的需求,但是现有货物信息追溯技术中,货物信息可能被篡改,导致被篡改的货物信息不能支持管理决策。In practical applications, both providers and consumers of international trade goods have the need for goods information traceability, but in the existing goods information traceability technology, goods information may be tampered with, resulting in the tampered goods information not being able to support management decisions.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种货物信息追溯方法、装置及系统,以缓解现有技术中存在的被篡改的货物信息不能支持管理决策的技术问题。In view of this, the purpose of the present invention is to provide a cargo information traceability method, device and system to alleviate the technical problem in the prior art that tampered cargo information cannot support management decisions.

第一方面,本发明实施例提供了一种货物信息追溯方法,方法应用于区块链网络,所述区块链网络分别与多个业务平台通信连接,方法包括:In the first aspect, the embodiment of the present invention provides a method for tracing cargo information, the method is applied to a blockchain network, and the blockchain network is respectively connected to multiple business platforms through communication, and the method includes:

接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个所述业务平台中的一个业务平台;receiving a cargo status query request sent by a demand service platform, where the demand service platform is one of the multiple service platforms;

提取所述货物状态查询请求中的目标货物标识;Extracting the target cargo identifier in the cargo status inquiry request;

在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;Finding the cargo status information corresponding to the target cargo identifier in the multiple pieces of stored cargo status information;

将所述货物状态信息返回给所述需求业务平台。Return the cargo status information to the demand service platform.

结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,所述在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息,包括:In combination with the first aspect, the embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein, in the plurality of stored cargo status information, searching for the cargo status information corresponding to the target cargo identifier ,include:

确定与每个所述货物状态信息分别对应的货物标识;determining the cargo identification corresponding to each of the cargo status information;

在多个所述货物标识中,确定与所述目标货物标识匹配的货物标识;查找与所述目标货物标识匹配的货物标识对应的货物状态信息。Among the plurality of cargo identifiers, determining a cargo identifier matching the target cargo identifier; searching for cargo status information corresponding to the cargo identifier matching the target cargo identifier.

结合第一方面,本发明实施例提供了第一方面的第二种可能的实施方式,其中,多个所述业务平台按照其对应的供应链节点在国际贸易供应链中的职能进行排序组成货物供应路径,所述方法还包括:In combination with the first aspect, the embodiment of the present invention provides a second possible implementation of the first aspect, wherein multiple business platforms are sorted according to the functions of their corresponding supply chain nodes in the international trade supply chain to form goods supply path, the method further comprising:

接收任一业务平台发送的数据内容,所述数据内容是与所述业务平台对应的供应链节点将货物开始向下一国际贸易参与方运输时发送的;Receive the data content sent by any business platform, the data content is sent when the supply chain node corresponding to the business platform starts to transport the goods to the next international trade participant;

根据预设的智能合约和所述数据内容,在所述货物供应路径中确定所述业务平台下一跳的目的业务平台;According to the preset smart contract and the data content, determine the destination service platform of the next hop of the service platform in the goods supply route;

在由所述目的业务平台、所述数据内容和发送所述数据内容的业务平台组成的集合上添加时间戳,得到所述货物数据;adding a time stamp to the set consisting of the target business platform, the data content, and the business platform sending the data content to obtain the cargo data;

将所述数据内容发送给所述目的业务平台。Send the data content to the target service platform.

结合第一方面,本发明实施例提供了第一方面的第三种可能的实施方式,其中,多个所述业务平台按照其对应的供应链节点在国际贸易供应链中的职能进行排序组成货物供应路径,所述方法还包括:In combination with the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein multiple business platforms are sorted according to the functions of their corresponding supply chain nodes in the international trade supply chain to form goods supply path, the method further comprising:

接收任一业务平台发送的数据内容,所述数据内容是与所述业务平台对应的供应链节点将货物开始向下一国际贸易参与方运输时发送的;Receive the data content sent by any business platform, the data content is sent when the supply chain node corresponding to the business platform starts to transport the goods to the next international trade participant;

根据预设的智能合约和所述数据内容,在所述货物供应路径中确定所述业务平台下一跳的目的业务平台;According to the preset smart contract and the data content, determine the destination service platform of the next hop of the service platform in the goods supply route;

根据所述目的业务平台、所述数据内容和发送所述数据内容的业务平台,在所述智能合约的位置数据与业务平台和数据内容的对应关系中,确定当前位置数据;According to the target service platform, the data content, and the service platform sending the data content, determine the current location data in the corresponding relationship between the location data of the smart contract and the service platform and data content;

在由所述目的业务平台、所述数据内容、所述当前位置数据和发送所述数据内容的业务平台组成的集合上添加时间戳,得到所述货物数据;adding a time stamp to the set consisting of the destination business platform, the data content, the current location data, and the business platform sending the data content to obtain the cargo data;

将所述数据内容发送给所述目的业务平台。Send the data content to the target service platform.

结合第一方面,本发明实施例提供了第一方面的第四种可能的实施方式,其中,方法还包括:With reference to the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the method further includes:

对于已存储的每个所述货物数据,提取所述数据内容中的所述货物标识;For each of the stored cargo data, extract the cargo identifier in the data content;

将具有相同所述货物标识的至少一个所述货物数据组成一个未排序货物状态信息;Combining at least one piece of cargo data with the same cargo identifier into one piece of unsorted cargo status information;

将所述未排序货物状态信息中的所述货物数据按照时间戳从小到大的顺序进行排列,得到所述货物状态信息。Arranging the cargo data in the unsorted cargo status information in ascending order of time stamps to obtain the cargo status information.

第二方面,本发明实施例还提供一种货物信息追溯装置,包括:接收模块、提取模块、查找模块和返回模块;In the second aspect, the embodiment of the present invention also provides a cargo information traceability device, including: a receiving module, an extraction module, a search module and a return module;

所述接收模块,用于接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个业务平台中的一个业务平台;The receiving module is configured to receive a cargo status query request sent by a demand service platform, where the demand service platform is one of a plurality of service platforms;

所述提取模块,用于提取所述货物状态查询请求中的目标货物标识;The extracting module is used to extract the target cargo identifier in the cargo status inquiry request;

所述查找模块,用于在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;The search module is configured to search for the cargo status information corresponding to the target cargo identifier among the multiple stored cargo status information;

所述返回模块,用于将所述货物状态信息返回给所述需求业务平台。The returning module is used to return the cargo status information to the demand service platform.

第三方面,本发明实施例还提供一种货物信息追溯系统,包括:多个信息采集装置、多个业务平台和一个应用如第一方面任一所述方法的区块链网络。In the third aspect, the embodiment of the present invention also provides a cargo information traceability system, including: multiple information collection devices, multiple business platforms, and a blockchain network applying the method described in any one of the first aspect.

结合第三方面,本发明实施例提供了第三方面的第一种可能的实施方式,其中,多个所述业务平台包括:发货人业务平台;In combination with the third aspect, the embodiment of the present invention provides a first possible implementation manner of the third aspect, wherein the multiple service platforms include: a consignor service platform;

所述发货人业务平台和第一信息采集装置连接,所述第一信息采集装置用于将采集到的货物属性信息发送给所述发货人业务平台,所述发货人业务平台发送给所述区块链网络的数据内容是根据所述货物属性信息生成的。The consignor business platform is connected to the first information collection device, and the first information collection device is used to send the collected cargo attribute information to the consignor business platform, and the consignor business platform sends the The data content of the block chain network is generated according to the property information of the goods.

结合第三方面,本发明实施例提供了第三方面的第二种可能的实施方式,其中,多个所述业务平台包括:船公司业务平台;In combination with the third aspect, the embodiment of the present invention provides a second possible implementation manner of the third aspect, wherein the multiple business platforms include: a shipping company business platform;

所述船公司业务平台和第二信息采集装置连接,所述第二信息采集装置用于将采集到的集装箱信息发送给所述船公司业务平台,所述船公司业务平台发送给所述区块链网络的数据内容是根据所述集装箱信息生成的。The shipping company business platform is connected to the second information collection device, and the second information collection device is used to send the collected container information to the shipping company business platform, and the shipping company business platform sends it to the block The data content of the chain network is generated according to the container information.

第四方面,本发明实施例还提供一种具有处理器可执行的非易失的程序代码的计算机可读介质,所述程序代码使所述处理器执行如第一方面任一所述方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable medium having a non-volatile program code executable by a processor, the program code causing the processor to execute any one of the methods described in the first aspect.

本发明实施例带来了以下有益效果:本发明实施例提供的货物信息追溯方法,方法应用于区块链网络,所述区块链网络分别与多个业务平台通信连接,方法包括:接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个所述业务平台中的一个业务平台;提取所述货物状态查询请求中的目标货物标识;在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;将所述货物状态信息返回给所述需求业务平台。The embodiment of the present invention brings the following beneficial effects: the cargo information tracing method provided by the embodiment of the present invention is applied to a block chain network, and the block chain network is respectively connected to a plurality of business platforms through communication. The method includes: receiving demand The cargo status query request sent by the business platform, the demand business platform is one of the multiple business platforms; the target cargo identifier in the cargo status query request is extracted; among the multiple stored cargo status information , searching for cargo status information corresponding to the target cargo identifier; and returning the cargo status information to the demand service platform.

所以,当国际贸易参与者想要查询货物状态的时候,国际贸易参与者可以通过对应的业务平台(需求业务平台)发送货物状态查询请求给所述区块链网络,区块链网络接收需求业务平台发送的货物状态查询请求,提取所述货物状态查询请求中的目标货物标识;在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;将所述货物状态信息返回给所述需求业务平台,这样国际贸易参与者就可以通过自己拥有的业务平台查看与目标货物标识对应的货物状态信息,同时,由于货物状态信息存储在所述区块链网络中,所以货物状态信息是不能被篡改的,保证货物状态信息的真实性,那么国际贸易参与者就可以利用真实的货物状态信息来制定管理决策,避免由于现有货物信息追溯技术中,货物信息可能被篡改而导致的被篡改的货物信息不能支持管理决策的问题,因此,缓解了现有技术中存在的被篡改的货物信息不能支持管理决策的技术问题,达到了使得货物信息能够支持管理决策的技术效果。Therefore, when an international trade participant wants to check the status of the goods, the international trade participant can send a goods status query request to the blockchain network through the corresponding business platform (demand business platform), and the blockchain network receives the demand business The cargo status query request sent by the platform extracts the target cargo identifier in the cargo status query request; finds the cargo status information corresponding to the target cargo identifier from the multiple stored cargo status information; The information is returned to the demand business platform, so that international trade participants can view the cargo status information corresponding to the target cargo identifier through their own business platform. At the same time, since the cargo status information is stored in the blockchain network, so Cargo status information cannot be tampered with. To ensure the authenticity of the cargo status information, international trade participants can use the real cargo status information to make management decisions and avoid possible tampering of cargo information due to the existing cargo information traceability technology. The resulting tampered cargo information cannot support management decisions. Therefore, the technical problem that tampered cargo information cannot support management decisions in the prior art is alleviated, and the technical effect of enabling cargo information to support management decisions is achieved. .

本发明的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present invention more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the specific implementation or description of the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.

图1为本发明实施例提供的货物信息追溯方法的第一种流程图;Fig. 1 is the first flow chart of the cargo information traceability method provided by the embodiment of the present invention;

图2为图1中步骤S103的流程图;Fig. 2 is the flowchart of step S103 in Fig. 1;

图3为本发明实施例提供的货物信息追溯方法的第二种流程图;Fig. 3 is the second flow chart of the cargo information traceability method provided by the embodiment of the present invention;

图4为本发明实施例提供的货物信息追溯系统的结构示意图。Fig. 4 is a schematic structural diagram of a cargo information traceability system provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

目前,国际贸易(International Trade)也称通商,是指跨越国境的货品和服务交易,一般由进口贸易和出口贸易所组成,因此也可称之为进出口贸易。国际贸易的参与者可以包括:国际贸易收发货人、国际贸易服务提供者、国际贸易场所经营者和监管机构。每个国际贸易的参与者分别对应一个业务平台,业务平台之间进行货物信息的传输。At present, International Trade, also known as commerce, refers to the transaction of goods and services across borders, generally consisting of import trade and export trade, so it can also be called import and export trade. Participants in international trade may include: international trade consignees and consignors, international trade service providers, international trade venue operators and regulatory agencies. Each international trade participant corresponds to a business platform, and cargo information is transmitted between business platforms.

在实际应用中,国际贸易货物的提供者和消费者都有货物信息追溯的需求,但是现有货物信息追溯技术中,货物信息可能被篡改,导致被篡改的货物信息不能支持管理决策,基于此,本发明实施例提供的一种货物信息追溯方法、装置及系统,可以缓解现有技术中存在的被篡改的货物信息不能支持管理决策的技术问题,达到了使得货物信息能够支持管理决策的技术效果。In practical applications, both suppliers and consumers of goods in international trade need to trace goods information. However, in the existing goods information traceability technology, goods information may be tampered with, resulting in the tampered goods information not being able to support management decisions. Based on this , a cargo information traceability method, device and system provided by the embodiments of the present invention can alleviate the technical problem existing in the prior art that tampered cargo information cannot support management decision-making, and achieve a technology that enables cargo information to support management decision-making Effect.

为便于对本实施例进行理解,首先对本发明实施例所公开的一种货物信息追溯方法进行详细介绍,方法应用于区块链网络,所述区块链网络分别与多个业务平台通信连接,如图1所示,所述货物信息追溯方法可以包括以下步骤。In order to facilitate the understanding of this embodiment, a method for tracing goods information disclosed in the embodiment of the present invention is first introduced in detail. The method is applied to a blockchain network, and the blockchain network is respectively connected to multiple business platforms by communication, such as As shown in Fig. 1, the method for tracing cargo information may include the following steps.

示例性的,多个业务平台包括:收货人业务平台、发货人业务平台、服务提供者业务平台、场所经营者业务平台和监管机构业务平台。Exemplarily, the multiple service platforms include: a consignee service platform, a consignor service platform, a service provider service platform, a place operator service platform, and a regulator service platform.

示例性的,所述服务提供者业务平台可以包括:报关业务平台、报检业务平台、船代业务平台、物流运输业务平台、货代业务平台、银行业务平台、保险业务平台和融资业务平台等。Exemplarily, the service provider business platform may include: a customs declaration business platform, an inspection declaration business platform, a shipping agency business platform, a logistics transportation business platform, a freight forwarding business platform, a banking business platform, an insurance business platform, a financing business platform, and the like.

示例性的,所述场所经营者业务平台可以包括:码头业务平台、港口业务平台、保税区域业务平台和监管场所业务平台等。Exemplarily, the place operator business platform may include: a terminal business platform, a port business platform, a bonded area business platform, a supervision place business platform, and the like.

示例性的,所述监管机构业务平台可以包括:海关业务平台、检疫业务平台、海事业务平台、边检业务平台、外汇业务平台、国税业务平台、商务业务平台和口岸业务平台等。Exemplarily, the regulatory agency business platform may include: a customs business platform, a quarantine business platform, a maritime business platform, a frontier inspection business platform, a foreign exchange business platform, a national tax business platform, a business business platform, and a port business platform.

步骤S101,接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个所述业务平台中的一个业务平台。Step S101, receiving a cargo status inquiry request sent by a demand service platform, where the demand service platform is one of the plurality of service platforms.

示例性的,当国际贸易参与者想要查询某一个货物的货物状态时,可以通过自己拥有的业务平台(需求业务平台)发送货物状态查询请求给所述区块链网络。Exemplarily, when an international trade participant wants to inquire about the cargo status of a certain cargo, he can send a cargo status query request to the blockchain network through his own business platform (demand business platform).

示例性的,所述货物状态查询请求可以包括目标货物标识,与目标货物标识对应的货物是国际贸易参与者所关心的货物。Exemplarily, the cargo status query request may include a target cargo identifier, and the cargo corresponding to the target cargo identifier is the cargo that international trade participants are concerned about.

步骤S102,提取所述货物状态查询请求中的目标货物标识。Step S102, extracting the target cargo identifier in the cargo status inquiry request.

步骤S103,在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息。Step S103, searching for the cargo status information corresponding to the target cargo identifier in the stored cargo status information.

示例性的,每个所述货物状态信息可以包括:货物属性信息和操作状态信息。每个所述货物状态信息既可以包括历史货物状态信息,又可以包括当前时刻的货物状态信息。Exemplarily, each piece of cargo status information may include: cargo attribute information and operation status information. Each of the cargo status information may include both historical cargo status information and current cargo status information.

示例性的,如图2所示,步骤S103可以包括以下步骤。Exemplarily, as shown in FIG. 2, step S103 may include the following steps.

步骤S201,确定与每个所述货物状态信息分别对应的货物标识。Step S201, determining the cargo identification corresponding to each of the cargo status information.

示例性的,所述区块链网络可以存储多个货物状态信息,每个货物状态信息分别对应一个货物标识。Exemplarily, the block chain network can store a plurality of cargo status information, and each cargo status information corresponds to a cargo identifier.

示例性的,多个货物状态信息可以包括:B1、B2、B3、B4和B5Exemplarily, the pieces of cargo status information may include: B 1 , B 2 , B 3 , B 4 and B 5 .

示例性的,所述货物状态信息和所述货物标识之间的对应关系可以如表1所示。Exemplarily, the correspondence between the cargo status information and the cargo identifier may be as shown in Table 1.

表1Table 1

货物状态信息cargo status information 货物标识cargo identification B1 B1 A1 A 1 B2 B 2 A2 A 2 B3 B 3 A3 A 3 B4 B 4 A4 A 4 B5 B 5 A5 A 5

步骤S202,在多个所述货物标识中,确定与所述目标货物标识匹配的货物标识。Step S202, among the multiple cargo identifiers, determine a cargo identifier that matches the target cargo identifier.

示例性的,多个所述货物标识可以包括:A1、A2、A3、A4和A5。当所述目标货物标识为A3时,所述目标货物标识A3就和多个所述货物标识中的A3相匹配。Exemplarily, the plurality of cargo identifiers may include: A 1 , A 2 , A 3 , A 4 and A 5 . When the target cargo identifier is A3, the target cargo identifier A3 matches A3 among the plurality of cargo identifiers.

步骤S203,查找与所述目标货物标识匹配的货物标识对应的货物状态信息。Step S203, searching for the cargo state information corresponding to the cargo ID matching the target cargo ID.

示例性的,当所述目标货物标识为A3时,则查找与目标货物标识A3匹配的货物标识A3对应的货物状态信息B3Exemplarily, when the target cargo identifier is A 3 , then search for cargo status information B 3 corresponding to the cargo identifier A 3 that matches the target cargo identifier A 3 .

步骤S104,将所述货物状态信息返回给所述需求业务平台。Step S104, returning the cargo status information to the demand service platform.

示例性的,当所述目标货物标识为A3时,则将货物状态信息B3返回给所述需求业务平台。Exemplarily, when the target cargo is identified as A3, the cargo status information B3 is returned to the demand business platform.

示例性的,由于货物状态信息存储在所述区块链网络中,所以货物状态信息是不能被篡改的,因此,货物状态信息是真实的。当需求业务平台接收到真实的货物状态信息后,可以利用货物状态信息制定管理决策。Exemplarily, since the cargo status information is stored in the block chain network, the cargo status information cannot be tampered with, therefore, the cargo status information is true. When the demand business platform receives the real cargo status information, it can use the cargo status information to make management decisions.

本发明实施例中,本发明实施例提供的货物信息追溯方法,方法应用于区块链网络,所述区块链网络分别与多个业务平台通信连接,方法包括:接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个所述业务平台中的一个业务平台;提取所述货物状态查询请求中的目标货物标识;在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;将所述货物状态信息返回给所述需求业务平台。In the embodiment of the present invention, the method for tracing goods information provided by the embodiment of the present invention is applied to a block chain network, and the block chain network is respectively connected to multiple business platforms by communication. The method includes: receiving the goods sent by the demand business platform A status query request, the demand service platform is one of the plurality of business platforms; extract the target cargo identifier in the cargo status query request; search for items related to the stored cargo status information The goods status information corresponding to the target goods identifier; returning the goods status information to the demand service platform.

所以,当国际贸易参与者想要查询货物状态的时候,国际贸易参与者可以通过对应的业务平台(需求业务平台)发送货物状态查询请求给所述区块链网络,区块链网络接收需求业务平台发送的货物状态查询请求,提取所述货物状态查询请求中的目标货物标识;在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;将所述货物状态信息返回给所述需求业务平台,这样国际贸易参与者就可以通过自己拥有的业务平台查看与目标货物标识对应的货物状态信息,同时,由于货物状态信息存储在所述区块链网络中,所以货物状态信息是不能被篡改的,保证货物状态信息的真实性,那么国际贸易参与者就可以利用真实的货物状态信息来制定管理决策,避免由于现有货物信息追溯技术中,货物信息可能被篡改而导致的被篡改的货物信息不能支持管理决策的问题,因此,缓解了现有技术中存在的被篡改的货物信息不能支持管理决策的技术问题,达到了使得货物信息能够支持管理决策的技术效果。Therefore, when an international trade participant wants to check the status of the goods, the international trade participant can send a goods status query request to the blockchain network through the corresponding business platform (demand business platform), and the blockchain network receives the demand business The cargo status query request sent by the platform extracts the target cargo identifier in the cargo status query request; finds the cargo status information corresponding to the target cargo identifier from the multiple stored cargo status information; The information is returned to the demand business platform, so that international trade participants can view the cargo status information corresponding to the target cargo identifier through their own business platform. At the same time, since the cargo status information is stored in the blockchain network, so Cargo status information cannot be tampered with. To ensure the authenticity of the cargo status information, international trade participants can use the real cargo status information to make management decisions and avoid possible tampering of cargo information due to the existing cargo information traceability technology. The resulting tampered cargo information cannot support management decisions. Therefore, the technical problem that tampered cargo information cannot support management decisions in the prior art is alleviated, and the technical effect of enabling cargo information to support management decisions is achieved. .

在本发明的又一实施例中,多个所述业务平台按照其对应的供应链节点在国际贸易供应链中的职能进行排序组成货物供应路径,如图3所示,所述货物信息追溯方法还可以包括以下步骤。In yet another embodiment of the present invention, a plurality of said business platforms are sorted according to the functions of their corresponding supply chain nodes in the international trade supply chain to form a goods supply route, as shown in FIG. 3 , the goods information traceability method The following steps may also be included.

步骤S301,接收任一业务平台发送的数据内容,所述数据内容是与所述业务平台对应的供应链节点将货物开始向下一国际贸易参与方运输时发送的。Step S301, receiving the data content sent by any business platform, the data content is sent when the supply chain node corresponding to the business platform starts to transport the goods to the next international trade participant.

示例性的,所述数据内容可以为:托运书、装货单、报关单、收货单、提单或者核销单等。Exemplarily, the data content may be: a consignment book, a bill of lading, a customs declaration, a receipt, a bill of lading, or a verification form.

步骤S302,根据预设的智能合约和所述数据内容,在所述货物供应路径中确定所述业务平台下一跳的目的业务平台。Step S302, according to the preset smart contract and the data content, determine the next-hop destination business platform of the business platform in the goods supply route.

示例性的,所述智能合约是根据所有所述业务平台的实际业务流程生成的。Exemplarily, the smart contract is generated according to the actual business processes of all the business platforms.

示例性的,在实际业务流程中,发货人业务平台要发送托运书给货代业务平台,这个业务流程就以编码的形式写在所述智能合约中。当所述区块链网络接收到所述发货人业务平台发送的托运书后,就可以确定目的业务平台为货代业务平台。Exemplarily, in the actual business process, the consignor business platform needs to send the consignment letter to the freight forwarder business platform, and this business process is written in the smart contract in the form of code. After the block chain network receives the consignment letter sent by the consignor business platform, it can determine that the destination business platform is the freight forwarding business platform.

步骤S303,在由所述目的业务平台、所述数据内容和发送所述数据内容的业务平台组成的集合上添加时间戳,得到所述货物数据。Step S303, adding a time stamp to the set consisting of the target service platform, the data content and the service platform sending the data content to obtain the cargo data.

示例性的,所述区块链网络会在由货代业务平台、托运书和发货人业务平台组成的集合上添加时间戳,得到货物数据。Exemplarily, the block chain network will add a time stamp to the set consisting of the freight forwarding business platform, the consignment book and the consignor business platform to obtain the cargo data.

示例性的,所述货物数据可以如表2所示。Exemplarily, the cargo data may be as shown in Table 2.

表2Table 2

发送数据平台Send data platform 数据内容data content 目的业务平台Target business platform 时间time 发货人业务平台Consignor business platform 托运书consignment book 货代业务平台Freight forwarding business platform 时间戳timestamp

步骤S304,将所述数据内容发送给所述目的业务平台。Step S304, sending the data content to the target service platform.

示例性的,将托运书发送给货代业务平台,以使所述货代业务平台根据所述托运书生成订舱订单。Exemplarily, the consignment book is sent to the freight forwarding business platform, so that the freight forwarding business platform generates a booking order according to the consignment book.

在本发明的又一实施例中,多个所述业务平台按照其对应的供应链节点在国际贸易供应链中的职能进行排序组成货物供应路径,所述货物信息追溯方法还可以包括以下步骤。In yet another embodiment of the present invention, multiple business platforms are sorted according to the functions of their corresponding supply chain nodes in the international trade supply chain to form a cargo supply route, and the cargo information tracing method may further include the following steps.

示例性的,国际贸易参与者不仅关心操作状态信息中的业务平台和数据内容,同时还关心操作状态信息中的当前位置数据。Exemplarily, international trade participants not only care about the business platform and data content in the operation status information, but also care about the current location data in the operation status information.

接收任一业务平台发送的数据内容,所述数据内容是与所述业务平台对应的供应链节点将货物开始向下一国际贸易参与方运输时发送的。The data content sent by any business platform is received, and the data content is sent when the supply chain node corresponding to the business platform starts to transport the goods to the next international trade participant.

示例性的,所述数据内容可以为:托运书、装货单、报关单、收货单、提单或者核销单等。Exemplarily, the data content may be: a consignment book, a bill of lading, a customs declaration, a receipt, a bill of lading, or a verification form.

根据预设的智能合约和所述数据内容,在所述货物供应路径中确定所述业务平台下一跳的目的业务平台。According to the preset smart contract and the data content, the destination service platform of the next hop of the service platform is determined in the goods supply route.

示例性的,所述智能合约是根据所有所述业务平台的实际业务流程生成的。Exemplarily, the smart contract is generated according to the actual business processes of all the business platforms.

示例性的,在实际业务流程中,发货人业务平台要发送托运书给货代业务平台,这个业务流程就以编码的形式写在所述智能合约中。当所述区块链网络接收到所述发货人业务平台发送的托运书后,就可以确定目的业务平台为货代业务平台。Exemplarily, in the actual business process, the consignor business platform needs to send the consignment letter to the freight forwarder business platform, and this business process is written in the smart contract in the form of code. After the block chain network receives the consignment letter sent by the consignor business platform, it can determine that the destination business platform is the freight forwarding business platform.

根据所述目的业务平台、所述数据内容和发送所述数据内容的业务平台,在所述智能合约的位置数据与业务平台和数据内容的对应关系中,确定当前位置数据。According to the target service platform, the data content and the service platform sending the data content, the current location data is determined in the corresponding relationship between the location data of the smart contract and the service platform and data content.

示例性的,在实际业务流程中,货代要先将出口货物运至港区仓库等待装船,然后持报关材料向海关申请出口。这个业务流程就以编码的形式写在所述智能合约中。所以,当所述区块链网络接收到所述货代业务平台发送的报关材料后,就可以确定货物当前位置数据为港区仓库。Exemplarily, in the actual business process, the freight forwarder first transports the export goods to the warehouse in the port area to wait for loading, and then applies to the customs for export with the customs declaration materials. This business process is written in the smart contract in the form of code. Therefore, when the blockchain network receives the customs declaration materials sent by the freight forwarding business platform, it can be determined that the current location data of the goods is the warehouse in the port area.

示例性的,位置数据与业务平台和数据内容的对应关系可以如表3所示。Exemplarily, the corresponding relationship between location data, service platform and data content may be as shown in Table 3.

表3table 3

发送数据平台Send data platform 数据内容data content 目的业务平台Target business platform 位置数据location data 货代业务平台Freight forwarding business platform 报关材料Customs declaration materials 海关业务平台Customs business platform 港区仓库Port Warehouse

在由所述目的业务平台、所述数据内容、所述当前位置数据和发送所述数据内容的业务平台组成的集合上添加时间戳,得到所述货物数据。Adding a time stamp to the set consisting of the destination service platform, the data content, the current location data, and the service platform sending the data content to obtain the cargo data.

示例性的,所述货物数据可以如表4所示。Exemplarily, the cargo data may be as shown in Table 4.

表4Table 4

发送数据平台Send data platform 数据内容data content 目的业务平台Target business platform 位置数据location data 时间time 货代业务平台Freight forwarding business platform 报关材料Customs declaration materials 海关业务平台Customs business platform 港区仓库Port Warehouse 时间戳timestamp

将所述数据内容发送给所述目的业务平台。Send the data content to the target service platform.

示例性的,将报关材料发送给海关业务平台,以使所述海关业务平台根据报关材料生成出口退税报关单和核销单。Exemplarily, the customs declaration materials are sent to the customs business platform, so that the customs business platform generates an export tax rebate declaration form and a verification form according to the customs declaration materials.

在本发明的又一实施例中,所述货物信息追溯方法还可以包括以下步骤。In yet another embodiment of the present invention, the method for tracing cargo information may further include the following steps.

对于已存储的每个所述货物数据,提取所述数据内容中的所述货物标识。For each of the stored cargo data, the cargo identifier in the data content is extracted.

将具有相同所述货物标识的至少一个所述货物数据组成一个未排序货物状态信息。Combining at least one piece of cargo data with the same cargo identifier into one piece of unsorted cargo status information.

将所述未排序货物状态信息中的所述货物数据按照时间戳从小到大的顺序进行排列,得到所述货物状态信息。Arranging the cargo data in the unsorted cargo status information in ascending order of time stamps to obtain the cargo status information.

示例性的,货物状态信息B3可以如表5所示。Exemplarily, the cargo status information B3 may be as shown in Table 5.

表5table 5

示例性的,货物状态信息B3可以包括:货物数据B31、货物数据B32、货物数据B33、货物数据B34和货物数据B35。其中,第一时间戳<第二时间戳<第三时间戳<第四时间戳<第五时间戳。Exemplarily, the cargo status information B 3 may include: cargo data B 31 , cargo data B 32 , cargo data B 33 , cargo data B 34 and cargo data B 35 . Wherein, first time stamp<second time stamp<third time stamp<fourth time stamp<fifth time stamp.

示例性的,货物数据B32可以如表5的第三行所示。货物数据B32可以包括:货代业务平台、订舱订单、船代业务平台、发货人仓库和第二时间戳。Exemplarily, the cargo data B 32 may be as shown in the third row of Table 5. The cargo data B 32 may include: a freight forwarding business platform, a booking order, a shipping agency business platform, a consignor's warehouse, and a second time stamp.

在本发明的又一实施例中,对本发明实施例所公开的一种货物信息追溯装置进行详细介绍,包括:接收模块、提取模块、查找模块和返回模块。In yet another embodiment of the present invention, a cargo information traceability device disclosed in the embodiment of the present invention is introduced in detail, including: a receiving module, an extracting module, a searching module and a returning module.

所述接收模块,用于接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个业务平台中的一个业务平台。The receiving module is configured to receive a cargo status query request sent by a demand service platform, where the demand service platform is one of multiple service platforms.

所述提取模块,用于提取所述货物状态查询请求中的目标货物标识;The extracting module is used to extract the target cargo identifier in the cargo status inquiry request;

所述查找模块,用于在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息。The searching module is configured to search for the cargo status information corresponding to the target cargo identifier among the stored multiple cargo status information.

所述返回模块,用于将所述货物状态信息返回给所述需求业务平台。The returning module is used to return the cargo status information to the demand service platform.

在本发明的又一实施例中,对本发明实施例所公开的一种货物信息追溯系统进行详细介绍,包括:多个信息采集装置、多个业务平台和一个应用如上述实施例任一所述方法的区块链网络。In yet another embodiment of the present invention, a cargo information traceability system disclosed in the embodiment of the present invention is introduced in detail, including: multiple information collection devices, multiple business platforms and an application as described in any of the above embodiments Method blockchain network.

示例性的,如图4所示,以货物信息追溯系统包括两个信息采集装置、八个业务平台和一个区块链网络01为例进行说明。两个信息采集装置分别为:第一信息采集装置10和第二信息采集装置11。八个业务平台分别为:第一业务平台02、第二业务平台03、第三业务平台04、第四业务平台05、第五业务平台06、第六业务平台07、第七业务平台08和第八业务平台09。第六业务平台07和第二信息采集装置11连接。第五业务平台06和第一信息采集装置10连接。Exemplarily, as shown in FIG. 4 , the cargo information traceability system includes two information collection devices, eight business platforms and a block chain network 01 as an example for illustration. The two information collection devices are respectively: a first information collection device 10 and a second information collection device 11 . The eight service platforms are: the first service platform 02, the second service platform 03, the third service platform 04, the fourth service platform 05, the fifth service platform 06, the sixth service platform 07, the seventh service platform 08 and the Eight Business Platform 09. The sixth service platform 07 is connected to the second information collection device 11 . The fifth service platform 06 is connected to the first information collection device 10 .

在本发明的又一实施例中,多个所述业务平台包括:发货人业务平台。In yet another embodiment of the present invention, the multiple service platforms include: a consignor service platform.

所述发货人业务平台和第一信息采集装置连接,所述第一信息采集装置用于将采集到的货物属性信息发送给所述发货人业务平台,所述发货人业务平台发送给所述区块链网络的数据内容是根据所述货物属性信息生成的。The consignor business platform is connected to the first information collection device, and the first information collection device is used to send the collected cargo attribute information to the consignor business platform, and the consignor business platform sends the The data content of the block chain network is generated according to the property information of the goods.

在本发明的又一实施例中,多个所述业务平台包括:船公司业务平台。In yet another embodiment of the present invention, the multiple business platforms include: a shipping company business platform.

所述船公司业务平台和第二信息采集装置连接,所述第二信息采集装置用于将采集到的集装箱信息发送给所述船公司业务平台,所述船公司业务平台发送给所述区块链网络的数据内容是根据所述集装箱信息生成的。The shipping company business platform is connected to the second information collection device, and the second information collection device is used to send the collected container information to the shipping company business platform, and the shipping company business platform sends it to the block The data content of the chain network is generated according to the container information.

在本发明的又一实施例中,对本发明实施例所公开的一种具有处理器可执行的非易失的程序代码的计算机可读介质进行详细介绍,所述程序代码使所述处理器执行上述实施例任一所述的方法。In yet another embodiment of the present invention, a computer-readable medium with processor-executable non-volatile program code disclosed in the embodiment of the present invention is described in detail, and the program code enables the processor to execute The method described in any one of the above-mentioned embodiments.

除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对步骤、数字表达式和数值并不限制本发明的范围。Relative steps, numerical expressions and numerical values of components and steps set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

本发明实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principles and technical effects of the device provided by the embodiment of the present invention are the same as those of the foregoing method embodiment. For brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the foregoing method embodiment.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described system and device can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在这里示出和描述的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制,因此,示例性实施例的其他示例可以具有不同的值。In all examples shown and described herein, any specific values should be construed as merely exemplary and not limiting, and thus other examples of the exemplary embodiments may have different values.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.

另外,在本发明实施例的描述中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In addition, in the description of the embodiments of the present invention, unless otherwise specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrally connected; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.

在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, or in a specific orientation. construction and operation, therefore, should not be construed as limiting the invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and should not be construed as indicating or implying relative importance.

本发明实施例所提供的进行货物信息追溯方法的计算机程序产品,包括存储了处理器可执行的非易失的程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The computer program product for carrying out the method for tracing cargo information provided by the embodiment of the present invention includes a computer-readable storage medium storing non-volatile program code executable by a processor, and the instructions included in the program code can be used to execute the preceding method For the method described in the embodiment, the specific implementation may refer to the method embodiment, and details are not repeated here.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that: the above-described embodiments are only specific implementations of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting them, and the scope of protection of the present invention is not limited thereto, although referring to the foregoing The embodiment has described the present invention in detail, and those skilled in the art should understand that any person familiar with the technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention Changes can be easily thought of, or equivalent replacements are made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of the present invention within the scope of protection. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1.一种货物信息追溯方法,其特征在于,方法应用于区块链网络,所述区块链网络分别与多个业务平台通信连接,方法包括:1. A method for traceability of cargo information, characterized in that the method is applied to a block chain network, and the block chain network is respectively connected to a plurality of business platforms by communication, and the method includes: 接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个所述业务平台中的一个业务平台;receiving a cargo status query request sent by a demand service platform, where the demand service platform is one of the multiple service platforms; 提取所述货物状态查询请求中的目标货物标识;Extracting the target cargo identifier in the cargo status inquiry request; 在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;Finding the cargo status information corresponding to the target cargo identifier in the multiple pieces of stored cargo status information; 将所述货物状态信息返回给所述需求业务平台。Return the cargo status information to the demand service platform. 2.根据权利要求1所述的货物信息追溯方法,其特征在于,所述在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息,包括:2. The cargo information traceability method according to claim 1, wherein the searching for the cargo status information corresponding to the target cargo identifier among the multiple stored cargo status information includes: 确定与每个所述货物状态信息分别对应的货物标识;determining the cargo identification corresponding to each of the cargo status information; 在多个所述货物标识中,确定与所述目标货物标识匹配的货物标识;Among the plurality of cargo identifiers, determining a cargo identifier that matches the target cargo identifier; 查找与所述目标货物标识匹配的货物标识对应的货物状态信息。Searching for cargo status information corresponding to the cargo ID matching the target cargo ID. 3.根据权利要求2所述的货物信息追溯方法,其特征在于,多个所述业务平台按照其对应的供应链节点在国际贸易供应链中的职能进行排序组成货物供应路径,所述方法还包括:3. The cargo information traceability method according to claim 2, wherein a plurality of the business platforms are sorted according to the functions of their corresponding supply chain nodes in the international trade supply chain to form a cargo supply route, and the method also includes include: 接收任一业务平台发送的数据内容,所述数据内容是与所述业务平台对应的供应链节点将货物开始向下一国际贸易参与方运输时发送的;Receive the data content sent by any business platform, the data content is sent when the supply chain node corresponding to the business platform starts to transport the goods to the next international trade participant; 根据预设的智能合约和所述数据内容,在所述货物供应路径中确定所述业务平台下一跳的目的业务平台;According to the preset smart contract and the data content, determine the destination service platform of the next hop of the service platform in the goods supply route; 在由所述目的业务平台、所述数据内容和发送所述数据内容的业务平台组成的集合上添加时间戳,得到所述货物数据;adding a time stamp to the set consisting of the target business platform, the data content, and the business platform sending the data content to obtain the cargo data; 将所述数据内容发送给所述目的业务平台。Send the data content to the target service platform. 4.根据权利要求2所述的货物信息追溯方法,其特征在于,多个所述业务平台按照其对应的供应链节点在国际贸易供应链中的职能进行排序组成货物供应路径,所述方法还包括:4. The cargo information traceability method according to claim 2, wherein the plurality of business platforms are sorted according to the functions of their corresponding supply chain nodes in the international trade supply chain to form a cargo supply route, and the method also includes: include: 接收任一业务平台发送的数据内容,所述数据内容是与所述业务平台对应的供应链节点将货物开始向下一国际贸易参与方运输时发送的;Receive the data content sent by any business platform, the data content is sent when the supply chain node corresponding to the business platform starts to transport the goods to the next international trade participant; 根据预设的智能合约和所述数据内容,在所述货物供应路径中确定所述业务平台下一跳的目的业务平台;According to the preset smart contract and the data content, determine the destination service platform of the next hop of the service platform in the goods supply route; 根据所述目的业务平台、所述数据内容和发送所述数据内容的业务平台,在所述智能合约的位置数据与业务平台和数据内容的对应关系中,确定当前位置数据;According to the target service platform, the data content, and the service platform sending the data content, determine the current location data in the corresponding relationship between the location data of the smart contract and the service platform and data content; 在由所述目的业务平台、所述数据内容、所述当前位置数据和发送所述数据内容的业务平台组成的集合上添加时间戳,得到所述货物数据;adding a time stamp to the set consisting of the destination business platform, the data content, the current location data, and the business platform sending the data content to obtain the cargo data; 将所述数据内容发送给所述目的业务平台。Send the data content to the target service platform. 5.根据权利要求3-4任一项所述的货物信息追溯方法,其特征在于,方法还包括:5. The cargo information traceability method according to any one of claims 3-4, characterized in that the method further comprises: 对于已存储的每个所述货物数据,提取所述数据内容中的所述货物标识;For each of the stored cargo data, extract the cargo identifier in the data content; 将具有相同所述货物标识的至少一个所述货物数据组成一个未排序货物状态信息;Combining at least one piece of cargo data with the same cargo identifier into one piece of unsorted cargo status information; 将所述未排序货物状态信息中的所述货物数据按照时间戳从小到大的顺序进行排列,得到所述货物状态信息。Arranging the cargo data in the unsorted cargo status information in ascending order of time stamps to obtain the cargo status information. 6.一种货物信息追溯装置,其特征在于,包括:接收模块、提取模块、查找模块和返回模块;6. A cargo information traceability device, comprising: a receiving module, an extracting module, a searching module and a returning module; 所述接收模块,用于接收需求业务平台发送的货物状态查询请求,所述需求业务平台为多个业务平台中的一个业务平台;The receiving module is configured to receive a cargo status query request sent by a demand service platform, where the demand service platform is one of a plurality of service platforms; 所述提取模块,用于提取所述货物状态查询请求中的目标货物标识;The extracting module is used to extract the target cargo identifier in the cargo status inquiry request; 所述查找模块,用于在已存储的多个货物状态信息中,查找与所述目标货物标识对应的货物状态信息;The search module is configured to search for the cargo status information corresponding to the target cargo identifier among the multiple stored cargo status information; 所述返回模块,用于将所述货物状态信息返回给所述需求业务平台。The returning module is used to return the cargo status information to the demand service platform. 7.一种货物信息追溯系统,其特征在于,包括:多个信息采集装置、多个业务平台和一个应用如权利要求1-5任一所述方法的区块链网络。7. A cargo information traceability system, characterized in that it comprises: a plurality of information collection devices, a plurality of business platforms and a blockchain network applying the method according to any one of claims 1-5. 8.根据权利要求7所述的货物信息追溯系统,其特征在于,多个所述业务平台包括:发货人业务平台;8. The cargo information traceability system according to claim 7, wherein the multiple business platforms include: consignor business platform; 所述发货人业务平台和第一信息采集装置连接,所述第一信息采集装置用于将采集到的货物属性信息发送给所述发货人业务平台,所述发货人业务平台发送给所述区块链网络的数据内容是根据所述货物属性信息生成的。The consignor business platform is connected to the first information collection device, and the first information collection device is used to send the collected cargo attribute information to the consignor business platform, and the consignor business platform sends the The data content of the block chain network is generated according to the property information of the goods. 9.根据权利要求7所述的货物信息追溯系统,其特征在于,多个所述业务平台包括:船公司业务平台;9. The cargo information traceability system according to claim 7, wherein the plurality of business platforms include: a shipping company business platform; 所述船公司业务平台和第二信息采集装置连接,所述第二信息采集装置用于将采集到的集装箱信息发送给所述船公司业务平台,所述船公司业务平台发送给所述区块链网络的数据内容是根据所述集装箱信息生成的。The shipping company business platform is connected to the second information collection device, and the second information collection device is used to send the collected container information to the shipping company business platform, and the shipping company business platform sends it to the block The data content of the chain network is generated according to the container information. 10.一种具有处理器可执行的非易失的程序代码的计算机可读介质,其特征在于,所述程序代码使所述处理器执行所述权利要求1-5任一所述方法。10. A computer-readable medium having a non-volatile program code executable by a processor, wherein the program code causes the processor to execute the method according to any one of claims 1-5.
CN201810832789.5A 2018-07-25 2018-07-25 Goods information retroactive method, apparatus and system Pending CN108898407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810832789.5A CN108898407A (en) 2018-07-25 2018-07-25 Goods information retroactive method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810832789.5A CN108898407A (en) 2018-07-25 2018-07-25 Goods information retroactive method, apparatus and system

Publications (1)

Publication Number Publication Date
CN108898407A true CN108898407A (en) 2018-11-27

Family

ID=64352476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810832789.5A Pending CN108898407A (en) 2018-07-25 2018-07-25 Goods information retroactive method, apparatus and system

Country Status (1)

Country Link
CN (1) CN108898407A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544078A (en) * 2018-11-29 2019-03-29 东莞市大易产业链服务有限公司 A kind of cargo managing method based on block chain technology
CN113554417A (en) * 2018-11-29 2021-10-26 创新先进技术有限公司 Resource processing system, and method, device and equipment for approving resource project declaration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056394A (en) * 2016-06-22 2016-10-26 严东军 Product supply chain common service traceability system and traceability method
CN106779527A (en) * 2016-11-10 2017-05-31 北京物资学院 Commodity circulation information inquiry system and method based on block chain
US20170286880A1 (en) * 2012-09-28 2017-10-05 Rex Wiig System and method of a requirement, compliance and resource management
CN107704493A (en) * 2017-08-23 2018-02-16 中链科技有限公司 It is a kind of to be used to provide the method and system that product is traced to the source

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170286880A1 (en) * 2012-09-28 2017-10-05 Rex Wiig System and method of a requirement, compliance and resource management
CN106056394A (en) * 2016-06-22 2016-10-26 严东军 Product supply chain common service traceability system and traceability method
CN106779527A (en) * 2016-11-10 2017-05-31 北京物资学院 Commodity circulation information inquiry system and method based on block chain
CN107704493A (en) * 2017-08-23 2018-02-16 中链科技有限公司 It is a kind of to be used to provide the method and system that product is traced to the source

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544078A (en) * 2018-11-29 2019-03-29 东莞市大易产业链服务有限公司 A kind of cargo managing method based on block chain technology
CN109544078B (en) * 2018-11-29 2021-04-02 东莞市大易产业链服务有限公司 Cargo management method based on block chain technology
CN113554417A (en) * 2018-11-29 2021-10-26 创新先进技术有限公司 Resource processing system, and method, device and equipment for approving resource project declaration

Similar Documents

Publication Publication Date Title
RU2695051C1 (en) Method and system for automatic generation of multimodal services of cargo transportation in real time
CN107392558A (en) Enter, outbound management method and system
CN105787786A (en) E-commerce transaction system
CN111311277B (en) Bill processing method and device based on block chain network and related equipment
CA2961554A1 (en) Managing a supply chain
CN105225088A (en) &#34; door-to-door &#34; international logistics plateform system and method for commerce
CN111639887A (en) Multi-type joint transport processing method, system and node based on alliance chain
CN105976218A (en) Order management system
WO2022096938A1 (en) A crowdsourced logistics system and a method to operate the same
CN114819861A (en) Information publishing method and device for logistics freight platform
CN110738536A (en) data processing method, device and storage medium based on block chain network
CN108897729A (en) A kind of trading template sharing method, device, electronic equipment and storage medium
CN108898407A (en) Goods information retroactive method, apparatus and system
Kim et al. Optimizing the transportation of international container cargoes in Korea
CN105469241A (en) Logistics transportation transaction system
CN106600193B (en) A TPS system
CN110781250B (en) Big data-based BI decision management system and method
CN108090721A (en) A kind of logistics order processing method, apparatus, server and storage medium
CN109242697A (en) Method and related system for realizing supply chain and supply chain finance
CN108053159A (en) Logistics Center Storage Information Management System
CN108805507A (en) A kind of implementation method and device of electronic bill of lading
Cullinane et al. Improving sustainability through digitalisation in reverse logistics
CN110866721A (en) Cross-border service processing method, system, electronic equipment and readable storage medium
CN105117936A (en) Cargo management system based on large data of product and two-dimension code and management method
CN105488649A (en) Logistics transportation transaction management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127