An order processing method and device, a storage medium and an electronic device

CN113888263BActive Publication Date: 2026-09-29BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111141946.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2026-09-29
Estimated Expiration
2041-09-28

AI Technical Summary

Technical Problem

当订单数量过多时,往往会出现商家无法在规定时间内将订单内的商品制作完成的情况,从而导致大量订单被积压,使用户等待时间过长

Benefits of technology

[0032]在本说明书提供的订单处理方法中,本方法根据第一商家订单中的待配送对象,确定待调度对象,并生成调度信息。根据调度信息以及各个第二商家的待调度对象的信息,确定出指定第二商家。向第一配送运力发送调度指令,使第一配送运力将待调度对象从指定第二商家配送至第一商家。响应于第一配送运力完成调度指令的结果,向各个第二配送运力发送配送指令,使各个第二配送运力配送各个待配送对象。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113888263B_ABST
    Figure CN113888263B_ABST
Patent Text Reader

Abstract

The specification discloses an order processing method and device, a storage medium and an electronic device. The method determines a to-be-scheduled object according to a to-be-delivered object in a first merchant order, and generates scheduling information. According to the scheduling information and information of to-be-scheduled objects of each second merchant, a specified second merchant is determined. A scheduling instruction is sent to a first delivery capacity, so that the first delivery capacity delivers the to-be-scheduled object from the specified second merchant to the first merchant. In response to a result of the first delivery capacity completing the scheduling instruction, a delivery instruction is sent to each second delivery capacity, so that each second delivery capacity delivers each to-be-delivered object. The method sends the scheduling instruction to the first delivery capacity, so that the first delivery capacity timely delivers the to-be-scheduled object required by the first merchant from the specified second merchant to the first merchant, and the first merchant can timely obtain the to-be-delivered object according to the to-be-scheduled object, thereby improving the completion efficiency of the order of the merchant and shortening the waiting time of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of Internet technology, and in particular to an order processing method, apparatus, storage medium and electronic device. Background Technology

[0002] With the development of internet technology, online shopping has gradually become the mainstream consumption method. For example, more and more users are choosing to use e-commerce software to buy goods.

[0003] Taking the example of users purchasing goods using food delivery apps, unlike the traditional method of queuing up to order food at a store, multiple users can use food delivery apps to purchase goods sold by the same merchant at the same time. Therefore, the merchant will receive multiple orders at the same time.

[0004] For businesses located in popular commercial areas (with high foot traffic), or during peak dining hours, they often receive a large number of orders simultaneously. When there are too many orders, businesses often cannot complete the preparation of the items within the stipulated time, resulting in a backlog of orders and excessively long waiting times for customers. Summary of the Invention

[0005] This specification provides an order processing method and apparatus to partially solve the aforementioned problems existing in the prior art.

[0006] The following technical solution is adopted in this specification:

[0007] This manual provides an order processing method, including:

[0008] Based on the items to be delivered in each order of the first merchant, determine the items to be scheduled and generate scheduling information for the items to be scheduled;

[0009] Based on the scheduling information and the information of the objects to be scheduled for each second merchant, a designated second merchant is determined among the second merchants.

[0010] According to the scheduling information, a scheduling instruction is sent to the first delivery capacity, so that the first delivery capacity delivers the object to be scheduled from the designated second merchant to the first merchant, so that the first merchant obtains the object to be delivered based on the object to be scheduled;

[0011] In response to the completion of the scheduling instruction by the first delivery capacity, a delivery instruction is sent to each of the second delivery capacities, so that each of the second delivery capacities delivers the items to be delivered contained in each order obtained by the first merchant.

[0012] Optionally, the objects to be dispatched are determined based on the objects to be delivered contained in each order of the first merchant, specifically including:

[0013] Identify the objects to be delivered for each order from the first merchant that has not been delivered within a specified time.

[0014] Based on the objects to be delivered, determine the objects to be dispatched.

