CN114331287A - Order placing method, device and storage medium for take-out platform - Google Patents

Order placing method, device and storage medium for take-out platform Download PDF

Info

Publication number
CN114331287A
CN114331287A CN202111680652.0A CN202111680652A CN114331287A CN 114331287 A CN114331287 A CN 114331287A CN 202111680652 A CN202111680652 A CN 202111680652A CN 114331287 A CN114331287 A CN 114331287A
Authority
CN
China
Prior art keywords
purchasing
route
purchase
suppliers
type
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.)
Granted
Application number
CN202111680652.0A
Other languages
Chinese (zh)
Other versions
CN114331287B (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.)
Drilling Technology Shanghai Information Technology Co ltd
Wang Jiang
Original Assignee
Drilling Technology Shanghai 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 Drilling Technology Shanghai Information Technology Co ltd filed Critical Drilling Technology Shanghai Information Technology Co ltd
Priority to CN202111680652.0A priority Critical patent/CN114331287B/en
Publication of CN114331287A publication Critical patent/CN114331287A/en
Application granted granted Critical
Publication of CN114331287B publication Critical patent/CN114331287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a method, a device and a storage medium for placing orders by a takeout platform, wherein the method reduces the cost required by storing a large number of commodities in a warehouse in advance by means of instantly purchasing commodities in each preset order period from a corresponding supplier. Therefore, the purchasing route is planned, and firstly, only suppliers with shop addresses located in the preset distance range of the first distribution point are selected, so that the controllability of purchasing timeliness can be guaranteed; and secondly, automatically presenting the ratio of the purchasing cost (namely the minimum purchasing total) of the purchasing route to the route length to a purchasing person, so that the purchasing person can make a decision conveniently. Generally, in the case that the procurement cost meets a certain requirement, if the procurement cost is not obviously reduced, the procurement personnel hope that the route length is shortest (timeliness is good), and the ratio of the procurement cost (i.e. the lowest procurement sum) to the route length organically reflects the requirement.

Description

