CN106980948A - Go out to be put in storage message transmissions, inventory information update method and device - Google Patents

Go out to be put in storage message transmissions, inventory information update method and device Download PDF

Info

Publication number
CN106980948A
CN106980948A CN201610028716.1A CN201610028716A CN106980948A CN 106980948 A CN106980948 A CN 106980948A CN 201610028716 A CN201610028716 A CN 201610028716A CN 106980948 A CN106980948 A CN 106980948A
Authority
CN
China
Prior art keywords
storage
message
server
article
inbound
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
CN201610028716.1A
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.)
Cainiao Smart Logistics Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610028716.1A priority Critical patent/CN106980948A/en
Publication of CN106980948A publication Critical patent/CN106980948A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Landscapes

  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请提供了一种出入库报文传输、库存信息更新方法及装置。所述方法包括:第一服务器接收出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息。它有效解决了大出入库单对应的出入库报文过大、传输超时的问题。

The application provides a method and device for inbound and outbound message transmission and inventory information update. The method includes: the first server receives a warehouse-in and out-of order, wherein the quantity of items contained in the warehouse-in and out-of-warehouse exceeds a first threshold; and generates a plurality of local Warehouse messages, wherein the number of items contained in each partial in-out message does not exceed the first threshold; the plurality of partial in-out messages are sent to the second server, so that the second server The item contained in the inventory message updates the inventory information of the item. It effectively solves the problem that the inbound and outbound messages corresponding to the large inbound and outbound orders are too large and the transmission times out.

Description

出入库报文传输、库存信息更新方法及装置Method and device for inbound and outbound message transmission and inventory information update

技术领域technical field

本申请涉及仓储管理中的信息处理,尤其涉及一种出入库报文传输、库存信息更新方法及装置。The application relates to information processing in warehouse management, in particular to a method and device for inbound and outbound message transmission and inventory information update.

背景技术Background technique

目前,物流仓储管理系统(WMS)的出入库业务仅支持一次性出入库模式。所谓的一次性出入库模式即一个出入库单中的所有物品在多次作业完成出入库操作后,一次性传输与出入库单对应的一个出入库报文(包含对应的出入库单实际出入库结果的报文)给仓库服务器,以便仓库服务器依据出入库报文更新库存信息。也就是,不论一个出入库单中包含多少条物品均生成包含相应数量物品的对应的出入库报文一次性传输给仓库服务器。例如,一个入库单中包含2000个A物品,第一次入库1200个A物品,第二次入库700个A物品,第三次入库100个A物品,则三次入库都完成后生成包含2000个A物品的入库报文发送给仓库服务器,仓库服务器据此更新A物品的库存信息。At present, the inbound and outbound business of the logistics warehousing management system (WMS) only supports the one-time inbound and outbound mode. The so-called one-time warehousing mode means that all items in a warehousing and warehousing list are sent in and out of the warehouse at one time after multiple operations have completed the warehousing and warehousing operations. result message) to the warehouse server, so that the warehouse server can update the inventory information according to the incoming and outgoing messages. That is, no matter how many items are included in an in-out document, a corresponding in-out message containing a corresponding number of items is generated and transmitted to the warehouse server at one time. For example, if a warehousing list contains 2000 A items, 1200 A items are warehoused for the first time, 700 A items are warehoused for the second time, and 100 A items are warehoused for the third time, then after all three warehousings are completed Generate a warehousing message containing 2000 items A and send it to the warehouse server, and the warehouse server updates the inventory information of item A accordingly.

该一次性出入库模式至少存在如下问题:There are at least the following problems in this one-time warehousing mode:

首先,一次性出入库模式需要在一个出入库单中的所有物品均执行完成出入库操作后才传输相应的出入库报文给仓库服务器,而一个出入库单中的物品有可能分多次/多天完成实际出入库操作,这样会导致仓库服务器更新滞后,影响仓储管理系统库存更新效率。First of all, the one-time in-out warehouse mode needs to transmit the corresponding in-out message to the warehouse server after all items in an in-out warehouse have completed the in-out operation, and the items in an in-out warehouse may be divided into multiple times/ The actual inbound and outbound operations are completed in multiple days, which will cause the update lag of the warehouse server and affect the inventory update efficiency of the warehouse management system.

