CN116071004A - Order processing method and device, electronic equipment and storage medium - Google Patents

Order processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116071004A
CN116071004A CN202310187401.1A CN202310187401A CN116071004A CN 116071004 A CN116071004 A CN 116071004A CN 202310187401 A CN202310187401 A CN 202310187401A CN 116071004 A CN116071004 A CN 116071004A
Authority
CN
China
Prior art keywords
warehouse
delivery
distribution center
inventory
center
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
CN202310187401.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.)
Beijing Quanwang Digital Commerce Technology Co ltd
Original Assignee
Beijing Quanwang Digital Commerce Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Quanwang Digital Commerce Technology Co ltd filed Critical Beijing Quanwang Digital Commerce Technology Co ltd
Priority to CN202310187401.1A priority Critical patent/CN116071004A/en
Publication of CN116071004A publication Critical patent/CN116071004A/en
Pending legal-status Critical Current

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
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

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

Abstract

The application provides an order processing method, an order processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving an order processing request sent by a client; in response to the order processing request, screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses, wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses comprise a warehouse and an in-transit warehouse, the inventory of the warehouse indicates the actual commodity quantity in the distribution center warehouse, and the inventory of the in-transit warehouse indicates the commodity quantity to be put in storage through purchasing/allocation; and carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and in-transit warehouse corresponding to the target distribution center. According to the method and the system, the inventory backlog cost is reduced and the warehouse detention rate is reduced through reasonable allocation and calling of the inventory among the plurality of distribution sub-warehouses corresponding to the distribution center warehouse.

Description