Order placing method, device and storage medium for take-out platform
Technical Field
The invention relates to the technical field of takeout services, in particular to a takeout platform ordering method, a takeout platform ordering device and a storage medium.
Background
Compared with the delivery cycle of a common express service, the commodity delivered by the take-out platform is generally perishable and perishable food (including fresh or cooked food), so that the user has a high requirement on the timeliness of delivery by the take-out platform. For a takeout delivery platform of cooked food, for example, American group takeout generally requires about one hour for delivery completion; for a take-away delivery platform for fresh food, such as a masquerade preference, a general user places an order on the same day and requests the delivery platform to deliver the fresh food to a pick-up point the next day. Particularly, for fresh food, in order to guarantee the distribution time of the fresh food to users, a plurality of fresh food products which can be purchased by the users need to be stored in a warehouse in advance, and the characteristic of easy spoilage of the fresh food products brings great cost pressure to the warehouse.
Disclosure of Invention
The invention aims to at least solve one of the technical problems in the prior art, and provides a takeaway platform ordering method, a takeaway platform ordering device and a storage medium, which can ensure the delivery timeliness of fresh products under the condition of reducing the cost pressure of storing the fresh products in a takeaway platform warehouse.
In a first aspect, the present invention provides a method for placing an order for a takeaway platform, where the method includes:
acquiring all first-class user orders corresponding to the first distribution point in a preset order period, and generating purchasing demands corresponding to the first distribution point according to all the first-class user orders; each first type of user order comprises the types of commodities purchased by the user in the user order, the purchase amount corresponding to various commodities, the retail unit price corresponding to various commodities and the information of a self-picking point; the purchase demand comprises the types of commodities required to be purchased by all the first-class user orders and the purchase quantity corresponding to various commodities; the first type of user orders are user orders of which the self-picking points are positioned on the distribution route corresponding to the first distribution point;
acquiring quotation information of all first-class suppliers corresponding to the first distribution points in a preset order period; the quotation information reported by each first type of supplier comprises the types of commodities sold by the supplier, the supply quantity of various types of commodities and the corresponding wholesale unit price of various types of commodities in different purchase quantities; the first type of suppliers are suppliers with store addresses located in a preset distance range of a first distribution point;
determining a plurality of groups of supplier combinations which meet the purchasing requirements, and planning corresponding purchasing routes for each group of supplier combinations;
determining the lowest total purchase amount of all commodities required to be purchased by the first type of user orders in each purchase route;
calculating the ratio of the lowest purchasing total amount in each purchasing route corresponding to the first N lowest purchasing total amounts to the length of the purchasing route according to the arrangement of the lowest purchasing total amounts from small to large, arranging the ratios from large to small, and taking the purchasing route corresponding to the first M ratios as a purchasing recommended route set so as to select one purchasing route from the purchasing recommended route set as a final purchasing route; wherein M and N are natural numbers, N is not less than 2, and N is not less than M.
In a second aspect, the present invention provides an order placing device for a takeaway platform, comprising:
the purchasing demand generating module is used for acquiring all first-class user orders corresponding to the first distribution point in a preset order period and generating purchasing demands corresponding to the first distribution point according to all the first-class user orders; each first type of user order comprises the types of commodities purchased by the user in the user order, the purchase amount corresponding to various commodities, the retail unit price corresponding to various commodities and the information of a self-picking point; the purchase demand comprises the types of commodities required to be purchased by all the first-class user orders and the purchase quantity corresponding to various commodities; the first type of user orders are user orders of which the self-picking points are positioned on the distribution route corresponding to the first distribution point;
the system comprises a quotation information acquisition module, a first distribution point acquisition module and a second distribution point acquisition module, wherein the quotation information acquisition module is used for acquiring quotation information of all first-class suppliers corresponding to a first distribution point in a preset order period; the quotation information reported by each first type of supplier comprises the types of commodities sold by the supplier, the supply quantity of various types of commodities and the corresponding wholesale unit price of various types of commodities in different purchase quantities; the first type of suppliers are suppliers with store addresses located in a preset distance range of a first distribution point;
the route planning module is used for determining a plurality of groups of supplier combinations meeting the purchasing requirement and planning corresponding purchasing routes for each group of supplier combinations;
the lowest total purchase amount determining module is used for determining the corresponding lowest total purchase amount of all commodities required to be purchased by the first type of user orders in each purchase route;
the first route planning module is used for calculating the ratio of the lowest total purchasing amount in each purchasing route corresponding to the first N lowest total purchasing amounts to the length of the purchasing route according to the arrangement of the lowest total purchasing amount from small to large, arranging the ratio from large to small, and taking the purchasing route corresponding to the first M ratios as a purchasing recommended route set so as to select one purchasing route from the purchasing recommended route set as a final purchasing route; wherein M and N are natural numbers, N is not less than 2, and N is not less than M.
According to the takeout platform ordering method and device, the cost required by storing a large number of commodities in a warehouse in advance is reduced by means of timely purchasing commodities in each preset order period from the corresponding supplier. In addition, the total purchase amount corresponding to all user orders in the preset order period is counted, so that suppliers with the most favorable prices can be selected from all the first-class suppliers to purchase, and the purchase cost of the takeout platform is further saved. Meanwhile, compared with the prior art that corresponding commodities are stored in a warehouse in advance, after a general user places an order, the commodity can be directly sent to the warehouse to take the commodities for subpackaging, the takeout platform provided by the invention needs to purchase the corresponding commodities at each supplier after the user places the order, and then the commodities can be subpackaged, so that the distribution time in the prior art is occupied to a certain extent. Therefore, the purchasing route is planned, and firstly, only suppliers with shop addresses located in the preset distance range of the first distribution point are selected, so that the controllability of purchasing timeliness can be guaranteed; and secondly, automatically presenting the ratio of the purchasing cost (namely the minimum purchasing total) of the purchasing route to the route length to a purchasing person, so that the purchasing person can make a decision conveniently. Generally, in the case that the procurement cost meets a certain requirement, if the procurement cost is not obviously reduced, the procurement personnel hope that the route length is shortest (timeliness is good), and the ratio of the procurement cost (i.e. the lowest procurement sum) to the route length organically reflects the requirement.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described below with reference to the accompanying drawings and examples;
FIG. 1 is a diagram of an application environment for a takeaway platform ordering method in one embodiment.
FIG. 2 is a schematic diagram of a method for authentication under a takeaway platform in one embodiment.
FIG. 3 is a flow diagram that illustrates a method for placing orders for the takeaway platform, according to one embodiment.
FIG. 4 is a flow diagram that illustrates a method for placing orders for the takeaway platform, according to one embodiment.
FIG. 5 is a flow diagram that illustrates a method for placing orders for the takeaway platform, according to one embodiment.
Fig. 6 is a block diagram of an acquirer mechanism for a takeaway platform in one embodiment.
FIG. 7 is a block diagram of a computer device in one embodiment.
Reference numerals:
100. a server; 101. a purchase demand generation module; 102. a quotation information acquisition module; 103. a route planning module; 104. a minimum purchase total determination module; 105. a first route planning module; 110. a user terminal; 120. a purchasing terminal; 130. a supplier terminal; 140. and a distributor terminal.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
FIG. 1 is a diagram of an application environment for a takeaway platform ordering method in one embodiment. Referring to fig. 1, the takeaway platform ordering method is applied to an ordering system of the takeaway platform. The takeaway platform ordering system includes a server 100, a plurality of user terminals 110, a plurality of procurement terminals 120, a plurality of supplier terminals 130 and a plurality of distributor terminals 140; wherein each terminal is in communication connection with the server 100 through a network. Each terminal may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 100 may be implemented as a stand-alone server 100 or as a server cluster of multiple servers 100.
As shown in fig. 2, in an embodiment, a takeout platform divides a city jurisdiction of a certain city into three regions, each region is provided with a corresponding primary distribution point, the primary distribution points are represented by triangles in fig. 2, the primary distribution points are used for sub-packaging commodities purchased by a buyer in a period, and since some purchased commodities are wholesale purchased according to commodity types, such as pork, vegetables and the like, the commodities of various types need to be sub-packaged according to components on a user order and packaged by a packaging bag of the takeout platform; of course, small amounts of non-perishable goods, such as salt, cooking oil, etc., may be stored at the primary distribution point for emergency use. The rectangle represents a self-picking point, and the user generally orders before five pm on the day, and the user designates to deliver the goods to the corresponding self-picking point when ordering, and can pick up the goods at the next five pm on the day. The small circles represent suppliers, and it can be understood that most of the commodities sold by the suppliers are commodities which are easy to decay, such as vegetables and meat, and are harvested and slaughtered on the same day, so that the wholesale price of each day fluctuates, and compared with the problem that the vegetables and meat classified for two weeks are purchased at one time and stored in a warehouse for refrigeration or freezing, the vegetables and meat are not fresh and the warehousing cost is high. The invention carries out purchasing according to each preset order period (generally, one preset order period is one day, namely only one day of goods are purchased), thereby greatly saving the warehouse cost, and ensuring that the takeout platform can take the best price known by the takeout platform from the supplier on the same day due to daily purchasing. The great circles represent three areas, the areas should be divided by the takeout platform according to the positions of the first-level delivery points and the self-picking points and the relation between the takeout platform and the suppliers, the takeout platform can divide the areas according to the result of the advanced test of the takeout platform, and the takeout platform only needs to guarantee that the purchasing route and the delivery route can meet the timeliness of a preset order period. The dashed line with arrows in fig. 2 represents a final purchasing route in one embodiment, according to which a purchasing person starts from a primary distribution point, passes through four planned suppliers in sequence, and finally brings the goods back to the primary distribution point within a specified time. It should be noted that, for the sake of brevity, the routes between two adjacent nodes of the procurement route in fig. 2 (the nodes in the procurement route include a start point, an end point, and a stopped supplier) are connected by straight lines, but the length of the route between two adjacent nodes in the time route planning may be calculated according to a specific road network, and how to perform the route planning belongs to the prior art, and details are not described here. In this embodiment, the starting point of the purchasing route is the primary distribution point, and the ending point of the purchasing route is also the primary distribution point, and it is understood that in other embodiments, the starting point of the purchasing route may be the residence of the purchasing personnel, and the ending point of the purchasing route is the primary distribution point.
As shown in fig. 3, in one embodiment, a takeaway platform ordering method is provided, the method comprising:
step S202: the server 100 acquires all first-class user orders corresponding to the first distribution points in a preset order period, and generates purchasing demands corresponding to the first distribution points according to all the first-class user orders; each first type of user order comprises the types of commodities purchased by the user in the user order, the purchase amount corresponding to various commodities, the retail unit price corresponding to various commodities and the information of a self-picking point; the purchase demand comprises the types of commodities required to be purchased by all the first-class user orders and the purchase quantity corresponding to various commodities; the first type of user orders are user orders of which the self-picking points are located on the distribution route corresponding to the first distribution point.
As shown in fig. 1, when a user of the takeout platform places an order through an application program on a corresponding user terminal 110, a server 100 of the takeout platform counts all first-type user orders in a preset order period, so as to determine the types of commodities to be purchased and the purchase amounts corresponding to the various types of commodities corresponding to all first-type user orders in the period.
Step S204: the server 100 acquires the quotation information of all first-class suppliers corresponding to the first distribution point in a preset order period; the quotation information reported by each first type of supplier comprises the types of commodities sold by the supplier, the supply quantity of various types of commodities and the corresponding wholesale unit price of various types of commodities in different purchase quantities; the first type of suppliers are suppliers with store addresses located in a preset distance range of a first distribution point.
It will be appreciated that where the purchase volume at the take-away platform is large, the supplier may give a discount below the retail price in accordance with the principles of thin multi-selling. For example, the wholesale unit price of 200 jin of pork is 15 yuan per jin, and the wholesale unit price of 300 jin of pork is 14.5 yuan per jin. In this embodiment, the user may place an order between 8 am and 8 pm in the morning of the current day, and the order placed in this time period is considered as a first type of order in a preset order period; due to the characteristics that livelihood needs to be picked on the same day and meat poultry needs to be slaughtered on the same day, suppliers generally start to send corresponding quotation information to the server 100 through corresponding supplier terminals 130 after the user takes a commodity at 5 am on the next day of ordering, and the quotation information of the first-class suppliers after 5 am on the next day is considered as the quotation information in the preset order period.
Step S206: server 100 determines a plurality of sets of supplier combinations that meet the procurement requirements and plans a corresponding procurement route for each set of supplier combinations.
It will be appreciated that each supplier has a limited number and variety of goods that can be offered, and that there are goods of the same variety between different suppliers, and therefore there will be multiple groups of supplier combinations that meet the procurement requirements. The term "matching the purchase demand" as used herein means a demand for matching the kind of purchased commodity and the purchase amount required for each kind of commodity, and does not include price cost demand and time efficiency demand.
There is therefore a need to ensure price cost requirements and time efficiency requirements after determining different combinations of suppliers that meet the procurement requirements.
Step S208: server 100 determines the lowest total purchase amount of all the items required to be purchased by the first type user order in each purchase route.
In this step, it is necessary to ensure the lowest total purchase amount (i.e. considering the price cost requirement) for each supplier combination. For example, one purchasing route includes three suppliers, wherein two suppliers can provide 300 jin of pork, but the wholesale unit price of the first supplier is 14.7 yuan, and the wholesale unit price of the second supplier is 14.5 yuan, then the second supplier is selected to purchase pork, and the purchasing amount of the pork purchased by the second supplier is counted in the lowest purchasing total amount. When the wholesale unit prices of two same commodities are the lowest and the same, one commodity can be selected at will.
Step S210: the server 100 calculates the ratio of the lowest total purchasing amount in each purchasing route corresponding to the first N lowest total purchasing amounts to the length of the purchasing route according to the arrangement of the lowest total purchasing amounts from small to large, arranges the ratio from large to small, and takes the purchasing route corresponding to the first M ratios as a purchasing recommended route set so as to select one purchasing route from the purchasing recommended route set as a final purchasing route; wherein M and N are natural numbers, N is not less than 2, and N is not less than M.
In this step, it is necessary to ensure timeliness while ensuring that the price cost requirement is met. It can be understood that the first N minimum purchase total amounts may be determined by setting a preferential total amount, for example, the purchasing personnel needs to ensure that the preferential total amount is 5000 yuan, and the preferential total amount is a difference value between a total amount corresponding to all the first type user orders in a preset order period of the takeout platform and the minimum purchase total amount paid out from a certain purchase route in the period. For example, the total amount of all the first type user orders in a preset order period of the takeout platform is 20000 yuan, the minimum total purchase amount paid out from a certain route in the period is 17000 yuan, and the preferential total amount is 3000 yuan, that is, the difference between money earned by the takeout platform, it can be understood that the minimum total purchase amount of a purchase route corresponds to the maximum total preferential amount of the purchase route.
Furthermore, under the condition of ensuring that the total amount of the discount is met, timeliness is also required to be considered, the timeliness is represented by the length of the purchasing route, and purchasing personnel can roughly judge the time consumed by the purchasing route with the corresponding length according to experience. Obviously, under the condition of ensuring that the preferential total amount is met, the smaller the purchasing route length is, the smaller the ratio of the lowest purchasing total amount in each purchasing route to the purchasing route length is, and the better the timeliness and the high cost performance of the purchasing route are shown.
In another embodiment, if the takeaway platform does not consider the cost performance, but rather care about timeliness, the purchasing route with the smallest purchasing route length can be selected as the final purchasing route under the condition of ensuring that the preferential total amount is met. For example, the total amount of the benefits corresponding to 5 acquisition and purchase routes in the purchase recommendation route set is greater than 2000 yuan, which are 2015 yuan, 2035 yuan, 2094 yuan, 2099 yuan and 2105 yuan respectively; the lengths of the corresponding purchasing routes are respectively 42km, 46km, 52km, 54km and 56 km; at this time, the final purchasing route is selected as a purchasing route having a purchasing route length of 42 km.
According to the invention, the cost required for storing a large number of commodities in the warehouse in advance is reduced by a mode of instantly purchasing the commodities in each preset order period from the corresponding supplier. In addition, the total purchase amount corresponding to all user orders in the preset order period is counted, so that suppliers with the most favorable prices can be selected from all the first-class suppliers to purchase, and the purchase cost of the takeout platform is further saved. Meanwhile, compared with the prior art that corresponding commodities are stored in a warehouse in advance, after a general user places an order, the commodity can be directly sent to the warehouse to take the commodities for subpackaging, the takeout platform provided by the invention needs to purchase the corresponding commodities at each supplier after the user places the order, and then the commodities can be subpackaged, so that the distribution time in the prior art is occupied to a certain extent. Therefore, the purchasing route is planned, and firstly, only suppliers with shop addresses located in the preset distance range of the first distribution point are selected, so that the controllability of purchasing timeliness can be guaranteed; and secondly, automatically presenting the ratio of the purchasing cost (namely the minimum purchasing total) of the purchasing route to the route length to a purchasing person, so that the purchasing person can make a decision conveniently. Generally, in the case that the procurement cost meets a certain requirement, if the procurement cost is not obviously reduced, the procurement personnel hope that the route length is shortest (timeliness is good), and the ratio of the procurement cost (i.e. the lowest procurement sum) to the route length organically reflects the requirement.
In one embodiment, the method further comprises:
when the difference between the lowest total purchasing amounts in the first two purchasing routes with the largest ratio in the purchasing recommended route set is smaller than the set price threshold and the length difference between the two purchasing routes is smaller than the set length threshold, the server 100 selects the purchasing route with the small number of the first-class suppliers as the final purchasing route from the two purchasing routes.
In this embodiment, for example, the minimum total purchase amounts corresponding to 5 acquisition and purchase routes in the purchase recommendation route set are 17015 yuan, 17025 yuan, 18079 yuan, 18109 yuan and 18205 yuan, respectively, and the price threshold is set to 20 yuan; the lengths of the corresponding purchasing routes are respectively 42km, 43km, 52km, 54km and 56km, and the length threshold value is set to be 1.5 km; the number of suppliers passing through the purchasing routes respectively corresponding to the purchasing routes is respectively 3, 2, 3, 4 and 4; at this time, the final purchasing route is selected as a purchasing route having a purchasing route length of 43 km.
In the invention, when a buyer of the takeout platform drives a vehicle to purchase on a corresponding purchasing route, a series of actions such as parking, opening a compartment door, taking goods, loading goods, closing the compartment door, restarting and the like are required every time the buyer passes through a first type of supplier, and the actions occupy certain time. It is clear that the length of a purchasing line determines the majority of the time taken by the purchasing line, and in the case of comparable lengths of two purchasing lines, these actions play a major role in purchasing the line. When the first two purchasing routes with the largest ratio in the purchasing recommendation route set are almost equal in cost and length, if the number of suppliers on one purchasing route is less, the more time can be saved, and the delivery timeliness of the takeout platform in a warehouse-free mode can be further ensured.
As shown in fig. 4, in one embodiment, the method further comprises:
step S302: when receiving a temporary out-of-stock notification sent by the provider terminal 130 in a purchase period corresponding to the preset order period, the server 100 determines the type of the out-of-stock commodity and the additional purchase amount corresponding to the commodity according to the temporary out-of-stock notification, and generates an additional purchase demand.
Step S304: the server 100 selects the first type supplier with the lowest total purchase amount meeting the additional purchase demand as the additional purchase supplier from the first type suppliers which do not pass through the final purchase route.
Considering that, when the buyer has driven to purchase according to the final purchasing route, there is a case that the suppliers are temporarily out of stock, for example, the final purchasing route sequentially includes A, B, C, D, E five first-class suppliers, and when the buyer has just completed purchasing from point B and is going to point C, the first-class supplier at point C sends out a shortage notification (for example, pork without pork) to the server 100 through the supplier terminal 130, and at this time, the server 100 will query the purchasing demand and determine that the purchasing demand is (commodity type: pork without pork, purchasing amount: 300 jin). The server 100 first determines whether the first type of provider corresponding to C, D, E can provide 300 jin of pork without changing the final purchasing route, and if only C can provide 300 jin of pork without changing the final purchasing route, the server 100 sends a purchase supplement notification message to the purchasing terminal 120 carried by the purchasing person to notify the purchasing person to purchase 300 jin of pork without changing the final purchasing route.
As shown in fig. 5, in one embodiment, the method further comprises:
step S402: when the first type suppliers meeting the additional purchase demand do not exist in the first type suppliers which do not pass through the final purchase route, the server 100 selects a plurality of first type suppliers meeting the additional purchase demand from other first type suppliers as the additional purchase suppliers.
Step S404: and selecting the additional purchase suppliers, of which the wholesale unit prices corresponding to the commodities out of stock are not more than the additional purchase price threshold, as recommended additional purchase suppliers from the multiple additional purchase suppliers, and planning corresponding purchase routes as corresponding additional purchase recommended routes for the multiple recommended additional purchase suppliers and the first-class suppliers which do not pass through the final purchase routes by the server 100 respectively.
Step S406: the server 100 takes the shortest route among the re-purchasing recommended routes as the final re-purchasing route.
Considering that there are situations where suppliers are temporarily out of stock when the buyer has driven to make purchases along the final purchase route, for example, there are 10 total suppliers in the first category, which are A, B, C, D, E, F, G, H, I, J respectively. The final purchasing route sequentially comprises A, B, C, D, E five first-class suppliers, when the purchasing staff just completes the purchasing from the point B and is going to the point C, the first-class supplier at the point C sends out a shortage notice (for example, first pork without earth elements, shortage of goods) to the server 100 through the supplier terminal 130, and then the server 100 inquires the purchasing demand and determines that the purchasing demand is (commodity type: first pork without earth elements, purchasing quantity: 300 jin). The server 100 first determines whether the first type of suppliers corresponding to C, D, E points can provide 300 jin of pork without being able to provide C, D, E jin of pork without being able to provide 300 jin of pork without being able to provide, and the server 100 needs to query A, B, F, G, H, I, J whether seven first type of suppliers can provide 300 jin of pork without being able to provide any pork. If three of B and F, G are determined to be capable of providing 300 jin of pork chop, further judging whether the wholesale unit price is less than the buyback price threshold value. It is understood that, in one embodiment, the additional purchase price threshold is determined by the final purchase route, for example, in the current final purchase route, if 300 jin of pork is purchased at a wholesale unit price of 13 yuan/jin based on point C, the additional purchase price threshold is 13 yuan/jin, so that it can be ensured that the initial price requirement of the buyer can be met even if the temporary shortage of goods occurs. For example, if the wholesale unit prices of three B and F, G for a 300 jin potato pork are 13.2 yuan/jin, 12.8 yuan/jin and 12.9 yuan/jin, respectively, the recommended additional purchase suppliers include F, G. The server 100 replans the buyback route for F, G two points and C, D, E three points respectively, it should be noted that, in order to ensure that a shorter route is obtained, at this time, because the purchasing staff does not reach point C, the planned buyback route does not require that the sequence of C, D, E three points is the same as that of the final purchasing route, but the currently positioned position obtained by the purchasing terminal 120 carried by the purchasing staff is added to the route planning with F (or G) and C, D, E respectively, the route with the shortest length is taken as the final buyback route, and the purchasing staff continues to purchase according to the route, so as to further ensure the invalidity of subsequent delivery.
In another aspect, as shown in fig. 6, in one embodiment, there is further provided a takeaway platform ordering apparatus, including:
the purchasing demand generating module 101 is configured to acquire all first-class user orders corresponding to the first distribution point in a preset order period, and generate a purchasing demand corresponding to the first distribution point according to all the first-class user orders; each first type of user order comprises the types of commodities purchased by the user in the user order, the purchase amount corresponding to various commodities, the retail unit price corresponding to various commodities and the information of a self-picking point; the purchase demand comprises the types of commodities required to be purchased by all the first-class user orders and the purchase quantity corresponding to various commodities; the first type of user orders are user orders of which the self-picking points are positioned on the distribution route corresponding to the first distribution point;
a quotation information acquiring module 102, configured to acquire quotation information of all first-class suppliers corresponding to the first distribution point in a preset order period; the quotation information reported by each first type of supplier comprises the types of commodities sold by the supplier, the supply quantity of various types of commodities and the corresponding wholesale unit price of various types of commodities in different purchase quantities; the first type of suppliers are suppliers with store addresses located in a preset distance range of a first distribution point;
the route planning module 103 is configured to determine multiple groups of supplier combinations meeting the purchase demand, and plan corresponding purchase routes for each group of supplier combinations;
a minimum total purchase amount determining module 104, configured to determine a minimum total purchase amount corresponding to each purchase route for all the commodities required to be purchased by the first type user orders;
a first route planning module 105103, configured to calculate ratios of the lowest total purchasing amount in the purchasing routes corresponding to the first N lowest total purchasing amounts to the length of the purchasing route according to the arrangement of the lowest total purchasing amounts from small to large, arrange the ratios from large to small, and use the purchasing route corresponding to the first M ratios as a purchasing recommended route set, so as to select a purchasing route from the purchasing recommended route set as a final purchasing route; wherein M and N are natural numbers, N is not less than 2, and N is not less than M.
Further, the apparatus further comprises:
and the second route planning module 103 is configured to select a purchasing route with a small number of passing first-class providers from the two purchasing routes as a final purchasing route when a difference between lowest purchasing total amounts in the first two purchasing routes with the largest ratio in the purchasing recommended route set is smaller than a set price threshold and a length difference between the two purchasing routes is smaller than a set length threshold.
Further, the apparatus further comprises:
a replenishment demand generation module, configured to, in a purchase period corresponding to the preset order period, when receiving a temporary shortage notification sent by the provider terminal 130, determine a type of a shortage commodity and a replenishment quantity corresponding to the type of the shortage commodity according to the temporary shortage notification, and generate a replenishment demand;
and the first selection module is used for selecting the first type of suppliers meeting the additional purchase demand from the first type of suppliers which do not pass through the final purchase route as the additional purchase suppliers.
Further, the apparatus further comprises:
the second selection module is used for selecting a plurality of first type suppliers meeting the additional purchase demand from other first type suppliers as additional purchase suppliers when the first type suppliers meeting the additional purchase demand do not exist in the first type suppliers which do not pass through the final purchase route;
the additional purchase recommendation route planning module 103 is configured to select, from the multiple additional purchase providers, an additional purchase provider with a wholesale unit price corresponding to the out-of-stock commodity not greater than an additional purchase price threshold as a recommended additional purchase provider, and plan a corresponding purchase route as a corresponding additional purchase recommendation route for the multiple recommended additional purchase providers and a first type of provider that does not pass through the final purchase route;
and the final buyback route determining module is used for taking the shortest route in the buyback recommended routes as a final buyback route.
It is understood that the device embodiments and the method embodiments of the present invention are based on the same inventive concept and are not described in detail herein.
FIG. 7 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be each terminal (or server 100) in fig. 1. As shown in fig. 7, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a takeaway platform ordering method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform a takeaway platform ordering method. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the inventive arrangements and is not intended to limit the computing devices to which the inventive arrangements may be applied, as a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the takeaway platform ordering apparatus provided by the present application may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 7. The memory of the computer device may store various program modules constituting the order placing apparatus of the takeaway platform, such as the purchase demand generation module 101, the quote information acquisition module 102, the route planning module 103, the minimum purchase total determination module 104, and the first route planning module 105103 shown in fig. 6. The computer program constituted by the program modules causes the processor to execute the steps of the takeaway platform ordering method according to the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 7 may execute the steps of obtaining all the first type user orders corresponding to the first delivery point in the preset order period and generating the purchasing requirement corresponding to the first delivery point according to all the first type user orders, through the purchasing requirement generating module 101 in the taking-out platform ordering apparatus shown in fig. 6. The step of obtaining the quotation information of all the first type suppliers corresponding to the first distribution point in the preset order period is executed by the quotation information obtaining module 102. The steps of determining a plurality of sets of supplier combinations that meet the procurement requirements and planning a corresponding procurement route for each set of supplier combinations are performed by the route planning module 103. The step of determining the lowest total purchase amount corresponding to the commodities required to be purchased by all the first type user orders in each purchase route is performed by the lowest total purchase amount determining module 104.
In one embodiment, there is provided an electronic device including: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to execute the steps of the takeaway platform ordering method. Here, the steps of the takeaway platform ordering method may be the steps of the takeaway platform ordering method in the above embodiments.
In one embodiment, a computer-readable storage medium is provided, having stored thereon computer-executable instructions for causing a computer to perform the steps of the takeaway platform ordering method described above. Here, the steps of the takeaway platform ordering method may be the steps of the takeaway platform ordering method in the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRA), Rambus Direct RAM (RDRA), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

