WO2018210062A1 - 用于服务器系统的确定物品库存的方法和装置 - Google Patents

用于服务器系统的确定物品库存的方法和装置 Download PDF

Info

Publication number
WO2018210062A1
WO2018210062A1 PCT/CN2018/080459 CN2018080459W WO2018210062A1 WO 2018210062 A1 WO2018210062 A1 WO 2018210062A1 CN 2018080459 W CN2018080459 W CN 2018080459W WO 2018210062 A1 WO2018210062 A1 WO 2018210062A1
Authority
WO
WIPO (PCT)
Prior art keywords
inventory
item
server
statistics
message
Prior art date
Application number
PCT/CN2018/080459
Other languages
English (en)
French (fr)
Inventor
韩金魁
Original Assignee
北京京东尚科信息技术有限公司
北京京东世纪贸易有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京京东尚科信息技术有限公司, 北京京东世纪贸易有限公司 filed Critical 北京京东尚科信息技术有限公司
Publication of WO2018210062A1 publication Critical patent/WO2018210062A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management

Definitions

  • the present application relates to the field of logistics technologies, and in particular to the field of warehouse storage, and more particularly to a method and apparatus for determining an inventory of items for a server system.
  • WMS Warehouse Management System
  • e-commerce platform monitors the inventory of various items in real time, and replenishes or removes items in a timely manner.
  • WMS Warehouse Management System
  • existing solutions generally include: manual processing methods and timing polling methods.
  • the manual processing method requires a long processing cycle, and the timing polling method usually consumes a large amount of computing resources, which is not conducive to the management of large warehouses.
  • the purpose of the present application is to propose a method and apparatus for determining an inventory of items for a server system to solve the technical problems mentioned in the background section above.
  • an embodiment of the present application provides a method for determining an inventory of an item for a server system, where the server system includes a processing server and a plurality of server sets, each server set processing one type of order request; the method includes And: when receiving the order confirmation request, determining an item identifier included in the order confirmation request; generating an inventory statistics message based on the item identifier; sending the inventory statistics message to the processing server, so that the processing server sends the inventory statistics message Sending to another server set; counting the inventory quantity of the item indicated by the item identifier in the warehouse, and generating an inventory result message; sending the above inventory result message to the processing server, and receiving the inventory result generated by the other server set sent by the processing server Message.
  • the generating the inventory statistics message based on the item identifier includes: determining a warehouse identifier of the at least one warehouse to which the item indicated by the item identifier belongs; generating an inventory statistics message according to the item identifier and the at least one warehouse identifier.
  • the inventory quantity of the item indicated by the item in the statistical warehouse is generated, and the inventory result message is generated, including: querying the item identifier in the preset item inventory statistics list, and determining the inventory quantity corresponding to the item identifier.
  • the item inventory statistics list includes an inventory amount corresponding to each item identifier; and generating an inventory result message according to the inventory quantity, the item identification, the at least one warehouse identifier, and the identifier of the current server set.
  • the method further includes: parsing an inventory result message generated by another server set, determining other inventory quantities of the item indicated by the item identifier in the warehouse of other server set statistics; comparing each of the other inventory levels and the current server set The current inventory quantity is counted to determine whether there is a difference between each of the other stock levels and between the other stocks and the current stock quantity; in response to the difference, the stock quantity with the difference is displayed.
  • the method further includes: in response to the presence of the difference, performing an alert and transmitting the inventory amount of the difference described above to the preset contact.
  • an embodiment of the present application provides an apparatus for determining an inventory of an item for a server system, the server system including a processing server and a plurality of server sets, each server set processing one type of order request;
  • the device includes An item identification determining unit, configured to determine an item identifier included in the order confirmation request when receiving the order confirmation request;
  • the inventory statistics message generating unit is configured to generate an inventory statistics message based on the item identifier;
  • the inventory statistics message sending unit And the sending the foregoing inventory statistics message to the processing server, so that the processing server sends the inventory statistics message to another server set;
  • the inventory result message generating unit is configured to count the inventory quantity of the item indicated by the item identifier in the warehouse.
  • the inventory result message sending unit is configured to send the inventory result message to the processing server, and receive an inventory result message generated by the other server set sent by the processing server.
  • the inventory statistics message generating unit is further configured to: determine a warehouse identifier of at least one warehouse to which the item indicated by the item identifier belongs, and generate an inventory statistics message according to the item identifier and the at least one warehouse identifier.
  • the inventory result message generating unit includes: an inventory quantity determining module, configured to query the item identifier in the preset item inventory statistics list, and determine an inventory quantity corresponding to the item identifier, wherein the item inventory statistics The list includes an inventory amount corresponding to each item identifier; the inventory result message generating module is configured to generate an inventory result message according to the inventory quantity, the item identifier, the at least one warehouse identifier, and the identifier of the current server set.
  • the apparatus further includes: an inventory result message parsing unit, configured to parse the inventory result message generated by the other server set, and determine other inventory quantity of the item indicated by the item identifier in the warehouse of the other server set statistics; a comparison unit, configured to compare each of the other inventory quantities and the current inventory quantity of the current server set statistics, and determine whether there is a difference between each of the other inventory levels and each of the other inventory quantities and the current inventory quantity; a difference response unit, Used to display the amount of inventory in which there is a difference in response to the difference.
  • an inventory result message parsing unit configured to parse the inventory result message generated by the other server set, and determine other inventory quantity of the item indicated by the item identifier in the warehouse of the other server set statistics
  • a comparison unit configured to compare each of the other inventory quantities and the current inventory quantity of the current server set statistics, and determine whether there is a difference between each of the other inventory levels and each of the other inventory quantities and the current inventory quantity
  • a difference response unit Used to display the amount of inventory in
  • the difference response unit is further configured to: in response to the presence of the difference, perform an alarm, and send the inventory amount of the difference existing to the preset contact information.
  • an embodiment of the present application provides a server, including: one or more processors; and a storage device, configured to store one or more programs, when the one or more programs are used by the one or more processors Executing such that the one or more processors described above implement the method described in any of the above embodiments.
  • an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program, which is executed by a processor to implement the method described in any of the above embodiments.
  • the method and apparatus for determining an inventory of an item for a server system provided by the above embodiment of the present application, when each server set receives an order confirmation request, determines an item identifier included in the order confirmation request, and then generates an inventory based on the item identification
  • the statistical message is sent to the processing server, so that the processing server sends the inventory statistics message to the other server collection, and then the current server collects the inventory quantity of the item indicated by the item identifier in the warehouse, and generates an inventory result message.
  • the above inventory result message is then sent to the processing server, while receiving the inventory result message generated by the other server sets sent by the processing server.
  • the method provided in this embodiment can collect statistics on the inventory of the item when the inventory of the item in the order request processed by any one of the server sets changes, and at the same time, the other server sets the inventory quantity of the item at the same time, and realizes the item. Accurate statistics on inventory, on the one hand, reduce the time for inventory statistics, and on the other hand save computing resources.
  • FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
  • FIG. 2 is a flow diagram of one embodiment of a method for determining an inventory of items for a server system in accordance with the present application
  • FIG. 3 is a schematic diagram of an application scenario of a method for determining an inventory of items for a server system in accordance with the present application
  • FIG. 4 is a flow chart of still another embodiment of a method for determining an inventory of items for a server system in accordance with the present application
  • FIG. 5 is a schematic structural diagram of an embodiment of an apparatus for determining an inventory of items for a server system according to the present application
  • FIG. 6 is a block diagram showing the structure of a computer system suitable for implementing the server of the embodiment of the present application.
  • FIG. 1 illustrates an exemplary system architecture 100 of an embodiment of a method for determining an inventory of items for a server system or for determining an inventory of items for a server system to which the present application may be applied.
  • system architecture 100 can include a processing server 101, server collections 1021, 1022, 1023, terminal devices 1031, 1032, and a network (not shown in FIG. 1).
  • the network is used to provide a medium for communication links between the processing server 101 and the server sets 1021, 1022, 1023, between the server sets 1021, 1022, 1023 and the terminal devices 1031, 1032.
  • the network may include various types of connections, such as wired, wireless communication links, fiber optic cables, and the like.
  • the user can interact with the server sets 1021, 1022, 1023 over the network using the terminal devices 1031, 1032 to send various requests and the like.
  • Various communication client applications such as a web browser application, a shopping application, a search application, an instant communication tool, a mailbox client, a social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
  • the terminal devices 1031, 1032 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablets, e-book readers, laptop portable computers, desktop computers, and the like.
  • the server collections 1021, 1022, 1023 may be a collection of servers that process various types of order requests, which may retrieve items from the same warehouse for next transportation, and the like. Therefore, each server set 1021, 1022, 1023 should have the same inventory statistics for the same item.
  • the processing server 105 may be a server that provides various services, such as a background server that broadcasts messages sent by the respective server sets 1021, 1022, 1023.
  • the backend server can process the received message or send it again.
  • the method for determining an inventory of an item for a server system is generally performed by each server set 1021, 1022, and 1023. Accordingly, a device for determining an inventory of an item for a server system is generally disposed on In the server collections 1021, 1022, 1023.
  • terminal devices server sets, and processing servers in Figure 1 are merely illustrative. Depending on the implementation needs, there can be any number of terminal devices, server collections, and processing servers.
  • a flow 200 of one embodiment of a method for determining an inventory of items for a server system in accordance with the present application is illustrated.
  • the method for determining an inventory of an item for a server system of the embodiment includes the following steps:
  • Step 201 When receiving an order confirmation request, determine an item identifier included in the order confirmation request.
  • the electronic device for example, the server set shown in FIG. 1 on which the method for determining the inventory of the server system of the server system can be used to purchase the item from the user by means of a wired connection or a wireless connection.
  • the terminal receives an order confirmation request.
  • the order confirmation request includes the item identifier of the item purchased by the user.
  • the item identification may be a barcode of the package of the item, or may be an identification code set for the item to facilitate inventory management of the item.
  • wireless connection manner may include but is not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods that are now known or developed in the future. .
  • Step 202 Generate an inventory statistics message based on the item identifier.
  • each server set may generate an inventory statistics message based on the item identifier.
  • the above inventory statistics message is used to cause other server collections to count the inventory of items indicated by the item identification described above.
  • the warehouse identifier of the at least one warehouse to which the item indicated by the item identifier belongs may be first determined, and then generated according to the item identifier and the at least one warehouse identifier. Inventory statistics message.
  • the server collection can only count the inventory of the item in a certain warehouse, so that the inventory statistics are more targeted. Sex, while improving the efficiency of inventory statistics.
  • Step 203 Send an inventory statistics message to the processing server, so that the processing server sends the inventory statistics message to other server sets.
  • the above inventory statistics message can be sent to the processing server.
  • the processing server may send the other server set by broadcast or the like, so that other server sets collect the inventory of the item indicated by the item identifier included in the inventory statistics message after receiving the inventory statistics message. .
  • Step 204 Count the inventory quantity of the item indicated by the item identifier in the warehouse, and generate an inventory result message.
  • the current server set After the current server set sends the inventory statistics message to the processing server, the inventory of the items indicated by the above item identifier stored in the warehouse may be counted, and then an inventory result message is generated based on the statistically obtained inventory quantity.
  • an item inventory statistics list includes an inventory quantity corresponding to each item identifier; and according to the inventory quantity, the item identifier, and at least one warehouse identifier And the identity of the current server collection, generating an inventory result message.
  • each server set may set an item inventory statistics list, and the item inventory statistics list records the item identification of each item and the inventory quantity of the item. Then, when the server collection queries the inventory quantity of an item, it can directly query the item identification of the item in the item inventory statistics list, and then determine the inventory quantity thereof. The inventory result message is then generated in conjunction with the inventory amount, the item identification, the warehouse identification of the warehouse to be counted, and the identification of the current server collection.
  • Step 205 Send an inventory result message to the processing server, and receive an inventory result message generated by another server set sent by the processing server.
  • the above inventory result message can be sent to the processing server.
  • the processing server can receive the inventory result message sent by each server set, and then the processing server can send the inventory result statistics message generated by the at least one other server set to the at least one server set.
  • FIG. 3 is a schematic diagram of an application scenario of a method for determining an inventory of items for a server system in accordance with the present embodiment.
  • the server set 1 determines the item identification included in the order confirmation request, and then generates an inventory statistics message.
  • the above-mentioned inventory statistics message is sent to the processing server 302, and after receiving the above-mentioned inventory statistics message, the processing server 302 transmits it to the server set 2 and the server set 3, respectively.
  • each server set separately counts the inventory quantity, and generates an inventory result message 1, an inventory result message 2, and an inventory result message 3, respectively.
  • Each server set separately sends the generated inventory result message to the processing server 2, and then the processing server sends the inventory result message 2 and the inventory result message 3 to the server set 1.
  • the method for determining an inventory of an item for a server system provided by the above embodiment of the present application, when each set of servers receives an order confirmation request, determines an item identifier included in the order confirmation request, and then generates an inventory statistics message based on the item identifier. Sending the above inventory statistics message to the processing server, so that the processing server sends the above inventory statistics message to the other server collection, and then the current server collects the inventory quantity of the item indicated by the item identifier in the warehouse, and generates an inventory result message, and then The above inventory result message is sent to the processing server, and at the same time, the inventory result message generated by the other server set sent by the processing server is received.
  • the method provided in this embodiment can collect statistics on the inventory of the item when the inventory of the item in the order request processed by any one of the server sets changes, and at the same time, the other server sets the inventory quantity of the item at the same time, and realizes the item. Accurate statistics on inventory, on the one hand, reduce the time for inventory statistics, and on the other hand save computing resources.
  • FIG. 4 a flow 400 of another embodiment of a method for determining an inventory of items for a server system in accordance with the present application is illustrated. As shown in FIG. 4, after the server set receives the inventory result message generated by the other server set sent by the processing server, steps 401 to 403 may be performed.
  • Step 401 Parse the inventory result message generated by the other server set, and determine other inventory quantity of the item indicated by the item identifier in the warehouse of the other server set statistics.
  • the current server set may parse it to determine other inventory quantities of the items indicated by the item identifier in the warehouse of other server set statistics.
  • Step 402 Compare each other inventory quantity with the current inventory quantity of the current server set, and determine whether there is a difference between each other inventory quantity and between each other inventory quantity and the current inventory quantity.
  • step 403 in response to the difference, the amount of inventory with the difference is displayed.
  • the stock quantity with the difference can be displayed for further confirmation by the staff. It can be understood that, in the present embodiment, when the above inventory amount is displayed, the entire inventory amount can also be displayed, and the inventory amount with the difference is highlighted.
  • an alarm may be performed to attract further attention of the staff member, and the above-mentioned difference inventory may also be sent to the preset contact information. the amount.
  • the above-mentioned preset contact methods may include a mobile phone, an email, etc., and notify the staff in time to deal with the above differences in time.
  • the flow 400 of the web page generating method in the present embodiment highlights the processing steps when there is a difference in each stock amount as compared with the embodiment corresponding to FIG. 2.
  • the solution described in this embodiment can achieve a more accurate statistical inventory of each item, providing accurate inventory information for the shopping website.
  • the present application provides an embodiment of an apparatus for determining an inventory of items for a server system, the apparatus embodiment and the method embodiment shown in FIG.
  • the device can be specifically applied to various electronic devices.
  • the server system of this embodiment includes a processing server and a plurality of server sets, each server set processing one type of order request.
  • the apparatus 500 for determining an inventory of an item for a server system of the present embodiment includes: an item identification determining unit 501, an inventory statistical message generating unit 502, an inventory statistical message transmitting unit 503, an inventory result message generating unit 504, and The inventory result message transmitting unit 505.
  • the item identification determining unit 501 is configured to determine an item identifier included in the order confirmation request when receiving the order confirmation request.
  • the inventory statistics message generating unit 502 is configured to generate an inventory statistics message based on the item identifier.
  • the inventory statistics message sending unit 503 is configured to send an inventory statistics message to the processing server, so that the processing server sends the foregoing inventory statistics message to other server sets.
  • the inventory result message generating unit 504 is configured to count the inventory amount of the item indicated by the item identifier in the warehouse, and generate an inventory result message.
  • the inventory result message sending unit 505 is configured to send an inventory result message to the processing server, and receive an inventory result message generated by another server set sent by the processing server.
  • the inventory statistics message generating unit 502 may be further configured to: determine a warehouse identifier of at least one warehouse to which the item indicated by the item identifier belongs; according to the item identifier and the at least one warehouse identifier , generate inventory statistics messages.
  • the inventory result message generating unit 504 may further include an inventory quantity determining module and an inventory result message generating module not shown in FIG. 5.
  • the inventory quantity determining module is configured to query the item identifier in the preset item inventory statistics list, and determine the inventory quantity corresponding to the item identifier.
  • the item inventory statistics list includes an inventory amount corresponding to each item identifier.
  • the inventory result message generating module is configured to generate an inventory result message according to the inventory quantity, the item identifier, the at least one warehouse identifier, and the identifier of the current server set.
  • the apparatus 500 may further include an inventory result message parsing unit, an inventory quantity comparing unit, and a difference response unit, which are not shown in FIG. 5.
  • the inventory result message parsing unit is configured to parse the inventory result message generated by the other server set, and determine the other inventory quantity of the item indicated by the item identifier in the warehouse of the other server set statistics.
  • the inventory comparison unit is configured to compare each other inventory quantity with the current inventory quantity of the current server set statistics, and determine whether there is a difference between each other inventory quantity and between each other inventory quantity and the current inventory quantity.
  • a difference response unit for displaying the amount of inventory in which there is a difference in response to the difference.
  • the difference response unit may be further configured to: perform an alarm in response to the difference, and send the inventory amount of the difference to a preset contact manner.
  • the apparatus for determining an inventory of an item for a server system provided by the above embodiment of the present application, when each set of servers receives an order confirmation request, determines an item identifier included in the order confirmation request, and then generates an inventory statistics message based on the item identifier. Sending the above inventory statistics message to the processing server, so that the processing server sends the above inventory statistics message to the other server collection, and then the current server collects the inventory quantity of the item indicated by the item identifier in the warehouse, and generates an inventory result message, and then The above inventory result message is sent to the processing server, and at the same time, the inventory result message generated by the other server set sent by the processing server is received.
  • the device provided in this embodiment can count the inventory of the item when the inventory of the item in the order request processed by any one of the server sets changes, and at the same time, the other server sets the inventory quantity of the item at the same time, and realizes the item. Accurate statistics on inventory, on the one hand, reduce the time for inventory statistics, and on the other hand save computing resources.
  • the units 501 through 505 described in the apparatus 500 for determining the inventory of items for the server system respectively correspond to the respective steps in the method described with reference to FIG.
  • the operations and features described above for the method of determining an inventory of items for a server system are equally applicable to the apparatus 500 and the units contained therein, and are not described herein.
  • Corresponding units of device 500 may cooperate with units in the server to implement the solution of the embodiments of the present application.
  • FIG. 6 a block diagram of a computer system 600 suitable for use in implementing a server of an embodiment of the present application is shown.
  • the server shown in FIG. 6 is merely an example, and should not impose any limitation on the function and scope of use of the embodiments of the present application.
  • computer system 600 includes a central processing unit (CPU) 601 that can be loaded into a program in random access memory (RAM) 603 according to a program stored in read only memory (ROM) 602 or from storage portion 608. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM random access memory
  • various programs and data required for the operation of the system 600 are also stored.
  • the CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also coupled to bus 604.
  • the following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a storage portion 608 including a hard disk or the like. And a communication portion 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the Internet.
  • Driver 610 is also coupled to I/O interface 605 as needed.
  • a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like, is mounted on the drive 610 as needed so that a computer program read therefrom is installed into the storage portion 608 as needed.
  • an embodiment of the present disclosure includes a computer program product comprising a computer program carried on a machine readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
  • the computer program can be downloaded and installed from the network via communication portion 609, and/or installed from removable media 611.
  • the central processing unit (CPU) 601 the above-described functions defined in the method of the present application are performed.
  • the computer readable medium described herein may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
  • a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the logic functions for implementing the specified.
  • Executable instructions can also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present application may be implemented by software or by hardware.
  • the described unit may also be provided in the processor, for example, as a processor including an item identification determining unit, an inventory statistical message generating unit, an inventory statistical message transmitting unit, an inventory result message generating unit, and an inventory result message transmission. unit.
  • the names of the units do not constitute a limitation on the unit itself in some cases.
  • the item identification determining unit may also be described as “determining the inclusion in the order confirmation request when the order confirmation request is received. The unit of the item identification.”
  • the present application also provides a computer readable medium, which may be included in the apparatus described in the above embodiments, or may be separately present and not incorporated into the apparatus.
  • the computer readable medium carries one or more programs, when the one or more programs are executed by the device, causing the device to: determine an item identifier included in the order confirmation request upon receiving an order confirmation request; Generating an inventory statistics message based on the item identifier; sending an inventory statistics message to the processing server, so that the processing server sends the inventory statistics message to the other server set; counting the inventory quantity of the item indicated by the item identifier in the warehouse, and generating the inventory result Message; sends an inventory result message to the processing server and receives an inventory result message generated by another server collection sent by the processing server.

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