[0015] Optionally, the object to be delivered includes goods; the object to be dispatched includes: the goods or raw materials used to make the goods.

[0016] Optionally, based on the scheduling information and the information of the objects to be scheduled for each second merchant, a designated second merchant is determined from among the second merchants, specifically including:

[0017] Determine the inventory quantity of the objects to be scheduled for each second merchant, and determine the distance between each second merchant and the first merchant;

[0018] Based on the inventory quantity of the scheduling object of each merchant and the distance between each second merchant and the first merchant, a designated second merchant is determined among the second merchants.

[0019] Optionally, based on the inventory quantity of the scheduling object of each merchant and the distance between each second merchant and the first merchant, a designated second merchant is determined among the second merchants, specifically including:

[0020] For each second merchant, a score is determined based on the inventory quantity of the object to be scheduled by the second merchant and the distance between the second merchant and the first merchant;

[0021] Based on the ratings of each second merchant, a designated second merchant is determined from among the various second merchants; the inventory quantity of the objects to be scheduled by the second merchant is positively correlated with the rating of the second merchant, and the distance between the second merchant and the first merchant is negatively correlated with the rating of the second merchant.

[0022] Optionally, the objects to be dispatched are determined based on the objects to be delivered contained in each order of the first merchant, specifically including:

[0023] When the inventory of raw materials used by the first merchant to make the goods included in each order is less than a specified quantity, the object to be scheduled is determined to be the raw material used to make the goods.

[0024] Optionally, the objects to be dispatched are determined based on the objects to be delivered contained in each order of the first merchant, specifically including:

[0025] When the number of goods that the first merchant can produce within a specified time period is less than the second quantity, the object to be scheduled is determined to be the goods.

[0026] This specification provides an order processing apparatus, including:

[0027] The scheduling module is used to determine the objects to be scheduled based on the objects to be delivered included in each order of the first merchant, and generate scheduling information for the objects to be scheduled; based on the scheduling information and the information of the objects to be scheduled of each second merchant, determine a designated second merchant among the second merchants; and based on the scheduling information, send a scheduling instruction to the first delivery capacity, so that the first delivery capacity delivers the objects to be scheduled from the designated second merchant to the first merchant, so that the first merchant obtains the objects to be delivered based on the objects to be scheduled.

[0028] The delivery module is used to send delivery instructions to each of the second delivery forces in response to the result of the first delivery force completing the execution of the scheduling instructions, so that each of the second delivery forces delivers the objects to be delivered contained in each order obtained by the first merchant.

[0029] This specification provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described order processing method.

[0030] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the order processing method described above.

[0031] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects:

[0032] In the order processing method provided in this specification, this method determines the objects to be dispatched based on the objects to be delivered in the first merchant's order and generates dispatch information. Based on the dispatch information and the information of the objects to be dispatched by each second merchant, a designated second merchant is determined. A dispatch instruction is sent to the first delivery capacity, instructing the first delivery capacity to deliver the objects to be dispatched from the designated second merchant to the first merchant. In response to the first delivery capacity completing the dispatch instruction, delivery instructions are sent to each of the second delivery capacities, instructing each of the second delivery capacities to deliver the respective objects to be delivered.

[0033] As can be seen from the above method, this method sends a scheduling instruction to the first delivery capacity according to the needs of the first merchant, so that the first delivery capacity can deliver the items to be dispatched by the first merchant from the designated second merchant to the first merchant in a timely manner. This allows the first merchant to obtain the items to be delivered in a timely manner according to the scheduling items, thereby improving the merchant's order completion efficiency and shortening the user's waiting time. Attached Figure Description

[0034] The accompanying drawings, which are included to provide a further understanding of this specification and form part of this specification, illustrate exemplary embodiments and are used to explain this specification, but do not constitute an undue limitation thereof. In the drawings:

[0035] Figure 1 This is a flowchart illustrating one order processing method described in this specification.

[0036] Figure 2 This is a schematic diagram of an order processing device provided in this specification;

[0037] Figure 3 The corresponding information provided in this specification Figure 1 A schematic diagram of an electronic device. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0039] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0040] Figure 1 This is a flowchart illustrating one order processing method described in this specification, which specifically includes the following steps:

[0041] S100: Based on the objects to be delivered contained in each order of the first merchant, determine the objects to be scheduled and generate scheduling information for the objects to be scheduled.

[0042] For on-demand delivery orders like food delivery, businesses in densely populated areas often receive a large number of orders during peak ordering times, such as lunchtimes. To avoid excessively long wait times for users, servers set a specified processing time for each order based on the order information. Businesses are required to complete the order processing within this specified time.

[0043] Due to limitations in manpower and resources, the number of goods a merchant can produce within a specified time period is limited. Therefore, when a merchant receives too many orders at the same time, orders exceeding its production capacity will accumulate, leading to excessively long waiting times for users with these backlogged orders. This instruction manual, based on the goods included in the backlogged orders of the first merchant, allocates goods from a second merchant or raw materials used to produce those goods to the first merchant. This allows the first merchant to process orders promptly, thereby avoiding the problem of excessively long waiting times for users.

[0044] The order processing method provided in this specification can be executed by an electronic device capable of sending instructions to the first merchant, the first delivery capacity, and the second delivery capacity, such as a laptop, mobile phone, or server. This specification does not limit this. The following description uses a server as the executing entity. Specifically, the server can be a server used to implement a food delivery platform or a food delivery dispatch system. This specification does not limit this.

[0045] Specifically, the server can first determine all orders received by the first merchant. For each order, the server can determine the items to be delivered within that order. Based on the items to be delivered in the order, the server can determine the items to be scheduled and their identification information. Based on the identification information of the items to be scheduled, the server can generate information for the items to be scheduled, whereby the scheduling information includes the identification information of the items to be scheduled. The items to be delivered can be any goods sold by the first merchant, and the scheduling information for the items to be scheduled must at least include the identification and quantity of the items to be scheduled; this specification does not impose any restrictions.

[0046] For the object to be scheduled, when the inventory quantity of raw materials used by the first merchant to make the goods included in each order is less than the first quantity, the server can determine that the object to be scheduled at this time is the raw material used to make the goods. Specifically, the first merchant can report the inventory quantity of each raw material used to make each goods to the server before opening each day. The server will store the received inventory information, and the server can update the inventory quantity of raw materials used to make the goods of the first merchant in a timely manner according to the order information received by the first merchant.

[0047] If the number of goods that the first merchant can produce within a specified time period is less than the second number, the server can determine that the first merchant's production capacity is insufficient at the current moment, and the goods will be the items to be scheduled. Specifically, for each order received by the first merchant, the server can determine a specified time before the first merchant needs to complete the production of the goods for that order. If the server does not receive a message from the first merchant indicating that the production of the goods for that order is complete after the specified time, the order can be determined as a timed-out order. If the number of timed-out orders within a specified time period is greater than the third number, the server can determine that the number of goods that the first merchant can produce within the specified time is less than the second number, meaning that the first merchant's production capacity is insufficient at the current moment.

[0048] S102: Based on the scheduling information and the information of the objects to be scheduled for each second merchant, a designated second merchant is determined from among the second merchants.

[0049] For each second merchant, the server can first determine the information about the object to be scheduled from the identifier information of the object to be scheduled in the scheduling information, such as the inventory quantity of the object to be scheduled by the second merchant. The server can then determine the designated second merchant based on the information of the objects to be scheduled by each second merchant, and deliver the goods of the designated second merchant to the first merchant. The goods sold by the second merchant are the same as those sold by the first merchant; for example, the first and second merchants are merchants of the same chain brand.

