WO2020151619A1 - 库存管理方法、装置、存储介质及电子设备 - Google Patents

库存管理方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2020151619A1
WO2020151619A1 PCT/CN2020/073008 CN2020073008W WO2020151619A1 WO 2020151619 A1 WO2020151619 A1 WO 2020151619A1 CN 2020073008 W CN2020073008 W CN 2020073008W WO 2020151619 A1 WO2020151619 A1 WO 2020151619A1
Authority
WO
WIPO (PCT)
Prior art keywords
inventory
node
party
data
inventory data
Prior art date
Application number
PCT/CN2020/073008
Other languages
English (en)
French (fr)
Inventor
李甜甜
Original Assignee
北京京东尚科信息技术有限公司
北京京东世纪贸易有限公司
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 北京京东尚科信息技术有限公司, 北京京东世纪贸易有限公司 filed Critical 北京京东尚科信息技术有限公司
Publication of WO2020151619A1 publication Critical patent/WO2020151619A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management

Definitions

  • the present invention relates to the technical field of electronic commerce, and in particular to an inventory management method, device, storage medium and electronic equipment.
  • retail inventory management systems mainly include: Warehouse Management System (WMS), Point of Sales (POS) and each manufacturer’s own inventory management system.
  • WMS Warehouse Management System
  • POS Point of Sales
  • each manufacturer own inventory management system.
  • Each stores corresponding inventory data.
  • WMS is responsible for distributing goods and uniformly scheduling inventory
  • POS accepts the inventory in and out of WMS shipments through warehouse receipts, internal distribution orders, etc. for sale.
  • the present invention provides an inventory management method, device, storage medium and electronic equipment, so that all parties in an inventory management system can have unified inventory data so as to perform omni-channel inventory management.
  • an embodiment of the present invention provides an inventory management method, including:
  • the inventory change information is a change request initiated by any node in the blockchain network, where the nodes of the blockchain network include at least: Party A nodes, Party B nodes, and Party C nodes;
  • the inventory data is displayed according to the block data in the blockchain.
  • the determining inventory data according to the acquired inventory change information includes:
  • the first inventory data is determined according to the first inventory change information and the first original inventory data, where the first inventory change information is initiated by the Party A node, and the first original inventory data is the inventory occurrence of the Party A node Inventory data before the change, where the first inventory data is the inventory data after the inventory of the Party A’s node has been changed;
  • the second inventory data is determined according to the first inventory change information and the second original inventory data, where the second original inventory data is the inventory data before the inventory change of the Party B’s node, and the second inventory data is the Party B’s Inventory data after node inventory changes;
  • the third inventory data is determined according to the first inventory change information and the third original inventory data, where the third original inventory data is the inventory data before the inventory change of the Party C node, and the third inventory data is the The inventory data of Party C node inventory after the change.
  • the blockchain network includes: an application layer, a service layer, a consensus layer, a network service layer, and a data layer;
  • the application layer is provided with a Party A node port, a Party B node port, and a Party C node port, wherein the Party A node port, the Party B node port and the Party C node port are respectively used to receive the inventory change information;
  • a monitoring port is provided in the service layer, and the monitoring port is used to monitor the first inventory data, the second inventory data, and the third inventory data;
  • the consensus layer is used to unify the inventory data in the Party A node, the Party B node, and the Party C node;
  • the network service layer is used to provide data transmission services for each node of the blockchain network
  • the data layer is used to store the block data.
  • the node port of Party A, the node port of Party B, and the node port of Party C are all page ports.
  • the Party A node is a consignor node
  • the Party B node is a seller node
  • the Party C node is a merchant node.
  • an embodiment of the present invention also provides an inventory management device, including:
  • the obtaining module is used to obtain inventory change information, which is a change request initiated by any node in the blockchain network, where the nodes of the blockchain network include at least: Party A node, Party B node, and Party C node;
  • Processing module used to determine inventory data according to the acquired inventory change information, and write the inventory data into the blockchain
  • the display module is used to display the inventory data according to the block data in the blockchain.
  • the processing module is specifically used for:
  • the first inventory data is determined according to the first inventory change information and the first original inventory data, where the first inventory change information is initiated by the Party A node, and the first original inventory data is the inventory occurrence of the Party A node Inventory data before the change, where the first inventory data is the inventory data after the inventory of the Party A’s node has been changed;
  • the third inventory data is determined according to the first inventory change information and the third original inventory data, where the third original inventory data is the inventory data before the inventory change of the Party C node, and the third inventory data is the The inventory data of Party C node inventory after the change.
  • the blockchain network includes: an application layer, a service layer, a consensus layer, a network service layer, and a data layer;
  • the application layer is provided with a Party A node port, a Party B node port, and a Party C node port, wherein the Party A node port, the Party B node port and the Party C node port are respectively used to receive the inventory change information;
  • a monitoring port is provided in the service layer, and the monitoring port is used to monitor the first inventory data, the second inventory data, and the third inventory data;
  • the consensus layer is used to unify the inventory data in the Party A node, the Party B node, and the Party C node;
  • the network service layer is used to provide data transmission services for each node of the blockchain network
  • the data layer is used to store the block data.
  • the node port of Party A, the node port of Party B, and the node port of Party C are all page ports.
  • the Party A node is a consignor node
  • the Party B node is a seller node
  • the Party C node is a merchant node.
  • an embodiment of the present invention also provides a storage medium on which a computer program is stored, and when the program is executed by a processor, any one of the possible inventory management methods in the first aspect is implemented.
  • an embodiment of the present invention also provides an electronic device, including:
  • a memory for storing executable instructions of the processor
  • the processor is configured to execute any one of the possible inventory management methods in the first aspect by executing the executable instruction.
  • the inventory management method, device, storage medium, and electronic equipment provided by the embodiments of the present invention first obtain inventory change information, and then determine inventory data according to the obtained inventory change information, and write the inventory data into the blockchain , Finally, the inventory data is displayed according to the block data in the blockchain, and different nodes are integrated into the blockchain network through the blockchain technology, so that each node can synchronize the same inventory data, effectively protecting The data fairness, uniqueness and consistency of inventory data in omni-channel interactions are avoided, the difference in inventory circulation is avoided, the synchronization and accuracy of inventory circulation are protected, customer complaints are reduced, and user experience is improved.
  • Fig. 1 is a schematic diagram showing an application scenario of an inventory management method according to an exemplary embodiment of the present invention
  • FIG. 2 is a schematic diagram of the architecture of the blockchain network in the embodiment shown in FIG. 1;
  • Fig. 3 is a schematic flowchart of an inventory management method according to an exemplary embodiment
  • FIG. 4 is a schematic diagram of a possible flow of step 102 in the embodiment shown in FIG. 3;
  • Fig. 5 is a schematic diagram showing the application of an inventory management method according to an exemplary embodiment
  • Fig. 6 is a control flowchart of an inventory management method according to an exemplary embodiment
  • Fig. 7 is another control flowchart of an inventory management method according to an exemplary embodiment
  • Fig. 8 is a schematic structural diagram of an inventory management device according to an exemplary embodiment of the present invention.
  • Fig. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
  • Fig. 1 is a schematic diagram showing an application scenario of an inventory management method according to an exemplary embodiment of the present invention.
  • the blockchain-based inventory management method provided by the embodiment of the present invention can be applied to the blockchain network shown in Figure 1, where the blockchain network may include multiple nodes.
  • the node can be any party in the supply chain, such as a consignor node, a seller node, and a merchant node with goods. It is worth noting that in this embodiment and other embodiments below, the number of nodes in the blockchain network is not determined. As a limitation, if it involves a specific number of nodes, it is only an explanatory description of one of the applications in the embodiment of the present invention.
  • FIG. 2 is a schematic diagram of the architecture of the blockchain network in the embodiment shown in FIG. 1.
  • the blockchain network to which the inventory management method provided in this embodiment is applied includes: an application layer, an extension layer, and a protocol layer.
  • the extension layer specifically includes a service service layer and a consensus layer
  • the protocol layer includes a network service layer and a data layer.
  • the application layer is provided with Party A node ports, Party B node ports, and Party C node ports.
  • Party A node ports, Party B node ports, and Party C node ports are respectively used to receive inventory change information.
  • Party A’s node port, Party B’s node port, and Party C’s node port can be entered through page ports, such as browser/server (Browser/Serve, referred to as B/S) for inventory query and analysis
  • B/S Browser/server
  • tracking using the B/S method, combined with the blockchain architecture, used to store a large amount of transaction and inventory circulation information, each record is linked in an orderly manner from back to front, with the characteristics of openness and transparency, no tampering, and convenient traceability.
  • Party A nodes, Party B nodes, and Party C nodes conduct transactions and inventory circulation, and display the results to customers.
  • the service layer is provided with a listening port, which is used to monitor the first inventory data, the second inventory data, and the third inventory data corresponding to the Party A node, the Party B node, and the Party C node respectively. In addition, it is also set in the service layer.
  • the consensus layer is used to unify the inventory data in Party A's nodes, Party B's nodes, and Party C's nodes, which means that all nodes in the entire network can agree on transactions and data.
  • the algorithm used to prevent consensus attacks such as Byzantine attacks, Sybil attacks, and 51% attacks is called a consensus mechanism. Because of its different application scenarios, blockchain 2.0 has a variety of unique consensus mechanisms. In this embodiment, various inventory information, transaction information, sku information, etc. can be published and recorded, and data can be interacted and processed with other external systems, thereby realizing applications in the retail industry and manufacturing industry.
  • the network service layer it is used to provide data transmission services for each node of the blockchain network. Specifically, it can be based on IP protocol, ARP protocol, RARP and other protocols responsible for point-to-point transmission, and provide for the transmission layer service.
  • the data layer is used to store block data.
  • the data layer is also the bottom layer, which is the foundation of all other layers. It mainly implements two functions. One is the storage of related data, and the other is the realization and implementation of accounts and transactions. Safety.
  • the data storage can be based on the Merkle tree, realized through the block method and the chain structure, and is persisted in the KV database.
  • Ethereum uses leveldb.
  • the realization of account numbers and transactions is based on a variety of cryptographic algorithms and technologies such as digital signatures, hash functions, and asymmetric encryption technologies, ensuring that transactions can be carried out safely under decentralized conditions.
  • Fig. 3 is a schematic flowchart of an inventory management method according to an exemplary embodiment. As shown in Figure 3, the inventory management method provided by this embodiment includes:
  • Step 101 Obtain inventory change information.
  • the inventory change information is a change request initiated by any node in the blockchain network, where the nodes of the blockchain network include: Party A nodes, Party B nodes, and Party C nodes.
  • the party A node may be a consignor node
  • the party B node may be a seller node
  • the party C node may be a merchant node.
  • the consignor can distribute the quantity information to the seller; when the inventory change information is initiated by the seller node, it can be the seller’s sales quantity information; and when the inventory change information is initiated by the merchant node, Information on the quantity of goods shipped by the merchant to the seller.
  • the specific form of the inventory change information is not limited, and it is only necessary to ensure that the inventory change information can truly reflect the inventory situation and changes of each node.
  • Step 102 Determine inventory data according to the acquired inventory change information.
  • the inventory data can be determined according to the acquired inventory change information.
  • FIG. 4 is a schematic diagram of a possible flow of step 102 in the embodiment shown in FIG. 3.
  • step 102 in the inventory management method provided in this embodiment may include:
  • Step 1021 Determine first inventory data according to the first inventory change information and the first original inventory data.
  • the first inventory data is determined according to the first inventory change information and the first original inventory data, where the first inventory change information is initiated by the Party A node, and the first original inventory data is the inventory data before the inventory change of the Party A node ,
  • the first inventory data is the inventory data after Party A’s node inventory is changed.
  • Step 1022 Determine second inventory data according to the first inventory change information and the second original inventory data.
  • the second inventory data is determined according to the first inventory change information and the second original inventory data, where the second original inventory data is the inventory data before Party B’s node inventory is changed, and the second inventory data is after Party B’s node inventory is changed Inventory data
  • Step 1023 Determine third inventory data according to the first inventory change information and the third original inventory data.
  • the third inventory data is determined according to the first inventory change information and the third original inventory data, where the third original inventory data is the inventory data before the inventory change of Party C’s node, and the third inventory data is the inventory occurrence of Party C’s node.
  • Step 103 Write the inventory data into the blockchain.
  • the inventory data After determining the inventory data, write the inventory data into the blockchain. Specifically, the inventory data is stored in the block data of the blockchain, and the block data is stored in the data layer.
  • Step 104 Display the inventory data according to the block data in the blockchain.
  • the application layer can display the inventory data based on the block data in the blockchain. That is, Party A nodes, Party B nodes, and Party C nodes can all obtain inventory data in the application layer interface.
  • the inventory change information is acquired first, and then the inventory data is determined according to the acquired inventory change information, and the inventory data is written into the blockchain. Finally, the inventory is displayed according to the block data in the blockchain Data, by integrating different nodes into the blockchain network through blockchain technology, so that each node can synchronize the same inventory data, which effectively protects the fairness and uniqueness of inventory data in omni-channel interactions It also avoids the difference in inventory circulation, protects the synchronization and accuracy of inventory circulation, reduces customer complaints, and improves user experience.
  • the management mode using the inventory management method provided in this embodiment has strong scalability, which facilitates access to each node for inventory chain sales.
  • Fig. 5 is a schematic diagram showing the application of an inventory management method according to an exemplary embodiment.
  • the consignor node, the seller node, and the merchant node are all connected to the blockchain network.
  • the consignor node wants the seller node to ship, the consignor node initiates inventory
  • the change request is written into the blockchain inventory flow and its changes.
  • the seller node completes the receipt, it is also written into the blockchain to make inventory data changes.
  • the merchant node receives the goods or the order is completed, the inventory data is also modified. , And write to the blockchain.
  • Fig. 6 is a control flowchart of an inventory management method according to an exemplary embodiment.
  • Fig. 7 is another control flowchart of an inventory management method according to an exemplary embodiment.
  • the control flowcharts shown in FIG. 6 and FIG. 7 are the specific processes of the first round and the second round of inventory changes, respectively.
  • the actual categories are divided into inventory data, merchant inventory, seller inventory, inventory in transit, stock inventory, inventory to be returned, and inventory returned. Goods inventory, available inventory.
  • FIG. 8 is a schematic structural diagram of an inventory management device according to an exemplary embodiment of the present invention.
  • an inventory management device provided by an embodiment of the present invention includes:
  • the obtaining module 201 is used to obtain inventory change information, which is a change request initiated by any node in the blockchain network, where the nodes of the blockchain network at least include: Party A node, Party B node, and Party C Party node
  • the processing module 202 is configured to determine inventory data according to the acquired inventory change information, and write the inventory data into the blockchain;
  • the display module 203 is configured to display the inventory data according to the block data in the blockchain.
  • processing module 202 is specifically configured to:
  • the first inventory data is determined according to the first inventory change information and the first original inventory data, where the first inventory change information is initiated by the Party A node, and the first original inventory data is the inventory occurrence of the Party A node Inventory data before the change, where the first inventory data is the inventory data after the inventory of the Party A’s node has been changed;
  • the third inventory data is determined according to the first inventory change information and the third original inventory data, where the third original inventory data is the inventory data before the inventory change of the Party C node, and the third inventory data is the The inventory data of Party C node inventory after the change.
  • the blockchain network includes: an application layer, a service layer, a consensus layer, a network service layer, and a data layer;
  • the application layer is provided with a Party A node port, a Party B node port, and a Party C node port, wherein the Party A node port, the Party B node port and the Party C node port are respectively used to receive the inventory change information;
  • a monitoring port is provided in the service layer, and the monitoring port is used to monitor the first inventory data, the second inventory data, and the third inventory data;
  • the consensus layer is used to unify the inventory data in the Party A node, the Party B node, and the Party C node;
  • the network service layer is used to provide data transmission services for each node of the blockchain network
  • the data layer is used to store the block data.
  • the node port of Party A, the node port of Party B, and the node port of Party C are all page ports.
  • the Party A node is a consignor node
  • the Party B node is a seller node
  • the Party C node is a merchant node.
  • the inventory management device provided in the embodiment shown in FIG. 8 can be used to implement the inventory management method provided in the above-mentioned embodiments shown in FIG. 3 to FIG. 4.
  • the specific implementation methods and technical effects are similar, and details are not repeated here.
  • Fig. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. As shown in FIG. 9, the electronic device 30 provided in this embodiment includes:
  • the memory 302 is configured to store a computer program of the processor
  • the processor 301 is configured to implement the inventory management method provided by any implementation manner in the foregoing method embodiments by executing the computer program.
  • the processor 401 is configured to execute the technical solution described in any one of the foregoing method embodiments by executing the executable instruction, and the implementation principles and technical effects are similar, and will not be repeated here.
  • This embodiment also provides a readable storage medium in which a computer program is stored.
  • a computer program is stored.
  • the electronic device executes the methods provided in the foregoing various embodiments.
  • This embodiment also provides a program product, which includes a computer program, and the computer program is stored in a readable storage medium. At least one processor of the electronic device can read the computer program from a readable storage medium, and at least one processor executes the computer program to enable the electronic device to implement the methods provided in the various embodiments described above.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种库存管理方法、装置、存储介质及电子设备。本发明实施例提供的库存管理方法,包括:获取库存更改信息,其中,库存更改信息为区块链网络中任意节点发起的更改请求,其中,区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;根据获取的库存更改信息确定库存数据,并将库存数据写入区块链中;根据区块链中的区块数据显示库存数据。本发明实施例提供的库存管理方法通过区块链技术将不同的节点整合成融合至区块链网络中,以使各个节点都同步同一份库存数据,有效地保护了库存数据在全渠道交互中的数据公正性、唯一性以及及一致性,并避免了库存流转差异性,保护了库存流转的同步及准确,减少客诉,提高用户体验。