本申请公开了用于服务器系统的确定物品库存的方法和装置。所述方法的一具体实施方式包括:在接收到订单确认请求时,确定上述订单确认请求中包括的物品标识;基于上述物品标识,生成库存统计消息;向处理服务器发送库存统计消息,以使处理服务器将上述库存统计消息发送给其他服务器集合;统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息;将库存结果消息发送给处理服务器,并接收处理服务器发送的其他服务器集合生成的库存结果消息。该实施方式减少了库存统计的时间,另一方面节省了计算资源。

Description

用于服务器系统的确定物品库存的方法和装置
相关申请的交叉引用
本专利申请要求于2017年5月18日提交的、申请号为201710353144.9、申请人为北京京东尚科信息技术有限公司和北京京东世纪贸易有限公司、发明名称为“用于服务器系统的确定物品库存的方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。
技术领域
本申请涉及物流技术领域,具体涉及仓库存储领域,尤其涉及一种用于服务器系统的确定物品库存的方法和装置。
背景技术
随着20世纪互联网技术的崛起,电商行业迎来了迅猛的发展,相应的也存在物品存储管理的问题。目前,仓库管理系统(Warehouse Management System,WMS)或电商平台都会实时监控各种物品的库存量,以及时补货或下架物品。同时,对于同一仓库,往往存在多个业务系统来监测各物品的库存量。但由于存在库存更新延迟或网络拥堵等原因,造成各业务系统监测的各物品的库存量存在差异。
针对上述差异,现有的解决方法通常包括:人工处理方法以及定时轮询方法。其中,人工处理方法所需的解决周期太长,而定时轮询方法通常会消耗大量的计算资源,不利于大型仓库的管理。
发明内容
本申请的目的在于提出一种用于服务器系统的确定物品库存的方法和装置,来解决以上背景技术部分提到的技术问题。
第一方面,本申请实施例提供了一种用于服务器系统的确定物品 库存的方法,上述服务器系统包括处理服务器以及多个服务器集合,每个服务器集合处理一种类型的订单请求;上述方法包括:在接收到订单确认请求时,确定上述订单确认请求中包括的物品标识;基于上述物品标识,生成库存统计消息;向上述处理服务器发送上述库存统计消息,以使上述处理服务器将上述库存统计消息发送给其他服务器集合;统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息;将上述库存结果消息发送给上述处理服务器,并接收上述处理服务器发送的其他服务器集合生成的库存结果消息。
在一些实施例中,上述基于上述物品标识,生成库存统计消息,包括:确定上述物品标识指示的物品所属的至少一个仓库的仓库标识;根据上述物品标识及至少一个仓库标识,生成库存统计消息。
在一些实施例中,上述统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息,包括:在预设的物品库存统计列表中查询上述物品标识,确定上述物品标识对应的库存量,其中,上述物品库存统计列表包括与各物品标识对应的库存量;根据上述库存量、上述物品标识、上述至少一个仓库标识以及当前服务器集合的标识,生成库存结果消息。
在一些实施例中,上述方法还包括:解析其他服务器集合生成的库存结果消息,确定其他服务器集合统计的仓库中上述物品标识指示的物品的其他库存量;比较各上述其他库存量以及当前服务器集合统计的当前库存量,确定各上述其他库存量之间以及各上述其他库存量与上述当前库存量之间是否存在差异;响应于存在差异,显示存在差异的库存量。
在一些实施例中,上述方法还包括:响应于存在差异,进行报警,并向预设的联系方式发送上述存在差异的库存量。
第二方面,本申请实施例提供了一种用于服务器系统的确定物品库存的装置,上述服务器系统包括处理服务器以及多个服务器集合,每个服务器集合处理一种类型的订单请求;上述装置包括:物品标识确定单元,用于在接收到订单确认请求时,确定上述订单确认请求中包括的物品标识;库存统计消息生成单元,用于基于上述物品标识, 生成库存统计消息;库存统计消息发送单元,用于向上述处理服务器发送上述库存统计消息,以使上述处理服务器将上述库存统计消息发送给其他服务器集合;库存结果消息生成单元,用于统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息;库存结果消息发送单元,用于将上述库存结果消息发送给上述处理服务器,并接收上述处理服务器发送的其他服务器集合生成的库存结果消息。
在一些实施例中,上述库存统计消息生成单元进一步用于:确定上述物品标识指示的物品所属的至少一个仓库的仓库标识;根据上述物品标识及至少一个仓库标识,生成库存统计消息。
在一些实施例中,上述库存结果消息生成单元包括:库存量确定模块,用于在预设的物品库存统计列表中查询上述物品标识,确定上述物品标识对应的库存量,其中,上述物品库存统计列表包括与各物品标识对应的库存量;库存结果消息生成模块,用于根据上述库存量、上述物品标识、上述至少一个仓库标识以及当前服务器集合的标识,生成库存结果消息。
在一些实施例中,上述装置还包括:库存结果消息解析单元,用于解析其他服务器集合生成的库存结果消息,确定其他服务器集合统计的仓库中上述物品标识指示的物品的其他库存量;库存量比较单元,用于比较各上述其他库存量以及当前服务器集合统计的当前库存量,确定各上述其他库存量之间以及各上述其他库存量与上述当前库存量之间是否存在差异;差异响应单元,用于响应于存在差异,显示存在差异的库存量。
在一些实施例中,上述差异响应单元进一步用于:响应于存在差异,进行报警,并向预设的联系方式发送上述存在差异的库存量。
第三方面,本申请实施例提供了一种服务器,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行,使得上述一个或多个处理器实现上述任一实施例所描述的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一实施例所描 述的方法。
本申请的上述实施例提供的用于服务器系统的确定物品库存的方法和装置,在各服务器集合接收到订单确认请求时,确定订单确认请求中包括的物品标识,然后基于上述物品标识,生成库存统计消息,将上述库存统计消息发送给处理服务器,以使处理服务器向其他服务器集合发送上述库存统计消息,然后当前服务器集合统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息,然后将上述库存结果消息发送给处理服务器,同时接收处理服务器发送的其他服务器集合生成的库存结果消息。本实施例提供的方法,可以在任何一个服务器集合所处理的订单请求中的物品库存发生变化时,对物品的库存进行统计,同时使得其他服务器集合同时统计该物品的库存量,实现了对物品库存量的精准统计,一方面减少了库存统计的时间,另一方面节省了计算资源。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其他特征、目的和优点将会变得更明显:
图1是本申请可以应用于其中的示例性系统架构图;
图2是根据本申请的用于服务器系统的确定物品库存的方法的一个实施例的流程图;
图3是根据本申请的用于服务器系统的确定物品库存的方法的一个应用场景的示意图;
图4是根据本申请的用于服务器系统的确定物品库存的方法的又一个实施例的流程图;
图5是根据本申请的用于服务器系统的确定物品库存的装置的一个实施例的结构示意图;
图6是适于用来实现本申请实施例的服务器的计算机系统的结构示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
图1示出了可以应用本申请的用于服务器系统的确定物品库存的方法或用于服务器系统的确定物品库存的装置的实施例的示例性系统架构100。
如图1所示,系统架构100可以包括处理服务器101,服务器集合1021、1022、1023,终端设备1031、1032以及网络(图1中未示出)。网络用以在上述处理服务器101与服务器集合1021、1022、1023之间、服务器集合1021、1022、1023与终端设备1031、1032之间提供通信链路的介质。网络可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备1031、1032通过网络与服务器集合1021、1022、1023交互,以发送各种请求等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。
终端设备1031、1032可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。
服务器集合1021、1022、1023可以是处理各种类型订单请求的服务器集合,其可以从同一仓库中获取物品,以进行下一步的运输等。因此,各服务器集合1021、1022、1023对同一物品的库存统计应相同。
处理服务器105可以是提供各种服务的服务器,例如对各服务器集合1021、1022、1023发送的消息进行广播的后台服务器。后台服务器可以对接收到的消息进行处理或再次发送。
需要说明的是,本申请实施例所提供的用于服务器系统的确定物 品库存的方法一般由各服务器集合1021、1022、1023执行,相应地,用于服务器系统的确定物品库存的装置一般设置于服务器集合1021、1022、1023中。
应该理解,图1中的终端设备、服务器集合和处理服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、服务器集合和处理服务器。
继续参考图2,示出了根据本申请的用于服务器系统的确定物品库存的方法的一个实施例的流程200。本实施例的用于服务器系统的确定物品库存的方法,包括以下步骤:
步骤201,在接收到订单确认请求时,确定所述订单确认请求中包括的物品标识。
在本实施例中,用于服务器系统的确定物品库存的方法运行于其上的电子设备(例如图1所示的服务器集合)可以通过有线连接方式或者无线连接方式从用户利用其进行物品购买的终端接收订单确认请求。其中,上述订单确认请求中包括了用户所购买的物品的物品标识。上述物品标识可以是物品的包装的条形码,也可以是为了便于物品的库存管理为物品设置的标识码。
需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMAX连接、Zigbee连接、UWB(ultra wideband)连接、以及其他现在已知或将来开发的无线连接方式。
步骤202,基于上述物品标识,生成库存统计消息。
各服务器集合在确定了订单确认请求中包括的物品标识后,可以基于上述物品标识生成库存统计消息。上述库存统计消息用于使其它服务器集合对上述物品标识指示的物品的库存进行统计。
在本实施例的一些可选的实现方式中,在生成库存统计消息时,还可以首先确定物品标识指示的物品所属的至少一个仓库的仓库标识,然后根据上述物品标识和至少一个仓库标识,生成库存统计消息。
当某种物品的库存量较大时,其可以存放于多个仓库中,每个仓库具有仓库标识,服务器集合可以只统计某一仓库中的该种物品的库存量,使得库存统计更有针对性,同时提高库存统计的效率。
步骤203,向处理服务器发送库存统计消息,以使处理服务器将库存统计消息发送给其他服务器集合。
服务器集合在生成库存统计消息后,可以将上述库存统计消息发送给处理服务器。处理服务器在接收到上述库存统计消息后,可以通过广播等方式发送给其它服务器集合,以使其它服务器集合在接收到库存统计消息后,统计库存统计消息中所包含的物品标识指示的物品的库存。
步骤204,统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息。
当前服务器集合在向处理服务器发送库存统计消息后,可以对仓库中存储的上述物品标识指示的物品的库存进行统计,然后基于统计得到的库存量生成库存结果消息。
在本实施例的一些可选的实现方式中,在生成库存结果消息时,可以通过图2中未示出的以下步骤来实现:
在预设的物品库存统计列表中查询物品标识,确定上述物品标识对应的库存量,其中,上述物品库存统计列表包括与各物品标识对应的库存量;根据库存量、物品标识、至少一个仓库标识以及当前服务器集合的标识,生成库存结果消息。
本实现方式中,每个服务器集合可以通过设置一个物品库存统计列表,上述物品库存统计列表中记录各物品的物品标识以及该物品的库存量。则服务器集合在查询某种物品的库存量时,可直接在上述物品库存统计列表中查询该物品的物品标识,然后确定其库存量。然后结合上述库存量、物品标识、要统计的仓库的仓库标识以及当前服务器集合的标识,生成库存结果消息。
步骤205,将库存结果消息发送给处理服务器,并接收处理服务器发送的其他服务器集合生成的库存结果消息。
服务器集合在生成库存结果消息后,可以将上述库存结果消息发送给处理服务器。这样,处理服务器可以接收到各服务器集合发送的库存结果消息,然后处理服务器可以将至少一个其他服务器集合生成的库存结果统计消息发送给至少一个服务器集合。
继续参见图3,图3是根据本实施例的用于服务器系统的确定物品库存的方法的应用场景的一个示意图。在图3的应用场景中,服务器集合1在接收到订单确认请求后,确定订单确认请求中包括的物品标识,然后生成库存统计消息。并将上述库存统计消息发送给处理服务器302,处理服务器302在接收到上述库存统计消息后,分别发送给服务器集合2和服务器集合3。然后各服务器集合分别统计库存量,分别生成库存结果消息1、库存结果消息2和库存结果消息3。各服务器集合分别将生成的库存结果消息发送给处理服务器2,然后处理服务器将库存结果消息2和库存结果消息3发送给服务器集合1。
本申请的上述实施例提供的用于服务器系统的确定物品库存的方法,在各服务器集合接收到订单确认请求时,确定订单确认请求中包括的物品标识,然后基于上述物品标识,生成库存统计消息,将上述库存统计消息发送给处理服务器,以使处理服务器向其他服务器集合发送上述库存统计消息,然后当前服务器集合统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息,然后将上述库存结果消息发送给处理服务器,同时接收处理服务器发送的其他服务器集合生成的库存结果消息。本实施例提供的方法,可以在任何一个服务器集合所处理的订单请求中的物品库存发生变化时,对物品的库存进行统计,同时使得其他服务器集合同时统计该物品的库存量,实现了对物品库存量的精准统计,一方面减少了库存统计的时间,另一方面节省了计算资源。
继续参见图4,其示出了根据本申请的用于服务器系统的确定物品库存的方法的另一个实施例的流程400。如图4所示,在服务器集合接收到处理服务器发送的其他服务器集合生成的库存结果消息后,可以执行步骤401~步骤403。
步骤401,解析其他服务器集合生成的库存结果消息,确定其他服务器集合统计的仓库中上述物品标识指示的物品的其他库存量。
当前服务器集合在接收到其他服务器集合生成的库存结果消息后,可以对其进行解析,确定其他服务器集合统计的仓库中上述物品标识指示的物品的其他库存量。
步骤402,比较各其他库存量以及当前服务器集合统计的当前库存量,确定各其他库存量之间以及各其他库存量与当前库存量之间是否存在差异。
将当前服务器集合统计的当前库存量与其他服务器集合统计的各其他库存量进行比较,确定其是否存在差异。
步骤403,响应于存在差异,显示存在差异的库存量。
当各库存量之间存在差异时,可以将存在差异的库存量显示出来,以供工作人员进行进一步的确认。可以理解的是,本实施例中在显示上述库存量时,也可以显示全部的库存量,同时将存在差异的库存量突出显示。
在本实施例的一些可选的实现方式中,当确定各库存量之间存在差异时,可以进行报警,以吸引工作人员的进一步注意,也可以向预设的联系方式发送上述存在差异的库存量。上述预设的联系方式可以包括手机、邮件等,以及时通知工作人员对上述差异及时处理。
从图4中可以看出,与图2对应的实施例相比,本实施例中的网页生成方法的流程400突出了各库存量存在差异时的处理步骤。由此,本实施例描述的方案可以实现更精确地统计各物品的库存量,为购物网站提供准确库存量信息。
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种用于服务器系统的确定物品库存的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
本实施例的服务器系统包括处理服务器以及多个服务器集合,每个服务器集合处理一种类型的订单请求。如图5所示,本实施例的用于服务器系统的确定物品库存的装置500包括:物品标识确定单元501、库存统计消息生成单元502、库存统计消息发送单元503、库存结果消息生成单元504以及库存结果消息发送单元505。
其中,物品标识确定单元501,用于在接收到订单确认请求时,确定上述订单确认请求中包括的物品标识。
库存统计消息生成单元502,用于基于物品标识,生成库存统计 消息。
库存统计消息发送单元503,用于向处理服务器发送库存统计消息,以使处理服务器将上述库存统计消息发送给其他服务器集合。
库存结果消息生成单元504,用于统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息。
库存结果消息发送单元505,用于将库存结果消息发送给处理服务器,并接收处理服务器发送的其他服务器集合生成的库存结果消息。
在本实施例的一些可选的实现方式中,上述库存统计消息生成单元502可以进一步用于:确定上述物品标识指示的物品所属的至少一个仓库的仓库标识;根据上述物品标识及至少一个仓库标识,生成库存统计消息。
在本实施例的一些可选的实现方式中,上述库存结果消息生成单元504可以进一步包括图5中未示出的库存量确定模块以及库存结果消息生成模块。
其中,库存量确定模块,用于在预设的物品库存统计列表中查询上述物品标识,确定上述物品标识对应的库存量。
其中,上述物品库存统计列表包括与各物品标识对应的库存量。
库存结果消息生成模块,用于根据上述库存量、上述物品标识、上述至少一个仓库标识以及当前服务器集合的标识,生成库存结果消息。
在本实施例的一些可选的实现方式中,上述装置500还可以进一步包括图5中未示出的库存结果消息解析单元、库存量比较单元以及差异响应单元。
其中,库存结果消息解析单元,用于解析其他服务器集合生成的库存结果消息,确定其他服务器集合统计的仓库中上述物品标识指示的物品的其他库存量。
库存量比较单元,用于比较各其他库存量以及当前服务器集合统计的当前库存量,确定各其他库存量之间以及各其他库存量与当前库存量之间是否存在差异。
差异响应单元,用于响应于存在差异,显示存在差异的库存量。
在本实施例的一些可选的实现方式中,上述差异响应单元还可以进一步用于:响应于存在差异,进行报警,并向预设的联系方式发送所述存在差异的库存量。
本申请的上述实施例提供的用于服务器系统的确定物品库存的装置,在各服务器集合接收到订单确认请求时,确定订单确认请求中包括的物品标识,然后基于上述物品标识,生成库存统计消息,将上述库存统计消息发送给处理服务器,以使处理服务器向其他服务器集合发送上述库存统计消息,然后当前服务器集合统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息,然后将上述库存结果消息发送给处理服务器,同时接收处理服务器发送的其他服务器集合生成的库存结果消息。本实施例提供的装置,可以在任何一个服务器集合所处理的订单请求中的物品库存发生变化时,对物品的库存进行统计,同时使得其他服务器集合同时统计该物品的库存量,实现了对物品库存量的精准统计,一方面减少了库存统计的时间,另一方面节省了计算资源。
应当理解,用于服务器系统的确定物品库存的装置500中记载的单元501至单元505分别与参考图2中描述的方法中的各个步骤相对应。由此,上文针对用于服务器系统的确定物品库存的方法描述的操作和特征同样适用于装置500及其中包含的单元,在此不再赘述。装置500的相应单元可以与服务器中的单元相互配合以实现本申请实施例的方案。
下面参考图6,其示出了适于用来实现本申请实施例的服务器的计算机系统600的结构示意图。图6示出的服务器仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在机器可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。
需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机 可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括物品标识确定单元、库存统计消息生成单元、库存统计消息发送单元、库存结果消息生成单元和库存结果消息发送单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,物品标识确定单元还可以被描述为“在接收到订单确认请求时,确定所述订单确认请求中包括的物品标识的单元”。
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当所述一个或者多个程序被该装置执行时,使得该装置:在接收到订单确认请求时,确定上述订单确认请求中包括的物品标识;基于上述物品标识,生成库存统计消息;向处理服务器发送库存统计消息,以使处理服务器将上述库存统计消息发送给其他服务器集合; 统计仓库中上述物品标识指示的物品的库存量,并生成库存结果消息;将库存结果消息发送给处理服务器,并接收处理服务器发送的其他服务器集合生成的库存结果消息。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其他技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (12)

  1. 一种用于服务器系统的确定物品库存的方法,其特征在于,所述服务器系统包括处理服务器以及多个服务器集合,每个服务器集合处理一种类型的订单请求;
    所述方法包括:
    在接收到订单确认请求时,确定所述订单确认请求中包括的物品标识;
    基于所述物品标识,生成库存统计消息;
    向所述处理服务器发送所述库存统计消息,以使所述处理服务器将所述库存统计消息发送给其他服务器集合;
    统计仓库中所述物品标识指示的物品的库存量,并生成库存结果消息;
    将所述库存结果消息发送给所述处理服务器,并接收所述处理服务器发送的其他服务器集合生成的库存结果消息。
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述物品标识,生成库存统计消息,包括:
    确定所述物品标识指示的物品所属的至少一个仓库的仓库标识;
    根据所述物品标识及至少一个仓库标识,生成库存统计消息。
  3. 根据权利要求2所述的方法,其特征在于,所述统计仓库中所述物品标识指示的物品的库存量,并生成库存结果消息,包括:
    在预设的物品库存统计列表中查询所述物品标识,确定所述物品标识对应的库存量,其中,所述物品库存统计列表包括与各物品标识对应的库存量;
    根据所述库存量、所述物品标识、所述至少一个仓库标识以及当前服务器集合的标识,生成库存结果消息。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    解析其他服务器集合生成的库存结果消息,确定其他服务器集合统计的仓库中所述物品标识指示的物品的其他库存量;
    比较各所述其他库存量以及当前服务器集合统计的当前库存量,确定各所述其他库存量之间以及各所述其他库存量与所述当前库存量之间是否存在差异;
    响应于存在差异,显示存在差异的库存量。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    响应于存在差异,进行报警,并向预设的联系方式发送所述存在差异的库存量。
  6. 一种用于服务器系统的确定物品库存的装置,其特征在于,所述服务器系统包括处理服务器以及多个服务器集合,每个服务器集合处理一种类型的订单请求;
    所述装置包括:
    物品标识确定单元,用于在接收到订单确认请求时,确定所述订单确认请求中包括的物品标识;
    库存统计消息生成单元,用于基于所述物品标识,生成库存统计消息;
    库存统计消息发送单元,用于向所述处理服务器发送所述库存统计消息,以使所述处理服务器将所述库存统计消息发送给其他服务器集合;
    库存结果消息生成单元,用于统计仓库中所述物品标识指示的物品的库存量,并生成库存结果消息;
    库存结果消息发送单元,用于将所述库存结果消息发送给所述处理服务器,并接收所述处理服务器发送的其他服务器集合生成的库存结果消息。
  7. 根据权利要求6所述的装置,其特征在于,所述库存统计消息生成单元进一步用于:
    确定所述物品标识指示的物品所属的至少一个仓库的仓库标识;
    根据所述物品标识及至少一个仓库标识,生成库存统计消息。
  8. 根据权利要求7所述的装置,其特征在于,所述库存结果消息生成单元包括:
    库存量确定模块,用于在预设的物品库存统计列表中查询所述物品标识,确定所述物品标识对应的库存量,其中,所述物品库存统计列表包括与各物品标识对应的库存量;
    库存结果消息生成模块,用于根据所述库存量、所述物品标识、所述至少一个仓库标识以及当前服务器集合的标识,生成库存结果消息。
  9. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    库存结果消息解析单元,用于解析其他服务器集合生成的库存结果消息,确定其他服务器集合统计的仓库中所述物品标识指示的物品的其他库存量;
    库存量比较单元,用于比较各所述其他库存量以及当前服务器集合统计的当前库存量,确定各所述其他库存量之间以及各所述其他库存量与所述当前库存量之间是否存在差异;
    差异响应单元,用于响应于存在差异,显示存在差异的库存量。
  10. 根据权利要求9所述的装置,其特征在于,所述差异响应单元进一步用于:
    响应于存在差异,进行报警,并向预设的联系方式发送所述存在差异的库存量。
  11. 一种服务器,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述 一个或多个处理器实现如权利要求1-5中任一所述的方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-5中任一所述的方法。
PCT/CN2018/080459 2017-05-18 2018-03-26 用于服务器系统的确定物品库存的方法和装置 WO2018210062A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710353144.9 2017-05-18
CN201710353144.9A CN108960691B (zh) 2017-05-18 2017-05-18 用于服务器系统的确定物品库存的方法和装置

Publications (1)

Publication Number Publication Date
WO2018210062A1 true WO2018210062A1 (zh) 2018-11-22

Family

ID=64273281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080459 WO2018210062A1 (zh) 2017-05-18 2018-03-26 用于服务器系统的确定物品库存的方法和装置

Country Status (2)

Country Link
CN (1) CN108960691B (zh)
WO (1) WO2018210062A1 (zh)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697591A (zh) * 2018-12-17 2019-04-30 北京三快在线科技有限公司 库存控制方法、装置、存储介质及服务器
CN111768137A (zh) * 2019-06-17 2020-10-13 北京京东尚科信息技术有限公司 一种物品上架的方法及装置
CN112131894A (zh) * 2019-06-24 2020-12-25 北京京东振世信息技术有限公司 分拣物品的方法、系统、眼镜、设备和计算机可读介质
CN112396364A (zh) * 2019-08-13 2021-02-23 北京京东乾石科技有限公司 仓储数据推送与监控方法、装置、服务器及存储介质
CN112446658A (zh) * 2019-09-04 2021-03-05 北京京东乾石科技有限公司 一种仓储物品分流上架的方法和装置
CN112837002A (zh) * 2019-11-22 2021-05-25 北京京东振世信息技术有限公司 物品出库的方法、装置、电子设备和存储介质
CN112926907A (zh) * 2019-12-06 2021-06-08 北京沃东天骏信息技术有限公司 一种仓库库存布局方法和装置
CN112950240A (zh) * 2019-11-26 2021-06-11 北京沃东天骏信息技术有限公司 一种分发方法和装置
CN113077201A (zh) * 2020-01-06 2021-07-06 北京京东振世信息技术有限公司 一种解析业务参数的方法、装置和系统
CN113111120A (zh) * 2020-01-13 2021-07-13 北京京东振世信息技术有限公司 业务数据校验的方法和装置
CN113268323A (zh) * 2021-05-17 2021-08-17 北京京东振世信息技术有限公司 任务处理方法、装置、电子设备及存储介质
CN113283256A (zh) * 2021-05-24 2021-08-20 北京京东振世信息技术有限公司 信息识别方法、装置、电子设备、系统和存储介质
CN113313438A (zh) * 2020-02-26 2021-08-27 北京京东振世信息技术有限公司 一种生成出库表单的方法和装置
CN113495908A (zh) * 2020-04-03 2021-10-12 北京京东振世信息技术有限公司 一种数据统计方法和装置
CN113516425A (zh) * 2020-04-10 2021-10-19 北京京东振世信息技术有限公司 一种追踪库存的方法和装置
WO2022148237A1 (zh) * 2021-01-06 2022-07-14 北京京东乾石科技有限公司 一种库存信息处理方法和装置
CN115190161A (zh) * 2022-06-10 2022-10-14 北京京东振世信息技术有限公司 处理物品数据的方法、装置、设备和计算机可读介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985862A (zh) * 2019-05-24 2020-11-24 北京京东尚科信息技术有限公司 定位库存物品的方法和装置
CN112527826A (zh) * 2019-09-19 2021-03-19 北京京东振世信息技术有限公司 处理请求的方法和装置
CN111260283B (zh) * 2020-01-15 2023-09-19 青岛海信移动通信技术有限公司 一种物流库存显示方法、物流库存统计方法及设备
CN113222490A (zh) * 2020-02-06 2021-08-06 北京沃东天骏信息技术有限公司 一种库存分配方法和装置
CN113496374A (zh) * 2020-04-08 2021-10-12 北京京东振世信息技术有限公司 数据处理方法和装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1701328A (zh) * 2002-08-15 2005-11-23 庄臣及庄臣视力保护公司 手持式库存跟踪以及自动定单传输系统
CN104794114A (zh) * 2014-01-16 2015-07-22 阿里巴巴集团控股有限公司 一种数据处理方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200515208A (en) * 2003-10-24 2005-05-01 Hon Hai Prec Ind Co Ltd System and method for querying inventory
CN1614604A (zh) * 2003-11-03 2005-05-11 鸿富锦精密工业(深圳)有限公司 库存查询系统及方法
GB2487992A (en) * 2011-01-31 2012-08-15 Sita Information Networking Computing Uk Ltd Inventory control system
KR20130082529A (ko) * 2011-12-07 2013-07-22 삼성에스디에스 주식회사 재고 실사 시스템 및 재고 실사 방법
US9563870B1 (en) * 2012-03-06 2017-02-07 Optoro, Inc. Methods and apparatus for processing and marketing inventory via multiple channels
CN104077671B (zh) * 2013-03-25 2019-01-25 腾讯科技(深圳)有限公司 一种同步库存信息的方法和系统
CN104881767A (zh) * 2015-05-14 2015-09-02 努比亚技术有限公司 一种基于多库存系统进行库存管理的方法和系统
CN106447246B (zh) * 2015-08-06 2020-09-01 菜鸟智能物流控股有限公司 库存数据对账方法及装置
CN105468690B (zh) * 2015-11-17 2018-11-30 中国建设银行股份有限公司 一种库存数据处理方法和装置
CN106599018A (zh) * 2016-10-20 2017-04-26 乐视控股(北京)有限公司 库存操作方法和系统

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1701328A (zh) * 2002-08-15 2005-11-23 庄臣及庄臣视力保护公司 手持式库存跟踪以及自动定单传输系统
CN104794114A (zh) * 2014-01-16 2015-07-22 阿里巴巴集团控股有限公司 一种数据处理方法及装置

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697591A (zh) * 2018-12-17 2019-04-30 北京三快在线科技有限公司 库存控制方法、装置、存储介质及服务器
CN111768137A (zh) * 2019-06-17 2020-10-13 北京京东尚科信息技术有限公司 一种物品上架的方法及装置
CN112131894A (zh) * 2019-06-24 2020-12-25 北京京东振世信息技术有限公司 分拣物品的方法、系统、眼镜、设备和计算机可读介质
CN112131894B (zh) * 2019-06-24 2023-11-03 北京京东振世信息技术有限公司 分拣物品的方法、系统、眼镜、设备和计算机可读介质
CN112396364A (zh) * 2019-08-13 2021-02-23 北京京东乾石科技有限公司 仓储数据推送与监控方法、装置、服务器及存储介质
CN112446658A (zh) * 2019-09-04 2021-03-05 北京京东乾石科技有限公司 一种仓储物品分流上架的方法和装置
CN112837002A (zh) * 2019-11-22 2021-05-25 北京京东振世信息技术有限公司 物品出库的方法、装置、电子设备和存储介质
CN112950240A (zh) * 2019-11-26 2021-06-11 北京沃东天骏信息技术有限公司 一种分发方法和装置
CN112926907A (zh) * 2019-12-06 2021-06-08 北京沃东天骏信息技术有限公司 一种仓库库存布局方法和装置
CN113077201A (zh) * 2020-01-06 2021-07-06 北京京东振世信息技术有限公司 一种解析业务参数的方法、装置和系统
CN113077201B (zh) * 2020-01-06 2024-05-24 北京京东振世信息技术有限公司 一种解析业务参数的方法、装置和系统
CN113111120A (zh) * 2020-01-13 2021-07-13 北京京东振世信息技术有限公司 业务数据校验的方法和装置
CN113111120B (zh) * 2020-01-13 2023-09-01 北京京东振世信息技术有限公司 业务数据校验的方法和装置
CN113313438A (zh) * 2020-02-26 2021-08-27 北京京东振世信息技术有限公司 一种生成出库表单的方法和装置
CN113495908B (zh) * 2020-04-03 2024-05-17 北京京东振世信息技术有限公司 一种数据统计方法和装置
CN113495908A (zh) * 2020-04-03 2021-10-12 北京京东振世信息技术有限公司 一种数据统计方法和装置
CN113516425A (zh) * 2020-04-10 2021-10-19 北京京东振世信息技术有限公司 一种追踪库存的方法和装置
WO2022148237A1 (zh) * 2021-01-06 2022-07-14 北京京东乾石科技有限公司 一种库存信息处理方法和装置
CN113268323A (zh) * 2021-05-17 2021-08-17 北京京东振世信息技术有限公司 任务处理方法、装置、电子设备及存储介质
CN113283256B (zh) * 2021-05-24 2023-09-08 北京京东振世信息技术有限公司 信息识别方法、装置、电子设备、系统和存储介质
CN113283256A (zh) * 2021-05-24 2021-08-20 北京京东振世信息技术有限公司 信息识别方法、装置、电子设备、系统和存储介质
CN115190161A (zh) * 2022-06-10 2022-10-14 北京京东振世信息技术有限公司 处理物品数据的方法、装置、设备和计算机可读介质
CN115190161B (zh) * 2022-06-10 2024-04-05 北京京东振世信息技术有限公司 处理物品数据的方法、装置、设备和计算机可读介质