[0050] The method for determining the designated second merchant can be as follows: For each second merchant, a score is determined between the second merchant and the first merchant based on the inventory quantity of the objects to be scheduled by that second merchant and the distance between the second merchant and the first merchant. The more inventory the second merchant has and the closer the distance between the second merchant and the first merchant, the higher the score between the two merchants. The server can sort the scores between the first merchant and each second merchant in descending order. The second merchant ranked first, i.e., the second merchant with the highest score, can be determined by the server as the designated second merchant. Alternatively, the first merchant can also designate a second merchant from among the various second merchants based on its own needs and the sorting results.

[0051] In addition to the methods described above, the server may also use other methods to determine the designated second merchant, and this manual does not impose any restrictions on such methods.

[0052] S104: Based on the scheduling information, a scheduling instruction is sent to the first delivery capacity, so that the first delivery capacity delivers the object to be scheduled from the designated second merchant to the first merchant, so that the first merchant obtains the object to be delivered based on the object to be scheduled.

[0053] Specifically, the server can generate a scheduling order for the object to be scheduled based on the scheduling information. The server can send a scheduling instruction to the first delivery capacity, which includes the scheduling order. The first delivery capacity can deliver the object to be scheduled from the designated second merchant to the first merchant according to the information in the scheduling order, so that the first merchant can obtain the object to be scheduled and then obtain the object to be delivered based on the object. The scheduling order includes at least: the object to be scheduled, the quantity of the object to be scheduled, the location of the designated second merchant, and the location of the first merchant. The delivery capacity can be a rider or an unmanned vehicle used for delivering goods; this specification does not impose any restrictions.

[0054] Furthermore, to improve scheduling efficiency, the server can determine the distance between the current location of each delivery capacity and the location of the designated second merchant, and select the delivery capacity with the smallest distance between the current location and the location of the designated second merchant as the first delivery capacity. At the same time, the server can set the time limit for completing the scheduled order, so that the first delivery capacity can complete the delivery of the scheduled order within the preset time limit.

[0055] In addition, after sending a dispatch instruction to the first delivery capacity, the server can update the inventory information of the second merchant's goods based on the dispatch information.

[0056] S106: In response to the result of the first delivery capacity completing the execution of the scheduling instruction, a delivery instruction is sent to each of the second delivery capacities, so that each of the second delivery capacities delivers each of the objects to be delivered contained in each order obtained by the first merchant.

[0057] After the first delivery unit delivers the object to be dispatched from the designated second merchant to the first merchant, it can send a message to the server that it has completed the dispatching instruction. At this time, the server can know that the first merchant has received the object to be dispatched based on the message sent by the first delivery unit.

[0058] When the object to be dispatched is a product, for each order from the first merchant, the server can immediately send a delivery instruction to one of the second delivery forces, so that the second delivery force can deliver the object to be delivered in the order according to the order information.

[0059] When the object to be scheduled is raw material used to make goods, for each order from the first merchant, the first merchant can obtain the object to be delivered based on the object to be scheduled and send a message to the server indicating that the order is allowed to be delivered. After receiving the message from the first merchant indicating that the order is allowed to be delivered, the server can send a delivery instruction to one of the various second delivery forces, so that the second delivery force can deliver the object to be delivered for the order.

[0060] Additionally, the server can send the order to all secondary delivery providers, essentially publishing the order information to each of them. Each secondary delivery provider can then choose to agree to deliver the order or refuse to do so. In response to the results from each secondary delivery provider, the server sends a delivery instruction to the first provider to agree to deliver the order, enabling that provider to deliver the order's recipient.

[0061] In addition to the above-mentioned methods for determining the second delivery capacity for delivery orders, other methods may be used to determine the second delivery capacity for delivery orders, and this specification does not impose any restrictions.

[0062] based on Figure 1 The order processing method shown above demonstrates that when the first merchant's production capacity or raw materials for production are insufficient, the server can determine the scheduling information based on the goods or raw materials required by the first merchant and send the scheduling instruction corresponding to the scheduling information to a delivery capacity. This allows the delivery capacity to promptly dispatch the goods or raw materials required by the first merchant from the designated second merchant to the first merchant, enabling the first merchant to obtain the goods included in the order or the raw materials used to produce the order in a timely manner.

[0063] Specifically, in this specification, the goods or raw materials to be dispatched are the goods contained in the backlog of orders of the first merchant or the raw materials used to produce those goods. The quantity of the first delivery capacity may be less than the quantity of backlog of orders of the first merchant. The quantity of the first delivery capacity may be one. That is, when the first merchant has a large backlog of orders due to insufficient production capacity or lack of raw materials for producing goods, only a small amount of first delivery capacity, or even just one first delivery capacity, is needed to deliver the goods or raw materials required by the first merchant from the designated second merchant to the first merchant, so that the first merchant can obtain the goods contained in the backlog of orders or the raw materials used to produce those goods.

[0064] While existing technologies exist for delivering goods from a second merchant directly to users when a first merchant has a large backlog of orders, each backlogged order from the first merchant requires a separate delivery unit. Each delivery unit must first travel from the first merchant to the second merchant to retrieve the goods for the order before delivering them. This means each delivery unit wastes time traveling from the first merchant to the second. In contrast, this method requires only a small amount, or even just one, of the first delivery unit's time to deliver the goods or raw materials needed by the first merchant to the second merchant. In other words, it only wastes a small amount, or even just one, of the first delivery unit's time (the time from the first merchant to the second merchant).

[0065] In summary, this method not only improves the efficiency of order processing for the primary merchant and shortens user waiting time, but also reduces the amount of delivery capacity required.

[0066] To further save delivery capacity, specifically, when the number of orders from the first merchant that have not been completed beyond the scheduled time exceeds a specified number, that is, when the first merchant has too many overdue orders, for each overdue order, the server can determine the objects to be delivered contained in the overdue order, where the objects to be delivered are the goods purchased by the user.

[0067] For each timed-out order from the first merchant, the server can determine the corresponding scheduled object based on the goods to be delivered included in the timed-out order. For each scheduled object, the server can generate scheduling information for that object, and then merge the various scheduling information to obtain the overall scheduling information.

[0068] Based on the overall scheduling information, the server can determine the designated second merchant from among the various second merchants using the method in step S102, and send a scheduling instruction to the first delivery capacity according to the overall scheduling information. This can be understood as follows: for each timed-out order of the first merchant, each item to be delivered can be obtained from the designated second merchant. That is, only one delivery capacity is needed to perform one delivery from the designated second merchant to the first merchant, allowing the first merchant to obtain the necessary goods or raw materials for making the goods, and then obtain the goods based on the raw materials used to make the goods. Afterwards, similar to step S106, the server sends delivery instructions to each second delivery capacity, enabling each second delivery capacity to deliver the goods in each timed-out order.

[0069] The order processing method described above in this manual can be applied to food delivery services. For example, Merchant A receives 10 orders at the same time, all of which contain one serving of Zhajiangmian (noodles with soybean paste). Each serving of Zhajiangmian requires one serving of noodles and one serving of soybean paste. After receiving these 10 orders, the server determines that Merchant A currently has 5 servings of noodles and 20 servings of soybean paste. Since 10 servings of Zhajiangmian are needed, the server determines that Merchant A's noodle inventory is insufficient and 5 servings of noodles need to be dispatched from Merchant A. Therefore, the item to be dispatched is noodles, and the dispatch information is to deliver 5 servings of noodles to Merchant A.

[0070] Merchants B, C, and D are all from the same chain brand as merchant A. Based on the aforementioned scheduling information, the server determines that merchant B currently has 20 servings of noodles in stock, and is 5 km away from merchant A. Merchant C has 10 servings of noodles in stock, and is also 5 km away from merchant A. Merchant D has 20 servings of noodles in stock, and is 4 km away from merchant A. Therefore, based on the distances of each second merchant to the first merchant A and the noodle stock of each second merchant, the server determines that merchant D is the designated second merchant.

[0071] Based on the current location of each rider, the server determines that rider A, who is closest to merchant D, is the first delivery rider. The server then sends a dispatch instruction to the client used by rider A to deliver 5 servings of noodles from the second merchant D to the first merchant A. At this time, the client used by rider A will receive the dispatch instruction sent by the server.

[0072] Rider A, following the dispatch instructions received from the client, delivers 5 servings of noodles from merchant D to merchant A. Upon arrival at merchant A, rider A sends a message to the server via the client indicating that the dispatch instruction has been completed. Simultaneously, after receiving the 5 servings of noodles, the staff at merchant A prepare 5 servings of Zhajiangmian (noodles with soybean paste) and send a message to the server via the client indicating that the order has been approved for delivery.

[0073] After receiving a message that an order has been approved for delivery, the server sends delivery instructions to the client used by each rider. Once the riders receive the delivery instructions, they will deliver the order.

[0074] In addition, for each second merchant, the second merchant can pre-set the fees that other merchants will need to pay to dispatch goods or raw materials from it, i.e., dispatch fees. When calculating the rating between the first merchant and the second merchant, the server can determine the second merchant's rating not only based on the information of the second merchant's dispatchable objects and the distance between the second merchant and the first merchant, but also based on the dispatch fees required by the second merchant. The dispatch fees required by the second merchant are negatively correlated with the second merchant's rating.

[0075] Furthermore, to improve scheduling efficiency, the first merchant can determine one or more designated products from all the products it sells based on the sales situation of each product or the production time required for each product. The server can then send instructions to the first delivery force to schedule only the designated products or the raw materials used to produce the designated products.

[0076] The above describes one or more embodiments of the order processing method provided in this specification. Based on the same idea, this specification also provides a corresponding order processing device, such as... Figure 2As shown.

[0077] Figure 2 This specification provides a schematic diagram of an order processing device, which specifically includes:

[0078] The scheduling module 201 determines the objects to be scheduled based on the objects to be delivered included in each order of the first merchant, and generates scheduling information for the objects to be scheduled; based on the scheduling information and the information of the objects to be scheduled of each second merchant, it determines a designated second merchant among the second merchants; based on the scheduling information, it sends a scheduling instruction to the first delivery capacity, so that the first delivery capacity delivers the objects to be scheduled from the designated second merchant to the first merchant, so that the first merchant obtains the objects to be delivered based on the objects to be scheduled;

[0079] Delivery module 202 is used to send delivery instructions to each second delivery force in response to the result of the first delivery force completing the execution of the scheduling instructions, so that each second delivery force delivers the objects to be delivered included in each order obtained by the first merchant.

[0080] Optionally, the scheduling module 201 is specifically used to determine the objects to be delivered included in each order of the first merchant that has not been delivered for a specified period of time; and to determine the objects to be scheduled based on the objects to be delivered.

[0081] Optionally, the object to be delivered includes goods; the object to be dispatched includes: the goods or raw materials used to make the goods.

[0082] Optionally, the scheduling module 201 is specifically used to determine the inventory quantity of the objects to be scheduled for each second merchant, and to determine the distance between each second merchant and the first merchant; and to determine a designated second merchant among the second merchants based on the inventory quantity of the objects to be scheduled for each merchant and the distance between each second merchant and the first merchant.

[0083] Optionally, the scheduling module 201 is specifically configured to, for each second merchant, determine the rating of the second merchant based on the inventory quantity of the object to be scheduled by the second merchant and the distance between the second merchant and the first merchant; and determine a designated second merchant among the second merchants based on the ratings of each second merchant; the inventory quantity of the object to be scheduled by the second merchant is positively correlated with the rating of the second merchant, and the distance between the second merchant and the first merchant is negatively correlated with the rating of the second merchant.

[0084] Optionally, the scheduling module 201 is specifically used to determine the object to be scheduled as the raw material used to make the goods when the inventory quantity of the raw materials of the first merchant for making each order is less than a first quantity.

[0085] Optionally, the scheduling module 201 is specifically used to determine the product to be scheduled when the number of products that the first merchant can produce within a specified time period is less than the second number.

[0086] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 The order processing methods provided.

[0087] This instruction manual also provides Figure 3 The diagram shows a schematic structural representation of the electronic device. Figure 3 At the hardware level, the electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for the business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to achieve the above-mentioned functions. Figure 1 The order processing method described above. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0088] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0089] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0090] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0091] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0092] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0095] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0097] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0098] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0099] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0100] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0101] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0102] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0103] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.

Claims

1. An order processing method, characterized in that, include: Identify the objects to be delivered for each order from the first merchant that has not been delivered within a specified time. Based on the objects to be delivered, objects to be scheduled are determined, and scheduling information is generated for the objects to be scheduled. The objects to be delivered include goods, and the objects to be scheduled include the goods or raw materials used to make the goods. Based on the scheduling information and the information of the objects to be scheduled for each second merchant, a designated second merchant is determined among the second merchants. According to the scheduling information, a scheduling instruction is sent to the first delivery capacity, so that the first delivery capacity delivers the object to be scheduled from the designated second merchant to the first merchant, so that the first merchant obtains the object to be delivered based on the object to be scheduled; In response to the completion of the scheduling instruction by the first delivery capacity, a delivery instruction is sent to each of the second delivery capacities, so that each of the second delivery capacities delivers the items to be delivered contained in each order obtained by the first merchant.

2. The method as described in claim 1, characterized in that, Based on the scheduling information and the information of the objects to be scheduled by each second merchant, a specific second merchant is determined from among the second merchants, specifically including: Determine the inventory quantity of the objects to be scheduled for each second merchant, and determine the distance between each second merchant and the first merchant; Based on the inventory quantity of the scheduling object of each merchant and the distance between each second merchant and the first merchant, a designated second merchant is determined among the second merchants.

3. The method as described in claim 2, characterized in that, Based on the inventory quantity of each merchant's scheduling object and the distance between each second merchant and the first merchant, a designated second merchant is determined from among the second merchants, specifically including: For each second merchant, a score is determined based on the inventory quantity of the object to be scheduled by the second merchant and the distance between the second merchant and the first merchant; Based on the ratings of each secondary merchant, a designated secondary merchant is selected from among them; The inventory quantity of the objects to be scheduled by the second merchant is positively correlated with the rating of the second merchant, and the distance between the second merchant and the first merchant is negatively correlated with the rating of the second merchant.

4. The method as described in claim 1, characterized in that, Based on the objects to be delivered, the objects to be dispatched are determined, specifically including: When the inventory of raw materials used by the first merchant to make the goods included in each order is less than the first quantity, the object to be scheduled is determined to be the raw material used to make the goods.

5. The method as described in claim 1, characterized in that, Based on the objects to be delivered, the objects to be dispatched are determined, specifically including: When the number of goods that the first merchant can produce within a specified time period is less than the second quantity, the object to be scheduled is determined to be the goods.

6. An order processing device, characterized in that, include: The scheduling module is used to determine the objects to be delivered in each order of the first merchant that has not been delivered for a specified period of time; Based on the objects to be delivered, objects to be scheduled are determined, and scheduling information is generated for the objects to be scheduled. The objects to be delivered include goods, and the objects to be scheduled include the goods or raw materials used to make the goods. Based on the scheduling information and the information of the objects to be scheduled for each second merchant, a designated second merchant is determined among the second merchants. According to the scheduling information, a scheduling instruction is sent to the first delivery capacity, so that the first delivery capacity delivers the object to be scheduled from the designated second merchant to the first merchant, so that the first merchant obtains the object to be delivered based on the object to be scheduled; The delivery module is used to send delivery instructions to each of the second delivery forces in response to the result of the first delivery force completing the execution of the scheduling instructions, so that each of the second delivery forces delivers the objects to be delivered contained in each order obtained by the first merchant.

7. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1 to 5.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Reservation information processing method and device

    CN111353618A