Description

库存管理方法、装置、存储介质及电子设备 技术领域
本发明涉及电子商务技术领域,尤其涉及一种库存管理方法、装置、存储介质及电子设备。
背景技术
随着互联网购物的兴起,无界零售概念的提出,一大批传统零售店铺亟待从传统零售门店向线上线下兼容转型,从而导致零售库存需求变得多元化,库存管理变得更加繁琐复杂。
目前,零售库存管理系统主要包括:仓库管理系统(Warehouse Management System,简称WMS),销售时点信息系统(Point of Sales,简称POS)以及各个生产厂商自己的库存管理系统,其中,在每个系统都都各自存储有对应的库存数据。基于现有的零售库存管理系统,其存储管理模式通常是WMS负责铺货,并进行统一调度库存,然后POS通过入库单、内配单等接受WMS发货过来的库存进出量进行售卖。
但是,各个系统间交互由于网络或者线下运输的问题,可能会导致库存不一致,一旦系统之间交互出现延迟,库存未能及时更新,则会导致门店超卖,进而影响客户体验。
发明内容
本发明提供一种库存管理方法、装置、存储介质及电子设备,以使得库存管理系统中的各方都能够具有统一的库存数据,以便进行全渠道的库存管理。
第一方面,本发明实施例提供一种库存管理方法,包括:
获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节 点以及丙方节点;
根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
根据所述区块链中的区块数据显示所述库存数据。
在一种可能的设计中,所述根据获取的库存更改信息确定库存数据,包括:
根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
在一种可能的设计中,所述区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存数据、所述第二库存数据以及所述第三库存数据;
所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
所述数据层用于存储所述区块数据。
在一种可能的设计中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
在一种可能的设计中,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
第二方面,本发明实施例还提供一种库存管理装置,包括:
获取模块,用于获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;
处理模块,用于根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
显示模块,用于根据所述区块链中的区块数据显示所述库存数据。
在一种可能的设计中,所述处理模块,具体用于:
根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
在一种可能的设计中,所述区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存数据、所述第二库存数据以及所述第三库存数据;
所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
所述数据层用于存储所述区块数据。
在一种可能的设计中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
在一种可能的设计中,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
第三方面,本发明实施例还提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面中任意一种可能的库存管理方法。
第四方面,本发明实施例还提供一种电子设备,包括:
处理器;以及,
存储器,用于存储所述处理器的可执行指令;
其中,所述处理器配置为经由执行所述可执行指令来执行第一方面中任意一种可能的库存管理方法。
本发明实施例提供的一种库存管理方法、装置、存储介质及电子设备,通过先获取库存更改信息,然后,再根据获取的库存更改信息确定库存数据,并将库存数据写入区块链中,最后,根据区块链中的区块数据显示库存数据,以通过区块链技术将不同的节点整合成融合至区块链网络中,以使各个节点都同步同一份库存数据,有效地保护了库存数据在全渠道交互中的数据公正性、唯一性以及及一致性,并避免了库存流转差异性,保护了库存流转的同步及准确,减少客诉,提高用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明根据一示例实施例示出的库存管理方法的应用场景的示意图;
图2是图1所示实施例中区块链网络的架构示意图;
图3是根据一示例实施例示出的库存管理方法的流程示意图;
图4是图3所示实施例中步骤102的一种可能流程示意图;
图5是根据一示例实施例示出的库存管理方法的应用示意图;
图6是根据一示例实施例示出的库存管理方法的一种控制流程图;
图7是根据一示例实施例示出的库存管理方法的另一种控制流程图;
图8是本发明根据一示例实施例示出的库存管理装置的结构示意图;
图9是本发明根据一示例实施例示出的电子设备的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
图1是本发明根据一示例实施例示出的库存管理方法的应用场景的示意图。如图1所示,本发明实施例所提供的基于区块链的库存管理方法可应用于图1所示的区块链网络,其中,在该区块链网络可以包括有多个节点,该节点可以为供应链中的任意一方,例如寄售方节点、卖方节点以及带货商家节点,值得说明地,在本实施例以及下述其他实施例中,并不对区块链网络的节点个数进行限定,若涉及具体的节点数量,也只是对本发明实施例中的其中一种应用所进行的解释性说明。
图2是图1所示实施例中区块链网络的架构示意图。如图2所示,本实施例提供的库存管理方法所应用的区块链网络包括:应用层、扩展层以及以协议层。其中,扩展层具体包括服服务层以及共识层,而协议层包括网络服务层以及数据层。
其中,应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端 口,其中,甲方节点端口、乙方节点端口以及丙方节点端口分别用于接收库存更改信息。在一种可能的设计中,甲方节点端口、乙方节点端口以及丙方节点端口可以通过页面端口进行输入,例如浏览器/服务器(Browser/Serve,简称B/S)的方式进行库存查询、分析以及追踪,采用B/S方式,结合区块链的架构,用来存储大量交易及库存流转信息,每条记录从后向前有序链接起来,具备公开透明、无法篡改、方便追溯的特点,既增强了区块链网络的安全性和易用性,又增强了数据的不可攒改性。并且,应用层提供服务,甲方节点、乙方节点以及丙方节点进行交易及库存流转,并将结果显示给客户。
而服务层中设置有监听端口,监听端口用于监听甲方节点、乙方节点以及丙方节点分别对应的第一库存数据、第二库存数据以及第三库存数据,此外,在服务层中还设置有门店POS应用、节点管理、库存应用以及物流应用。
此外,共识层用于统一甲方节点、乙方节点以及丙方节点中的库存数据,即实现全网所有节点对交易和数据达成一致。并且,用于防范拜占庭攻击、女巫攻击、51%攻击等共识攻击,其算法称为共识机制,因为其应用场景不同,区块链2.0出现了多种富有特色的共识机制。在本实施例中中可以发布及记录各种库存信息、交易信息、sku信息等,并能与其它外部系统进行数据交互和处理,从而实现零售行业、制造行业应用。
而对于网络服务层,则是用于为区块链网络的各个节点提供数据传输服务,具体地,可以是基于IP协议,ARP协议,RARP等协议负责点到点的传输,并为传输层提供服务。
而数据层则用于存储区块数据,其中,数据层也是为最底层,是一切其他层的基础,主要实现了两个功能,一个是相关数据的存储,另一个是账户和交易的实现与安全。而数据存储可以是基于Merkle树,通过区块的方式和链式结构实现,并且以KV数据库的方式实现持久化,例如,以太坊采用leveldb。帐号和交易的实现基于数字签名、哈希函数和非对称加密技术等多种密码学算法和技术,保证了交易在去中心化的情况下能够安全的进行。
下面通过几个具体实现方式对该游戏界面测试方法进行详细说明。
图3是根据一示例实施例示出的库存管理方法的流程示意图。如图3 所示,本实施例提供的库存管理方法,包括:
步骤101、获取库存更改信息。
具体地,库存更改信息为区块链网络中任意节点发起的更改请求,其中,区块链网络的节点包括:甲方节点、乙方节点以及丙方节点。可选地,甲方节点可以为寄售方节点,乙方节点可以为卖方节点,而丙方节点可以为商家节点。当库存更改信息为寄售方节点发起时,可以为寄售方向卖方铺货数量信息;而当库存更改信息为卖方节点发起时,可以为卖方销售数量信息;而当库存更改信息为商家节点发起时,商家发货给卖方货物数量信息。值得说明地,在本实施例中,并不对库存更改信息具体地形式进行限定,只需保证库存更改信息能够真实反映各个节点的库存情况及变化即可。
步骤102、根据获取的库存更改信息确定库存数据。
具体地,在获取到库存更改信息之后,可以根据获取的库存更改信息确定库存数据。
由于区块链网络中任意节点发起库存更改信息之后,其他节点与对应的库存信息也会发生改变。图4是图3所示实施例中步骤102的一种可能流程示意图,如图4所示,本实施例提供的库存管理方法中的步骤102,可以包括:
步骤1021、根据第一库存更改信息以及第一原始库存数据确定第一库存数据。
具体地,根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,第一库存更改信息由甲方节点发起,第一原始库存数据为甲方节点库存发生变更前的库存数据,第一库存数据为甲方节点库存发生变更后的库存数据。
步骤1022、根据第一库存更改信息以及第二原始库存数据确定第二库存数据。
具体地,根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,第二原始库存数据为乙方节点库存发生变更前的库存数据,第二库存数据为乙方节点库存发生变更后的库存数据
步骤1023、根据第一库存更改信息以及第三原始库存数据确定第三库存数据。
具体地,根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,第三原始库存数据为丙方节点库存发生变更前的库存数据,第三库存数据为丙方节点库存发生变更后的库存数据。
步骤103、将库存数据写入区块链中。
在确定库存数据之后,将库存数据写入区块链中。具体地,库存数据存储在区块链的区块数据中,而区块数据存储在数据层。
步骤104、根据区块链中的区块数据显示库存数据。
而在将库存数据写入区块链中之后,在应用层可以根据区块链中的区块数据显示库存数据。即甲方节点、乙方节点以及丙方节点均可以在应用层的界面中获取库存数据。
在本实施例中,通过先获取库存更改信息,然后,再根据获取的库存更改信息确定库存数据,并将库存数据写入区块链中,最后,根据区块链中的区块数据显示库存数据,以通过区块链技术将不同的节点整合成融合至区块链网络中,以使各个节点都同步同一份库存数据,有效地保护了库存数据在全渠道交互中的数据公正性、唯一性以及一致性,并避免了库存流转差异性,保护了库存流转的同步及准确,减少客诉,提高用户体验。此外,由于区块链网络的可扩展性,也使得利用本实施例提供的库存管理方法进行的管理模式具有很强的扩展性,方便各个节点接入进行库存链销货。
下面结合本实施例提供的库存管理方法的一个具体的应用场景对上述库存数据的变更原理进行说明。
图5是根据一示例实施例示出的库存管理方法的应用示意图。如图5所示,在本实施例提供的库存管理方法中,寄售方节点、卖方节点以及商家节点均接入区块链网络,当寄售方节点想卖方节点发货时,寄售方节点发起库存更改请求,写入区块链库存流水及其变化,当卖方节点完成收货时,同样写入区块链,做库存数据变化,此外,当商家节点收货或者订单完成时,同样修改库存数据,并写入区块链。
图6是根据一示例实施例示出的库存管理方法的一种控制流程图。图7是根据一示例实施例示出的库存管理方法的另一种控制流程图。具体地,图6和图7所示的控制流程图分别为第一轮以及第二轮的库存变更具体过程。在实际的供应链管理中,为了能够对各类库存状态显示地更加清楚, 会将现实的目类分为库存数据、商家库存、卖方库存、在途库存、现货库存、待回货库存、已回货库存、可用库存。
图8是本发明根据一示例实施例示出的库存管理装置的结构示意图。如图8所示,本发明实施例提供的一种库存管理装置,包括:
获取模块201,用于获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;
处理模块202,用于根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
显示模块203,用于根据所述区块链中的区块数据显示所述库存数据。
在一种可能的设计中,所述处理模块202,具体用于:
根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
在一种可能的设计中,所述区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存数据、所述第二库存数据以及所述第三库存数据;
所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
所述数据层用于存储所述区块数据。
在一种可能的设计中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
在一种可能的设计中,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
值得说明地,图8所示实施例提供的库存管理装置,可用于执行上述图3-图4所示实施例提供的库存管理方法,具体实现方式和技术效果类似,这里不再赘述。
图9是本发明根据一示例实施例示出的电子设备的结构示意图。如图9所示,本实施例提供的电子设备30,包括:
处理器301;
存储器302,用于存储所述处理器的计算机程序;
其中,所述处理器301被配置为通过执行所述计算机程序来实现前述方法实施例中任一实现方式提供的库存管理方法。
中,所述处理器401配置为经由执行所述可执行指令来执行前述任一项方法实施例所述的技术方案,其实现原理和技术效果类似,此处不再赘述。
本实施例还提供一种可读存储介质,可读存储介质中存储有计算机程序,当电子设备的至少一个处理器执行该计算机程序时,电子设备执行上述的各种实施方式提供的方法。
本实施例还提供一种程序产品,该程序产品包括计算机程序,该计算机程序存储在可读存储介质中。电子设备的至少一个处理器可以从可读存储介质读取该计算机程序,至少一个处理器执行该计算机程序使得电子设备实施上述的各种实施方式提供的方法。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的 普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或对其中部分或全部技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (20)

  1. 一种库存管理方法,其特征在于,包括:
    获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;
    根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
    根据所述区块链中的区块数据显示所述库存数据。
  2. 根据权利要求1所述的库存管理方法,其特征在于,所述根据获取的库存更改信息确定库存数据,包括:
    根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
  3. 根据权利要求2所述的库存管理方法,其特征在于,所述区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
    所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
    所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存数据、所述第二库存数据以及所述第三库存数据;
    所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
    所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
    所述数据层用于存储所述区块数据。
  4. 根据权利要求3所述的库存管理方法,其特征在于,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
  5. 根据权利要求1-4中任意一项所述的库存管理方法,其特征在于,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
  6. 一种库存管理装置,其特征在于,包括:
    获取模块,用于获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;
    处理模块,用于根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
    显示模块,用于根据所述区块链中的区块数据显示所述库存数据。
  7. 根据权利要求6所述的库存管理装置,其特征在于,所述处理模块,具体用于:
    根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
  8. 根据权利要求7所述的库存管理装置,其特征在于,所述区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
    所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
    所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存 数据、所述第二库存数据以及所述第三库存数据;
    所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
    所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
    所述数据层用于存储所述区块数据。
  9. 根据权利要求8所述的库存管理装置,其特征在于,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
  10. 根据权利要求6-9中任意一项所述的库存管理装置,其特征在于,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时,实现以下步骤:
    获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;
    根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
    根据所述区块链中的区块数据显示所述库存数据。
  12. 根据权利要求11所述的计算机可读存储介质,其特征在于,所述根据获取的库存更改信息确定库存数据,包括:
    根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
  13. 根据权利要求12所述的计算机可读存储介质,其特征在于,所述 区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
    所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
    所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存数据、所述第二库存数据以及所述第三库存数据;
    所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
    所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
    所述数据层用于存储所述区块数据。
  14. 根据权利要求13所述的计算机可读存储介质,其特征在于,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
  15. 根据权利要求11-14中任意一项所述的计算机可读存储介质,其特征在于,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
  16. 一种电子设备,其特征在于,包括:
    处理器;以及,
    存储器,用于存储所述处理器的可执行指令;
    其中,所述处理器配置为经由执行所述可执行指令来执行以下步骤:
    获取库存更改信息,所述库存更改信息为区块链网络中任意节点发起的更改请求,其中,所述区块链网络的节点至少包括:甲方节点、乙方节点以及丙方节点;
    根据获取的库存更改信息确定库存数据,并将所述库存数据写入区块链中;
    根据所述区块链中的区块数据显示所述库存数据。
  17. 根据权利要求16所述的电子设备,其特征在于,所述根据获取的库存更改信息确定库存数据,包括:
    根据第一库存更改信息以及第一原始库存数据确定第一库存数据,其中,所述第一库存更改信息由所述甲方节点发起,所述第一原始库存数据为所述甲方节点库存发生变更前的库存数据,所述第一库存数据为所述甲方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第二原始库存数据确定第二库存数据,其中,所述第二原始库存数据为所述乙方节点库存发生变更前的库存数据,所述第二库存数据为所述乙方节点库存发生变更后的库存数据;
    根据第一库存更改信息以及第三原始库存数据确定第三库存数据,其中,所述第三原始库存数据为所述丙方节点库存发生变更前的库存数据,所述第三库存数据为所述丙方节点库存发生变更后的库存数据。
  18. 根据权利要求17所述的电子设备,其特征在于,所述区块链网络包括:应用层、服务层、共识层、网络服务层以及数据层;
    所述应用层中设置有甲方节点端口、乙方节点端口以及丙方节点端口,其中,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口分别用于接收所述库存更改信息;
    所述服务层中设置有监听端口,所述监听端口用于监听所述第一库存数据、所述第二库存数据以及所述第三库存数据;
    所述共识层用于统一所述甲方节点、所述乙方节点以及所述丙方节点中的所述库存数据;
    所述网络服务层用于为所述区块链网络的各个节点提供数据传输服务;
    所述数据层用于存储所述区块数据。
  19. 根据权利要求18所述的电子设备,其特征在于,所述甲方节点端口、所述乙方节点端口以及所述丙方节点端口均为页面端口。
  20. 根据权利要求16-19中任意一项所述的电子设备,其特征在于,所述甲方节点为寄售方节点,所述乙方节点为卖方节点,所述丙方节点为商家节点。