另外,由于目前的网络对报文大小的限制(目前的网关只能支持2M报文)以及系统对报文处理耗时的限制(对于一个报文的传输操作限制不能超过3s,超过3s则断开连接),导致目前仓储管理系统的一次性出入库模式只能处理小出入库单(包含的物品数量不超过预定阈值的出入库单)。而大出入库单(所包含的物品数量超过预定阈值的出入库单)由于所包含的物品数量较多,导致传输的出入库报文过大,有可能直接被网关拒绝,或者由于解析报文时间过长导致传输超时。因此目前的仓储管理系统的一次性出入库模式在处理大出入库单时无法满足网络对报文大小的限制以及系统对报文处理耗时的限制。In addition, due to the limitation of the current network on the size of the message (the current gateway can only support 2M messages) and the time-consuming limitation of the system on message processing (the transmission operation limit for a message cannot exceed 3s, and if it exceeds 3s, it will be disconnected. As a result, the one-time entry and exit mode of the current warehouse management system can only handle small entry and exit orders (incoming and outgoing orders containing items that do not exceed the predetermined threshold). However, large inbound and outbound documents (inbound and outbound documents containing more than a predetermined threshold) contain a large number of items, resulting in too large inbound and outbound messages transmitted, which may be directly rejected by the gateway, or due to the parsing of the message The time is too long causing the transfer to time out. Therefore, the one-time inbound and outbound mode of the current warehouse management system cannot meet the network's limitation on the size of the message and the system's time-consuming limitation on message processing when processing large inbound and outbound orders.

然而,随着物流业务的不断发展与壮大,大出入库单业务不断增多,因此,有必要提供一种针对大出入库单的出入库解决方案,以克服已有仓储管理系统一次性出入库模式处理大出入库单时存在的报文过大、传输超时等问题。However, with the continuous development and growth of the logistics business, the business of large inbound and outbound orders continues to increase. Therefore, it is necessary to provide a solution for inbound and outbound warehouses for large inbound and outbound orders, so as to overcome the one-time inbound and outbound mode of the existing warehouse management system. When dealing with large inbound and outbound orders, there are problems such as excessive message size and transmission timeout.

发明内容Contents of the invention

本申请解决的技术问题之一是提供一种出入库报文传输、库存信息更新技术,有效解决大出入库单对应的出入库报文过大、传输超时的问题。One of the technical problems to be solved by this application is to provide a storage-in-out message transmission and inventory information update technology, which can effectively solve the problems of too large in-out messages and transmission timeouts corresponding to large in-out orders.

根据本申请的一个实施例,提供了一种出入库报文传输方法,所述方法包括:According to one embodiment of the present application, a method for transmitting inbound and outbound messages is provided, the method comprising:

第一服务器接收出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;The first server receives the storage-in and out-of-slip slip, wherein the quantity of items contained in the storage-in and out-of-slip slip exceeds a first threshold;

根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;Generate a plurality of partial warehouse-in and out-of-warehouse messages according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-stock form, wherein the quantity of items contained in each partial warehouse-in and out-of-warehouse message does not exceed the first threshold;

将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息。Sending the plurality of partial storage-in/out messages to the second server, so that the second server updates the inventory information of the items according to the items included in the partial storage-in/out messages.

根据本申请的一个实施例,提供了一种库存信息更新方法,所述方法包括:According to one embodiment of the present application, a method for updating inventory information is provided, the method comprising:

第二服务器接收与出入库单对应的出入库报文;The second server receives the inbound and outbound message corresponding to the inbound and outbound form;

识别所述出入库报文是局部出入库报文,还是全局出入库报文,其中局部出入库报文中包含所述出入库单中的部分物品的出入库数量,全局出入库报文中包含所述出入库单中的物品的累计出入库数量;Identify whether the inbound and outbound message is a local inbound and outbound message or a global inbound and outbound message, wherein the partial inbound and outbound message includes the inbound and outbound quantities of some items in the inbound and outbound form, and the global inbound and outbound message contains The accumulative warehouse-in and out-of-stock quantity of the items in the warehouse-in and out-of-stock list;

若是局部出入库报文,则依据所述局部出入库报文中包含的所述出入库单中的部分物品的出入库数量更新库存信息,得到所述出入库单的库存信息更新结果;If it is a partial inbound and outbound message, update the inventory information according to the inbound and outbound quantity of some items in the inbound and outbound form contained in the partial inbound and outbound message, and obtain the inventory information update result of the inbound and outbound form;

若是全局出入库报文,则检查所述出入库单的库存信息更新结果与全局出入库报文中的累计出入库数量是否一致,得到更新检查结果。If it is a global inbound and outbound message, check whether the inventory information update result of the inbound and outbound form is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message, and obtain the update check result.

根据本申请的一个实施例,提供了一种出入库信息处理方法,包括:According to an embodiment of the present application, a method for processing inbound and outbound information is provided, including:

第一设备生成出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;The first device generates a storage-in-out slip, wherein the quantity of items contained in the storage-out slip exceeds a first threshold;

向第一服务器发送所述出入库单,以便第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;而后,第一服务器将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息;Sending the storage-in and out-of-slip to the first server, so that the first server generates a plurality of partial storage-in and out-of-warehouse messages according to the actual storage-in and out-of-warehouse operation results of the items in the storage-in and out-of-warehouse, wherein each partial storage-in and out-of-warehouse message contains The number of items does not exceed the first threshold; then, the first server sends the plurality of partial storage-in-out messages to the second server, so that the second server updates the Item inventory information;

在针对根据所述出入库单中的物品的实际出入库操作结果生成的多个局部出入库报文,都已完成库存信息的更新的情况下,从第一服务器接收确认消息。A confirmation message is received from the first server when the update of the inventory information has been completed for the plurality of partial warehouse-in and out-of-warehouse messages generated according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-stock list.

根据本申请的一个实施例,提供了一种出入库处理参数配置方法,包括:According to an embodiment of the present application, a method for configuring parameters for inbound and outbound processing is provided, including:

第三服务器接收配置的第一阈值;The third server receives the configured first threshold;

向第一服务器发送所述第一阈值,使得在出入库单中包含的物品数量超过第一阈值的情况下,第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值。Sending the first threshold to the first server, so that when the number of items contained in the storage-in and out-of-slip exceeds the first threshold, the first server generates multiple Partial storage-in-out messages, wherein the quantity of items contained in each partial storage-in-out message does not exceed the first threshold.

根据本申请的一个实施例,提供了一种出入库报文传输装置,所述装置包括:According to one embodiment of the present application, there is provided an inbound and outbound message transmission device, the device comprising:

出入库单接收单元,用于接收出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;A warehouse-in and out-receipt receiving unit, configured to receive a warehouse-in and out-of-warehouse, wherein the quantity of items contained in the warehouse-in and out-of-warehouse exceeds a first threshold;

局部出入库报文生成单元,用于根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;A local inbound and outbound message generating unit, configured to generate multiple partial inbound and outbound messages according to the actual inbound and outbound operation results of the items in the inbound and outbound form, wherein the quantity of items contained in each partial inbound and outbound message does not exceed the specified the first threshold;

局部出入库报文发送单元,用于将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息。The partial storage-in/out message sending unit is configured to send the plurality of partial storage-in/out messages to the second server, so that the second server updates the inventory information of the items according to the items contained in the partial storage-in/out messages.

根据本申请的一个实施例,提供了一种库存信息更新装置,所述装置包括:According to an embodiment of the present application, a device for updating inventory information is provided, the device comprising:

出入库报文接收单元,用于接收与出入库单对应的出入库报文;The inbound and outbound message receiving unit is used to receive the inbound and outbound message corresponding to the inbound and outbound form;

出入库报文识别单元,用于识别所述出入库报文是局部出入库报文,还是全局出入库报文,其中局部出入库报文中包含所述出入库单中的部分物品的出入库数量,全局出入库报文中包含所述出入库单中的物品的累计出入库数量;The inbound and outbound message identification unit is used to identify whether the inbound and outbound message is a partial inbound and outbound message or a global inbound and outbound message, wherein the partial inbound and outbound message includes the inbound and outbound of some items in the inbound and outbound form Quantity, the global inbound and outbound message contains the cumulative inbound and outbound quantity of the items in the inbound and outbound form;

库存信息更新结果获得单元,用于若是局部出入库报文,则依据所述局部出入库报文中包含的所述出入库单中的部分物品的出入库数量更新库存信息,得到所述出入库单的库存信息更新结果;The inventory information update result obtaining unit is used to update the inventory information according to the inbound and outbound quantities of some items in the inbound and outbound form contained in the partial inbound and outbound message, so as to obtain the inbound and outbound message The inventory information update result of the order;

更新检查结果获得单元,用于若是全局出入库报文,则检查所述出入库单的库存信息更新结果与全局出入库报文中的累计出入库数量是否一致,得到更新检查结果。The update check result obtaining unit is used to check whether the update result of the inventory information of the storage-in and out-document is consistent with the accumulated storage-in and out-of-stock quantity in the global storage-in-out message if it is a global storage-in-out message, and obtain the update check result.

根据本申请的一个实施例,提供了一种出入库信息处理装置,包括:According to an embodiment of the present application, a warehouse-in and out-warehouse information processing device is provided, including:

出入库单生成单元,用于生成出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;A storage-in and out-of-slip generating unit, configured to generate a storage-in and out-of-slip, wherein the quantity of items contained in the storage-in and out-of-slip exceeds a first threshold;

出入库单发送单元,用于向第一服务器发送所述出入库单,以便第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;而后,第一服务器将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息;The storage-in and out-of-slip sending unit is configured to send the storage-in and out-of-slip to the first server, so that the first server generates a plurality of partial storage-in and out-of-warehouse messages according to the actual storage-in and out-of-warehouse operation results of the items in the storage-in and out-of-slip, wherein each The number of items contained in the partial storage-in-out message does not exceed the first threshold; then, the first server sends the plurality of partial storage-in-out messages to the second server, so that the second server Items included in the article update the stock information of said items;

确认消息接收单元,用于在针对根据所述出入库单中的物品的实际出入库操作结果生成的多个局部出入库报文,都已完成库存信息的更新的情况下,从第一服务器接收确认消息。A confirmation message receiving unit, configured to receive from the first server when the updating of the inventory information has been completed for a plurality of partial inbound and outbound messages generated according to the actual inbound and outbound operation results of the items in the inbound and outbound form. Confirm the message.

根据本申请的一个实施例,提供了一种出入库处理参数配置装置,包括:According to an embodiment of the present application, a device for configuring parameters for inbound and outbound processing is provided, including:

第一阈值接收单元,用于接收配置的第一阈值;a first threshold receiving unit, configured to receive a configured first threshold;

第一阈值发送单元,用于向第一服务器发送所述第一阈值,使得在出入库单中包含的物品数量超过第一阈值的情况下,第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值。The first threshold value sending unit is configured to send the first threshold value to the first server, so that when the quantity of items contained in the storage-in and out-going list exceeds the first threshold, the first server As a result of the actual storage-in-out operation, a plurality of partial storage-in-out messages are generated, wherein the quantity of items contained in each partial storage-out message does not exceed the first threshold.

本申请实施例当出入库单包含的物品数量超过第一阈值时,根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值,而不是一次性等到入库单的所有物品出入库后为入库单上的所有物品生成一个统一的出入库报文,解决了大出入库单的出入库报文过大、传输超时的问题。In the embodiment of the present application, when the quantity of items contained in the storage-in and out-of-slip exceeds the first threshold, a plurality of partial storage-in and out-of-storage messages are generated according to the actual storage-in and out-of-storage operation results of the items in the storage-in and out-of-socket, wherein each partial storage-in and out-of-storage message The number of items contained in the warehousing list does not exceed the first threshold, instead of waiting until all the items on the warehousing list are in and out of the warehouse at one time to generate a unified inbound and outbound message for all the items on the warehousing list, which solves the problem of large inbound and outbound documents. The inbound and outbound packets are too large and the transmission times out.

本领域普通技术人员将了解,虽然下面的详细说明将参考图示实施例、附图进行,但本申请并不仅限于这些实施例。而是,本申请的范围是广泛的,且意在仅通过后附的权利要求限定本申请的范围。Those of ordinary skill in the art will appreciate that although the following detailed description will refer to illustrated embodiments and accompanying drawings, the application is not limited to these embodiments. Rather, the scope of the application is broad and it is intended that the scope of the application be limited only by the appended claims.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1是根据本申请一个实施例所应用的物流仓储管理体系的示意图。Fig. 1 is a schematic diagram of a logistics warehouse management system applied according to an embodiment of the present application.

图2是根据本申请一个实施例的第一服务器侧出入库报文传输方法的流程图。Fig. 2 is a flowchart of a first server-side inbound and outbound message transmission method according to an embodiment of the present application.

图3是根据本申请另一个实施例的第一服务器侧出入库报文传输方法的流程图。Fig. 3 is a flowchart of a first server-side inbound and outbound message transmission method according to another embodiment of the present application.

图4是根据本申请一个实施例的步骤S120的具体流程图。Fig. 4 is a specific flowchart of step S120 according to an embodiment of the present application.

图5是根据本申请另一个实施例的第一服务器侧出入库报文传输方法的流程图。Fig. 5 is a flowchart of a first server-side inbound and outbound message transmission method according to another embodiment of the present application.

图6是根据本申请一个实施例的第二服务器侧库存信息更新方法的流程图。Fig. 6 is a flowchart of a second server-side inventory information update method according to an embodiment of the present application.

图7是根据本申请另一个实施例的第二服务器侧库存信息更新方法的流程图。Fig. 7 is a flowchart of a second server-side inventory information updating method according to another embodiment of the present application.

图8是根据本申请一个实施例的第一设备侧出入库信息处理方法的流程图。Fig. 8 is a flow chart of a method for processing inbound and outbound information at the first equipment side according to an embodiment of the present application.

图9是根据本申请一个实施例的第三服务器侧出入库处理参数配置方法的流程图。Fig. 9 is a flowchart of a third server-side storage-in-out processing parameter configuration method according to an embodiment of the present application.

图10是根据本申请一个实施例的第一服务器侧出入库报文传输装置的框图。Fig. 10 is a block diagram of an apparatus for transmitting inbound and outbound messages on the first server side according to an embodiment of the present application.

图11是根据本申请另一个实施例的第一服务器侧出入库报文传输装置的框图。Fig. 11 is a block diagram of a first server-side inbound and outbound message transmission device according to another embodiment of the present application.

图12是根据本申请另一个实施例的第一服务器侧出入库报文传输装置的框图。Fig. 12 is a block diagram of an apparatus for transmitting inbound and outbound messages at the first server side according to another embodiment of the present application.

图13是根据本申请一个实施例的第二服务器侧库存信息更新装置的框图。Fig. 13 is a block diagram of an apparatus for updating inventory information on a second server side according to an embodiment of the present application.

图14是根据本申请另一个实施例的第二服务器侧库存信息更新装置的框图。Fig. 14 is a block diagram of an apparatus for updating inventory information on a second server side according to another embodiment of the present application.

图15是根据本申请一个实施例的第一设备侧出入库信息处理装置的框图。Fig. 15 is a block diagram of a first equipment-side warehouse-in/out information processing apparatus according to an embodiment of the present application.

图16是根据本申请一个实施例的第三服务器侧出入库处理参数配置装置的框图。Fig. 16 is a block diagram of a third server-side warehouse-in and out-processing parameter configuration device according to an embodiment of the present application.

本领域普通技术人员将了解,虽然下面的详细说明将参考图示实施例、附图进行,但本申请并不仅限于这些实施例。而是,本申请的范围是广泛的,且意在仅通过后附的权利要求限定本申请的范围。Those of ordinary skill in the art will appreciate that although the following detailed description will refer to illustrated embodiments and accompanying drawings, the application is not limited to these embodiments. Rather, the scope of the application is broad and it is intended that the scope of the application be limited only by the appended claims.

具体实施方式detailed description

在更加详细地讨论示例性实施例之前,应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

所述计算机设备包括用户设备与网络设备。其中,所述用户设备包括但不限于电脑、智能手机、PDA等;所述网络设备包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(CloudComputing)的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。其中,所述计算机设备可单独运行来实现本申请,也可接入网络并通过与网络中的其他计算机设备的交互操作来实现本申请。其中,所述计算机设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。The computer equipment includes user equipment and network equipment. Wherein, the user equipment includes but is not limited to computers, smart phones, PDAs, etc.; the network equipment includes but is not limited to a single network server, a server group composed of multiple network servers, or a large number of computers or A cloud composed of network servers, among them, cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Wherein, the computer device can operate independently to realize the present application, and can also access the network and realize the present application by interacting with other computer devices in the network. Wherein, the network where the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.

需要说明的是,所述用户设备、网络设备和网络等仅为举例,其他现有的或今后可能出现的计算机设备或网络如可适用于本申请,也应包含在本申请保护范围以内,并以引用方式包含于此。It should be noted that the user equipment, network equipment, and network are only examples, and other existing or future computer equipment or networks that are applicable to this application should also be included in the scope of protection of this application, and Included herein by reference.

后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。The methods discussed below, some of which are illustrated by flowcharts, can be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine or computer readable medium such as a storage medium. The processor(s) can perform the necessary tasks.

这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本申请的示例性实施例的目的。但是本申请可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。Specific structural and functional details disclosed herein are representative only and are for purposes of describing example embodiments of the present application. This application may, however, be embodied in many alternative forms and should not be construed as limited to only the embodiments set forth herein.

应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It will be understood that although the terms "first", "second", etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

应当理解的是,当一个单元被称为“连接”或“耦合”到另一单元时,其可以直接连接或耦合到所述另一单元,或者可以存在中间单元。与此相对,当一个单元被称为“直接连接”或“直接耦合”到另一单元时,则不存在中间单元。应当按照类似的方式来解释被用于描述单元之间的关系的其他词语(例如“处于...之间”相比于“直接处于...之间”,“与...邻近”相比于“与...直接邻近”等等)。It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements should be interpreted in a similar fashion (e.g., "between" as opposed to "directly between", "adjacent to" as opposed to than "directly adjacent to" etc.).

这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "an" are intended to include the plural unless the context clearly dictates otherwise. It should also be understood that the terms "comprising" and/or "comprising" as used herein specify the presence of stated features, integers, steps, operations, units and/or components, but do not exclude the presence or addition of one or more Other features, integers, steps, operations, units, components and/or combinations thereof.

还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently or may sometimes be executed in the reverse order, depending upon the functionality/acts involved.

针对现有物流仓储管理系统处理大出入库单时存在的传输给仓库服务器的出入库报文过大、传输超时等问题,本申请实施例提供一种支持多批次出入库报文模式的报文传输方法。当出入库单包含的物品数量超过第一阈值时,根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,使每个局部出入库报文中包含的物品数量不超过所述第一阈值,而不是一次性等到入库单的所有物品出入库后为入库单上的所有物品生成一个统一的出入库报文,解决了大出入库单的出入库报文过大、传输超时的问题。Aiming at the problems that the existing logistics warehouse management system handles large inbound and outbound orders, the inbound and outbound messages transmitted to the warehouse server are too large and the transmission times out. file transfer method. When the number of items contained in the storage-in and out-of-slip exceeds the first threshold, a plurality of partial storage-in and out-of-warehouse messages are generated according to the actual storage-in and out-of-warehouse operation results of the items in the storage-in and out-of-warehouse, so that the items contained in each partial storage-in and out-of-warehouse message The quantity does not exceed the first threshold, instead of waiting until all the items in the storage order are in and out of the warehouse at one time to generate a unified inbound and outbound message for all the items on the inbound form, which solves the problem of inbound and outbound reports for large inbound and outbound forms. The file is too large and the transmission timed out.

下面结合附图对本申请的技术方案作进一步详细描述。The technical solution of the present application will be described in further detail below in conjunction with the accompanying drawings.

图1是根据本申请一个实施例所应用的物流仓储管理体系的示意图。该物流仓储管理体系包括多个第一设备3、第一服务器1、第二服务器2、第三服务器4。第一服务器1例如是仓储管理系统(WMS)服务器,第二服务器2例如是仓库服务器,第一设备3例如是商家设备,第三服务器4例如是管理平台服务器。WMS是物流网(例如菜鸟)中对仓库进行实操的操作系统,由物流网(例如菜鸟)的合作伙伴负责实施和运维。商家需要物品入库时,商家设备向WMS服务器下达入库单,WMS进行入库相关处理(例如确定要入的仓库、确定入库时间、产生运单等),并在完成入库操作后,产生与该入库单对应的入库报文给仓库服务器。仓库服务器根据入库报文更新库存信息。商家需要物品出库时,商家设备向WMS服务器下达出库单,WMS进行出库相关处理(例如确定要出的仓库、确定出库时间、产生运单等),并在完成出库操作后,产生与该出库单对应的出库报文给仓库服务器。仓库服务器根据出库报文更新库存信息。管理平台服务器是对WMS服务器、仓库服务器进行维护的服务器。WMS服务器、仓库服务器日常运行中的一些参数都通过管理平台服务器来设置。Fig. 1 is a schematic diagram of a logistics warehouse management system applied according to an embodiment of the present application. The logistics warehouse management system includes a plurality of first devices 3 , a first server 1 , a second server 2 and a third server 4 . The first server 1 is, for example, a warehouse management system (WMS) server, the second server 2 is, for example, a warehouse server, the first device 3 is, for example, a merchant device, and the third server 4 is, for example, a management platform server. WMS is an operating system for actual operation of warehouses in a logistics network (such as Cainiao), which is implemented, operated and maintained by partners of the logistics network (such as Cainiao). When the merchant needs items to be stored in the warehouse, the merchant's device issues a storage order to the WMS server, and the WMS performs storage-related processing (such as determining the warehouse to be loaded, determining the storage time, generating a waybill, etc.), and after completing the storage operation, generates The storage message corresponding to the storage order is sent to the warehouse server. The warehouse server updates the inventory information according to the incoming message. When the merchant needs items to be delivered from the warehouse, the merchant's device issues a delivery order to the WMS server, and the WMS performs related processing (such as determining the warehouse to be delivered, determining the delivery time, generating a waybill, etc.), and after completing the delivery operation, generates The outbound message corresponding to the outbound order is sent to the warehouse server. The warehouse server updates the inventory information according to the outbound message. The management platform server is a server for maintaining the WMS server and warehouse server. Some parameters in the daily operation of WMS server and warehouse server are set through the management platform server.

图2是根据本申请一个实施例的出入库报文传输方法的流程图。所述方法包括:Fig. 2 is a flowchart of a method for transmitting inbound and outbound messages according to an embodiment of the present application. The methods include:

S110、第一服务器接收出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;S110. The first server receives the storage-in and out-going slip, wherein the quantity of items contained in the storage-in and out-going slip exceeds a first threshold;

S120、根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;S120. Generate a plurality of partial warehouse-in and out-of-warehouse messages according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-stock list, wherein the quantity of items contained in each partial warehouse-in and out-of-warehouse message does not exceed the first threshold;

S130、将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息。S130. Send the plurality of partial storage-in and out-of-warehouse messages to the second server, so that the second server updates the inventory information of the items according to the items included in the partial warehouse-in and out-of-warehouse messages.

下面针对这些步骤分别描述。These steps are described below.

步骤S110、第一服务器接收出入库单,其中,所述出入库单中包含的物品数量超过第一阈值。Step S110, the first server receives the storage-in and out-going slip, wherein the quantity of items contained in the storage-in and out-going slip exceeds a first threshold.

所述第一阈值可根据第一服务器和第二服务器之间的网络对其能承载的报文大小的限制以及对报文处理耗时的限制进行设置,例如,在出入库单包含的物品数量小于等于200条时,所生成的与出入库单对应的出入库报文能够满足当前网络对报文大小的限制以及系统对报文处理耗时的限制。而在出入库单包含的物品数量大于200时,所生成的与出入库单对应的出入库报文很难满足当前网络对报文大小的限制以及系统对报文处理耗时的限制,因此,所述第一阈值可设置为200。该第一阈值的设置方式仅为一种实例,本申请实施例并不局限于此。The first threshold can be set according to the limitation of the network between the first server and the second server on the size of the message it can carry and the time-consuming limitation on message processing, for example, the number of items contained in the inbound and outbound list When the number is less than or equal to 200, the generated inbound and outbound messages corresponding to the inbound and outbound orders can meet the current network's limitation on the size of the message and the system's time-consuming limitation on message processing. However, when the number of items contained in the inbound and outbound form is greater than 200, the generated inbound and outbound message corresponding to the inbound and outbound form is difficult to meet the current network's limitation on the size of the message and the system's time-consuming limitation on message processing. Therefore, The first threshold may be set to 200. The setting manner of the first threshold is only an example, and the embodiment of the present application is not limited thereto.

步骤S120、根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值。Step S120, generating a plurality of partial storage-in and outgoing messages according to the actual storage-in and outgoing operation results of the items in the storage-in-out list, wherein the quantity of items contained in each partial storage-in-out message does not exceed the first threshold.

例如,一个入库单中包含2000个A物品,实际入库1800个,第一阈值为200个,此时可以生成9个局部入库报文,每个局部入库报文中包含200个A物品。For example, a storage order contains 2000 A items, and the actual storage is 1800. The first threshold is 200. At this time, 9 partial storage messages can be generated, and each partial storage message contains 200 A items. thing.

步骤S120在以下任一个时机但不限于这些时机执行:Step S120 is performed at any of the following timings but not limited to these timings:

其一、在接收到针对出入库单中的任何物品的实际出入库操作结果情况下实时执行。First, it is executed in real time upon receipt of the actual storage-in and out-of-warehouse operation results for any item in the in-out warehouse.

例如,一个入库单中包含2000个A物品,第一阈值为200个,实际入库1800个,但分三次实际入库,其中第一次入库1000个,第二次入库600个,第三次入库200个。在第一次入库时,生成5个局部入库报文,每个局部入库报文中包含200个A物品。在第二次入库时,生成3个局部入库报文,每个局部入库报文中包含200个A物品。在第三次入库时,生成1个局部入库报文,该局部入库报文中包含200个A物品。For example, a warehousing list contains 2000 A items, the first threshold is 200, and the actual warehousing is 1800, but the actual warehousing is divided into three times, of which the first warehousing is 1000 items, and the second warehousing is 600 items. 200 for the third time. During the first storage, 5 partial storage messages are generated, and each partial storage message contains 200 A items. During the second warehousing, 3 partial warehousing messages are generated, and each partial warehousing message contains 200 A items. During the third warehouse-in, a partial warehouse-in message is generated, and the partial warehouse-in message contains 200 A items.

其二、每固定时间间隔针对该固定时间间隔内获取到的针对出入库单中的物品的实际出入库操作结果执行。Second, each fixed time interval is executed for the actual storage-in and out-of-warehouse operation results obtained within the fixed time interval for the items in the storage-in and out-of-warehouse list.

例如,一个入库单中包含2000个A物品,第一阈值为200个,实际入库1800个,但分三次实际入库,其中第一次入库1000个,发生在上午8:10,第二次入库600个,发生在上午8:40:第三次入库200个,发生在上午8:50。固定时间间隔为半个小时,则每个整点钟和半点钟(例如8:00,8:30,9:00,9:30)获取这半个小时中所有出入库操作结果,针对这些操作结果生成局部出入库报文。即,在上午8:30,获取到8:00-8:30之间入库1000个A物品,则生成5个局部入库报文,每个局部入库报文中包含200个A物品。在上午9:00,获取到8:30-9:00之间入库800个A物品,则生成4个局部入库报文,每个局部入库报文中包含200个A物品。For example, a storage order contains 2000 A items, the first threshold is 200, and the actual storage is 1800, but the actual storage is carried out three times, of which the first storage of 1000 items occurs at 8:10 in the morning, the second The second warehousing of 600 pieces occurred at 8:40 am; the third warehousing of 200 pieces occurred at 8:50 am. If the fixed time interval is half an hour, then every full hour and half hour (for example, 8:00, 8:30, 9:00, 9:30) to get all the results of all inbound and outbound operations in this half hour, for these operations As a result, partial inbound and outbound messages are generated. That is, at 8:30 in the morning, if 1000 items of A are acquired and stored between 8:00 and 8:30, 5 partial storage messages are generated, and each partial storage message contains 200 items of A. At 9:00 in the morning, if 800 items of A are acquired and stored between 8:30 and 9:00, 4 partial storage messages are generated, and each partial storage message contains 200 items of A.

其三、在所述出入库单中的物品实际出入库的数量超过第二阈值的情况下执行。Third, it is executed when the actual quantity of items in and out of the warehouse in the warehouse-in and out-of-record exceeds the second threshold.

例如,第二阈值设置为700,一个入库单中包含2000个A物品,第一阈值为200个,实际入库1800个,但分三次实际入库,其中第一次入库1000个,第二次入库600个,第三次入库200个。当第一次1000个A物品入库时,由于1000>700,则生成5个局部入库报文,每个局部入库报文中包含200个A物品。当第二次600个A物品入库时,由于600<700,不生成局部入库报文。当第三次200个A物品入库时,由于600+200>700,则生成4个局部入库报文,每个局部入库报文中包含200个A物品。For example, if the second threshold is set to 700, a warehousing list contains 2000 A items, the first threshold is 200, and 1800 items are actually put into the warehouse, but the actual warehousing is divided into three times, of which 1000 are put into the warehouse for the first time, and 1000 are put into the warehouse for the first time. 600 for the second storage, and 200 for the third storage. When 1000 A items are put into storage for the first time, since 1000>700, 5 partial warehousing messages are generated, and each partial warehousing message contains 200 A items. When 600 items of A are put into storage for the second time, since 600<700, no partial warehousing message will be generated. When 200 A items are put into storage for the third time, since 600+200>700, 4 partial warehousing messages are generated, and each partial warehousing message contains 200 A items.

如图4所示,步骤S120可包括:As shown in Figure 4, step S120 may include:

S121、将所述实际出入库操作结果中的物品按照预设划分规则划分为批次,其中所述预设划分规则包括但不限于以下至少一个:S121. Divide the items in the actual warehouse-in and out operation results into batches according to preset division rules, wherein the preset division rules include but are not limited to at least one of the following:

将所述实际出入库操作结果中的物品中同一生产日期的物品划分为同一批次;Divide items with the same production date among the items in the actual warehousing operation results into the same batch;

将所述实际出入库操作结果中的物品中同一生产地的物品划分为同一批次;Divide the items in the same production place among the items in the actual warehousing operation results into the same batch;

将所述实际出入库操作结果中的物品中出入库时间在固定时长范围内的物品划分为同一批次;Divide the items in the actual in-out operation results into the same batch for items whose in-out time is within a fixed time range;

将固定数量的物品划分为同一批次。Divide a fixed number of items into the same batch.

S122、如果划分为同一批次的物品数量不超过第一阈值,为该同一批次的物品的实际出入库操作结果生成一个局部出入库报文;S122. If the number of items divided into the same batch does not exceed the first threshold, generate a partial in-out message for the actual in-out operation results of the same batch of items;

S123、如果划分为同一批次的物品数量超过第一阈值,将该批次的物品继续分子批次,直到每子批次的物品数量不超过所述第一阈值,从而为每个子批次的物品的实际出入库操作结果生成一个局部出入库报文。S123. If the number of items divided into the same batch exceeds the first threshold, continue sub-batches of the items in this batch until the number of items in each sub-batch does not exceed the first threshold, thereby providing for each sub-batch The actual inbound and outbound operation results of items generate a partial inbound and outbound message.

在上面第一次入库1000个A物品、第二次入库600个A物品、第三次入库200个A物品、在三次入库时分别生成5、3、1个局部入库报文、每个局部入库报文200个A物品的例子中,实际上是将固定数量(200个)的物品划分为同一批次的情况。In the above, 1000 items of A are stored for the first time, 600 items of A are stored for the second time, and 200 items of A are stored for the third time, and 5, 3, and 1 partial storage messages are generated respectively during the three storages 1. In the example of 200 A items in each partial warehousing message, it is actually the case that a fixed number (200) of items are divided into the same batch.

如果预设划分规则是将所述实际出入库操作结果中的物品中同一生产日期的物品划分为同一批次,一个生成局部出入库报文的例子是:假设第一次入库的1000个A物品有50个是2015年12月21日生产的,有950个是2015年12月31日生产的,则50个2015年12月21日生产的A物品为第一批次,由于50<200,则生成一个局部入库报文,含有50个A物品;950个2015年12月31日生产的A物品是第二批次,950>200,将其分成200、200、200、200、150五个子批次,分别为其生成五个局部入库报文,分别含有200、200、200、200、150个A物品。If the preset division rule is to divide the items with the same production date among the items in the actual inbound and outbound operation results into the same batch, an example of generating a partial inbound and outbound message is: Assume that 1000 A are put into the warehouse for the first time There are 50 items produced on December 21, 2015, and 950 items were produced on December 31, 2015. Then 50 items of A produced on December 21, 2015 are the first batch. Since 50<200 , then generate a partial warehousing message, containing 50 A items; 950 A items produced on December 31, 2015 are the second batch, 950>200, divide them into 200, 200, 200, 200, 150 Five sub-batches, for which five partial inbound messages are generated, respectively containing 200, 200, 200, 200, and 150 A items.

如果预设划分规则是将所述实际出入库操作结果中的物品中同一生产地的物品划分为同一批次,一个生成局部出入库报文的例子是:假设第一次入库的1000个A物品有50个是北京生产的,有950个是上海生产的,则50个北京生产的A物品为第一批次,由于50<200,则生成一个局部入库报文,含有50个A物品;950个上海生产的A物品是第二批次,950>200,将其分成200、200、200、200、150五个子批次,分别为其生成五个局部入库报文,分别含有200、200、200、200、150个A物品。If the preset division rule is to divide the items in the same production place in the actual warehousing operation results into the same batch, an example of generating a partial warehousing message is: Assume 1000 A for the first warehousing 50 items are produced in Beijing, and 950 items are produced in Shanghai, so 50 items A produced in Beijing are the first batch. Since 50<200, a partial storage message is generated, containing 50 items A ; 950 A items produced in Shanghai are the second batch, 950>200, they are divided into five sub-batches of 200, 200, 200, 200, and 150, and five partial warehousing messages are generated for them, respectively containing 200 , 200, 200, 200, 150 A items.

如果预设划分规则是将所述实际出入库操作结果中的物品中出入库时间在固定时长范围内的物品划分为同一批次,这往往对应前述每固定时间间隔针对该固定时间间隔内获取到的针对所述出入库单中的物品的实际出入库操作结果生成局部出入库报文、在所述出入库单中的物品实际出入库的数量超过第二阈值的情况下生成局部出入库报文的情形。例如,第二阈值是700。在8:10入库A物品400个,在8:40入库A物品200个,在8:50入库A物品600个。由于在8:50才有超过700个A物品入库,因此8:50才开始生成局部入库报文。假设固定时长是半小时。这时8:00-8:30入库的A物品400个划分为第一批次,8:30-9:00入库的A物品800个划分为第二批次,分别为第一批次和第二批次生成2、4个局部入库报文,各自含有200个A物品。If the preset division rule is to divide the items in the actual storage and storage operation results within a fixed time range into the same batch, this often corresponds to the aforementioned fixed time interval for each fixed time interval. Generating a partial inbound and outbound message for the actual inbound and outbound operation results of the items in the inbound and outbound form, and generating a partial inbound and outbound message when the actual inbound and outbound quantity of the items in the inbound and outbound form exceeds the second threshold situation. For example, the second threshold is 700. 400 items of A are stored at 8:10, 200 items of A are stored at 8:40, and 600 items of A are stored at 8:50. Since more than 700 items of A were put into the warehouse at 8:50, the partial warehouse-in message was generated at 8:50. Assume the fixed duration is half an hour. At this time, the 400 items of A that were put into storage from 8:00 to 8:30 are divided into the first batch, and the 800 items of A that were put into storage from 8:30 to 9:00 are divided into the second batch, which are respectively the first batch And the second batch generates 2 and 4 partial storage messages, each containing 200 A items.

在一种实施例中,还可以针对每一局部出入库报文中同一批次的物品在局部出入库报文中添加相应的批次属性信息。所述批次属性信息即批次是按什么来划分的信息,包括:生产日期、生产地等。通过添加批次属性信息能够实现仓储的精细化管理。In an embodiment, corresponding batch attribute information may also be added to the partial storage-in-out message for the same batch of items in each partial storage-in-out message. The batch attribute information refers to the information on how the batch is divided, including: production date, production place, and so on. By adding batch attribute information, the refined management of storage can be realized.

步骤S130、将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息。Step S130, sending the plurality of partial warehouse-in and out messages to the second server, so that the second server updates the inventory information of the items according to the items included in the partial warehouse-out messages.

在一个实施例中,步骤S130包括:将所述多个局部出入库报文并行发送给第二服务器。它的好处是提高局部出入库报文传输的效率,使第二服务器能够同时接收到多个出入库报文,提高物流处理效率。现有技术中,出入库报文过大,导致第二服务器接收延迟,甚至由于网络原因无法传输,本申请实施例将其分成小的出入库报文并并行发送,大大提高了物流仓储数据处理的效率。In one embodiment, step S130 includes: sending the multiple partial inbound and outbound messages to the second server in parallel. Its advantage is to improve the transmission efficiency of local inbound and outbound messages, enable the second server to receive multiple inbound and outbound messages at the same time, and improve logistics processing efficiency. In the prior art, the inbound and outbound messages are too large, resulting in delays in receiving them at the second server, and even failing to transmit them due to network reasons. In the embodiment of this application, they are divided into small inbound and outbound messages and sent in parallel, which greatly improves the processing of logistics and warehousing data. s efficiency.

如图3所示,本申请实施例的方法还可以包括:As shown in Figure 3, the method of the embodiment of the present application may also include:

S140、获取针对所述出入库单中的物品的累计出入库数量;S140. Acquiring the accumulative warehouse-in and out-of-stock quantity for the items in the warehouse-in and out-of-stock list;

S150、生成包含所获取的累计出入库数量的全局出入库报文;S150. Generate a global warehouse-in and out-going message including the acquired accumulated warehouse-in and out-of-stock quantity;

S160、将所述全局出入库报文发送到第二服务器,以便第二服务器检查所述物品的库存信息更新结果是否与所述全局出入库报文中的累计出入库数量一致,得到更新检查结果。S160. Send the global inbound and outbound message to the second server, so that the second server checks whether the update result of the inventory information of the item is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message, and obtains an update check result .

下面对步骤S140-S160进行详细描述。Steps S140-S160 are described in detail below.

步骤S140、获取针对所述出入库单中的物品的累计出入库数量;Step S140. Obtain the accumulated storage-in-out quantity for the items in the storage-in-out list;

在一个实施例中,步骤S140包括:响应于在预定时间间隔内没有针对所述出入库单中的物品的出入库操作,获取针对所述出入库单中的物品的累计出入库数量。In one embodiment, step S140 includes: in response to no storage-in/out operation for the items in the storage-out list within a predetermined time interval, acquiring a cumulative storage-in/out quantity for the items in the storage-out list.

一般来说,WMS接收到出入库单,都会立刻安排相应处理,使得出入库单中的所有物品尽可能早地出入库,但也经常会出现出入库单中有部分物品因特殊原因迟迟未能出入库。在现有技术中,必须等到出入库单中所有物品都实际出入库后才能生成出入库报文,在入库单中有部分物品因特殊原因迟迟未能出入库的情况下就使得已出入库的物品不能及时更新其库存信息。响应于在预定时间间隔内没有针对所述出入库单中的物品的出入库操作,就开始获取针对所述出入库单中的物品的累计出入库数量,这样就可以对于已出入库的物品及时更新其库存信息并检查更新结果。例如,预订时间间隔为2天,一个入库单中包含2000个A物品,2015年12月21日9:30入库1500个A物品,同一天11:00入库300个A物品,剩下的200个A物品在2015年12月23日9:30仍然没有入库,此时就不必等待剩下的200个A物品入库,及时获取所述入库单中A物品的累计出入库数量1800,通知给第二服务器进行库存更新结果的检查。Generally speaking, WMS will immediately arrange corresponding processing upon receipt of the inbound and outbound order, so that all items in the inbound and outbound form can be put in and out of the warehouse as soon as possible, but it often happens that some items in the inbound and outbound form are delayed due to special reasons. Can enter and leave the warehouse. In the existing technology, it is necessary to wait until all the items in the warehouse-in and out-of-stock are actually in and out of the warehouse before generating the warehouse-in and out-of-warehouse message. Items in the library cannot update their inventory information in a timely manner. In response to no storage-in/out operations for the items in the storage-in/out list within a predetermined time interval, the accumulated storage-in/out quantity for the items in the storage-in/out list begins to be acquired, so that the items that have been loaded in/out can be processed in a timely manner. Update its inventory information and check the update result. For example, if the booking time interval is 2 days, a storage order contains 2000 items A, 1500 items A are stored at 9:30 on December 21, 2015, 300 items A are stored at 11:00 on the same day, and the remaining At 9:30 on December 23, 2015, the 200 A items were still not in the warehouse. At this time, there is no need to wait for the remaining 200 A items to be put into the warehouse, and the cumulative inbound and outbound quantities of the A items in the storage list can be obtained in time. 1800, notify the second server to check the inventory update result.

步骤S150、生成包含所获取的累计出入库数量的全局出入库报文。Step S150, generating a global warehouse-in and out-of-warehouse message including the acquired accumulated warehouse-in and out-of-warehouse quantity.

全局出入库报文包括全局标识,局部出入库报文包括用于与全局出入库报文中的全局标识进行区分的局部标识。本申请实施例对所述局部标识及全局标识的表现方式不做具体限制,例如,可以在出入库报文中设置一符号为confirmType,通过该符号的不同取值来表示不同的标识。当confirmType=1时,表示该报文是局部出入库报文,当confirmType=0时,表示该报文是全局出入库报文。或者,在出入库报文中使用不同的符号来表示不同的标识,使用local作为报文的局部标识,使用global作为报文的全局标识。总而言之,本申请实施例需要在生成的出入库报文中增加表示局部标识或全局标识的字段。The global inbound and outbound message includes a global identifier, and the local inbound and outbound message includes a local identifier for distinguishing it from the global identifier in the global inbound and outbound message. The embodiment of the present application does not specifically limit the expression of the local identifier and the global identifier. For example, a symbol can be set as confirmType in the inbound and outbound message, and different identifiers can be represented by different values of the symbol. When confirmType=1, it means that the message is a local inbound and outbound message, and when confirmType=0, it means that the message is a global inbound and outbound message. Or, use different symbols to represent different identifiers in the inbound and outbound messages, use local as the local identifier of the message, and use global as the global identifier of the message. In a word, the embodiment of the present application needs to add a field indicating a local identifier or a global identifier in the generated inbound and outbound message.

由于局部出入库报文中包含的物品均已经完成出入库操作,因此一个出入库单生成的多个对应的局部出入库报文中所包含的物品的数量之和有可能等同于该出入库单中所包含的物品的数量,也有可能小于该出入库单中所包含的物品数量。换句话讲,本申请实施例是将为一个出入库单生成多个局部出入库报文。每个局部出入库报文中包含对应的出入库单中的部分物品的出入库数量。第二服务器可以根据该局部出入库报文中包含的物品数量更新库存信息。例如,一个出库单中共包含2000条物品,若全部出库完成,所生成的多个局部出库报文中每个局部出库报文中包含50条物品,则共需生成40个与该出库单对应的局部出库报文。可以理解的是,每个局部出库报文中包含的物品数量可以相同也可以不同。Since the items contained in the partial inbound and outbound messages have all completed inbound and outbound operations, the sum of the quantities of items contained in multiple corresponding partial inbound and outbound messages generated by one inbound and outbound document may be equal to the inbound and outbound document The quantity of items contained in may also be smaller than the quantity of items contained in the inbound and outbound list. In other words, in this embodiment of the application, multiple partial inbound and outbound messages will be generated for one inbound and outbound form. Each partial inbound and outbound message includes the inbound and outbound quantities of some items in the corresponding inbound and outbound form. The second server may update the inventory information according to the quantity of items contained in the partial in-out message. For example, an outbound order contains 2000 items in total. If all outbound items are completed, and each of the multiple partial outbound messages generated contains 50 items, a total of 40 The partial outbound message corresponding to the outbound document. It can be understood that the quantity of items contained in each partial outbound message may be the same or different.

除了多个局部出入库报文外,本申请实施例对于一个出入库单还至少生成一个全局出入库报文。该全局出入库报文中携带所述出入库单的中的物品的累计出入库数量,即记载有该出入库单中所包含的所有物品中实际已经完成出入库的物品的数量,该累计出入库数量即为一个出入库单对应的所有局部出入库报文中携带的物品的数量之和。例如,一个出库单中共包含2000个物品,而实际出库1950个物品,则在该汇总检查信息中记载的累计出入库数量即为1950。所述全局出入库报文用于触发服务器检查库存信息更新结果是否与全局出入库报文携带的累计出入库数量一致,即可执行对库存信息的检查操作,以得到更新检查结果。In addition to a plurality of local warehouse-in and out-going messages, this embodiment of the present application generates at least one global warehouse-in and out-of-warehouse message for one warehouse-in and out-of-stock form. The global inbound and outbound message carries the cumulative inbound and outbound quantity of the items in the inbound and outbound form, that is, the number of items that have actually been inbound and outbound among all the items contained in the inbound and outbound form is recorded. The inventory quantity is the sum of the quantities of items carried in all partial inbound and outbound messages corresponding to an inbound and outbound document. For example, if a stock-out list contains 2000 items in total, and 1950 items are actually shipped out, then the accumulative stock-in/out quantity recorded in the summary inspection information is 1950. The global inbound and outbound message is used to trigger the server to check whether the update result of the inventory information is consistent with the cumulative inbound and outbound quantity carried in the global inbound and outbound message, and then perform the check operation on the inventory information to obtain the updated check result.

步骤S160、将所述全局出入库报文发送到第二服务器,以便第二服务器检查所述物品的库存信息更新结果是否与所述全局出入库报文中的累计出入库数量一致,得到更新检查结果。Step S160, sending the global in-out message to the second server, so that the second server checks whether the update result of the inventory information of the item is consistent with the cumulative in-out quantity in the global in-out message, and obtains an update check result.

需要说明的是,全局出入库报文在局部出入库报文之后发送,但有可能由于报文长度不同造成的网络传输时间不同而先于部分局部出入库报文到达服务器,该全局出入库报文可以触发服务器检查库存信息更新结果是否正确,得到更新检查结果。若该全局出入库报文先于部分局部出入库报文到达第二服务器,第二服务器的库存信息更新结果必定与全局出入库报文中的累计出入库数量不一致,则服务器得到的更新检查结果为失败。It should be noted that the global inbound and outbound message is sent after the local inbound and outbound message, but it may reach the server before some local inbound and outbound messages due to the different network transmission time due to the different length of the message. The text can trigger the server to check whether the update result of the inventory information is correct, and obtain the update check result. If the global inbound and outbound message arrives at the second server before some local inbound and outbound messages, the inventory information update result of the second server must be inconsistent with the cumulative inbound and outbound quantity in the global inbound and outbound message, and the update check result obtained by the server for failure.

如图5所示,根据本申请的一个实施例,该方法还包括:As shown in Figure 5, according to an embodiment of the present application, the method further includes:

S170、从第二服务器接收更新检查结果;S170. Receive an update check result from the second server;

S180、在所述更新检查结果为失败情况下,重新发送所述全局出入库报文给所述第二服务器。S180. If the update check result is a failure, resend the global inbound and outbound message to the second server.

也就是说,本申请实施例的第一服务器接收第二服务器返回的更新检查结果,在接收的更新检查结果为失败情况下,可重新发送所述全局出入库报文给所述第二服务器。重新发送全局出入库报文的过程中,之前未被服务器接收并依此更新的局部出入库报文有可能已被服务器接收并得到新的库存信息更新结果,因此,通过该重新发送全局出入库报文的过程,进一步保证了分布式的仓储管理系统信息更新的一致性。That is to say, the first server in this embodiment of the present application receives the update check result returned by the second server, and may resend the global storage-in/out message to the second server if the received update check result is a failure. In the process of resending the global inbound and outbound message, the local inbound and outbound message that has not been received by the server before and updated accordingly may have been received by the server and obtained a new update result of inventory information. Therefore, through this resend global inbound and outbound message The message process further ensures the consistency of information updates in the distributed warehouse management system.

本申请实施例的出入库报文传输方法,第一服务器可以为大出入库单生成多个用于触发服务器更新库存信息的局部出入库单和一个用于触发服务器检测库存信息更新结果是否正确的全局出入库单,且所述局部出入库单中包含的物品数量低于预定阈值,因此,有效解决了已有技术中大出入库单对应的出入库报文过大、传输超时等问题,同时所述全局出入库报文保证了系统更新的一致性。In the method for transmitting inbound and outbound messages in the embodiment of the present application, the first server can generate a plurality of local inbound and outbound forms for triggering the server to update the inventory information and one for triggering the server to detect whether the update result of the inventory information is correct for the large inbound and outbound form. The global inbound and outbound order, and the number of items contained in the local inbound and outbound form is lower than the predetermined threshold, therefore, effectively solving the problems in the prior art that the inbound and outbound message corresponding to the large inbound and outbound form is too large and the transmission timeout, etc., at the same time The global inbound and outbound messages ensure the consistency of system updates.

图6示出了根据本申请一个实施例的第二服务器侧一种库存信息更新方法。所述方法包括:Fig. 6 shows a method for updating inventory information on the second server side according to an embodiment of the present application. The methods include:

S210、第二服务器接收与出入库单对应的出入库报文;S210. The second server receives the warehouse-in and out-of-warehouse message corresponding to the warehouse-in and out-of-stock order;

S220、识别所述出入库报文是局部出入库报文,还是全局出入库报文,其中局部出入库报文中包含所述出入库单中的部分物品的出入库数量,全局出入库报文中包含所述出入库单中的物品的累计出入库数量;S220. Identify whether the inbound and outbound message is a local inbound and outbound message or a global inbound and outbound message, wherein the partial inbound and outbound message includes the inbound and outbound quantities of some items in the inbound and outbound form, and the global inbound and outbound message Include the accumulative inbound and outbound quantities of the items in the inbound and outbound list;

S230、若是局部出入库报文,则依据所述局部出入库报文中包含的所述出入库单中的部分物品的出入库数量更新库存信息,得到所述出入库单的库存信息更新结果;S230. If it is a partial inbound and outbound message, update the inventory information according to the inbound and outbound quantities of some items in the inbound and outbound form included in the partial inbound and outbound message, and obtain the inventory information update result of the inbound and outbound form;

S240、若是全局出入库报文,则检查所述出入库单的库存信息更新结果与全局出入库报文中的累计出入库数量是否一致,得到更新检查结果。S240. If it is a global inbound and outbound message, check whether the inventory information update result of the inbound and outbound form is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message, and obtain an update check result.

为进一步理解本方案,下面对上述各步骤做进一步详细介绍。In order to further understand this solution, the above-mentioned steps will be further introduced in detail below.

步骤S210、第二服务器接收与出入库单对应的出入库报文。In step S210, the second server receives a warehouse-in and out-of-warehouse message corresponding to the warehouse-in and out-of-warehouse order.

由前述实施例中可知,所述与出入库单对应的出入库报文可并行发送,因此,步骤S210中可并行接收来自第一服务器的与出入库单对应的出入库报文。It can be known from the foregoing embodiments that the inbound and outbound message corresponding to the inbound and outbound form can be sent in parallel, therefore, in step S210, the inbound and outbound message corresponding to the inbound and outbound form from the first server can be received in parallel.

步骤S220、识别所述出入库报文是局部出入库报文,还是全局出入库报文,其中局部出入库报文中包含所述出入库单中的部分物品的出入库数量,全局出入库报文中包含所述出入库单中的物品的累计出入库数量;Step S220, identifying whether the inbound and outbound message is a local inbound and outbound message or a global inbound and outbound message, wherein the partial inbound and outbound message includes the inbound and outbound quantities of some items in the inbound and outbound form, and the global inbound and outbound report The text contains the cumulative quantity of goods in and out of the warehouse mentioned in the warehouse in and out list;

在一个实施例中,所述全局出入库报文中包括全局标识,所述局部出入库报文中包括用于与全局出入库报文中的全局标识进行区分的局部标识。相应地,步骤S220包括:依据所述全局标识识别所述出入库报文为全局出入库报文;依据所述局部标识识别所述出入库报文为局部出入库报文。In one embodiment, the global storage-in and out-going message includes a global identifier, and the local storage-in-out message includes a local identifier for distinguishing it from the global identifier in the global warehouse-in and out-going message. Correspondingly, step S220 includes: identifying the inbound and outbound message as a global inbound and outbound message according to the global identifier; identifying the inbound and outbound message as a local inbound and outbound message according to the local identifier.

例如,可以通过识别所接收的出入库报文中携带的confirmType字段的取值是0还是1还确定该出入库报文是局部出入库报文还是全局出入库报文。若confirmType字段的取值是1,则可确定该出入库报文是局部出入库报文,若confirmType字段的取值是0,则可确定该出入库报文是全局出入库报文。For example, by identifying whether the value of the confirmType field carried in the received inbound and outbound message is 0 or 1, it can also be determined whether the inbound and outbound message is a local inbound and outbound message or a global inbound and outbound message. If the value of the confirmType field is 1, it can be determined that the inbound and outbound message is a local inbound and outbound message, and if the value of the confirmType field is 0, it can be determined that the inbound and outbound message is a global inbound and outbound message.

步骤S230、若是局部出入库报文,则依据所述局部出入库报文中包含的所述出入库单中的部分物品的出入库数量更新库存信息,得到所述出入库单的库存信息更新结果。Step S230, if it is a partial inbound and outbound message, update the inventory information according to the inbound and outbound quantities of some items in the inbound and outbound form included in the partial inbound and outbound message, and obtain the inventory information update result of the inbound and outbound form .

如前文所述,局部出入库报文的作用是,触发第二服务器依据该局部出入库报文进行库存信息更新,因此如步骤S230中所述,若识别出所接收的出入库报文是局部出入库报文,则依据该局部出入库报文中包含的所述出入库单中的部分物品的出入库数量更新库存信息,即记录针对所述出入库单的库存信息更新结果。例如,并行接收的每个局部入库报文中均包含50个A物品,当前时间并行接收2个局部入库报文,则更新库存信息,增加A物品的库存100个。例如,原有A物品的库存500个,增加后A物品的库存为600个。As mentioned above, the function of the partial in-out message is to trigger the second server to update the inventory information according to the partial in-out message. Therefore, as described in step S230, if the received in-out message is recognized as a partial Inventory message, the inventory information is updated according to the inbound and outbound quantities of some items in the inbound and outbound form included in the partial inbound and outbound message, that is, the inventory information update result for the inbound and outbound form is recorded. For example, each partial storage-in message received in parallel contains 50 item A, and two partial storage-in messages are received in parallel at the current time, then the inventory information is updated and the inventory of item A is increased by 100. For example, the original inventory of item A is 500, and the inventory of item A after the increase is 600.

另外,在一个实施例中,由于在局部出入库报文中携带有批次属性信息,因此,更新库存信息包括更新批次属性信息,实现了库存的精细化管理。In addition, in one embodiment, because the batch attribute information is carried in the local inbound and outbound message, updating the inventory information includes updating the batch attribute information, thereby realizing refined inventory management.

步骤S240、若是全局出入库报文,则检查所述出入库单的库存信息更新结果与全局出入库报文中的累计出入库数量是否一致,得到更新检查结果。Step S240 , if it is a global inbound and outbound message, check whether the inventory information update result of the inbound and outbound form is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message, and obtain an update check result.

全局出入库报文的作用是,触发第二服务器检查库存信息更新结果是否与全局出入库报文中的累计出入库数量一致。由于局部出入库报文和全局出入库报文长度不同,因此在接收到全局出入库报文时,有可能部分局部出入库报文还未被接收或未更新完成,则更新检查结果为失败。可见,通过该全局出入库报文,可检验库存信息更新的正确性。The function of the global inbound and outbound message is to trigger the second server to check whether the update result of the inventory information is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message. Since the length of the local inbound and outbound message is different from that of the global inbound and outbound message, when the global inbound and outbound message is received, it is possible that some local inbound and outbound messages have not been received or updated, and the update check result is failure. It can be seen that the correctness of the update of the inventory information can be verified through the global inbound and outbound message.

如图7所示,该方法还可包括:S350、将所述更新检查结果发送给第一服务器。As shown in FIG. 7 , the method may further include: S350. Send the update check result to the first server.

发送更新检查结果给第一服务器,是为了在更新检查结果为失败的情况下,触发第一服务器重新发送所述全局出入库报文。重新发送全局出入库报文的过程中,之前未被第二服务器接收并依此更新的局部出入库报文有可能已被第二服务器接收并得到新的库存信息更新结果,因此,通过该重新发送全局出入库报文的过程,进一步保证了仓储管理系统信息更新的一致性。The purpose of sending the update check result to the first server is to trigger the first server to resend the global inbound and outbound message when the update check result is a failure. In the process of resending the global inbound and outbound message, the partial inbound and outbound message that has not been received by the second server before and updated accordingly may have been received by the second server and a new inventory information update result has been obtained. The process of sending global inbound and outbound messages further ensures the consistency of information updates in the warehouse management system.

如图8所示,根据本申请的一个实施例,还提供了一种第一设备(例如商家设备)侧的出入库信息处理方法,包括:As shown in FIG. 8, according to an embodiment of the present application, a method for processing inbound and outbound information on the side of the first device (such as a merchant's device) is provided, including:

S310、第一设备生成出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;S310. The first device generates a storage-in-out slip, wherein the quantity of items contained in the storage-out slip exceeds a first threshold;

S320、向第一服务器发送所述出入库单,以便第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;而后,第一服务器将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息;S320. Send the warehouse-in and out-order to the first server, so that the first server generates multiple partial warehouse-in and out-of-warehouse messages according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-warehouse, wherein each partial warehouse-in and out-of-warehouse message contains The number of included items does not exceed the first threshold; then, the first server sends the plurality of partial inbound and outbound messages to the second server, so that the second server updates according to the items contained in the partial inbound and outbound messages Inventory information for the item in question;

S330、在针对根据所述出入库单中的物品的实际出入库操作结果生成的多个局部出入库报文,都已完成库存信息的更新的情况下,从第一服务器接收确认消息。S330. Receive a confirmation message from the first server when the update of the inventory information has been completed for a plurality of partial storage-in and out-of-warehouse messages generated according to the actual in-out and out-of-warehouse operation results of the items in the in-out warehouse.

在步骤S310中,商家希望对存储在其物流仓库(例如菜鸟仓库)中的物品进行出入库时,生成出入库单发送给第一服务器,出入库单包含其想出入库的物品的数量、仓库地址等。步骤S320的过程在前面已结合图2-7进行了描述,故不赘述。在步骤S330中,可以在第二服务器检查出入库单的库存信息更新结果与全局出入库报文中的累计出入库数量一致后,第一服务器接收到来自第二服务器的成功的更新检查结果,向第一设备发送确认消息,通知商家出入库成功完成。In step S310, when the merchant wishes to load in or out items stored in its logistics warehouse (such as Cainiao Warehouse), he generates a warehouse-in and out-receipt and sends it to the first server. address etc. The process of step S320 has been described above in conjunction with FIGS. 2-7 , so details are not repeated here. In step S330, after the second server checks that the inventory information update result of the inbound and outbound form is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message, the first server receives a successful update check result from the second server, A confirmation message is sent to the first device to notify the merchant that the warehouse entry and exit are successfully completed.

如图9所示,根据本申请的一个实施例,还提供了一种第三服务器侧的出入库处理参数配置方法,包括:As shown in FIG. 9, according to an embodiment of the present application, a third server-side storage-in/out-processing parameter configuration method is also provided, including:

S410、第三服务器接收配置的第一阈值;S410. The third server receives the configured first threshold;

S420、向第一服务器发送所述第一阈值,使得在出入库单中包含的物品数量超过第一阈值的情况下,第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值。S420. Send the first threshold to the first server, so that when the quantity of items contained in the storage-in and out-out form exceeds the first threshold, the first server generates a A plurality of partial warehouse-in and out-going messages, wherein the quantity of items contained in each partial warehouse-in and out-of-warehouse message does not exceed the first threshold.

在步骤S410中,第一阈值可以是管理平台的管理人员根据经验配置并输入第三服务器的。例如,在出入库单包含的物品数量小于等于200条时,所生成的与出入库单对应的出入库报文能够满足当前网络对报文大小的限制以及系统对报文处理耗时的限制。而在出入库单包含的物品数量大于200时,所生成的与出入库单对应的出入库报文很难满足当前网络对报文大小的限制以及系统对报文处理耗时的限制,因此,所述第一阈值可设置为200。In step S410, the first threshold may be configured by the manager of the management platform based on experience and input into the third server. For example, when the number of items contained in the inbound and outbound form is less than or equal to 200, the generated inbound and outbound message corresponding to the inbound and outbound form can meet the current network's limitation on message size and the system's time-consuming limitation on message processing. However, when the number of items contained in the inbound and outbound form is greater than 200, the generated inbound and outbound message corresponding to the inbound and outbound form is difficult to meet the current network's limitation on the size of the message and the system's time-consuming limitation on message processing. Therefore, The first threshold may be set to 200.

步骤S420中在出入库单中包含的物品数量超过第一阈值的情况下,第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文的过程在上文已详细描述,故不赘述。In step S420, when the quantity of items contained in the storage-in and out-record exceeds the first threshold, the process of the first server generating multiple partial in-out and out-of-warehouse messages according to the actual in-out and out-of-warehouse operation results of the items in the in-out and out-of-warehouse is as follows: The text has been described in detail, so I will not repeat them.

另外,该方法还可包括:Additionally, the method may include:

接收配置的第二阈值(图中未示);receiving a configured second threshold (not shown in the figure);

向第一服务器发送所述第二阈值(图中未示),使得第一服务器在所述出入库单中的物品实际出入库的数量超过第二阈值的情况下,根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文。Send the second threshold value (not shown in the figure) to the first server, so that the first server will, according to the The actual inbound and outbound operation results of the items generate multiple partial inbound and outbound messages.

另外,该方法还可包括:Additionally, the method may include:

接收配置的划分规则(图中未示);Division rules for receiving configurations (not shown in the figure);

向第一服务器发送所述划分规则(图中未示),使得第一服务器:将所述实际出入库操作结果中的物品按照所述划分规则划分为批次;如果划分为同一批次的物品数量不超过所述第一阈值,为该同一批次的物品的实际出入库操作结果生成一个局部出入库报文;如果划分为同一批次的物品数量超过所述第一阈值,将该批次的物品继续分子批次,直到每子批次的物品数量不超过所述第一阈值,从而为每个子批次的物品的实际出入库操作结果生成一个局部出入库报文。Send the division rule (not shown in the figure) to the first server, so that the first server: divide the items in the actual warehousing operation results into batches according to the division rule; if divided into the same batch of items If the quantity does not exceed the first threshold, a partial inbound and outbound message is generated for the actual inbound and outbound operation results of the same batch of items; if the number of items divided into the same batch exceeds the first threshold, the batch The items continue to be sub-batched until the number of items in each sub-batch does not exceed the first threshold, thereby generating a partial in-out message for the actual in-out operation results of items in each sub-batch.

第二阈值和划分规则可以由管理平台的管理人员根据经验配置并输入第三服务器。The second threshold and division rules can be configured by the management personnel of the management platform based on experience and input to the third server.

如图10所示,根据本申请的一个实施例,提供了一种出入库报文传输装置100,包括:As shown in FIG. 10, according to an embodiment of the present application, an inbound and outbound message transmission device 100 is provided, including:

出入库单接收单110,用于接收出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;A warehouse-in and out-receipt receipt 110, configured to receive a warehouse-in and out-of-warehouse, wherein the quantity of items contained in the warehouse-in and out-of-warehouse exceeds a first threshold;

局部出入库报文生成单元120,用于根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;Partial storage-in and out-of-warehouse message generation unit 120, used for generating a plurality of partial warehouse-in and out-of-warehouse messages according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-socket list, wherein the number of items contained in each partial warehouse-in and out-of-warehouse message does not exceed said first threshold;

局部出入库报文发送单元130,用于将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息。A partial storage-in/out message sending unit 130, configured to send the plurality of partial storage-in/out messages to the second server, so that the second server updates the inventory information of the item according to the items contained in the partial storage-in/out message .

可选地,如图11所示,所述装置100还包括:Optionally, as shown in FIG. 11 , the device 100 further includes:

累计出入库数量获取单元140,用于获取针对所述出入库单中的物品的累计出入库数量;The accumulative warehouse-in and out quantity acquisition unit 140 is used to acquire the cumulative warehouse-in and out-quantity of the items in the warehouse-in and out-of-stock list;

全局出入库报文生成单元150,用于生成包含所获取的累计出入库数量的全局出入库报文;The global inbound and outbound message generating unit 150 is configured to generate a global inbound and outbound message including the acquired cumulative inbound and outbound quantity;

全局出入库报文发送单元160,用于将所述全局出入库报文发送到第二服务器,以便第二服务器检查所述物品的库存信息更新结果是否与所述全局出入库报文中的累计出入库数量一致,得到更新检查结果。The global inbound and outbound message sending unit 160 is configured to send the global inbound and outbound message to the second server, so that the second server checks whether the update result of the inventory information of the item is consistent with the accumulated information in the global inbound and outbound message. The inbound and outbound quantities are consistent, and the update check result is obtained.

可选地,所述局部出入库报文生成单元在以下任一个时机根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文:Optionally, the partial storage-in and out-of-warehouse message generation unit generates a plurality of partial warehouse-in and out-of-warehouse messages according to the actual storage-in and out-of-warehouse operation results of the items in the storage-in and out-of-out form at any of the following timings:

获取到针对所述出入库单中的任何物品的实际出入库操作结果;Obtaining the actual storage-in and out-of-stock operation results for any item in the storage-in-out list;

每固定时间间隔;every fixed time interval;

所述出入库单中的物品实际出入库的数量超过第二阈值。The actual quantity of items in and out of the storage-in-out list exceeds the second threshold.

可选地,所述局部出入库报文生成单元进一步用于:Optionally, the local inbound and outbound message generating unit is further used for:

将所述实际出入库操作结果中的物品按照预设划分规则划分为批次;Divide the items in the actual storage-in and out-of-warehouse operation results into batches according to preset division rules;

如果划分为同一批次的物品数量不超过第一阈值,为该同一批次的物品的实际出入库操作结果生成一个局部出入库报文;If the number of items divided into the same batch does not exceed the first threshold, a partial in-out message is generated for the actual in-out operation result of the same batch of items;

如果划分为同一批次的物品数量超过第一阈值,将该批次的物品继续分子批次,直到每子批次的物品数量不超过所述第一阈值,从而为每个子批次的物品的实际出入库操作结果生成一个局部出入库报文。If the number of items divided into the same batch exceeds the first threshold, the batch of items continues to sub-batch until the number of items in each sub-batch does not exceed the first threshold, so that the number of items in each sub-batch As a result of the actual storage-in/out operation, a partial storage-in/out message is generated.

可选地,所述预设划分规则包括以下至少一个:Optionally, the preset division rules include at least one of the following:

将所述实际出入库操作结果中的物品中同一生产日期的物品划分为同一批次;Divide items with the same production date among the items in the actual warehousing operation results into the same batch;

将所述实际出入库操作结果中的物品中同一生产地的物品划分为同一批次;Divide the items in the same production place among the items in the actual warehousing operation results into the same batch;

将所述实际出入库操作结果中的物品中出入库时间在固定时长范围内的物品划分为同一批次;Divide the items in the actual in-out operation results into the same batch for items whose in-out time is within a fixed time range;

将固定数量的物品划分为同一批次。Divide a fixed number of items into the same batch.

可选地,所述局部出入库报文发送单元进一步用于:Optionally, the local inbound and outbound message sending unit is further used for:

将所述多个局部出入库报文并行发送给服务器。Sending the multiple partial inbound and outbound messages to the server in parallel.

可选地,所述全局出入库报文包括:全局标识;Optionally, the global inbound and outbound message includes: a global identifier;

所述局部出入库报文包括:用于与全局出入库报文中的全局标识进行区分的局部标识。The local inbound and outbound message includes: a local identifier used to distinguish it from the global identifier in the global inbound and outbound message.

可选地,如图12所示,所述装置还包括:Optionally, as shown in Figure 12, the device further includes:

更新检查结果接收单元170,用于从第二服务器接收更新检查结果;An update check result receiving unit 170, configured to receive an update check result from the second server;

全局出入库报文重新发送单元180,用于在所述更新检查结果为失败情况下,重新发送所述全局出入库报文给所述第二服务器。The global inbound and outbound message resending unit 180 is configured to resend the global inbound and outbound message to the second server when the update check result is a failure.

可选地,所述累计出入库数量获取单元进一步用于:Optionally, the accumulative storage-in-out quantity acquisition unit is further used for:

响应于在预定时间间隔内没有针对所述出入库单中的物品的出入库操作,获取针对所述出入库单中的物品的累计出入库数量。Responding to no storage-in/out operations for the items in the storage-out list within a predetermined time interval, acquiring a cumulative storage-in/out quantity for the items in the storage-out list.

可选地,第二服务器是仓库服务器。Optionally, the second server is a warehouse server.

如图13所示,根据本申请的一个实施例,提供了一种库存信息更新装置200,所述装置包括:As shown in FIG. 13, according to an embodiment of the present application, a device 200 for updating inventory information is provided, and the device includes:

出入库报文接收单元210,用于接收与出入库单对应的出入库报文;A warehouse-in and out-of-warehouse message receiving unit 210, configured to receive a warehouse-in and out-of-warehouse message corresponding to a warehouse-in and out-of-stock order;

出入库报文识别单元220,用于识别所述出入库报文是局部出入库报文,还是全局出入库报文,其中局部出入库报文中包含所述出入库单中的部分物品的出入库数量,全局出入库报文中包含所述出入库单中的物品的累计出入库数量;The inbound and outbound message identification unit 220 is used to identify whether the inbound and outbound message is a partial inbound and outbound message or a global inbound and outbound message, wherein the partial inbound and outbound message includes the inbound and outbound of some items in the inbound and outbound form Quantity of storage, the global storage-in and out-of-warehouse message contains the accumulated storage-in and out-of-warehouse quantity of the items in the storage-in-out list;

库存信息更新结果获得单元230,用于若是局部出入库报文,则依据所述局部出入库报文中包含的所述出入库单中的部分物品的出入库数量更新库存信息,得到所述出入库单的库存信息更新结果;Inventory information update result obtaining unit 230, configured to update the inventory information according to the inbound and outbound quantities of some items in the inbound and outbound form included in the partial inbound and outbound message, to obtain the inbound and outbound The inventory information update result of the inventory list;

更新检查结果获得单元240,用于若是全局出入库报文,则检查所述出入库单的库存信息更新结果与全局出入库报文中的累计出入库数量是否一致,得到更新检查结果。The update check result obtaining unit 240 is configured to check whether the update result of the inventory information of the inbound and outbound form is consistent with the cumulative inbound and outbound quantity in the global inbound and outbound message if it is a global inbound and outbound message, and obtain the updated check result.

可选地,如图14所示,所述装置还包括:Optionally, as shown in Figure 14, the device further includes:

更新检查结果发送单元250,用于将所述更新检查结果发送给第一服务器。The update check result sending unit 250 is configured to send the update check result to the first server.

可选地,所述全局出入库报文中包括全局标识;所述局部出入库报文中包括用于与全局出入库报文中的全局标识进行区分的局部标识;Optionally, the global inbound and outbound message includes a global identifier; the local inbound and outbound message includes a local identifier for distinguishing it from the global identifier in the global inbound and outbound message;

所述出入库报文识别单元用于:The inbound and outbound message identification unit is used for:

依据所述全局标识识别所述出入库报文为全局出入库报文;Identifying the inbound and outbound message as a global inbound and outbound message according to the global identifier;

依据所述局部标识识别所述出入库报文为局部出入库报文。Identifying the inbound and outbound message as a partial inbound and outbound message according to the local identifier.

可选地,第一服务器是仓库管理系统(WMS)服务器。Optionally, the first server is a warehouse management system (WMS) server.

如图15所示,根据本申请的一个实施例,提供了一种出入库信息处理装置300,包括:As shown in FIG. 15, according to an embodiment of the present application, a warehouse-in and out-of-warehouse information processing device 300 is provided, including:

出入库单生成单元310,用于生成出入库单,其中,所述出入库单中包含的物品数量超过第一阈值;A storage-in and out-of-slip generation unit 310, configured to generate a storage-in and out-of-slip, wherein the quantity of items contained in the storage-in and out-of-slip exceeds a first threshold;

出入库单发送单元320,用于向第一服务器发送所述出入库单,以便第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值;而后,第一服务器将所述多个局部出入库报文发送给第二服务器,以便第二服务器根据所述局部出入库报文中包含的物品更新所述物品的库存信息;The sending unit 320 of the storage-in and out-of-stock order is configured to send the storage-in and out-of-warehouse to the first server, so that the first server generates a plurality of partial warehouse-in and out-of-warehouse messages according to the actual storage-in and out-of-warehouse operation results of the items in the storage-in and out-of-stock list, wherein each The quantity of items contained in each partial storage-in and out-going message does not exceed the first threshold; then, the first server sends the plurality of partial storage-in and out-of-warehouse messages to the second server, so that the second server sends The item contained in the message updates the inventory information of the item;

确认消息接收单元330,用于在针对根据所述出入库单中的物品的实际出入库操作结果生成的多个局部出入库报文,都已完成库存信息的更新的情况下,从第一服务器接收确认消息。Acknowledgment message receiving unit 330, configured to, for a plurality of partial warehouse-in and out-of-warehouse messages generated according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-stock list, under the situation that the update of inventory information has been completed, from the first server Receive confirmation message.

可选地,第一服务器是仓库管理系统(WMS)服务器,第二服务器是仓库服务器。Optionally, the first server is a warehouse management system (WMS) server and the second server is a warehouse server.

如图16所示,根据本申请的一个实施例,提供了一种出入库处理参数配置装置400,包括:As shown in FIG. 16, according to an embodiment of the present application, an apparatus 400 for configuring parameters for inbound and outbound processing is provided, including:

第一阈值接收单元410,用于接收配置的第一阈值;A first threshold receiving unit 410, configured to receive a configured first threshold;

第一阈值发送单元420,用于向第一服务器发送所述第一阈值,使得在出入库单中包含的物品数量超过第一阈值的情况下,第一服务器根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文,其中每个局部出入库报文中包含的物品数量不超过所述第一阈值。The first threshold sending unit 420 is configured to send the first threshold to the first server, so that when the quantity of items contained in the storage-in and out-going list exceeds the first threshold, the first server A plurality of partial warehouse-in and out-of-warehouse messages are generated as a result of the actual warehouse-in and out-of-warehouse operation, wherein the quantity of items contained in each partial warehouse-in and out-of-warehouse message does not exceed the first threshold.

可选地,该装置还包括:Optionally, the device also includes:

第二阈值接收单元(图中未示),用于接收配置的第二阈值;A second threshold receiving unit (not shown in the figure), configured to receive a configured second threshold;

第二阈值发送单元(图中未示),用于向第一服务器发送所述第二阈值,使得第一服务器在所述出入库单中的物品实际出入库的数量超过第二阈值的情况下,根据所述出入库单中的物品的实际出入库操作结果生成多个局部出入库报文。The second threshold value sending unit (not shown in the figure) is used to send the second threshold value to the first server, so that the first server will exceed the second threshold value when the actual quantity of items in the storage-in-out list exceeds the second threshold value. , generating a plurality of partial warehouse-in and out-of-warehouse messages according to the actual warehouse-in and out-of-warehouse operation results of the items in the warehouse-in and out-of-stock list.

可选地,该装置还包括:Optionally, the device also includes:

划分规则接收单元(图中未示),用于接收配置的划分规则;A division rule receiving unit (not shown in the figure), configured to receive the configured division rules;

划分规则发送单元(图中未示),用于向第一服务器发送所述划分规则,使得第一服务器:将所述实际出入库操作结果中的物品按照所述划分规则划分为批次;如果划分为同一批次的物品数量不超过所述第一阈值,为该同一批次的物品的实际出入库操作结果生成一个局部出入库报文;如果划分为同一批次的物品数量超过所述第一阈值,将该批次的物品继续分子批次,直到每子批次的物品数量不超过所述第一阈值,从而为每个子批次的物品的实际出入库操作结果生成一个局部出入库报文。A division rule sending unit (not shown in the figure), configured to send the division rule to the first server, so that the first server: divides the items in the actual storage-in and out-of-warehouse operation results into batches according to the division rule; if The number of items divided into the same batch does not exceed the first threshold, and a partial warehousing message is generated for the actual warehousing operation result of the same batch of items; if the number of items divided into the same batch exceeds the first threshold A threshold value, the batch of items continues sub-batches until the number of items in each sub-batch does not exceed the first threshold, thereby generating a partial in-out warehouse report for the actual in-out operation results of the items in each sub-batch arts.

可选地,第一服务器是仓库管理系统(WMS)服务器。Optionally, the first server is a warehouse management system (WMS) server.

综上所述,本申请实施例通过为大出入库单生成多个包含物品数量低于第一阈值的局部出入库报文和一个全局出入库报文,实现了支持报文分割传输、分布式并行处理的多批次出入库模式,大大提升了业务系统的吞吐量及大出入库单的执行效率,在解决了大出入库单的出入库报文过大传输超时的问题的同时,保证了库存信息更新的一致性。To sum up, the embodiment of the present application realizes support for message segmentation transmission and distributed The multi-batch inbound and outbound mode of parallel processing greatly improves the throughput of the business system and the execution efficiency of large inbound and outbound orders. Consistency of inventory information updates.

需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, it can be implemented by using an application specific integrated circuit (ASIC), a general-purpose computer or any other similar hardware devices. In one embodiment, the software program of the present application can be executed by a processor to realize the steps or functions described above. Likewise, the software program (including associated data structures) of the present application can be stored in a computer-readable recording medium such as RAM memory, magnetic or optical drive or floppy disk and the like. In addition, some steps or functions of the present application may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.

另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。In addition, a part of the present application can be applied as a computer program product, such as a computer program instruction. When it is executed by a computer, the method and/or technical solution according to the present application can be invoked or provided through the operation of the computer. The program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted through a data stream in a broadcast or other signal-carrying medium, and/or stored in a in the working memory of the computer device on which the program instructions described above are executed. Here, an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, triggering The operation of the device is based on the foregoing methods and/or technical solutions according to multiple embodiments of the present application.

对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be regarded as exemplary and not restrictive in all points of view, and the scope of the application is defined by the appended claims rather than the foregoing description, and it is intended that the scope of the present application be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in this application. Any reference sign in a claim should not be construed as limiting the claim concerned. In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the system claims may also be realized by one unit or device through software or hardware. The words first, second, etc. are used to denote names and do not imply any particular order.

Claims (24)

1. one kind goes out to be put in storage message transmitting method, it is characterised in that methods described includes:
First server receives out storage bill, wherein, it is described go out storage bill in the number of articles that includes exceed First threshold;
According to it is described go out storage bill in the actual operationies on incoming and outgoing inventory result of article generate multiple parts and go out Message is put in storage, wherein each part, which goes out to be put in storage the number of articles included in message, is no more than described first Threshold value;
The multiple part is gone out to be put in storage message and is sent to second server, so as to second server root Go out to be put in storage the inventory information that the article included in message updates the article according to the part.
2. the method as described in claim 1, it is characterised in that methods described also includes:
Obtain for it is described go out storage bill in article it is accumulative go out warehousing quantity;
Generation comprising it is acquired it is accumulative go out warehousing quantity the overall situation go out to be put in storage message;
The overall situation is gone out to be put in storage message and is sent to second server, so that second server checks institute State article inventory information update result whether go out with the overall situation be put in storage in message it is accumulative go out storage Quantity is consistent, obtains updating inspection result.
3. the method as described in claim 1, it is characterised in that go out storage bill described in the basis In the actual operationies on incoming and outgoing inventory result of article generate multiple parts and go out the step of being put in storage message following Any one opportunity performs:
Getting the actual operationies on incoming and outgoing inventory result of any article gone out for described in storage bill In the case of be carried out;
Go out storage bill for described in for being got in the Fixed Time Interval per Fixed Time Interval In article actual operationies on incoming and outgoing inventory result perform;
It is described go out storage bill in article it is actual go out storage quantity exceed Second Threshold in the case of Perform.
4. the method as described in claim 1, it is characterised in that go out storage bill described in the basis In the actual operationies on incoming and outgoing inventory result of article generate multiple parts and go out the step of being put in storage message and include:
Article in the actual operationies on incoming and outgoing inventory result is divided into according to default division rule and criticized It is secondary;
If be divided into a batch of number of articles be no more than first threshold, for this with a batch of The actual operationies on incoming and outgoing inventory result of article generates a part and goes out to be put in storage message;
If be divided into a batch of number of articles exceed first threshold, by the article of the batch after Continuous molecule batch, until the number of articles of every sub- batch is no more than the first threshold, so as to be every The actual operationies on incoming and outgoing inventory result of the article of individual sub- batch generates a part and goes out to be put in storage message.
5. method as claimed in claim 4, it is characterised in that the default division rule includes Below at least one:
The article of same date of manufacture in article in the actual operationies on incoming and outgoing inventory result is divided into Same batch;
The article of same grown place in article in the actual operationies on incoming and outgoing inventory result is divided into together One batch;
Entry time will be gone out in article in the actual operationies on incoming and outgoing inventory result in fixed duration scope Interior article is divided into same batch;
The article of fixed qty is divided into same batch.
6. the method as described in claim 1, it is characterised in that described to go out the multiple part The step of storage message is sent to second server includes:
The multiple part is gone out to be put in storage message transmitted in parallel to server.
7. method as claimed in claim 2, it is characterised in that the overall situation goes out to be put in storage message bag Include:Overall identification;
The part, which goes out to be put in storage message, to be included:For going out to be put in storage the overall identification progress in message with global The local identities of differentiation.
8. method as claimed in claim 2, it is characterised in that methods described also includes:
Received from second server and update inspection result;
In the case where the renewal inspection result is failure scenarios, resends the overall situation and go out to be put in storage message to institute State second server.
9. method as claimed in claim 2, it is characterised in that the acquisition goes out to be put in storage for described Article in list it is accumulative go out warehousing quantity the step of include:
Go out to be put in storage without the article gone out in storage bill for described in response to interior at preset time intervals Operation, obtain for it is described go out storage bill in article it is accumulative go out warehousing quantity.
10. such as methods of the claim 1-9 as described in any one, it is characterised in that first server is Warehouse management system (WMS) server, second server is warehouse server.
11. a kind of inventory information update method, it is characterised in that methods described includes:
Second server receives and goes out to be put in storage that single pair of answers goes out to be put in storage message;
It is that part goes out to be put in storage message to go out to be put in storage message described in identification, or the overall situation goes out to be put in storage message, its Middle part go out be put in storage in message comprising it is described go out storage bill in part objects go out warehousing quantity, entirely Office go out be put in storage in message comprising it is described go out storage bill in article it is accumulative go out warehousing quantity;
Go out to be put in storage message if local, then go out to be put in storage according to the part included in message described in go out The warehousing quantity that goes out of part objects in storage bill updates inventory information, obtain it is described go out storage bill Inventory information updates result;
If the overall situation, which goes out, is put in storage message, then check the inventory information for storage bill update result and The overall situation go out be put in storage in message it is accumulative go out warehousing quantity it is whether consistent, obtain update inspection result.
12. method as claimed in claim 11, it is characterised in that methods described also includes:
The renewal inspection result is sent to first server.
13. method as claimed in claim 11, it is characterised in that the overall situation goes out to be put in storage message Include overall identification;The part, which goes out to be put in storage message, to be included being used to go out to be put in storage in message with the overall situation The local identities that make a distinction of overall identification;
It is that part goes out to be put in storage message to go out to be put in storage message described in the identification, or the overall situation goes out to be put in storage message The step of include:
Go out to be put in storage message for the overall situation according to going out to be put in storage message described in overall identification identification;
Go out to be put in storage message to be local according to going out to be put in storage message described in local identities identification.
14. method as claimed in claim 12, it is characterised in that first server is warehouse pipe Reason system (WMS) server, second server is warehouse server.
15. one kind goes out to be put in storage information processing method, it is characterised in that including:
First equipment generates storage bill, wherein, it is described go out storage bill in the number of articles that includes exceed First threshold;
To storage bill is gone out described in first server transmission, so that first server goes out storage bill according to In the actual operationies on incoming and outgoing inventory result of article generate multiple parts and go out to be put in storage message, wherein each office Portion goes out to be put in storage the number of articles included in message and is no more than the first threshold;Then, first service Device, which goes out the multiple part to be put in storage message, is sent to second server, so as to second server according to The part goes out to be put in storage the inventory information that the article included in message updates the article;
For according to the actual operationies on incoming and outgoing inventory result of the article gone out in storage bill generate it is many Individual part goes out to be put in storage message, in the case of the renewal for being complete inventory information, from first server Receive confirmation message.
16. method as claimed in claim 15, it is characterised in that the first equipment is merchant terminal, First server is warehouse management system (WMS) server, and second server is warehouse server.
17. one kind goes out to be put in storage processing parameter collocation method, it is characterised in that including:
3rd server receives the first threshold of configuration;
The first threshold is sent to first server so that the number of articles included in storage bill is gone out In the case of first threshold, article that first server goes out according in storage bill actually goes out In-stockroom operation result generates multiple parts and goes out to be put in storage message, is wrapped wherein each part goes out to be put in storage in message The number of articles contained is no more than the first threshold.
18. method as claimed in claim 17, it is characterised in that also include:
Receive the Second Threshold of configuration;
Send the Second Threshold to first server so that first server it is described go out storage bill in Article it is actual go out storage quantity exceed Second Threshold in the case of, according to it is described go out storage bill in The actual operationies on incoming and outgoing inventory result of article generate multiple parts and go out to be put in storage message.
19. method as claimed in claim 17, it is characterised in that also include:
Receive the division rule of configuration;
The division rule is sent to first server so that first server:By the actual discrepancy Article in the operating result of storehouse is divided into batch according to the division rule;If be divided into a collection of Secondary number of articles is no more than the first threshold, and storage is actually gone out with a batch of article for this Operating result generates a part and goes out to be put in storage message;If be divided into super with a batch of number of articles The first threshold is crossed, the article of the batch is continued into molecule batch, until the article of every sub- batch Quantity is no more than the first threshold, so that the actual operationies on incoming and outgoing inventory of the article for every sub- batch As a result a part is generated to go out to be put in storage message.
20. method as claimed in claim 17, it is characterised in that the 3rd server is that management is flat Platform server, first server is warehouse management system (WMS) server.
21. one kind goes out to be put in storage message transmitting device, it is characterised in that described device includes:
Go out storage bill receiving unit, for receiving out storage bill, wherein, it is described go out storage bill in include Number of articles exceedes first threshold;
Part goes out to be put in storage message generation unit, for going out actually going out for article in storage bill according to In-stockroom operation result generates multiple parts and goes out to be put in storage message, is wrapped wherein each part goes out to be put in storage in message The number of articles contained is no more than the first threshold;
Part goes out to be put in storage packet sending unit, is sent to for going out to be put in storage message the multiple part Second server, the article included in message is put in storage more so that second server goes out according to the part The inventory information of the new article.
22. a kind of inventory information updating device, it is characterised in that described device includes:
Go out to be put in storage message receiving unit, for receiving and going out to be put in storage that single pair of answers goes out to be put in storage message;
Go out to be put in storage message recognition unit, for recognize it is described go out be put in storage message be it is local go out to be put in storage message, Or the overall situation goes out to be put in storage message, wherein local go out to be put in storage the portion comprising described in gone out in storage bill in message Point article goes out warehousing quantity, it is global go out be put in storage in message comprising it is described go out storage bill in article Add up warehousing quantity;
Inventory information updates result obtaining unit, if going out to be put in storage message for local, then according to institute State it is local go out be put in storage included in message it is described go out storage bill in part objects go out warehousing quantity more New inventory information, obtain it is described go out storage bill inventory information update result;
Inspection result obtaining unit is updated, message is put in storage if going out for the overall situation, then is gone out described in inspection The inventory information of storage bill update result with it is global go out be put in storage in message it is accumulative go out warehousing quantity whether Unanimously, obtain updating inspection result.
23. one kind goes out to be put in storage information processor, it is characterised in that including:
Go out storage bill generation unit, for generating storage bill, wherein, it is described go out storage bill in include Number of articles exceed first threshold;
Go out to be put in storage single-shot and send unit, for storage bill is gone out described in first server transmission, so as to first The actual operationies on incoming and outgoing inventory result for the article that server goes out according in storage bill generates multiple parts Go out to be put in storage message, wherein each local go out to be put in storage the number of articles that includes in message no more than described the One threshold value;Then, first server, which goes out the multiple part to be put in storage message, is sent to second service Device, the thing is updated so that second server goes out to be put in storage the article included in message according to the part The inventory information of product;
Confirmation message receiving unit, for actually going out in the article for going out according in storage bill Multiple parts of in-stockroom operation result generation go out to be put in storage message, are complete the renewal of inventory information In the case of, receive confirmation message from first server.
24. one kind goes out to be put in storage processing parameter configuration device, it is characterised in that including:
First threshold receiving unit, the first threshold for receiving configuration;
First threshold transmitting element, for sending the first threshold to first server so that going out In the case that the number of articles included in storage bill exceedes first threshold, first server comes in and goes out according to described The actual operationies on incoming and outgoing inventory result of article in the list of storehouse generates multiple parts and goes out to be put in storage message, wherein often Individual part goes out to be put in storage the number of articles included in message and is no more than the first threshold.
CN201610028716.1A 2016-01-15 2016-01-15 Go out to be put in storage message transmissions, inventory information update method and device Pending CN106980948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610028716.1A CN106980948A (en) 2016-01-15 2016-01-15 Go out to be put in storage message transmissions, inventory information update method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610028716.1A CN106980948A (en) 2016-01-15 2016-01-15 Go out to be put in storage message transmissions, inventory information update method and device

Publications (1)

Publication Number Publication Date
CN106980948A true CN106980948A (en) 2017-07-25

Family

ID=59339844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610028716.1A Pending CN106980948A (en) 2016-01-15 2016-01-15 Go out to be put in storage message transmissions, inventory information update method and device

Country Status (1)

Country Link
CN (1) CN106980948A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120235560A (en) * 2024-08-28 2025-07-01 中国石油天然气集团有限公司 Device inventory data maintenance method, device, program product and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1113398A (en) * 1993-08-16 1995-12-13 D2B系统有限公司 Communication bus system and stations used in such a system
CN103116832A (en) * 2011-11-16 2013-05-22 航天信息软件技术有限公司 Method and device for grouping collecting and generating business documents
CN103793803A (en) * 2014-01-02 2014-05-14 远光软件股份有限公司 Inventory management method, server and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1113398A (en) * 1993-08-16 1995-12-13 D2B系统有限公司 Communication bus system and stations used in such a system
CN103116832A (en) * 2011-11-16 2013-05-22 航天信息软件技术有限公司 Method and device for grouping collecting and generating business documents
CN103793803A (en) * 2014-01-02 2014-05-14 远光软件股份有限公司 Inventory management method, server and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120235560A (en) * 2024-08-28 2025-07-01 中国石油天然气集团有限公司 Device inventory data maintenance method, device, program product and electronic equipment

Similar Documents

Publication Publication Date Title
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
CN108960691B (en) Method and device for determining article stock for server system
US9888048B1 (en) Supporting millions of parallel light weight data streams in a distributed system
US8949258B2 (en) Techniques to manage file conversions
CN111030784A (en) Information synchronization method and device
US20030158892A1 (en) Apparatus and method for exchanging data between two devices
US20210304027A1 (en) Message Management Using Machine Learning Techniques
CN104980450B (en) A kind of message delivery method and system and message processing device
US20140215492A1 (en) Dynamic provisioning of message groups
US20130066980A1 (en) Mapping raw event data to customized notifications
CN110968431A (en) A message processing method, device and device
CN113014618B (en) Message processing method and system and electronic equipment
US20100095165A1 (en) Method of Handling a Message
CN110008173A (en) A kind of method and device of data storage
CN110389976B (en) Multi-interface data scheduling method and device
CN114493445B (en) Order information processing method, apparatus, electronic device and computer readable medium
CN105656769B (en) Business data processing method, device and system
US20130198103A1 (en) Mapping Between Different Delta Handling Patterns
CN113077201A (en) Method, device and system for analyzing service parameters
CN115658026A (en) A business processing method, device, equipment and storage medium
CN105915587A (en) Content push method, content push system and buffer memory server
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN114971564A (en) Service processing method and device, electronic equipment and computer readable medium
CN114793232A (en) Service processing method and device, electronic equipment and storage medium
CN113157461B (en) Method and device for transmitting message in task list execution process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180419

Address after: Four story 847 mailbox of the capital mansion of Cayman Islands, Cayman Islands, Cayman

Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd.

Address before: Cayman Islands Grand Cayman capital building a four storey No. 847 mailbox

Applicant before: ALIBABA GROUP HOLDING Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170725