Claims (9)

1. A method for placing an order on a take-away platform, the method comprising:
acquiring all first-class user orders corresponding to the first distribution point in a preset order period, and generating purchasing demands corresponding to the first distribution point according to all the first-class user orders; each first type of user order comprises the types of commodities purchased by the user in the user order, the purchase amount corresponding to various commodities, the retail unit price corresponding to various commodities and the information of a self-picking point; the purchase demand comprises the types of commodities required to be purchased by all the first-class user orders and the purchase quantity corresponding to various commodities; the first type of user orders are user orders of which the self-picking points are positioned on the distribution route corresponding to the first distribution point;
acquiring quotation information of all first-class suppliers corresponding to the first distribution points in a preset order period; the quotation information reported by each first type of supplier comprises the types of commodities sold by the supplier, the supply quantity of various types of commodities and the corresponding wholesale unit price of various types of commodities in different purchase quantities; the first type of suppliers are suppliers with store addresses located in a preset distance range of a first distribution point;
determining a plurality of groups of supplier combinations which meet the purchasing requirements, and planning corresponding purchasing routes for each group of supplier combinations;
determining the lowest total purchase amount of all commodities required to be purchased by the first type of user orders in each purchase route;
calculating the ratio of the lowest purchasing total amount in each purchasing route corresponding to the first N lowest purchasing total amounts to the length of the purchasing route according to the arrangement of the lowest purchasing total amounts from small to large, arranging the ratios from large to small, and taking the purchasing route corresponding to the first M ratios as a purchasing recommended route set so as to select one purchasing route from the purchasing recommended route set as a final purchasing route; wherein M and N are natural numbers, N is not less than 2, and N is not less than M.
2. The method of claim 1, further comprising:
and when the difference value between the lowest total purchasing amounts of the first two purchasing routes with the largest ratio in the purchasing recommended route set is smaller than a set price threshold value and the length difference value of the two purchasing routes is smaller than a set length threshold value, selecting the purchasing route with the small number of the first type of suppliers as the final purchasing route from the two purchasing routes.
3. The method of claim 1, further comprising:
in a purchasing period corresponding to the preset order period, when a temporary out-of-stock notification sent by a supplier terminal is received, determining the type of the out-of-stock commodity and the additional purchasing amount corresponding to the type of the commodity according to the temporary out-of-stock notification, and generating an additional purchasing demand;
and selecting the first type suppliers meeting the additional purchase demand as additional supply suppliers from the first type suppliers which do not pass through the final purchase route.
4. The takeaway platform ordering method of claim 3, further comprising:
when the first type suppliers meeting the additional purchase demand do not exist in the first type suppliers which do not pass through the final purchase route, selecting a plurality of first type suppliers meeting the additional purchase demand from other first type suppliers as additional purchase suppliers;
selecting a complementary purchase supplier with a wholesale unit price which corresponds to the out-of-stock commodity and is not more than a complementary purchase price threshold value from the plurality of complementary purchase suppliers as a recommended complementary purchase supplier, and respectively planning a corresponding purchase route for the plurality of recommended complementary purchase suppliers and a first type of supplier which does not pass through the final purchase route as a corresponding complementary purchase recommended route;
and taking the shortest route in the re-purchasing recommended routes as a final re-purchasing route.
5. An order placing device for a take-away platform, the device comprising:
the purchasing demand generating module is used for acquiring all first-class user orders corresponding to the first distribution point in a preset order period and generating purchasing demands corresponding to the first distribution point according to all the first-class user orders; each first type of user order comprises the types of commodities purchased by the user in the user order, the purchase amount corresponding to various commodities, the retail unit price corresponding to various commodities and the information of a self-picking point; the purchase demand comprises the types of commodities required to be purchased by all the first-class user orders and the purchase quantity corresponding to various commodities; the first type of user orders are user orders of which the self-picking points are positioned on the distribution route corresponding to the first distribution point;
the system comprises a quotation information acquisition module, a first distribution point acquisition module and a second distribution point acquisition module, wherein the quotation information acquisition module is used for acquiring quotation information of all first-class suppliers corresponding to a first distribution point in a preset order period; the quotation information reported by each first type of supplier comprises the types of commodities sold by the supplier, the supply quantity of various types of commodities and the corresponding wholesale unit price of various types of commodities in different purchase quantities; the first type of suppliers are suppliers with store addresses located in a preset distance range of a first distribution point;
the route planning module is used for determining a plurality of groups of supplier combinations meeting the purchasing requirement and planning corresponding purchasing routes for each group of supplier combinations;
the lowest total purchase amount determining module is used for determining the corresponding lowest total purchase amount of all commodities required to be purchased by the first type of user orders in each purchase route;
the first route planning module is used for calculating the ratio of the lowest total purchasing amount in each purchasing route corresponding to the first N lowest total purchasing amounts to the length of the purchasing route according to the arrangement of the lowest total purchasing amount from small to large, arranging the ratio from large to small, and taking the purchasing route corresponding to the first M ratios as a purchasing recommended route set so as to select one purchasing route from the purchasing recommended route set as a final purchasing route; wherein M and N are natural numbers, N is not less than 2, and N is not less than M.
6. The takeaway platform ordering apparatus of claim 5, further comprising:
and the second route planning module is used for selecting a purchasing route with less quantity of the first class of suppliers as a final purchasing route from the two purchasing routes when the difference value between the lowest purchasing total amounts in the first two purchasing routes with the largest ratio in the purchasing recommended route set is smaller than a set price threshold value and the length difference value of the two purchasing routes is smaller than a set length threshold value.
7. The takeaway platform ordering apparatus of claim 5, further comprising:
the replenishment demand generation module is used for determining the type of goods out of stock and the replenishment quantity corresponding to the type of goods according to the temporary shortage notice when receiving the temporary shortage notice sent by the supplier terminal in the purchase period corresponding to the preset order period, and generating the replenishment demand;
and the first selection module is used for selecting the first type of suppliers meeting the additional purchase demand from the first type of suppliers which do not pass through the final purchase route as the additional purchase suppliers.
8. The takeaway platform ordering apparatus of claim 7 wherein said apparatus further comprises:
the second selection module is used for selecting a plurality of first type suppliers meeting the additional purchase demand from other first type suppliers as additional purchase suppliers when the first type suppliers meeting the additional purchase demand do not exist in the first type suppliers which do not pass through the final purchase route;
the additional purchase recommendation route planning module is used for selecting an additional purchase provider with the wholesale unit price corresponding to the goods out of stock not greater than the additional purchase price threshold value from the multiple additional purchase providers as a recommended additional purchase provider, and respectively planning a corresponding purchase route for the multiple recommended additional purchase providers and a first type of provider which does not pass through the final purchase route as a corresponding additional purchase recommendation route;
and the final buyback route determining module is used for taking the shortest route in the buyback recommended routes as a final buyback route.
9. A computer-readable storage medium having computer-executable instructions stored thereon for causing a computer to perform the takeaway platform ordering method of any one of claims 1-4.
CN202111680652.0A 2021-12-30 2021-12-30 Order placing method, device and storage medium for take-out platform Active CN114331287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111680652.0A CN114331287B (en) 2021-12-30 2021-12-30 Order placing method, device and storage medium for take-out platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111680652.0A CN114331287B (en) 2021-12-30 2021-12-30 Order placing method, device and storage medium for take-out platform