Order processing method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of warehouse logistics, in particular to an order processing method, an order processing device, electronic equipment and a storage medium.
Background
Warehouse management and monitoring play a vital role in the whole supply chain of an enterprise, and if timely and accurate delivery, inventory control and delivery cannot be guaranteed, service quality is difficult to guarantee, and thus market competitiveness of the enterprise is affected. With the continuous development of enterprise scale, the variety and quantity of materials for warehouse management are increasing, the frequency of warehouse in-out is increasing, and the warehouse management operation is complex and diversified.
And a plurality of sub-warehouses can exist in one distribution center warehouse according to the source of goods, and the sub-warehouses cannot be matched in a coordinated manner, so that the stock backlog cost is too high, and the overall retention rate of the distribution center warehouse is increased.
Disclosure of Invention
In view of this, an object of the present application is to provide at least an order processing method, an apparatus, an electronic device, and a storage medium, which reduce inventory backlog cost and warehouse detention rate by reasonably allocating and calling inventory between corresponding distribution sub-warehouses of a distribution center warehouse.
The application mainly comprises the following aspects:
In a first aspect, an embodiment of the present application provides an order processing method, including:
receiving an order processing request sent by a client; in response to the order processing request, screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses, wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses comprise a warehouse and an in-transit warehouse, the inventory of the warehouse indicates the actual commodity quantity in the distribution center warehouse, and the inventory of the in-transit warehouse indicates the commodity quantity to be put in through purchase/allocation; and carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and in-transit warehouse corresponding to the target distribution center.
In one possible implementation, the order processing request carries an order type and a receiving address, wherein the step of selecting a target distribution center warehouse for distributing the order processing request from a plurality of distribution center warehouses in response to the order processing request includes: determining a plurality of first candidate distribution center warehouses corresponding to the order types from a plurality of distribution center warehouses according to the warehouse types corresponding to each distribution center warehouse; screening at least one second candidate distribution center warehouse covering the receiving address from the plurality of first candidate distribution center warehouses according to the coverage range corresponding to each first candidate distribution center warehouse; and determining a target delivery center warehouse according to the receiving address and the delivery address corresponding to each second candidate delivery center warehouse.
In one possible embodiment, the step of determining the target delivery center warehouse based on the shipping address and the shipping address corresponding to each of the second candidate delivery center warehouses includes: determining first longitude information and first latitude information corresponding to a shipping address corresponding to each second candidate distribution center warehouse; determining second longitude information and second latitude information corresponding to the receiving address; for each second candidate distribution center warehouse, calculating a distance value between the second candidate distribution center warehouse and a receiving address by using a spherical cosine theorem formula according to the first longitude information, the first latitude information, the second longitude information and the second latitude information corresponding to the second candidate distribution center warehouse; and determining the second candidate distribution center warehouse corresponding to the minimum distance value as a target distribution center warehouse.
In one possible implementation manner, the warehouse includes at least one of a delivery warehouse and a return warehouse, the delivery warehouse, the return warehouse and the in-transit warehouse have different priorities, wherein the step of performing distribution processing on the order processing request according to the inventory amounts of the in-warehouse and the in-transit warehouse corresponding to the target distribution center includes: acquiring priority orders of a delivery warehouse, a withdrawal warehouse and an in-transit warehouse corresponding to a target distribution center; and carrying out distribution processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target distribution center.
In one possible implementation manner, the order processing request includes a required commodity SKU and a required quantity corresponding to the required commodity SKU, the warehouse includes a delivery warehouse and a return warehouse, and the priority order is sequentially from big to small, and the step of performing distribution processing on the order processing request according to the priority order of the delivery warehouse, the return warehouse and the return warehouse corresponding to the target distribution center includes: judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory; if the stock of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required stock, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated so as to carry out logistics delivery; if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse; if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery; if the first sum is smaller than the demand, calculating a second sum of the inventory of the shipping warehouse, the inventory of the in-transit warehouse and the inventory of the return warehouse corresponding to the return warehouse; if the second sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, a in-transit warehouse delivery bill and a return warehouse delivery bill for logistics delivery; and if the second sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In one possible embodiment, the step of performing the distribution process on the order processing request according to the inventory of the regional distribution center to which the target distribution center warehouse belongs includes: calculating a third sum between the second sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs; and if the third sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target distribution center warehouse, a in-transit warehouse delivery bill, a return warehouse delivery bill and a regional center delivery bill corresponding to the regional distribution center so as to carry out logistics distribution.
In one possible implementation manner, the order processing request includes a required commodity SKU and a required amount corresponding to the required commodity SKU, the warehouse includes a delivery warehouse, and the priority order is sequentially from big to small, and the delivery warehouse and the in-transit warehouse, where the step of performing the delivery processing on the order processing request according to the priority order of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target delivery center includes: judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory; if the stock of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required stock, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated so as to carry out logistics delivery; if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse; if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery; and if the first sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In one possible embodiment, the step of performing the distribution process on the order processing request according to the inventory of the regional distribution center to which the target distribution center warehouse belongs includes: calculating a fourth sum between the first sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs; and if the fourth sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, an on-road warehouse delivery bill and a regional center delivery bill corresponding to the regional delivery center to which the target delivery center warehouse belongs so as to carry out logistics delivery.
In one possible implementation, the spherical cosine law formula is:
D=R×arccos(cosψ1×cosψ2×cos(λ2―λ1)+sinψ1×sinψ2)
in this formula, R represents the earth radius, ψΔ1 represents the first latitude information, ψ2 represents the first latitude information, λ1 represents the second longitude information, and λ2 represents the second latitude information.
In a second aspect, an embodiment of the present application further provides an order processing apparatus, where the apparatus includes: the receiving module is used for receiving an order processing request sent by the client; the screening module is used for responding to the order processing request, screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses, wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses comprise a warehouse and an in-transit warehouse, the inventory of the warehouse indicates the actual commodity quantity in the distribution center warehouse, and the inventory of the in-transit warehouse indicates the commodity quantity to be warehoused through purchasing/allocation; and the processing module is used for carrying out distribution processing on the order processing request according to the inventory quantity of the in-warehouse and the in-transit warehouse corresponding to the target distribution center.
In one possible implementation, the order processing request carries an order type and a receiving address, wherein the screening module is further configured to: determining a plurality of first candidate distribution center warehouses corresponding to the order types from a plurality of distribution center warehouses according to the warehouse types corresponding to each distribution center warehouse; screening at least one second candidate distribution center warehouse covering the receiving address from the plurality of first candidate distribution center warehouses according to the coverage range corresponding to each first candidate distribution center warehouse; and determining a target delivery center warehouse according to the receiving address and the delivery address corresponding to each second candidate delivery center warehouse.
In one possible embodiment, the step of determining the target delivery center warehouse based on the shipping address and the shipping address corresponding to each of the second candidate delivery center warehouses includes: determining first longitude information and first latitude information corresponding to a shipping address corresponding to each second candidate distribution center warehouse; determining second longitude information and second latitude information corresponding to the receiving address; for each second candidate distribution center warehouse, calculating a distance value between the second candidate distribution center warehouse and a receiving address by using a spherical cosine theorem formula according to the first longitude information, the first latitude information, the second longitude information and the second latitude information corresponding to the second candidate distribution center warehouse; and determining the second candidate distribution center warehouse corresponding to the minimum distance value as a target distribution center warehouse.
In one possible embodiment, the warehouse comprises at least one of a shipping warehouse and a return warehouse, the shipping warehouse, the return warehouse and the in-transit warehouse having different priorities, wherein the processing module is further configured to: acquiring priority orders of a delivery warehouse, a withdrawal warehouse and an in-transit warehouse corresponding to a target distribution center; and carrying out distribution processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target distribution center.
In one possible implementation manner, the order processing request includes a required commodity SKU and a required quantity corresponding to the required commodity SKU, the warehouse includes a delivery warehouse and a return warehouse, and the priority order is sequentially from big to small, and the step of performing distribution processing on the order processing request according to the priority order of the delivery warehouse, the return warehouse and the return warehouse corresponding to the target distribution center includes: judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory; if the stock of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required stock, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated so as to carry out logistics delivery; if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse; if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery; if the first sum is smaller than the demand, calculating a second sum of the inventory of the shipping warehouse, the inventory of the in-transit warehouse and the inventory of the return warehouse corresponding to the return warehouse; if the second sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, a in-transit warehouse delivery bill and a return warehouse delivery bill for logistics delivery; and if the second sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In one possible embodiment, the step of performing the distribution process on the order processing request according to the inventory of the regional distribution center to which the target distribution center warehouse belongs includes: calculating a third sum between the second sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs; and if the third sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target distribution center warehouse, a in-transit warehouse delivery bill, a return warehouse delivery bill and a regional center delivery bill corresponding to the regional distribution center so as to carry out logistics distribution.
In one possible implementation manner, the order processing request includes a required commodity SKU and a required amount corresponding to the required commodity SKU, the warehouse includes a delivery warehouse, and the priority order is sequentially from big to small, and the delivery warehouse and the in-transit warehouse, where the step of performing the delivery processing on the order processing request according to the priority order of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target delivery center includes: judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory; if the stock of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required stock, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated so as to carry out logistics delivery; if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse; if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery; and if the first sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In one possible embodiment, the step of performing the distribution process on the order processing request according to the inventory of the regional distribution center to which the target distribution center warehouse belongs includes: calculating a fourth sum between the first sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs; and if the fourth sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, an on-road warehouse delivery bill and a regional center delivery bill corresponding to the regional delivery center to which the target delivery center warehouse belongs so as to carry out logistics delivery.
In one possible implementation, the spherical cosine law formula is:
D=R×arccos(cosψ1×cosψ2×cos(λ2―λ1)+sinψ1×sinψ2)
in this formula, R represents the earth radius, ψ1 represents the first latitude information, ψ2 represents the first latitude information, λ1 represents the second longitude information, and λ2 represents the second latitude information.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by one or more processors, implements a method as described in any of the implementations of the first aspect.
The embodiment of the application provides an order processing method, an order processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving an order processing request sent by a client; in response to the order processing request, screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses, wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses comprise a warehouse and an in-transit warehouse, the inventory of the warehouse indicates the actual commodity quantity in the distribution center warehouse, and the inventory of the in-transit warehouse indicates the commodity quantity to be put in storage through purchasing/allocation; and carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and in-transit warehouse corresponding to the target distribution center. According to the method and the system, the inventory backlog cost is reduced and the warehouse detention rate is reduced through reasonable allocation and calling of the inventory between the distribution sub-bins corresponding to the distribution center warehouse.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flow chart of an order processing method provided by an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a method for distributing an order processing request according to an embodiment of the present application;
fig. 3 shows functional modules of an order processing device provided in an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the accompanying drawings in the present application are only for the purpose of illustration and description, and are not intended to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this application, illustrates operations implemented according to some embodiments of the present application. It should be appreciated that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to the flow diagrams and one or more operations may be removed from the flow diagrams as directed by those skilled in the art.
In addition, the described embodiments are only some, but not all, of the embodiments of the present application. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
Warehouse management and monitoring play a vital role in the whole supply chain of an enterprise, and if timely and accurate delivery, inventory control and delivery cannot be guaranteed, service quality is difficult to guarantee, and thus market competitiveness of the enterprise is affected.
With the continuous development of enterprise scale, the variety and quantity of warehouse management materials are continuously increased, the frequency of warehouse in-out is greatly increased, the warehouse management operation is very complicated and diversified, the stock backlog cost is excessively high, and the warehouse detention rate is increased.
Based on this, the embodiment of the application provides an order processing method, an order processing device, an electronic device and a storage medium, which reduce stock backlog cost and warehouse retention rate by reasonably distributing and calling the stock among the corresponding distribution sub-warehouses of the distribution center warehouse, and specifically comprises the following steps:
Referring to fig. 1, fig. 1 shows a flowchart of an order processing method according to an embodiment of the present application. As shown in fig. 1, the method provided in the embodiment of the present application is applied to an order processing server, and includes the following steps:
s100, receiving an order processing request sent by a client.
Here, the order processing request may include various order related information, for example, the order processing request may include a customer identification, a commodity SKU, and a quantity and a receiving address of the ordered commodity. Optionally, the order type may also be included in the order processing request, for example, the order type may be a distribution order or a direct sales order.
And S200, responding to the order processing request, and screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses.
Wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses comprise a warehouse house and a warehouse house, the stock quantity in the warehouse indicates the actual commodity quantity in the warehouse of the distribution center, and the stock quantity in the warehouse indicates the commodity quantity to be put in the warehouse through purchasing/allocating.
In particular implementations, an enterprise may flexibly maintain a plurality of regional distribution centers (RDCs, regional Distribution Center) in a warehouse management system according to a strategic architecture, where a regional distribution center is a spare or superordinate warehouse of a distribution center (DC, distribution Center) warehouse, e.g., a western and a capital warehouse may each serve as a regional distribution center, and a regional distribution center is an entity warehouse from which a good may be replenished if there is no good in the distribution center warehouse.
Each regional distribution center supports maintenance of a plurality of distribution center warehouses, wherein each distribution center warehouse refers to a sub-warehouse under the regional distribution center, and each distribution center warehouse is managed by the regional distribution center of the regional distribution center, such as a Hangzhou distribution center warehouse and a Fuzhou distribution center warehouse, which are mainly managed by the Hangzhou regional distribution center, that is, the regional distribution center warehouse and the distribution center warehouse are in different warehouse levels.
Optionally, the order processing request may carry an order type and a receiving address, where the order type includes a direct sale type and a distribution type, and the order type has the following two determining manners:
one of them, according to the server from which the order processing request comes, confirm the order type, for example, some order processing requests are order that initiates from the direct marketing APP, namely, the order processing server is order processing request that receives from the server that provides service for the direct marketing APP, this order type is direct marketing order; some of the order processing requests are orders initiated from the distribution APP, i.e. the order processing server is an order processing request received from a server serving the distribution APP, the order type then being a distribution order.
Alternatively, the order type is determined according to the user type corresponding to the order processing request, and specifically, the user type may include a direct selling user and a distributing user.
In one embodiment, in response to an order processing request, a target distribution center warehouse for performing distribution processing on the order processing request is selected from a plurality of distribution center warehouses, and the method may be performed as follows:
first, a plurality of first candidate distribution center warehouses corresponding to an order type are determined from a plurality of distribution center warehouses according to a warehouse type corresponding to each distribution center warehouse.
Specifically, each distribution center warehouse has a corresponding warehouse type, the warehouse types include direct sales and distribution, so the plurality of distribution center warehouses can be further divided into a plurality of direct sales distribution center warehouses and a plurality of distribution center warehouses according to different warehouse types, and a plurality of first candidate distribution center warehouses can be determined through the order types carried by the order processing requests, for example, if the order types carried by the order processing requests are direct sales, the plurality of direct sales distribution center warehouses are screened out to serve as the plurality of first candidate distribution center warehouses, and if the order types carried by the order processing requests are distribution, the plurality of distribution center warehouses are screened out to serve as the plurality of first candidate distribution center warehouses.
And then, at least one second candidate delivery center warehouse covering the receiving address is selected from the plurality of first candidate delivery center warehouses according to the coverage range corresponding to each first candidate delivery center warehouse.
The warehouse management system is also responsible for maintaining and managing warehouse data corresponding to each regional distribution center and a plurality of distribution center warehouses managed by the regional distribution center, and aims at the warehouse data corresponding to the regional distribution centers, including but not limited to at least one of the following: warehouse name, warehouse address, warehouse level, administered delivery center warehouse, commodity SKUs and their corresponding inventory and coverage, for the delivery center warehouse's corresponding warehouse data, including but not limited to at least one of the following: warehouse name, warehouse address, warehouse level, regional distribution center to which it belongs, commodity SKU, and its corresponding inventory and coverage.
The coverage area may be an administrative division unit, for example, a provincial area street, that is, the granularity corresponding to the coverage area may reach the street level, for example, including specific streets, because the streets are irregular areas, each street name may also obtain a latitude and longitude range corresponding to the corresponding street according to the electronic map, and the coverage areas corresponding to the distribution center warehouses may also have a cross.
And finally, determining the target delivery center warehouse according to the receiving address and the delivery address corresponding to each second candidate delivery center warehouse.
In a specific embodiment, if only one second candidate delivery center warehouse is selected, the second candidate delivery center warehouse is directly determined to be the target delivery center warehouse, and if multiple second candidate delivery center warehouses are found or the second candidate delivery center warehouse is not found, the target delivery center warehouse is determined according to the receiving address and the delivery address corresponding to each second candidate delivery center warehouse.
And the delivery address corresponding to the second candidate delivery center warehouse is the warehouse address corresponding to the second candidate delivery center warehouse.
In a preferred embodiment, the step of determining the target delivery center warehouse based on the shipping address and the shipping address corresponding to each of the second candidate delivery center warehouses may include:
for each second candidate delivery center warehouse, determining first longitude information and first latitude information corresponding to a delivery address corresponding to the second candidate delivery center warehouse, determining second longitude information and second latitude information corresponding to a receiving address, and for each second candidate delivery center warehouse, calculating a distance value between the second candidate delivery center warehouse and the receiving address by using a spherical cosine theorem formula according to the first longitude information, the first latitude information and the second longitude information and the second latitude information corresponding to the second candidate delivery center warehouse, and determining the second candidate delivery center warehouse corresponding to the minimum distance value as a target delivery center warehouse.
Specifically, the electronic map may be called according to an API interface provided by the electronic map, so that the electronic map is utilized to directly determine the first longitude information and the first latitude information corresponding to each second candidate distribution center warehouse, and the second longitude information and the second latitude information corresponding to the receiving address.
In a preferred embodiment, the spherical cosine law formula is:
D=R×arccos(cosψ1×cosψ2×cos(λ2―λ1)+sinψ1×sinψ2)
in the formula, R represents the earth radius, χ1 represents the first longitude information, χ2 represents the first latitude information, λ1 represents the second longitude information, and λ2 represents the second latitude information, wherein R represents the earth radius, which can be 6371.0km.
S300, carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and the in-transit warehouse corresponding to the target distribution center.
Specifically, the warehouse comprises at least one of a delivery warehouse and a return warehouse, and the delivery warehouse, the return warehouse and the in-transit warehouse have different priorities.
In particular, the distribution center warehouse may be further refined into a plurality of distribution sub-warehouses according to the source of the goods, and in particular, the plurality of distribution sub-warehouses are included in the warehouse and in-transit warehouse, and at least one of the delivery warehouse and the withdrawal warehouse is included in the warehouse, and the distribution sub-warehouses corresponding to the different warehouse types are also different.
One distribution center warehouse can be understood as a logic warehouse, and a delivery warehouse, an on-road warehouse and an off-road warehouse corresponding to the same distribution center warehouse can be separated physically, or can be located in different areas of the distribution center warehouse corresponding to geographic positions/addresses.
The distribution processing of the order processing request is performed according to the stock quantity of the in-warehouse and in-transit warehouse corresponding to the target distribution center, and the method can be specifically performed as follows:
and acquiring the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target delivery center, and carrying out delivery processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target delivery center.
In a preferred embodiment, the order processing request may also include the required merchandise SKU (Stock Keeping Unit) and the required quantity corresponding to the required merchandise SKU.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for distributing an order processing request according to an embodiment of the present application. When the target delivery center warehouse is of a direct sale type, namely the warehouse in which the target delivery center warehouse corresponds comprises a delivery warehouse and a return warehouse, the priority order is sequentially from big to small, namely the delivery warehouse, the in-transit warehouse and the return warehouse.
As shown in fig. 2, the delivery processing of the order processing request according to the priority order of the in-warehouse and in-transit warehouse corresponding to the target delivery center may include the following steps S301 to S308:
s301, judging whether the inventory of the delivery warehouse corresponding to the required commodity SKU is larger than or equal to the required inventory.
In a specific embodiment, taking a direct-selling type delivery center warehouse as an example, calculating a delivery warehouse corresponding to a target delivery center according to the indication of the priority order, specifically, comparing the delivery warehouse stock corresponding to the required commodity SKU with the required quantity.
S302, if the inventory of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated to carry out logistics delivery.
When the inventory of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required quantity, the inventory of the delivery warehouse corresponding to the required commodity SKU in the delivery warehouse meets the required quantity requirement indicated by the order processing request, at the moment, the delivery warehouse under the flag of the target delivery center can be directly selected to complete the processing of the order processing request, a corresponding delivery warehouse delivery bill is generated, and the delivery warehouse carries out logistics delivery.
And secondly, after a delivery bill of the delivery warehouse is generated, calculating the residual inventory corresponding to the required commodity SKU in the delivery warehouse, if the residual inventory corresponding to the required commodity SKU is smaller than the preset threshold corresponding to the required commodity SKU, indicating that the inventory corresponding to the required commodity SKU in the delivery warehouse is insufficient, triggering inventory early warning aiming at the required commodity SKU and sending the inventory early warning to a corresponding purchasing system, and completing allocation or purchasing of a lower distribution center warehouse by a regional distribution center by the purchasing system to perform subsequent further purchasing operation.
And S303, triggering inventory early warning for the delivery warehouse if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse.
Specifically, when the inventory of the shipping warehouse corresponding to the required commodity SKU is smaller than the required amount, it is indicated that the inventory of the required commodity SKU in the shipping warehouse cannot meet the order processing request, at this time, an inventory early warning for the shipping warehouse needs to be triggered, and in order to complete the order processing request, the in-transit warehouse inventory is preferentially integrated into the inventory of the shipping warehouse according to the priority order.
S304, judging whether the first sum value is larger than or equal to the demand.
And S305, if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse so as to carry out logistics delivery.
If the first sum value is greater than or equal to the demand, it is indicated that the order processing request can be met only by accumulating the stock quantity of the required commodity SKU in the delivery warehouse and at this time, a delivery warehouse delivery bill corresponding to the delivery warehouse and an in-transit warehouse delivery bill corresponding to the in-transit warehouse are generated respectively, wherein the delivery bill comprises, but not limited to, the required commodity SKU and the corresponding delivery quantity, the delivery warehouse name and the delivery warehouse address thereof, the delivery quantity corresponding to the required commodity SKU in the delivery warehouse delivery bill is the delivery warehouse stock quantity corresponding to the required commodity SKU in the delivery warehouse, and the delivery quantity corresponding to the required commodity SKU in the in-transit warehouse delivery bill is the difference between the required quantity and the in-transit warehouse stock quantity corresponding to the required commodity SKU.
Similarly, after the delivery manifest and the in-transit manifest are generated, the delivery manifest and the in-transit manifest need to perform inventory early warning calculation respectively, and the calculation method is the same as step S302, which is not described herein.
And S306, if the first sum value is smaller than the required quantity, calculating a second sum value between the inventory of the delivery warehouse and the inventory of the return warehouse corresponding to the return warehouse.
When the first sum value is smaller than the required quantity, the fact that the inventory quantity of the required commodity SKU in the delivery warehouse and the inventory quantity of the required commodity SKU in the in-transit warehouse are added together cannot meet the order processing request is indicated, and at the moment, the inventory quantity corresponding to the required commodity SKU in the delivery warehouse is further included into calculation according to the indication of the priority order.
S307, judging whether the second sum is greater than or equal to the demand.
And S308, if the second sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, a in-transit warehouse delivery bill and a return warehouse delivery bill for logistics delivery.
Specifically, when the second sum value is greater than or equal to the demand, it is stated that the sum of the inventory amounts corresponding to the required commodity SKUs in the delivery warehouse, the in-transit warehouse and the return warehouse meets the order processing request, and at this time, the delivery warehouse, the return warehouse and the in-transit warehouse all need to perform delivery processing for the order processing request, specifically, the delivery amount corresponding to the required commodity SKUs in the delivery warehouse delivery bill is the delivery warehouse inventory amount corresponding to the required commodity SKUs in the delivery warehouse, the delivery amount corresponding to the required commodity SKUs in the in-transit warehouse delivery bill is the in-transit warehouse inventory amount corresponding to the required commodity SKUs in the in-transit warehouse, and the delivery amount corresponding to the required commodity SKUs in the return warehouse delivery bill is the difference between the demand amount and the first sum value.
Similarly, after the delivery bill of the delivery warehouse, the delivery bill of the in-transit warehouse and the delivery bill of the return warehouse are generated, the delivery warehouse, the in-transit warehouse and the return warehouse are subjected to inventory early warning calculation respectively, and the calculation method is basically the same as the method described in the step S302, and is not repeated here.
And S309, if the second sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
Specifically, if the second sum is smaller than the required amount, it indicates that the sum of all the delivery sub-bins of the target delivery center cannot meet the order processing request for the required commodity SKU inventory amount, and at this time, the upper regional delivery center corresponding to the target delivery center warehouse needs to be searched for delivery.
In a preferred embodiment, step S309 includes:
and calculating a third sum value between the second sum value and the inventory quantity corresponding to the regional distribution center to which the target distribution center warehouse belongs, and if the third sum value is greater than or equal to the required quantity, generating a delivery warehouse delivery bill corresponding to the target distribution center warehouse, an in-transit warehouse delivery bill, a return warehouse delivery bill and a regional center delivery bill corresponding to the regional distribution center so as to carry out logistics distribution.
Specifically, if the third sum value is greater than or equal to the required quantity, it indicates that the target delivery center warehouse plus the regional delivery center to which the target delivery center belongs can satisfy the order processing request, at this time, the shipment quantity corresponding to the required commodity SKU in the shipment warehouse shipment bill is the shipment warehouse stock quantity corresponding to the required commodity SKU in the shipment warehouse, the shipment quantity corresponding to the required commodity SKU in the shipment warehouse shipment bill is the in-transit warehouse stock quantity corresponding to the required commodity SKU in the shipment warehouse, the shipment quantity corresponding to the required commodity SKU in the shipment warehouse shipment bill is the shipment warehouse stock quantity corresponding to the required commodity SKU in the shipment warehouse, and the shipment quantity corresponding to the required commodity SKU in the regional center shipment bill is the difference between the required quantity and the second sum value, that is, for the required commodity SKU, after the complete deduction of the inventory quantity corresponding to the required commodity SKU, the part of the residual non-required quantity is deducted and shipped by the regional delivery center to which the regional delivery center belongs.
Similarly, after the delivery warehouse delivery bill, the in-transit warehouse delivery bill, the return warehouse delivery bill and the regional center delivery bill are generated, inventory early warning calculation is performed on the delivery warehouse, the in-transit warehouse, the return warehouse and the regional distribution center respectively, and the calculation method is basically the same as the method described in the step S302, and is not repeated here.
If the third sum value is smaller than the required quantity, triggering inventory early warning aiming at the regional distribution center, and simultaneously automatically performing intelligent allocation of inventory among the purchasing processes or the regional distribution centers according to strategies such as inventory accumulation quantity aiming at required commodity SKUs and corresponding purchasing periods and the like corresponding to the target distribution center warehouse and the regional distribution center to which the target distribution center belongs.
In a specific embodiment, after the inventory early warning is triggered, the automatic purchasing process may be started according to a preset strategy, or the inventory between regional distribution centers may be intelligently allocated, at this time, the order processing request is not processed temporarily, and after the inventory early warning logic needs to be executed, the processing of the order processing request is completed, for example, after the regional distribution center is waited to repair the inventory, the order processing request is shipped according to the order processing request.
For the distribution center warehouse of the distribution type, the plurality of distribution sub-warehouses comprise a distribution warehouse and an in-transit warehouse of the distribution type, and may also comprise a distribution warehouse of the distribution type, and since the distribution is in a form of B2B (Business-to-Business) and generally no return behavior exists, in general, the plurality of distribution sub-warehouses corresponding to the distribution center warehouse of the distribution type do not comprise the distribution warehouse, and as the distribution sub-warehouses corresponding to the distribution center warehouse of the distribution type, two or three distribution sub-warehouses corresponding to the distribution center warehouse of the distribution type can also belong to the distribution center warehouse of the distribution type, but can be physically separated and can also be located in different areas corresponding to geographic positions/addresses of the distribution center warehouse.
In another preferred embodiment, the warehouse includes a delivery warehouse, and the priority order is from big to small in order of the delivery warehouse and the in-transit warehouse, and the step of delivering the order processing request according to the priority order of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target delivery center includes:
judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required amount, if the inventory of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required amount, generating a delivery warehouse delivery bill corresponding to a delivery warehouse for logistics delivery, if the inventory of the delivery warehouse corresponding to the required commodity SKU is less than the required amount, triggering inventory early warning for the delivery warehouse, simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse, and if the first sum value is greater than or equal to the required amount, generating a delivery warehouse delivery bill corresponding to a target delivery center warehouse and a delivery warehouse delivery bill corresponding to the target delivery center warehouse for logistics delivery.
Specifically, the process is similar to steps S303 to S307, and will not be described here.
For the distribution center warehouse of the distribution type, two cases are divided, wherein one case is that the distribution center warehouse comprises a warehouse for returning goods, and the processing procedure is the same as that of step S302 to step S309.
And if the first sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In the case of a distribution type distribution center warehouse, if the distribution center warehouse does not include a warehouse for shipment, the first sum is smaller than the required amount after steps S303 to S307, and the warehouse for the regional distribution center corresponding to the target distribution center warehouse needs to be directly included in the calculation because the warehouse for shipment does not exist.
In a preferred embodiment, the step of performing the distribution process on the order processing request according to the inventory of the regional distribution center to which the target distribution center warehouse belongs includes:
and calculating a fourth sum value between the first sum value and the inventory quantity corresponding to the regional distribution center to which the target distribution center warehouse belongs, and if the fourth sum value is greater than or equal to the required quantity, generating a delivery warehouse delivery bill corresponding to the target distribution center warehouse, an in-transit warehouse delivery bill and a regional center delivery bill corresponding to the regional distribution center to which the target distribution center warehouse belongs so as to carry out logistics distribution.
The delivery quantity corresponding to the required commodity SKU in the delivery warehouse delivery bill is delivery warehouse stock corresponding to the required commodity SKU in the delivery warehouse, the delivery quantity corresponding to the required commodity SKU in the delivery warehouse delivery bill is in-transit warehouse stock corresponding to the required commodity SKU in the in-transit warehouse, and the delivery quantity corresponding to the required commodity SKU in the regional center delivery bill is the difference value between the required quantity and the first sum value.
Similarly, after the delivery bill of the delivery warehouse, the delivery warehouse and the regional center delivery bill are generated, the delivery warehouse and the regional distribution center respectively perform inventory early warning calculation, and the calculation method is the same as step S302, and will not be described in detail herein.
And if the fourth sum value is smaller than the required quantity, triggering inventory early warning aiming at the regional distribution center, and simultaneously automatically performing intelligent allocation of the inventory between the purchasing process and the regional distribution center according to the strategies such as the inventory accumulation quantity aiming at the required commodity SKU and the corresponding purchasing period and the like corresponding to the target distribution center warehouse and the regional distribution center to which the target distribution center belongs.
The consumption/processing of order processing requests by distribution type distribution center warehouses is similar to that of direct distribution type distribution center warehouses and will not be described in detail herein.
Based on the same application conception, the embodiment of the application further provides an order processing device corresponding to the order processing method provided by the embodiment, and because the principle of solving the problem by the device in the embodiment of the application is similar to that of the order processing method of the embodiment of the application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 3, fig. 3 shows functional modules of an order processing device provided in an embodiment of the present application. As shown in fig. 3, the apparatus includes:
The receiving module 400 is configured to receive an order processing request sent by a client.
And a screening module 410, configured to screen, in response to the order processing request, a target distribution center warehouse for performing distribution processing on the order processing request from a plurality of distribution center warehouses, where the plurality of distribution center warehouses are under the jurisdiction of at least one regional distribution center, each distribution center warehouse includes a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses include a warehouse and an in-transit warehouse, the inventory in the warehouse indicates an actual commodity quantity in the distribution center warehouse, and the inventory in the in-transit warehouse indicates a commodity quantity to be warehoused by purchasing/allocating.
And the processing module 420 is used for carrying out distribution processing on the order processing request according to the inventory amounts of the in-warehouse and the in-transit warehouse corresponding to the target distribution center.
In one possible implementation, the order processing request may carry an order type and a shipping address, wherein the screening module 410 may be further configured to: determining a plurality of first candidate distribution center warehouses corresponding to the order types from a plurality of distribution center warehouses according to the warehouse types corresponding to each distribution center warehouse; screening at least one second candidate distribution center warehouse covering the receiving address from the plurality of first candidate distribution center warehouses according to the coverage range corresponding to each first candidate distribution center warehouse; and determining a target delivery center warehouse according to the receiving address and the delivery address corresponding to each second candidate delivery center warehouse.
In one possible embodiment, the step of determining the target delivery center warehouse based on the shipping address and the shipping address corresponding to each of the second candidate delivery center warehouses may include: determining first longitude information and first latitude information corresponding to a shipping address corresponding to each second candidate distribution center warehouse; determining second longitude information and second latitude information corresponding to the receiving address; for each second candidate distribution center warehouse, calculating a distance value between the second candidate distribution center warehouse and a receiving address by using a spherical cosine theorem formula according to the first longitude information, the first latitude information, the second longitude information and the second latitude information corresponding to the second candidate distribution center warehouse; and determining the second candidate distribution center warehouse corresponding to the minimum distance value as a target distribution center warehouse.
In one possible embodiment, the warehouse may include at least one of an shipping warehouse and a return warehouse, the shipping warehouse, the return warehouse, and the in-transit warehouse having different priorities, wherein the processing module 420 may be further configured to: acquiring priority orders of a delivery warehouse, a withdrawal warehouse and an in-transit warehouse corresponding to a target distribution center; and carrying out distribution processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target distribution center.
In one possible implementation manner, the order processing request may include a required commodity SKU and a required amount corresponding to the required commodity SKU, the warehouse includes a delivery warehouse and a return warehouse, and the priority order is sequentially from big to small, and the step of performing the delivery processing on the order processing request according to the priority order of the delivery warehouse, the return warehouse and the return warehouse corresponding to the target delivery center may include: judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory; if the stock of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required stock, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated so as to carry out logistics delivery; if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse; if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery; if the first sum is smaller than the demand, calculating a second sum of the inventory of the shipping warehouse, the inventory of the in-transit warehouse and the inventory of the return warehouse corresponding to the return warehouse; if the second sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, a in-transit warehouse delivery bill and a return warehouse delivery bill for logistics delivery; and if the second sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In one possible embodiment, the step of performing the distribution processing on the order processing request according to the inventory amount of the regional distribution center to which the target distribution center warehouse belongs may include: calculating a third sum between the second sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs; and if the third sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target distribution center warehouse, a in-transit warehouse delivery bill, a return warehouse delivery bill and a regional center delivery bill corresponding to the regional distribution center so as to carry out logistics distribution.
In one possible implementation manner, the order processing request may include a required commodity SKU and a required amount corresponding to the required commodity SKU, the warehouse includes a delivery warehouse, and the priority order is sequentially from big to small, where the step of performing distribution processing on the order processing request according to the priority order of the delivery warehouse, the return warehouse and the in-transit warehouse corresponding to the target distribution center may include: judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory; if the stock of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required stock, a delivery warehouse delivery bill corresponding to the delivery warehouse is generated so as to carry out logistics delivery; if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse; if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery; and if the first sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
In one possible embodiment, the step of performing the distribution processing on the order processing request according to the inventory amount of the regional distribution center to which the target distribution center warehouse belongs may include: calculating a fourth sum between the first sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs; and if the fourth sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, an on-road warehouse delivery bill and a regional center delivery bill corresponding to the regional delivery center to which the target delivery center warehouse belongs so as to carry out logistics delivery.
In one possible implementation, the spherical cosine law formula may be:
D=R×xrccos(cosψ1×cosψ2×cos(λ2―λ1)+sinψ1×sinψ2)
in this formula, R represents the earth radius, ψ1 represents the first latitude information, ψ2 represents the first latitude information, λ1 represents the second longitude information, and λ2 represents the second latitude information.
It should be noted that, the implementation details and technical effects of each module in the order processing device provided in the embodiments of the present application may refer to the descriptions of other embodiments in the present application, which are not described herein again.
Referring to fig. 4 based on the same application concept, fig. 4 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application, where an electronic device 500 includes: a processor 510, a memory 520 and a bus 530, the memory 520 storing machine readable instructions executable by the processor 510, the processor 510 and the memory 520 communicating via the bus 530 when the electronic device 500 is running, the machine readable instructions being executable by the processor 510 to perform the steps of the order processing method according to any of the embodiments described above.
Based on the same application concept, the embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to perform the steps of the order processing method provided in the foregoing embodiment.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and the computer program on the storage medium can execute the order processing method described above when executed.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solutions, or in the form of a software product, which is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes or substitutions are covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A method of order processing, the method comprising:
receiving an order processing request sent by a client;
in response to the order processing request, screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses, wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, the plurality of distribution sub-warehouses comprise a warehouse and an in-transit warehouse, the inventory in the warehouse indicates the actual commodity quantity in the distribution center warehouse, and the inventory in the in-transit warehouse indicates the commodity quantity to be put in storage through purchasing/allocation;
and carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and in-transit warehouse corresponding to the target distribution center.
2. The method of claim 1, wherein the order processing request carries an order type and a shipping address,
wherein the step of screening a target distribution center warehouse for distributing the order processing request from a plurality of distribution center warehouses in response to the order processing request comprises:
determining a plurality of first candidate distribution center warehouses corresponding to the order types from a plurality of distribution center warehouses according to the warehouse types corresponding to each distribution center warehouse;
screening at least one second candidate distribution center warehouse covering the goods receiving address from the plurality of first candidate distribution center warehouses according to the coverage range corresponding to each first candidate distribution center warehouse;
and determining a target delivery center warehouse according to the receiving address and the delivery address corresponding to each second candidate delivery center warehouse.
3. The method of claim 2, wherein the step of determining a target delivery center warehouse based on the shipping address and the shipping address corresponding to each of the second candidate delivery center warehouses comprises:
determining first longitude information and first latitude information corresponding to a shipping address corresponding to each second candidate distribution center warehouse;
Determining second longitude information and second latitude information corresponding to the receiving address;
for each second candidate distribution center warehouse, calculating a distance value between the second candidate distribution center warehouse and the receiving address by using a spherical cosine theorem formula according to the first longitude information, the first latitude information, the second longitude information and the second latitude information corresponding to the second candidate distribution center warehouse;
and determining the second candidate distribution center warehouse corresponding to the minimum distance value as a target distribution center warehouse.
4. The method of claim 1, wherein the warehouse comprises at least one of an shipping warehouse and a return warehouse, the shipping warehouse, the return warehouse and the in-transit warehouse having different priorities,
the step of carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and the in-transit warehouse corresponding to the target distribution center comprises the following steps:
acquiring priority orders of a delivery warehouse, a withdrawal warehouse and an in-transit warehouse corresponding to the target distribution center;
and carrying out distribution processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target distribution center.
5. The method of claim 4, wherein the order processing request includes a demand commodity SKU and a demand amount corresponding to the demand commodity SKU, the warehouse includes a delivery warehouse and a return warehouse, the order of priority is from the top to the bottom, the order of priority is a delivery warehouse, an in-transit warehouse and a return warehouse,
the step of carrying out distribution processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target distribution center comprises the following steps:
judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required quantity;
if the inventory of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory, a delivery warehouse delivery bill corresponding to a delivery warehouse is generated to carry out logistics delivery;
if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse;
if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery;
If the first sum value is smaller than the demand, calculating a second sum value between the delivery warehouse stock and the return warehouse stock corresponding to the return warehouse;
if the second sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill, an in-transit warehouse delivery bill and a return warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery;
and if the second sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
6. The method of claim 5, wherein the step of distributing the order processing request according to the inventory level of the regional distribution center to which the target distribution center warehouse belongs comprises:
calculating a third sum between the second sum and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs;
and if the third sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target distribution center warehouse, a in-transit warehouse delivery bill, a return warehouse delivery bill and a regional center delivery bill corresponding to the regional distribution center so as to carry out logistics distribution.
7. The method of claim 4, wherein the order processing request includes a demand commodity SKU and a demand amount corresponding to the demand commodity SKU, the warehouse includes a ship warehouse, the priority order is from the big to the small, the ship warehouse and the in-transit warehouse,
the step of carrying out distribution processing on the order processing request according to the priority orders of the delivery warehouse, the withdrawal warehouse and the in-transit warehouse corresponding to the target distribution center comprises the following steps:
judging whether the inventory of a delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required quantity;
if the inventory of the delivery warehouse corresponding to the required commodity SKU is greater than or equal to the required inventory, a delivery warehouse delivery bill corresponding to a delivery warehouse is generated to carry out logistics delivery;
if the inventory of the delivery warehouse corresponding to the required commodity SKU is smaller than the required quantity, triggering inventory early warning for the delivery warehouse, and simultaneously calculating a first sum value between the inventory of the delivery warehouse corresponding to the delivery warehouse and the inventory of the delivery warehouse;
if the first sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill and an in-transit warehouse delivery bill corresponding to the target delivery center warehouse to carry out logistics delivery;
And if the first sum value is smaller than the required quantity, carrying out distribution processing on the order processing request according to the stock quantity of the regional distribution center of the target distribution center warehouse.
8. The method of claim 7, wherein the step of performing the distribution process on the order processing request according to the inventory level of the regional distribution center to which the target distribution center warehouse belongs comprises:
calculating a fourth sum value between the first sum value and the inventory corresponding to the regional distribution center to which the target distribution center warehouse belongs;
and if the fourth sum value is greater than or equal to the demand, generating a delivery warehouse delivery bill corresponding to the target delivery center warehouse, an in-transit warehouse delivery bill and a regional center delivery bill corresponding to a regional delivery center to which the target delivery center warehouse belongs so as to carry out logistics delivery.
9. A method according to claim 3, wherein the spherical cosine law formula is:
D=R×arccos(cosψ1×cosψ2×cos(λ2―λ1)+sinψ1×sinψ2)
in this formula, R represents the earth radius, ψ1 represents the first latitude information, ψ2 represents the first latitude information, λ1 represents the second longitude information, and λ2 represents the second latitude information.
10. An order processing apparatus, the apparatus comprising:
The receiving module is used for receiving an order processing request sent by the client;
the screening module is used for responding to the order processing request, screening target distribution center warehouses for carrying out distribution processing on the order processing request from a plurality of distribution center warehouses, wherein the plurality of distribution center warehouses are subject to the jurisdiction of at least one regional distribution center, each distribution center warehouse comprises a plurality of distribution sub-warehouses, each distribution sub-warehouse comprises a warehouse and an in-transit warehouse, the inventory of the warehouse indicates the actual commodity quantity in the distribution center warehouse, and the inventory of the in-transit warehouse indicates the commodity quantity to be put in by purchasing/allocating;
and the processing module is used for carrying out distribution processing on the order processing request according to the stock quantity of the in-warehouse and the in-transit warehouse corresponding to the target distribution center.
11. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-9.
12. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by one or more processors, implements the method according to any of claims 1-9.
CN202310187401.1A 2023-02-23 2023-02-23 Order processing method and device, electronic equipment and storage medium Pending CN116071004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310187401.1A CN116071004A (en) 2023-02-23 2023-02-23 Order processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310187401.1A CN116071004A (en) 2023-02-23 2023-02-23 Order processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116071004A true CN116071004A (en) 2023-05-05