PCT/CN2020/073008 2019-01-22 2020-01-19 库存管理方法、装置、存储介质及电子设备 WO2020151619A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910060365.6A CN111461585B (zh) 2019-01-22 2019-01-22 库存管理方法、装置、存储介质及电子设备
CN201910060365.6 2019-01-22

Publications (1)

Publication Number Publication Date
WO2020151619A1 true WO2020151619A1 (zh) 2020-07-30

Family

ID=71682255

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/073008 WO2020151619A1 (zh) 2019-01-22 2020-01-19 库存管理方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN111461585B (zh)
WO (1) WO2020151619A1 (zh)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470265A (zh) * 2018-03-27 2018-08-31 深圳春沐源控股有限公司 一种基于区块链的多库房数据管理方法及相关设备
CN109067582A (zh) * 2018-08-03 2018-12-21 腾讯科技(深圳)有限公司 一种数据管理系统、方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10140470B2 (en) * 2016-02-22 2018-11-27 Bank Of America Corporation System for external validation of distributed resource status
CN106228344A (zh) * 2016-07-28 2016-12-14 杭州云象网络技术有限公司 一种基于区块链技术的电子政务系统建设方法
US20180047108A1 (en) * 2016-08-10 2018-02-15 Toollogo Llc Method and system for seamlessly propagating an inventory of possessions and automating insurance claims
CN108519862B (zh) * 2018-03-30 2020-03-17 百度在线网络技术(北京)有限公司 区块链系统的存储方法、装置、系统和存储介质
CN108683539B (zh) * 2018-05-21 2022-03-25 腾讯科技(深圳)有限公司 区块链网络的管理方法、装置、介质及电子设备
CN108985790A (zh) * 2018-06-25 2018-12-11 平安科技(深圳)有限公司 基于区块链的防伪方法、系统、计算机设备和存储介质
CN108985772B (zh) * 2018-07-02 2022-03-18 上海达家迎信息科技有限公司 一种区块链的验证方法、装置、设备及存储介质
CN108900364B (zh) * 2018-08-22 2021-11-26 泰康保险集团股份有限公司 区块链网络的管理方法、装置、介质及电子设备

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470265A (zh) * 2018-03-27 2018-08-31 深圳春沐源控股有限公司 一种基于区块链的多库房数据管理方法及相关设备
CN109067582A (zh) * 2018-08-03 2018-12-21 腾讯科技(深圳)有限公司 一种数据管理系统、方法及装置

Also Published As

Publication number Publication date
CN111461585B (zh) 2024-04-16
CN111461585A (zh) 2020-07-28

Similar Documents

Publication Publication Date Title
US20190116185A1 (en) Access authority management method, access authority management system, and access authority management apparatus
KR102254500B1 (ko) 블록체인 상의 스마트 계약의 보안을 개선하기 위한 시스템 및 방법
JP7359790B2 (ja) ブロックチェーンの分散台帳を実装する分散調整エンジンベースの取引方法、装置、及びシステム
EP3528190A1 (en) Offline crypto asset custodian
WO2020155832A1 (zh) 跨链用权系统及方法、装置、电子设备、存储介质
US10824988B2 (en) Automated inventory management including blockchain smart contracting
US20130339199A1 (en) Inventory exchange for managing inventory across multiple sales channels
US10977230B2 (en) Data information processing method and data storage system
WO2020258696A1 (zh) 财务审批管理系统及方法
WO2019033741A1 (zh) 投资产品的资源处理方法、装置、存储介质和计算机设备
TW201626301A (zh) 電子憑證產生裝置及其系統
US20230214820A1 (en) Method and gui for settlement of commodity contracts denominated in commodity contract tokens
US8024734B2 (en) Enabling a designer to specify workflows to process various results of execution of transactions
KR100751715B1 (ko) 상품 정보 공유를 위한 인터넷 기반의 상품 정보 공유시스템
WO2020151619A1 (zh) 库存管理方法、装置、存储介质及电子设备
WO2019183544A1 (en) System and method for the verification and visualization of subcomponents in a product
US20200302470A1 (en) Multi-axis blockchain clearance of offers
WO2017167064A1 (zh) 一种数据管控的方法及系统
WO2022183913A1 (zh) 基于区块链的物权交互
JP6649502B2 (ja) データ製品の注文管理におけるコンフリクトを解消するためのシステムおよび方法
WO2023034610A1 (en) Multi-blockchain token rebalancer
CN111667288A (zh) 一种消费积分通证化管理方法、系统及存储介质
CN110706051B (zh) 一种订单数据聚合方法、装置及服务器
TW202123142A (zh) 交易風險控管系統與交易風險控管方法
US11763248B2 (en) Distributed ledger platform for improved return logistics

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20745037

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20745037

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/01/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20745037

Country of ref document: EP

Kind code of ref document: A1