CN109754199B - Information output method and device - Google Patents

Information output method and device Download PDF

Info

Publication number
CN109754199B
CN109754199B CN201711082413.9A CN201711082413A CN109754199B CN 109754199 B CN109754199 B CN 109754199B CN 201711082413 A CN201711082413 A CN 201711082413A CN 109754199 B CN109754199 B CN 109754199B
Authority
CN
China
Prior art keywords
warehouse
order
delivered
demand
orders
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.)
Active
Application number
CN201711082413.9A
Other languages
Chinese (zh)
Other versions
CN109754199A (en
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201711082413.9A priority Critical patent/CN109754199B/en
Publication of CN109754199A publication Critical patent/CN109754199A/en
Application granted granted Critical
Publication of CN109754199B publication Critical patent/CN109754199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application discloses an information output method and device. Acquiring an order set to be distributed, wherein the order set to be distributed comprises the demand quantity of the same kind of articles, the order set to be distributed has a corresponding first warehouse identifier and a second warehouse identifier, and the distribution range of the second warehouse indicated by the second warehouse identifier comprises the distribution range of the first warehouse indicated by the first warehouse identifier; acquiring the stock quantities of the same kind of articles in the first warehouse and the second warehouse; determining a warehouse for delivering orders to be delivered in an order set to be delivered in the first warehouse and the second warehouse based on the inventory and the demand, and generating corresponding relation information for representing the corresponding relation between the orders to be delivered and the warehouse; and outputting the generated corresponding relation information. The embodiment realizes targeted information generation.

Description

Information output method and device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to an information output method and device.
Background
The large network shopping mall is usually built with a multi-level warehouse system, such as a large regional warehouse, a city-county-level warehouse, and the like. The distribution range of the large regional warehouse can cover a plurality of provincial regions, and the distribution range of the city and county warehouse can cover a plurality of city and counties around.
The purpose of establishing the city-county-level warehouse is to improve the distribution speed of local orders and reduce the distribution cost. For the same kind of goods, the stock quantity of the city and county level warehouse is usually much smaller than that of the large area type warehouse due to the difference in the amount of demand faced. In addition, the distribution cost of orders in large regional warehouses is usually higher than the distribution cost in city and county level warehouses.
For orders in the city and county level warehouse coverage area, the orders are generally delivered preferentially by the city and county level warehouse, and if the inventory is insufficient, the orders are delivered by a superior large regional warehouse. However, if the order quantity of a single order is large, the order is generally delivered to an upper large-scale regional warehouse even if the inventory of the city-county warehouse can be individually satisfied. This is because a large block of orders may consume a large percentage of the inventory of a municipal level warehouse at a time. Since replenishment takes a certain time, the remaining inventory in the city and county level warehouse is likely to fail to meet the order demand of the area for several days in the future, and only the large area type warehouse with higher delivery cost can deliver the replenishment until the replenishment is completed. If the large block of orders are delivered by a large regional warehouse, although the delivery cost of a single order is increased, more orders can be delivered by a low-cost city-county-level warehouse in the future, so that the total delivery cost is reduced, and the average delivery time of customers is shortened.
Disclosure of Invention
The embodiment of the application aims to provide an information output method and device.
In a first aspect, an embodiment of the present application provides an information output method, where the method includes: acquiring an order set to be delivered, wherein the order set to be delivered in the order set to be delivered includes a demand amount for the same kind of articles, the order set to be delivered has a corresponding first warehouse identifier and a second warehouse identifier, and a delivery range of a second warehouse indicated by the second warehouse identifier includes a delivery range of the first warehouse indicated by the first warehouse identifier; acquiring the stock quantities of the same kind of articles in the first warehouse and the second warehouse; determining, in the first warehouse and the second warehouse, a warehouse for delivering an order to be delivered in the order set to be delivered, based on the stock quantity and the demand included in the order to be delivered in the order set to be delivered, and generating correspondence information representing a correspondence between the order to be delivered and the warehouse; and outputting the generated corresponding relation information.
In some embodiments, the first warehouse identifier and the second warehouse identifier each have a corresponding delivery cost; and the determining, in the first warehouse and the second warehouse, a warehouse for delivering the to-be-delivered order in the to-be-delivered order set based on the stock quantity and the demand included in the to-be-delivered order set, includes: obtaining a sample set, wherein the sample set is used for representing a demand condition for the same kind of articles in a certain time period from a current time, and the sample comprises an order quantity and a first demand quantity for the same kind of articles, which is respectively included in orders of the order quantity; determining, in the first warehouse and the second warehouse, a warehouse for delivering the orders to be delivered in the order sets to be delivered, based on the stock amount, the demand amount included in the orders to be delivered in the order sets to be delivered, the delivery cost, and the sample set.
In some embodiments, the determining, in the first warehouse and the second warehouse, a warehouse for dispatching the to-be-dispatched orders in the to-be-dispatched order set based on the stock quantity, the demand included in the to-be-dispatched orders in the to-be-dispatched order set, the dispatching cost, and the sample set, includes: determining, in the first warehouse and the second warehouse, a warehouse for delivering the to-be-delivered orders in the to-be-delivered order set based on the inventory amount, the demand included in the to-be-delivered orders in the to-be-delivered order set, the delivery cost, and the sample set, using a preset mathematical model, wherein the mathematical model determines the warehouse for delivering the to-be-delivered orders in the to-be-delivered order set by minimizing a total delivery cost.
In some embodiments, the outputting the generated correspondence information includes: and outputting the generated corresponding relation information to the terminal equipment configured in the corresponding warehouse.
In some embodiments, the obtaining a sample set includes: acquiring a pre-generated order quantity set aiming at the same type of articles in the certain time period; acquiring a first demand set, wherein a first demand in the first demand set has a corresponding weight value, and the first demand is a demand quantity for the same kind of goods in an order; and generating the sample set based on the order quantity set and the first demand quantity set by utilizing joint probability distribution.
In some embodiments, the obtaining the first demand set includes: acquiring a historical order set, wherein the historical order comprises purchase quantities of the same kind of articles; extracting the purchase quantity of the same kind of articles from the historical orders in the historical order set to generate a purchase quantity set; setting the ratio of the number of times of appearance of the purchase quantity in the history orders in the history order set and the total number of the history orders included in the history order set as a weight value of the purchase quantity for each purchase quantity in the purchase quantity set; and generating a first demand set by taking the purchase amount in the purchase amount set as a first demand.
In a second aspect, an embodiment of the present application provides an information output apparatus, including: a first obtaining unit, configured to obtain an order set to be delivered, where the order set to be delivered includes a demand amount for a same kind of article, the order set to be delivered has a corresponding first warehouse identifier and a second warehouse identifier, and a delivery range of a second warehouse indicated by the second warehouse identifier includes a delivery range of the first warehouse indicated by the first warehouse identifier; a second acquiring unit configured to acquire stock amounts of the same kind of articles in the first warehouse and the second warehouse; a generating unit, configured to determine, in the first warehouse and the second warehouse, a warehouse used for distributing an order to be distributed in the order set to be distributed, based on the stock quantity and the demand amount included in the order to be distributed in the order set to be distributed, and generate correspondence information used for representing a correspondence between the order to be distributed and the warehouse; an output unit configured to output the generated correspondence information.
In some embodiments, the first warehouse identifier and the second warehouse identifier each have a corresponding delivery cost; and the generating unit includes: the system comprises an acquisition subunit, a storage unit, a processing unit and a display unit, wherein the acquisition subunit is configured to acquire a sample set, the sample set is used for representing a demand condition for the same kind of articles within a certain time period from a current time, and the sample comprises an order quantity and a first demand quantity for the same kind of articles, which is respectively included in orders of the order quantity; a determining subunit, configured to determine, in the first warehouse and the second warehouse, a warehouse for distributing the orders to be distributed in the order set to be distributed, based on the stock amount, the required amount included in the orders to be distributed in the order set to be distributed, the distribution cost, and the sample set.
In some embodiments, the determining subunit is further configured to: determining, in the first warehouse and the second warehouse, a warehouse for delivering the to-be-delivered orders in the to-be-delivered order set based on the inventory amount, the demand included in the to-be-delivered orders in the to-be-delivered order set, the delivery cost, and the sample set, using a preset mathematical model, wherein the mathematical model determines the warehouse for delivering the to-be-delivered orders in the to-be-delivered order set by minimizing a total delivery cost.
In some embodiments, the output unit is further configured to: and outputting the generated corresponding relation information to the terminal equipment configured in the corresponding warehouse.
In some embodiments, the obtaining subunit includes: a first obtaining module configured to obtain a pre-generated order quantity set for the same type of article in the certain time period; a second obtaining module, configured to obtain a first demand set, where a first demand in the first demand set has a corresponding weight value, and the first demand is a demand quantity for the same kind of item in an order; and the generating module is configured to generate the sample set based on the order quantity set and the first demand quantity set by using joint probability distribution.
In some embodiments, the second obtaining module is further configured to: acquiring a historical order set, wherein the historical order comprises purchase quantities of the same kind of articles; extracting the purchase quantity of the same kind of articles from the historical orders in the historical order set to generate a purchase quantity set; setting the ratio of the number of times of appearance of the purchase quantity in the history orders in the history order set and the total number of the history orders included in the history order set as a weight value of the purchase quantity for each purchase quantity in the purchase quantity set; and generating a first demand set by taking the purchase amount in the purchase amount set as a first demand.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation manner of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
According to the information output method and the information output device provided by the embodiment of the application, the included order to be distributed comprises the order set to be distributed aiming at the demand quantity of the same kind of articles, the stock quantities of the same kind of articles in the first warehouse and the second warehouse are obtained, so that the warehouses used for distributing the order to be distributed in the order set to be distributed are determined in the first warehouse and the second warehouse based on the stock quantities and the demand quantity aiming at the same kind of articles included in the order to be distributed in the order set to be distributed, the corresponding relation information used for representing the corresponding relation between the order to be distributed and the warehouses is generated, and then the corresponding relation information is output. Therefore, the determination of the warehouse for distributing the orders to be distributed in the order set to be distributed is effectively utilized, and the targeted information generation is realized.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of an information output method according to the present application;
FIG. 3 is a schematic diagram of an application scenario of an information output method according to the present application;
FIG. 4 is a flow chart of yet another embodiment of an information output method according to the present application;
FIG. 5 is a schematic block diagram of an embodiment of an information output apparatus according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing an electronic device according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the information output method or information output apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a web browser application, an instant messaging tool, a warehouse management application, and the like.
The terminal devices 101, 102, 103 may be various electronic devices including, but not limited to, smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, for example, performs processing such as analysis on the to-be-delivered orders in the acquired to-be-delivered order set, and outputs a processing result (for example, generated correspondence information that represents a correspondence between the to-be-delivered orders and a specified warehouse). Here, the server 105 may output the processing result to terminal devices configured in the warehouse, for example, the terminal devices 101, 102, 103, for example.
It should be noted that the information output method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the information output apparatus is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information output method according to the present application is shown. The process 200 of the information output method includes the following steps:
step 201, obtaining a collection of orders to be delivered.
In this embodiment, the electronic device (for example, the server 105 shown in fig. 1) on which the information output method operates may acquire the set of orders to be delivered from the server connected to the electronic device in remote communication by a wired connection or a wireless connection. Of course, if the electronic device locally stores the order set to be delivered in advance, the electronic device may also locally obtain the order set to be delivered.
It should be noted that the order to be delivered in the order set to be delivered may include the demand for the same kind of item. In addition, the set of orders to be delivered may have corresponding first and second repository identifications. The second warehouse indicated by the second warehouse identification may be an upper-level warehouse of the first warehouse indicated by the first warehouse identification. The delivery range of the second warehouse may include the delivery range of the first warehouse. Here, the second warehouse may be, for example, a large area type warehouse. The first warehouse may be, for example, a city and county level warehouse.
Step 202, obtaining the stock quantity of the same kind of articles in the first warehouse and the second warehouse.
In this embodiment, the electronic device may acquire the stock amounts of the same kind of articles in the first warehouse and the second warehouse. The electronic device may obtain the stock quantity from a server connected by remote communication, or may obtain the stock quantity locally, which is not limited in this respect.
Step 203, determining, in the first warehouse and the second warehouse, a warehouse for delivering the orders to be delivered in the order set to be delivered, based on the obtained inventory amount and the demand amount for the same kind of articles included in the orders to be delivered in the order set to be delivered, and generating correspondence information for representing a correspondence between the orders to be delivered and the warehouse.
In this embodiment, the electronic device may determine, in the first warehouse and the second warehouse, a warehouse used for delivering the order to be delivered in the order set to be delivered, based on the acquired stock quantity and a demand amount for the same kind of articles included in the order to be delivered in the order set to be delivered, and generate correspondence information used for representing a correspondence between the order to be delivered and the warehouse.
As an example, for any order to be delivered, the electronic device may compare a demand amount for the same kind of item included in the order to be delivered with a current stock amount of the same kind of item in the first warehouse, and if the demand amount is smaller than the stock amount, the electronic device may determine the first warehouse as a warehouse for delivering the order to be delivered; otherwise, the electronic device may further compare the required amount with a current inventory amount of the same kind of article in the second warehouse, and if the required amount is smaller than the inventory amount, the electronic device may determine the second warehouse as a warehouse for delivering the order to be delivered.
It is noted that the order to be delivered may have an order identification. For the correspondence information used for characterizing the correspondence between the to-be-delivered order and the warehouse, the correspondence information may include, for example, an order identifier of the to-be-delivered order and a warehouse identifier of the warehouse (e.g., the first warehouse identifier or the second warehouse identifier).
In some optional implementations of this embodiment, the first warehouse identifier and the second warehouse identifier may have corresponding delivery costs, respectively. The electronic device may further determine a warehouse for delivering the to-be-delivered order in the to-be-delivered order set by performing the following steps:
first, the electronic device may obtain a sample set. The sample set may be used to characterize a demand condition for the same kind of item within a certain time period from a current time, and the sample may include an order quantity and a first demand quantity for the same kind of item included in each order of the order quantity. Here, the sample set may be generated in advance by the electronic device, or may be generated by a server connected to the electronic device in a remote communication manner. It is noted that the first warehouse and the second warehouse may have the same replenishment period. The end time of the first time period may be, for example, the start time of the next replenishment cycle.
Then, the electronic device may determine, in the first warehouse and the second warehouse, a warehouse for delivering the order to be delivered in the order to be delivered set based on the acquired stock amount, the required amount of the order to be delivered in the order to be delivered set for the same kind of article, the delivery cost of the first warehouse and the second warehouse, and the sample set. In this way, the rationality of the determined warehouse may be increased, which in turn may help to reduce overall delivery costs.
It should be noted that, the electronic device may input the obtained inventory amount, the required amount of the order to be delivered in the order set to be delivered for the same kind of article, the delivery costs of the first warehouse and the second warehouse, and the sample set into a preset warehouse location model, so as to obtain a warehouse location result. The warehouse location result may include a warehouse identifier of a warehouse located for delivering an order to be delivered in the order to be delivered set. Here, the warehouse location model may be used to characterize the correspondence between the input information and the warehouse location result. The input information may include a demand amount for the same kind of item included in an order to be delivered in the order set to be delivered, delivery costs of the warehouse and stock amounts of the same kind of item stored respectively indicated by the first warehouse identifier and the second warehouse identifier corresponding to the order set to be delivered, and a sample set related to the same kind of item. Here, the warehouse location model may be a correspondence table that is prepared in advance by a technician based on statistics of a large amount of input information and warehouse location results and stores a plurality of correspondences between the input information and the warehouse location results; or a calculation formula which is preset by a technician based on statistics of a large amount of data and is stored in the electronic equipment, and is used for performing numerical calculation on one or more numerical values in the input information to obtain a calculation result for representing the warehouse positioning result.
In some optional implementation manners of this embodiment, the electronic device may further obtain the sample set by performing the following steps:
first, the electronic device may obtain a pre-generated order quantity set for the same type of article within the certain time period. The order quantity set may be predicted in advance by the electronic device based on a preset algorithm, or predicted in advance by a server in remote communication connection with the electronic device, and this embodiment does not limit this aspect at all.
Then, the electronic device may obtain a first demand set. The first demand in the first demand set may have a corresponding weight value, and the first demand may be a demand amount for the same item in an order (e.g., a historical order).
As an example, the electronic device may generate the first demand set by performing the following steps: acquiring a historical order set, wherein the historical order can comprise purchase quantity of the same type of articles; extracting the purchase quantity of the same kind of articles from the historical orders in the historical order set to generate a purchase quantity set; setting the ratio of the number of times of appearance of the purchase quantity in the history orders in the history order set and the total number of the history orders included in the history order set as a weight value of the purchase quantity for each purchase quantity in the purchase quantity set; and taking the purchase amount in the purchase amount set as a first demand to generate a first demand set. It should be noted that the historical order set may be pre-stored in a server local to the electronic device or in a remote communication connection with the electronic device.
Finally, the electronic device may generate the sample set based on the order quantity set and the first demand quantity set by using a joint probability distribution. Here, the electronic device may first sample the order quantity set to obtain a first order quantity set. For each order quantity in the first order quantity set, the electronic device may sample the order quantity from the first demand quantity set by using a joint probability distribution, and generate a sample of the order quantity and the sampled order quantity. The electronic device may generate a sample set from each generated sample.
It should be noted that joint probability distribution is simply called joint distribution, and is the probability distribution of a random vector composed of two or more random variables. The representation of the joint probability distribution varies according to the random variables. For discrete random variables, the joint probability distribution can be represented in a list form or a function form; for continuous random variables, the joint probability distribution can be represented by the integral of a non-negative function.
And step 204, outputting the generated corresponding relation information.
In this embodiment, after the electronic device generates the correspondence information, the electronic device may output the correspondence information. For example, the correspondence information is output to terminal devices respectively configured in the first repository and the second repository. Therefore, by outputting the corresponding relation information, the personnel browsing the corresponding relation information can know which warehouses need to deliver which orders to be delivered, the warehouse management can be facilitated, the total delivery cost can be reduced, and the average delivery time of the customers can be shortened.
Optionally, if the to-be-delivered orders corresponding to different warehouses exist in the to-be-delivered order set acquired by the electronic device, the electronic device may output the correspondence information to a terminal device configured in a corresponding warehouse. As an example, the set of orders to be delivered includes order a to be delivered and order B to be delivered. The order to be delivered a corresponds to the warehouse S1, and the order to be delivered B corresponds to the warehouse S2. The electronic device may output the correspondence information corresponding to the order a to be delivered to the terminal device disposed in the warehouse S1, and output the correspondence information corresponding to the order B to be delivered to the terminal device disposed in the warehouse S2.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information output method according to the present embodiment. In the application scenario of fig. 3, the server 301 may first obtain the to-be-delivered order set 302 locally, where the to-be-delivered order set 302 includes to-be-delivered orders 3021 and 3022; the order to be distributed in the order set 302 to be distributed includes a demand amount for the item a, the order set 302 to be distributed has a corresponding first warehouse identifier and a second warehouse identifier, the second warehouse indicated by the second warehouse identifier is a large regional warehouse, and the first warehouse indicated by the first warehouse identifier is a lower-level warehouse of the second warehouse, that is, a city and county-level warehouse. Then, the server 301 may locally acquire the inventory amount 303 of the item a in the first warehouse and the inventory amount 304 of the item a in the second warehouse. Thereafter, the server 301 may determine, based on the inventory amounts 303 and 304 and the demand amount for the item a included in the to-be-delivered orders 3021 and 3022, warehouses for delivering the to-be-delivered orders 3021 and 3022 in the first warehouse and the second warehouse, and generate correspondence information 305, where the correspondence information 305 may include an identification pair B and an identification pair C, and the identification pair B may include an order identification of the to-be-delivered order 3021 and a determined warehouse identification of the warehouse for delivering the to-be-delivered order 3021; identification pair C may include an order identification of order to be delivered 3022 and a warehouse identification of the determined warehouse for delivering order to be delivered 3022. Finally, the server 301 may output the correspondence information 305 to the terminal device 306 configured in the first repository and the terminal device 307 configured in the second repository.
The method provided by the embodiment of the application effectively utilizes the determination of the warehouse for delivering the to-be-delivered orders in the to-be-delivered order set, and realizes the generation of information rich in pertinence.
With further reference to fig. 4, a flow 400 of yet another embodiment of an information output method is shown. The process 400 of the information output method includes the following steps:
step 401, obtaining a collection of orders to be delivered.
In this embodiment, the electronic device (e.g., the server 105 shown in fig. 1) on which the information output method operates may obtain the set of orders to be delivered from the server connected to the electronic device in remote communication via a wired connection or a wireless connection. Of course, if the electronic device locally stores the order set to be delivered in advance, the electronic device may also locally obtain the order set to be delivered.
It should be noted that the order to be delivered in the order set to be delivered may include the demand for the same kind of item. In addition, the set of orders to be delivered may have corresponding first and second repository identifications. The first and second warehouse identifications may each have a corresponding delivery cost. The second warehouse indicated by the second warehouse identification may be an upper-level warehouse of the first warehouse indicated by the first warehouse identification. The delivery range of the second warehouse may include the delivery range of the first warehouse. Here, the second warehouse may be, for example, a large area type warehouse. The first warehouse may be, for example, a city and county level warehouse.
Step 402, obtaining the stock quantity of the same kind of goods in the first warehouse and the second warehouse.
In this embodiment, the electronic device may acquire the stock amounts of the same kind of articles in the first warehouse and the second warehouse. The electronic device may obtain the stock quantity from a server connected by remote communication, or may obtain the stock quantity locally, which is not limited in this respect.
In step 403, a sample set is obtained.
In this embodiment, the electronic device may obtain a sample set. The sample set can be used for characterizing the demand condition of the same kind of articles in a certain time period from the current time. The sample may include an order quantity and a first demand for the same item as included in each of the order quantity orders. Here, for the method for obtaining the sample set, reference may be made to the description related to the sample set in step 203 in the embodiment shown in fig. 2, and details are not repeated here.
Step 404, using a preset mathematical model, based on the obtained inventory amount, the demand amount of the order to be delivered in the order set to be delivered for the same kind of article, the delivery cost of the first warehouse and the second warehouse, and the sample set, determining a warehouse for delivering the order to be delivered in the order set to be delivered in the first warehouse and the second warehouse, and generating correspondence information for representing a correspondence between the order to be delivered and the warehouse.
In this embodiment, the electronic device may determine, by using a preset mathematical model, a warehouse for delivering the order to be delivered in the order set to be delivered in the first warehouse and the second warehouse based on the acquired stock amount, the demand amount for the same kind of articles included in the order to be delivered in the order set to be delivered, the delivery cost of the first warehouse and the second warehouse, and the sample set, and generate correspondence information for representing a correspondence between the order to be delivered and the warehouse. Wherein the mathematical model may determine a warehouse for delivering orders to be delivered from the set of orders to be delivered by minimizing a total delivery cost.
As an example, the electronic device may determine, in the first warehouse and the second warehouse, a warehouse for delivering an order to be delivered in the set of orders to be delivered, using the following mathematical model:
Figure BDA0001459315340000121
Figure BDA0001459315340000122
Figure BDA0001459315340000123
Figure BDA0001459315340000124
wherein i may represent the first repository or the second repository. q may represent inventory, qiThe stock quantity of the same kind of articles in the warehouse i can be represented. j may represent an order to be delivered in the order set to be delivered, d may represent a demand, djMay represent the demand for the same item as described above that is included in order j to be delivered. s may represent a sample, N may represent a total number of samples, k may be a natural number not less than 1 and not more than an order amount included in the sample s, w may represent a first demand amountskMay represent a first demand for the same item as described above that is included in the kth order in sample s. c may represent delivery costs, ciThe delivery cost of the order at warehouse i may be indicated. x is the number ofijAnd yiskMay all be variables with values of 0 or 1. If xij1 may indicate that the order j to be delivered is scheduled for delivery at warehouse i. If yisk1, it may mean that the kth order in the sample s is scheduled for delivery at warehouse i.
It should be noted that the objective of the mathematical model is to minimize the total delivery cost. First, theAn approximation
Figure BDA0001459315340000131
It may be indicated that the result of scheduling the warehouse must not violate the inventory constraints. The electronic device can solve the mathematical model through integer programming, and a corresponding warehouse is designated for each order to be delivered.
In this embodiment, for any one order to be delivered and the determined warehouse for delivering the order to be delivered, the electronic device may generate correspondence information for characterizing a correspondence between the order to be delivered and the warehouse. For example, the variable characterizing whether the order to be delivered is scheduled for delivery at the warehouse and the value of the solved variable generate correspondence information characterizing the correspondence between the order to be delivered and the warehouse.
Step 405, outputting the generated corresponding relation information.
In this embodiment, the electronic device may output the generated correspondence information. For example, the generated correspondence information is output to terminal devices respectively configured in the first repository and the second repository, or the generated correspondence information is output to a terminal device configured in a corresponding repository. For example, the to-be-delivered order set includes an order a to be delivered and an order B to be delivered. Wherein, the order a to be delivered corresponds to the warehouse S1, and the order B to be delivered corresponds to the warehouse S2, so that the electronic device may output the correspondence information corresponding to the order a to be delivered to the terminal device configured in the warehouse S1, and output the correspondence information corresponding to the order B to be delivered to the terminal device configured in the warehouse S2.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 of the information output method in the present embodiment highlights a step of determining a warehouse for delivering an order to be delivered from a set of orders to be delivered by using a preset mathematical model. Therefore, the solution described in this embodiment can more reasonably determine the warehouse for delivering the order to be delivered, and thus can further contribute to reducing the total delivery cost and shortening the average delivery time of the customer.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an information output apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the information output apparatus 500 shown in the present embodiment includes: a first acquisition unit 501, a second acquisition unit 502, a generation unit 503, and an output unit 504. The first obtaining unit 501 is configured to obtain an order set to be delivered, where the order set to be delivered includes a demand amount for a same kind of article, the order set to be delivered has a corresponding first warehouse identifier and a second warehouse identifier, and a delivery range of a second warehouse indicated by the second warehouse identifier includes a delivery range of the first warehouse indicated by the first warehouse identifier; a second obtaining unit 502 is configured to obtain the inventory amounts of the same kind of articles in the first warehouse and the second warehouse; the generating unit 503 is configured to determine, in the first warehouse and the second warehouse, a warehouse used for distributing the orders to be distributed in the order set to be distributed, based on the inventory amount and the demand amount included in the orders to be distributed in the order set to be distributed, and generate correspondence information used for representing a correspondence between the orders to be distributed and the warehouse; the output unit 504 is configured to output the generated correspondence information.
In the present embodiment, in the information output apparatus 500: the detailed processing of the first obtaining unit 501, the second obtaining unit 502, the generating unit 503 and the output unit 504 and the technical effects thereof can refer to the related descriptions of step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the first warehouse identifier and the second warehouse identifier may have corresponding delivery costs, respectively; and the generating unit 503 may include: an obtaining subunit (not shown in the drawings), configured to obtain a sample set, where the sample set may be used to characterize a demand condition for the same item within a certain time period from a current time, and a sample may include an order quantity and a first demand quantity for the same item included in each order of the order quantity; a determining subunit (not shown in the figure), configured to determine, in the first warehouse and the second warehouse, a warehouse for distributing the orders to be distributed in the order sets to be distributed, based on the stock quantity, the demand amount included in the orders to be distributed in the order sets to be distributed, the distribution cost, and the sample set.
In some optional implementations of this embodiment, the determining subunit may be further configured to: determining, in the first warehouse and the second warehouse, a warehouse for delivering the to-be-delivered orders in the to-be-delivered order set based on the inventory amount, the demand included in the to-be-delivered orders in the to-be-delivered order set, the delivery cost, and the sample set, using a preset mathematical model, wherein the mathematical model determines the warehouse for delivering the to-be-delivered orders in the to-be-delivered order set by minimizing a total delivery cost.
In some optional implementations of this embodiment, the output unit may be further configured to: and outputting the generated corresponding relation information to the terminal equipment configured in the corresponding warehouse.
In some optional implementation manners of this embodiment, the obtaining subunit may include: a first obtaining module (not shown in the figure) configured to obtain a pre-generated order quantity set for the same type of article in the certain time period; a second obtaining module (not shown in the figures) configured to obtain a first demand set, where a first demand in the first demand set may have a corresponding weight value, and the first demand is a demanded quantity of the order for the same kind of item; a generating module (not shown in the figure) configured to generate the sample set based on the order quantity set and the first demand quantity set by using a joint probability distribution.
In some optional implementation manners of this embodiment, the second obtaining module may be further configured to: acquiring a historical order set, wherein the historical order can comprise purchase quantity of the same type of articles; extracting the purchase quantity of the same kind of articles from the historical orders in the historical order set to generate a purchase quantity set; setting the ratio of the number of times of appearance of the purchase quantity in the history orders in the history order set and the total number of the history orders included in the history order set as a weight value of the purchase quantity for each purchase quantity in the purchase quantity set; and generating a first demand set by taking the purchase amount in the purchase amount set as a first demand.
The apparatus provided by the foregoing embodiment of the present application effectively utilizes the determination of the warehouse for delivering the to-be-delivered orders in the to-be-delivered order set, and realizes information generation rich in pertinence.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a second acquisition unit, a generation unit, and an output unit. Where the names of the units do not in some cases constitute a limitation on the units themselves, for example, the first acquiring unit may also be described as "the unit acquiring the set of orders to be delivered".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to include: acquiring an order set to be delivered, wherein the order set to be delivered in the order set to be delivered includes a demand amount for the same kind of articles, the order set to be delivered has a corresponding first warehouse identifier and a second warehouse identifier, and a delivery range of a second warehouse indicated by the second warehouse identifier includes a delivery range of the first warehouse indicated by the first warehouse identifier; acquiring the stock quantities of the same kind of articles in the first warehouse and the second warehouse; determining, in the first warehouse and the second warehouse, a warehouse for delivering an order to be delivered in the order set to be delivered, based on the stock quantity and the demand included in the order to be delivered in the order set to be delivered, and generating correspondence information representing a correspondence between the order to be delivered and the warehouse; and outputting the generated corresponding relation information.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. An information output method comprising:
acquiring an order set to be delivered, wherein the order set to be delivered in the order set to be delivered comprises the demand for the same kind of articles, the order set to be delivered has a corresponding first warehouse identifier and a second warehouse identifier, a delivery range of a second warehouse indicated by the second warehouse identifier includes a delivery range of a first warehouse indicated by the first warehouse identifier, and the first warehouse identifier and the second warehouse identifier respectively have corresponding delivery costs;
acquiring the inventory quantities of the same kind of articles in the first warehouse and the second warehouse;
determining a warehouse used for delivering orders to be delivered in the order set to be delivered in the first warehouse and the second warehouse based on the inventory and the demand quantity included in the orders to be delivered in the order set to be delivered, and generating corresponding relation information used for representing the corresponding relation between the orders to be delivered and the warehouse;
outputting the generated corresponding relation information; wherein the content of the first and second substances,
the determining, in the first warehouse and the second warehouse, a warehouse for dispatching the to-be-dispatched orders in the to-be-dispatched order set based on the inventory amount and the demand amount included in the to-be-dispatched orders in the to-be-dispatched order set includes:
obtaining a sample set, wherein the sample set is used for representing the demand condition of the same kind of articles in a certain time period from the current time;
determining, in the first warehouse and the second warehouse, a warehouse for delivering the orders to be delivered in the order sets to be delivered, based on the inventory amount, the demand amount included in the orders to be delivered in the order sets to be delivered, the delivery cost, and the sample set.
2. The method of claim 1, wherein the sample comprises an order quantity and a first demand quantity for the homogeneous item that the order quantity orders respectively comprise.
3. The method of claim 2, wherein said determining, in said first warehouse and said second warehouse, a warehouse for dispatching an order to be dispatched in said set of orders to be dispatched, based on said inventory amount, said demand amount included in an order to be dispatched in said set of orders to be dispatched, said dispatching cost, and said sample set, comprises:
determining, by using a preset mathematical model, a warehouse for dispatching the to-be-dispatched orders in the to-be-dispatched order set in the first warehouse and the second warehouse based on the inventory amount, the demand included in the to-be-dispatched orders in the to-be-dispatched order set, the dispatching cost and the sample set, wherein the mathematical model determines the warehouse for dispatching the to-be-dispatched orders in the to-be-dispatched order set by minimizing a total dispatching cost.
4. The method of claim 1, wherein the outputting the generated correspondence information comprises:
and outputting the generated corresponding relation information to the terminal equipment configured in the corresponding warehouse.
5. The method of claim 2, wherein said obtaining a set of samples comprises:
acquiring a pre-generated order quantity set aiming at the same type of articles in the certain time period;
acquiring a first demand set, wherein a first demand in the first demand set has a corresponding weight value, and the first demand is a demand quantity for the same kind of goods in an order;
generating the sample set based on the order quantity set and the first demand quantity set by using a joint probability distribution.
6. The method of claim 5, wherein said obtaining a first set of demands comprises:
acquiring a historical order set, wherein the historical order comprises purchase amount of the same type of item;
extracting the purchase quantity of the same kind of articles from the historical orders in the historical order set to generate a purchase quantity set;
setting the ratio of the number of times of appearance of the purchase quantity in the historical orders in the historical order set to the total number of the historical orders contained in the historical order set as a weight value of the purchase quantity for each purchase quantity in the purchase quantity set;
and taking the purchase amount in the purchase amount set as a first demand amount to generate a first demand amount set.
7. An information output apparatus comprising:
a first obtaining unit, configured to obtain an order set to be delivered, where the order set to be delivered includes a demand amount for a same kind of article, the order set to be delivered has a corresponding first warehouse identifier and a second warehouse identifier, a delivery range of a second warehouse indicated by the second warehouse identifier includes a delivery range of the first warehouse indicated by the first warehouse identifier, and the first warehouse identifier and the second warehouse identifier respectively have corresponding delivery costs;
a second acquiring unit configured to acquire stock amounts of the same kind of articles in the first warehouse and the second warehouse;
a generating unit, configured to determine, in the first warehouse and the second warehouse, a warehouse used for delivering the order to be delivered in the order set to be delivered based on the inventory amount and the demand included in the order to be delivered in the order set to be delivered, and generate correspondence information used for representing a correspondence between the order to be delivered and the warehouse;
an output unit configured to output the generated correspondence information; wherein the content of the first and second substances,
the generation unit includes:
the acquisition subunit is configured to acquire a sample set, where the sample set is used to characterize a demand condition for the same kind of articles within a certain time period from a current time;
a determining subunit configured to determine, in the first warehouse and the second warehouse, a warehouse for distributing the orders to be distributed in the order sets to be distributed, based on the inventory amount, the demand amount included in the orders to be distributed in the order sets to be distributed, the distribution cost, and the sample set.
8. The apparatus of claim 7, wherein the sample in the acquisition subunit comprises an order amount and a first demand for the same item that the order amount orders respectively comprise.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-6.
CN201711082413.9A 2017-11-07 2017-11-07 Information output method and device Active CN109754199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711082413.9A CN109754199B (en) 2017-11-07 2017-11-07 Information output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711082413.9A CN109754199B (en) 2017-11-07 2017-11-07 Information output method and device

Publications (2)

Publication Number Publication Date
CN109754199A CN109754199A (en) 2019-05-14
CN109754199B true CN109754199B (en) 2021-07-20

Family

ID=66400676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711082413.9A Active CN109754199B (en) 2017-11-07 2017-11-07 Information output method and device

Country Status (1)

Country Link
CN (1) CN109754199B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215530A (en) * 2019-07-11 2021-01-12 北京京东尚科信息技术有限公司 Bin selection method and device
CN113283831B (en) * 2021-05-07 2024-01-26 云南电网有限责任公司曲靖供电局 Safety stock control method based on periodic checking stock replenishment strategy

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770633A (en) * 2010-03-31 2010-07-07 上海康德莱企业发展集团有限公司 Supply chain service platform of medical appliance and control method thereof
CN105894354A (en) * 2016-03-30 2016-08-24 乐视控股(北京)有限公司 Automatic order source-searching method and system
CN106156880A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 A kind of predict the method for inventory allocation ratio, device and electronic equipment
CN106384219A (en) * 2016-10-13 2017-02-08 北京京东尚科信息技术有限公司 Warehouse partition assisted analysis method and device
CN106779532A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 Divide storekeeper reason apparatus and method
CN107230035A (en) * 2017-06-29 2017-10-03 北京京东尚科信息技术有限公司 Information-pushing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1540955A4 (en) * 2002-07-09 2007-08-01 Kaleidescape Inc Content and key distribution system for digital content representing media streams

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770633A (en) * 2010-03-31 2010-07-07 上海康德莱企业发展集团有限公司 Supply chain service platform of medical appliance and control method thereof
CN106156880A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 A kind of predict the method for inventory allocation ratio, device and electronic equipment
CN105894354A (en) * 2016-03-30 2016-08-24 乐视控股(北京)有限公司 Automatic order source-searching method and system
CN106384219A (en) * 2016-10-13 2017-02-08 北京京东尚科信息技术有限公司 Warehouse partition assisted analysis method and device
CN106779532A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 Divide storekeeper reason apparatus and method
CN107230035A (en) * 2017-06-29 2017-10-03 北京京东尚科信息技术有限公司 Information-pushing method and device

Also Published As

Publication number Publication date
CN109754199A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN109544076B (en) Method and apparatus for generating information
CN107451785B (en) Method and apparatus for outputting information
CN108595448B (en) Information pushing method and device
CN108810047B (en) Method and device for determining information push accuracy rate and server
CN109816283B (en) Method and device for determining time for goods to leave warehouse
CN110929136A (en) Personalized recommendation method and device
CN112884405A (en) Inquiry system and scheduling method thereof
CN109961306B (en) Method and device for distributing inventory of articles
CN109754199B (en) Information output method and device
CN109146533B (en) Information pushing method and device
CN113988768B (en) Inventory determination method and device
CN113793081A (en) Storage monitoring method and device, computer readable medium and electronic equipment
CN109978421B (en) Information output method and device
CN110675176B (en) Method and apparatus for generating an attribute prediction model
CN113610448A (en) Article scheduling method and device, electronic equipment and computer readable medium
CN109255563B (en) Method and device for determining storage area of article
CN107844932B (en) Order processing method and device
CN109934523A (en) Information processing method and device
CN112449217B (en) Method and device for pushing video, electronic equipment and computer readable medium
CN113780915A (en) Service docking method and device
CN111932191B (en) Shelf scheduling method and device, electronic equipment and computer readable medium
CN114663015A (en) Replenishment method and device
CN111125502A (en) Method and apparatus for generating information
CN111130984A (en) Method and apparatus for processing information
US20230053859A1 (en) Method and apparatus for outputting information

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
GR01 Patent grant
GR01 Patent grant