Also Published As

Publication number Publication date
CN108960691B (zh) 2022-02-01
CN108960691A (zh) 2018-12-07

Similar Documents

Publication Publication Date Title
WO2018210062A1 (zh) 用于服务器系统的确定物品库存的方法和装置
US20190335011A1 (en) Method and device for information pushin
CN108897854B (zh) 一种超时任务的监控方法和装置
CN108958780A (zh) 一种用于呈现寄宿程序的更新信息的方法与设备
US20190354398A1 (en) Context aware prioritization in a distributed environment using tiered queue allocation
CN110866709A (zh) 合并订单的方法和装置
CN108810047B (zh) 用于确定信息推送准确率的方法、装置及服务器
CN111125107A (zh) 数据处理方法、装置、电子设备和介质
CN110019258A (zh) 处理订单数据的方法和装置
CN110866040A (zh) 用户画像生成方法、装置和系统
CN109218041B (zh) 用于服务器系统的请求处理方法和装置
CN112417016B (zh) 一种数据交换方法、系统、设备及存储介质
CN110060075B (zh) 用于预测销量的方法、装置、系统及介质
CN107705182B (zh) 用于确定订单来源的方法和装置
CN108932594B (zh) 信息推送方法和装置
CN107291923B (zh) 信息处理方法和装置
CN110928594A (zh) 服务开发方法和平台
WO2019015254A1 (zh) 信息处理方法和装置
CN107256244B (zh) 数据处理方法和系统
WO2017024976A1 (zh) 实时信息的展现方法和装置
CN109688432B (zh) 信息传输方法、装置和系统
CN109426997B (zh) 用于处理信息的方法、装置及服务器
CN113434754A (zh) 确定推荐api服务的方法、装置、电子设备和存储介质
US20120185333A1 (en) Method and system for providing an sms-based interactive electronic marketing offer search and distribution system
CN111861293A (zh) 用于发送信息的方法和装置

Legal Events

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

Ref document number: 18802280

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/04/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18802280

Country of ref document: EP

Kind code of ref document: A1