Family

ID=86178531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310187401.1A Pending CN116071004A (en) 2023-02-23 2023-02-23 Order processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116071004A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117078150A (en) * 2023-10-17 2023-11-17 深圳市中农易讯信息技术有限公司 Agricultural product conveying path optimization method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117078150A (en) * 2023-10-17 2023-11-17 深圳市中农易讯信息技术有限公司 Agricultural product conveying path optimization method
CN117078150B (en) * 2023-10-17 2024-02-09 深圳市中农易讯信息技术有限公司 Agricultural product conveying path optimization method

Similar Documents

Publication Publication Date Title
CN108921462B (en) Inventory management method, inventory management device, equipment and storage medium
US8732039B1 (en) Allocating regional inventory to reduce out-of-stock costs
US8700443B1 (en) Supply risk detection
Mahar et al. Using online pickup site inclusion policies to manage demand in retail/E-tail organizations
CN112801579B (en) Distribution task abnormity monitoring method, distribution task abnormity monitoring device, computer equipment and storage medium
CN110390501B (en) Data processing method and system, computer system and computer readable medium
US20150294333A1 (en) Mobile device based inventory management and sales trends analysis in a retail environment
Huang et al. Impact of product proliferation on the reverse supply chain
CN112001681B (en) Warehouse management method, device, platform and computer readable storage medium
CN110796413A (en) Cargo distribution method and device, storage medium and electronic equipment
MXPA04008805A (en) Inventory management system for reducing overall warehouse and pipeline inventory.
CN112381482A (en) Material management method and device, electronic equipment and storage medium
US20190207807A1 (en) Method and system for determining and locating nodal weaknesses in a network
CN110147974A (en) Inventory's sharing method and device between distributed warehouse
US20130339083A1 (en) Product placement in retail settings
US20170193433A1 (en) System for estimating geographical demand and method therefor
CN112070423B (en) Inventory preemption method and device, electronic equipment and storage medium
CN116071004A (en) Order processing method and device, electronic equipment and storage medium
CN112308681B (en) Inventory processing method and device, electronic equipment and storage medium
CN111292135A (en) Distribution method, device, equipment, system and storage medium
CN114219397A (en) Inventory management method, device, equipment and storage medium
US20140350991A1 (en) Systems and methods for logistics network management
KR102138017B1 (en) Method providing food material ordering service
CN115330468B (en) Data processing method and related device
CN116228372A (en) Order source-seeking algorithm and system for DTC mode multi-bin delivery in retail industry

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