Publications (2)

Publication Number Publication Date
CN114331287A true CN114331287A (en) 2022-04-12
CN114331287B CN114331287B (en) 2023-04-18

Family

ID=81022566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111680652.0A Active CN114331287B (en) 2021-12-30 2021-12-30 Order placing method, device and storage medium for take-out platform

Country Status (1)

Country Link
CN (1) CN114331287B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886285A (en) * 2017-12-25 2018-04-06 康美药业股份有限公司 Supply and marketing management method, equipment and computer-readable recording medium
CN111028049A (en) * 2019-11-18 2020-04-17 政采云有限公司 Commodity purchasing method, commodity purchasing platform and commodity purchasing system
CN113554493A (en) * 2021-08-02 2021-10-26 杭州拼便宜网络科技有限公司 Interactive ordering method, device, electronic equipment and computer readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886285A (en) * 2017-12-25 2018-04-06 康美药业股份有限公司 Supply and marketing management method, equipment and computer-readable recording medium
CN111028049A (en) * 2019-11-18 2020-04-17 政采云有限公司 Commodity purchasing method, commodity purchasing platform and commodity purchasing system
CN113554493A (en) * 2021-08-02 2021-10-26 杭州拼便宜网络科技有限公司 Interactive ordering method, device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN114331287B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
Fikar A decision support system to investigate food losses in e-grocery deliveries
Alkaabneh et al. Benders decomposition for the inventory vehicle routing problem with perishable products and environmental costs
US7467103B1 (en) Optimization system and method for buying clubs
US20170083856A1 (en) Method and apparatus for processing transmission information
US11568432B2 (en) Auto clustering prediction models
US20190258978A1 (en) Parallel lead time determinations in supply chain architecture
US20180314999A1 (en) Methods and systems for managing fullfillment of one or more online orders
Axsäter et al. A distribution inventory model with transshipments from a support warehouse
US20170061368A1 (en) Method and apparatus for processing logistics path information
US11367042B2 (en) Computerized inventory redistribution control system
CN107767092B (en) Processing method, display method and device of commodity object information
CN106971282A (en) A kind of determination method and system of storage scheme validity
US20200111033A1 (en) Lead time determinations in supply chain architecture
WO2017120395A1 (en) Computerized promotion and markdown price scheduling
Erhun et al. Enterprise-wide optimization of total landed cost at a grocery retailer
WO2022055615A1 (en) Short life cycle sales curve estimation
CN114331287B (en) Order placing method, device and storage medium for take-out platform
CN117194764A (en) Goods display method, equipment and medium based on multi-platform fusion mall
CN115034709A (en) Inventory management method and device
CN113408987B (en) Intelligent distribution and management method for logistics
CN114169831A (en) Logistics distribution method based on network supermarket system
CN113205397A (en) Commodity distribution method, commodity distribution device, electronic equipment and storage medium
CN110858337A (en) Method and device for generating configuration information
CN114092163B (en) Electronic shelf label price changing method and device, electronic equipment and storage medium
CN112288507A (en) Method and device for determining display 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221130

Address after: Room 200000, building 103, Yangpu Road, Shanghai military district

Applicant after: Drilling technology (Shanghai) Information Technology Co.,Ltd.

Applicant after: Wang Jiang

Address before: Room 200000, building 103, Yangpu Road, Shanghai military district

Applicant before: Drilling technology (Shanghai) Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant