CN110866709B - Method and device for merging orders - Google Patents

Method and device for merging orders Download PDF

Info

Publication number
CN110866709B
CN110866709B CN201810986950.4A CN201810986950A CN110866709B CN 110866709 B CN110866709 B CN 110866709B CN 201810986950 A CN201810986950 A CN 201810986950A CN 110866709 B CN110866709 B CN 110866709B
Authority
CN
China
Prior art keywords
order
target
produced
data
orders
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810986950.4A
Other languages
Chinese (zh)
Other versions
CN110866709A (en
Inventor
张志维
林世洪
彭先铁
冯卓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810986950.4A priority Critical patent/CN110866709B/en
Publication of CN110866709A publication Critical patent/CN110866709A/en
Application granted granted Critical
Publication of CN110866709B publication Critical patent/CN110866709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

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

Abstract

The invention discloses a method and a device for merging orders, and relates to the technical field of computers. One embodiment of the method comprises the following steps: before the target order is sent to a warehouse for production, the target order is made to wait according to the preset order closing waiting time length; if at least one to-be-produced order meeting the preset closing condition exists in the closing waiting time, combining the to-be-produced order and the target order into one order, and sending the order to a warehouse for production; wherein, the single condition of closing includes: the to-be-produced order and the target order correspond to the same warehouse, the same receiving time period and the same receiving address. According to the embodiment, the orders corresponding to the same warehouse, the same receiving time period and the same receiving address can be combined before the orders are sent to the warehouse for production, so that the resource waste of an order production link is reduced, and the unnecessary cost of an order distribution link is reduced.

Description

Method and device for merging orders
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for merging orders.
Background
In the conventional transaction system, a user often finds that another commodity needs to be purchased after purchasing the commodity due to the influence of factors such as coupons, forgetting and the like, so that a plurality of orders are issued in a short time. In the existing order production and distribution links, packaging and distribution are often carried out according to different orders, so that the waste of resources such as printing orders, packaging boxes and the like and the increase of distribution cost are caused.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method and an apparatus for merging orders, which can merge orders corresponding to the same warehouse, the same receiving time period and the same receiving address before sending the orders to the warehouse for production, so as to reduce the resource waste in the order production link and reduce the unnecessary cost in the order distribution link.
To achieve the above object, according to one aspect of the present invention, there is provided a method of merging orders.
The method for merging orders in the embodiment of the invention comprises the following steps: before the target order is sent to a warehouse for production, the target order is made to wait according to the preset order closing waiting time length; if at least one to-be-produced order meeting the preset closing condition exists in the closing waiting time, combining the to-be-produced order and the target order into one order, and sending the order to a warehouse for production; wherein, the single condition of closing includes: the to-be-produced order and the target order correspond to the same user, the same warehouse, the same receiving time period and the same receiving address.
Optionally, the method further comprises: judging whether the target order is an emergency order or not; and if not, waiting the target order according to the closing waiting time.
Optionally, the method further comprises: judging whether the target order is a non-urgent order; judging whether the user corresponding to the target order is a specific user or not according to the historical order data; wherein, specific users are: continuously placing the users with orders with times greater than a preset threshold value in a preset first historical time period; the continuously placing orders includes: placing an order again for a first period of time after placing an order; judging whether the target order contains specific commodities according to the historical order data; wherein, specific commodity is: re-placing orders by users with a proportion greater than a preset proportion in a second time period after placing orders containing the specific commodity in a preset second historical time period; judging whether the time of the cut-off of the target order is not exceeded after waiting according to the closing waiting time; the closing waiting time is the maximum value of the first time and the second time; and when the four judging results are yes, enabling the target order to wait according to the closing waiting time.
Optionally, merging the to-be-produced order and the target order into one order specifically includes: determining the data of the combined order according to the data of the to-be-produced order and the data of the target order, and setting an order number for the combined order; the method further comprises: and storing the data of the order to be produced, the data of the target order and the data of the combined order in a database, and creating an index for the order number field of the order to be produced, the order number field of the target order and the order number field of the combined order.
To achieve the above object, according to another aspect of the present invention, there is provided an apparatus for merging orders.
The device for merging orders according to the embodiment of the invention can comprise: the control unit is used for enabling the target order to wait according to the preset order closing waiting time before the target order is sent to the warehouse for production; the merging unit is used for merging the to-be-produced order and the target order into an order and sending the order to a warehouse for production if at least one to-be-produced order meeting the preset closing condition exists in the closing waiting time; wherein, the single condition of closing includes: the to-be-produced order and the target order correspond to the same user, the same warehouse, the same receiving time period and the same receiving address.
Optionally, the apparatus may further include a first judging unit configured to judge whether the target order is an emergency order; and if not, waiting the target order according to the closing waiting time.
Optionally, the apparatus may further include a second judging unit for judging whether the target order is a non-urgent order; judging whether the user corresponding to the target order is a specific user or not according to the historical order data; wherein, specific users are: continuously placing the users with orders with times greater than a preset threshold value in a preset first historical time period; the continuously placing orders includes: placing an order again for a first period of time after placing an order; judging whether the target order contains specific commodities according to the historical order data; wherein, specific commodity is: re-placing orders by users with a proportion greater than a preset proportion in a second time period after placing orders containing the specific commodity in a preset second historical time period; judging whether the time of the cut-off of the target order is not exceeded after waiting according to the closing waiting time; the closing waiting time is the maximum value of the first time and the second time; and when the four judging results are yes, enabling the target order to wait according to the closing waiting time.
Optionally, the merging unit may be further configured to: determining the data of the combined order according to the data of the to-be-produced order and the data of the target order, and setting an order number for the combined order; and storing the data of the order to be produced, the data of the target order and the data of the combined order in a database, and creating an index for the order number field of the order to be produced, the order number field of the target order and the order number field of the combined order.
To achieve the above object, according to still another aspect of the present invention, there is provided an electronic apparatus.
An electronic apparatus of the present invention includes: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method for merging orders provided by the invention.
To achieve the above object, according to still another aspect of the present invention, there is provided a computer-readable storage medium.
A computer readable storage medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the method of merging orders provided by the present invention.
According to the technical scheme of the invention, one embodiment of the invention has the following advantages or beneficial effects:
Firstly, waiting according to preset order closing waiting time before sending orders to be produced to a warehouse for production; if there are other orders to be produced corresponding to the same user, the same warehouse, the same receiving time period and the same receiving address in the order closing waiting time period, all the orders to be produced are combined for production. Therefore, orders suitable for combination can be combined on the premise that the production of the order being produced is not affected, so that resource waste of printing orders, packaging boxes and the like in the warehouse picking and packaging links is reduced, the packaging quantity of the packaging links is reduced, the order production efficiency is improved, the distribution cost is reduced, and the user experience is improved.
Secondly, when judging whether an order to be produced is waiting, judging by combining the following modes: firstly, judging whether an order to be produced is an emergency order; secondly, judging whether a user corresponding to an order to be produced is a specific user with continuous ordering characteristics or not according to historical order data; judging whether specific commodities with continuous ordering characteristics exist in the to-be-produced order according to the historical order data; in addition, whether the time of the receipt is exceeded after the waiting time of the receipt is judged. The four kinds of judgment are taken into consideration of the order attribute, the user attribute and the order commodity attribute obtained from big data and the risk of missing the production wave number due to waiting for the order, so that whether the order is required to be closed or not is accurately judged. In practical application, a certain strategy can be set according to service requirements, and one or more modes are selected for judgment.
Thirdly, the historical order data is analyzed, so that a continuous ordering time interval of a user corresponding to an order to be produced and a continuous ordering time interval of a specific commodity are obtained, and therefore the closing waiting time of the order to be produced is determined, and the situation that the order cannot be produced for a long time due to the fact that the closing waiting time is too short or the closing waiting time is too long is avoided.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a conventional order processing flow;
FIG. 2 is a schematic diagram of the main steps of a method of merging orders according to an embodiment of the invention;
FIG. 3 is a schematic illustration of a specific application of a method of merging orders according to an embodiment of the invention;
FIG. 4 is a schematic diagram of the components of an apparatus for merging orders in accordance with an embodiment of the invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments in accordance with the present invention may be applied;
FIG. 6 is a schematic diagram of an electronic device used to implement a method of merging orders in an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the conventional transaction system, a user often finds that another commodity needs to be purchased after purchasing the commodity due to the influence of factors such as coupons, forgetting and the like, so that a plurality of orders are issued in a short time. In the existing order production and distribution links, packaging and distribution are often carried out according to different orders, so that the waste of resources such as printing orders, packaging boxes and the like and the increase of distribution cost are caused.
FIG. 1 is a schematic diagram of a conventional order processing flow. As shown in FIG. 1, after the customer places the order, the order planning session begins. Specifically, checking is performed first, and then the order is split into at least one sub-order according to different warehouses where the commodities in the order are located, wherein each sub-order corresponds to one warehouse. For example, if an order contains a book and a hairtail, the order can be split into a sub-order corresponding to the book store and a sub-order corresponding to the fresh store. It should be noted that, orders appearing hereinafter refer to all the sub-orders formed through the order splitting link. After the orders are split, a warehouse for production can be allocated for each split order in an order transfer link, and the inventory is locked. And then, determining the receipts such as the delivery bill, the freight bill and the like to be printed in a pre-sorting link, and printing in a printing link. Then, order production is completed through picking, warehouse-out and packing, and the package can be sent to the hand of a user through an order distribution link.
It should be noted that, for a reserved order (i.e., an order that is not produced immediately after the user places the order), waiting is performed after the order transfer link locks the stock, and the pre-sorting link is entered when the production wave in which the reserved order is placed starts. For example, a user places an order on monday, requiring a pick-up on wednesday, and if the delivery time is less than one day, waiting after order splitting, order transfer, locking inventory, until friday is again in order production. Wherein, the production wave time refers to a time interval for order production. Within a production run, multiple orders corresponding to the same receiving time period (i.e., the desired receiving time period) will complete production and be taken out of stock. Here, the same reception period may be the same period judged according to a preset policy. For example, if the preset policy is only differentiated by the time periods of the morning and afternoon, the "6 to 8 points" and the "10 to 11 points" are the same reception time period.
In this context, an order to be produced refers to an order to be placed to a warehouse for production. The order to be produced can go through the pre-sorting link or not. In this context, an example is given in which the order to be produced is an order that has not been pre-sorted. For example, for a common order, the order to be produced may be an order that is about to enter a pre-sorting link after the order is transferred and inventory is locked; for reservation orders, the order to be produced may be an order that is about to enter a pre-sort link and a warehouse production link after the order is transferred, inventory is locked, and waiting for a certain time.
The following begins to describe the technical scheme of the invention in detail. It should be noted that the embodiments of the present invention and the technical features in the embodiments may be combined with each other without collision.
FIG. 2 is a schematic diagram of the main steps of a method of merging orders according to an embodiment of the invention.
As shown in fig. 2, the method for merging orders according to the embodiment of the present invention may specifically be performed according to the following steps:
Step S201: and before the target order is sent to a warehouse for production, the target order is made to wait according to the preset order closing waiting time.
In this step, the target order is preferably an order that is about to enter a pre-sorting link and an order production link. The sending of the target order to the warehouse for production may include: the target order is pre-sorted and forwarded to the warehouse. The closing waiting time length can be a fixed value, and can also be calculated according to an application scene, and the calculation process of the closing waiting time length is described in detail below.
In the embodiment of the present invention, it may be first determined whether the target order needs to wait before step S201. As a preferable mode, the judgment can be made in the following four ways.
The first way is: whether the target order is a non-urgent order is determined. If the judgment result is yes, the target order is prone to be represented to be waiting; otherwise, it tends to indicate that the target order cannot be waited.
The second way is: and judging whether the user corresponding to the target order is a specific user or not according to the historical order data. Wherein, the historical order data can be data aggregated according to different users, and the specific users are: continuously placing orders for users having orders greater than a preset threshold in a preset first historical period of time, the continuously placing orders comprising: the order is placed again for a first period of time after an order is placed. For example, in the last half year (first history period), a user is a particular user when the number of times that the user places an order again is greater than 10 (preset threshold) times within 10 minutes (first duration) after placing the order. When the judgment result is yes, the target order is prone to be waiting; otherwise, it tends to indicate that the target order cannot be waited.
Third mode: and judging whether the target order contains the specific commodity according to the historical order data. The historical order data may be aggregated data according to different commodities, where the specific commodity is: and in a preset second historical time period, the users with the proportion larger than the preset proportion issue orders again in a second time period after the orders containing the specific commodities are issued. For example, in the last year (second history period), more than 30% of users purchase other goods again 15 minutes after purchasing a certain goods (second duration), and the preceding goods are specific goods. When the judgment result is yes, the target order is prone to be waiting; otherwise, it tends to indicate that the target order cannot be waited.
Fourth mode: and judging whether the order cutting time of the target order is not exceeded after waiting according to the order closing waiting time. The time of the order cutting refers to the time of ending the production of the production wave where the target order is located. In order not to miss the production wave, if the above-mentioned judgement result is yes, can wait for; otherwise, no waiting is typically performed.
In practical applications, one or more of the above judgments may be selected according to the service requirements. For example, the first way may be selected only, waiting when the target order is not an emergency order, and entering the pre-sort and warehouse production link directly when the target order is an emergency order. For another example, the four modes can be combined simultaneously to perform judgment, and the process is only performed when the judgment results of the following four modes are all yes, and the process directly enters the pre-sorting and warehouse production links when the judgment result of any one mode is no. Particularly, when the second and the third modes are adopted for judgment, the closing waiting time length is the maximum value of the first time length and the second time length. In addition, the four judging modes can be judged in parallel, and can also be judged in sequence.
Step S202: and in the closing waiting time, if at least one to-be-produced order meeting the preset closing condition exists, combining the to-be-produced order and the target order into one order, and sending the order to a warehouse for production.
In this step, the target order and the order to be produced are different orders. The above-mentioned monomer conditions may be: at least one to-be-produced order corresponds to the same customer, the same warehouse, the same receiving time period, and the same receiving address (i.e., receiving address) as the target order. It can be appreciated that in a specific application, only the orders meeting the above-mentioned closing condition may be merged, otherwise, if the to-be-produced order and the target order do not correspond to the same user, a delivery error may be caused; if the order to be produced and the target order do not correspond to the same warehouse, the order production links cannot be combined; if the order to be produced does not correspond to the same receiving period of time as the target order, the user's desired receiving time may not be satisfied; if the order to be produced does not correspond to the same receiving address as the target order, the user's desired receiving address may not be satisfied. It is to be understood that the above user refers to a user identity, corresponding to the same user, i.e. to the same user identity.
When the order is merged, the data of the merged order can be determined according to the user identification, the receiving time period, the commodity detail of the order and the data of the target order, and the order number is set for the merged order. In addition, in order to provide the function of inquiring the orders before and after the combination, the data of the order to be produced, the data of the target order and the data of the order after the combination can be stored in a database, and indexes are created for the order number field of the order to be produced, the order number field of the target order and the order number field of the order after the combination.
FIG. 3 is a schematic diagram of a specific application of a method for merging orders according to an embodiment of the present invention. As shown in fig. 3, the method of merging orders in a particular application may perform the following steps:
1. after the user places an order, after checking, the order splitting and the order transferring are carried out.
2. And judging whether the system needs to enter the single-closing system for waiting by combining the four modes. The closing system is used for executing related actions of the combined order, and the moment of entering the closing system can be used as the starting moment of closing waiting time. In practical applications, four kinds of judgment logic are generally stored in a single system.
3. When the judging results of the four modes are yes, entering a bill combining system; otherwise, returning to the order transfer link, and then directly entering the pre-sorting link from the order transfer link.
4. If the order enters the order closing system, the user identification, the receiving time period, the receiving address and other order data are persisted in a database.
5. And simultaneously, order data are stored in memory databases such as a memory or a redis (an open source database).
6. And (3) utilizing one thread to poll the order, judging whether the order closing waiting time length is reached (namely, the end time of the order closing waiting time length is reached): if yes, executing the next step; otherwise, returning to the previous step.
7. When the closing waiting time is reached, judging whether a plurality of orders corresponding to the same user exist or not: if yes, executing the next step; otherwise, marking the order in the database, deleting the order data in the memory, and entering a pre-sorting link.
8. If there are a plurality of orders corresponding to the same user, it is determined whether there are a plurality of orders corresponding to the same warehouse, the same reception period, and the same reception address therein: if yes, merging a plurality of orders; otherwise, marking the order in the database, deleting the order data in the memory, and entering a pre-sorting link.
Specifically, when the orders are merged, it may be checked whether the user identification of each order to be merged is consistent, the receiving address is consistent, the receiving time period is consistent, and the warehouse is consistent. If the above is uniform, then order merging is started; otherwise, ending the order merging flow, and sending each order to the pre-sorting link.
After order consolidation is initiated, an order number for the production order (i.e., consolidated order) is first generated. For example, an order number for a production order may be generated after user identification by time stamping and order quantity. And then, generating a production bill according to the order number, and determining production bill data such as a user identifier, a receiving time period, a receiving address, a warehouse identifier, a distribution center identifier and the like according to any one of the pre-combined order data. The product details in each pre-merger order may then be combined into production order detail information and the relationship of the production order to the pre-merger order written into a database for subsequent query. Thus, the merge order flow is completed. And then, marking the order in a database, deleting order data in a memory, and sending the production order to a pre-sorting link.
In the technical scheme of the embodiment of the invention, before the to-be-produced order is sent to a warehouse for production, waiting is carried out according to the preset order closing waiting time; if there are other orders to be produced corresponding to the same user, the same warehouse, the same receiving time period and the same receiving address in the order closing waiting time period, all the orders to be produced are combined for production. Therefore, orders suitable for combination can be combined on the premise that the production of the order being produced is not affected, so that resource waste of printing orders, packaging boxes and the like in the warehouse picking and packaging links is reduced, the packaging quantity of the packaging links is reduced, the order production efficiency is improved, the distribution cost is reduced, and the user experience is improved. When judging whether an order to be produced is waiting, the following modes are combined for judging: firstly, judging whether an order to be produced is an emergency order; secondly, judging whether a user corresponding to an order to be produced is a specific user with continuous ordering characteristics or not according to historical order data; judging whether specific commodities with continuous ordering characteristics exist in the to-be-produced order according to the historical order data; in addition, whether the time of the receipt is exceeded after the waiting time of the receipt is judged. The four kinds of judgment are taken into consideration of the order attribute, the user attribute and the order commodity attribute obtained from big data and the risk of missing the production wave number due to waiting for the order, so that whether the order is required to be closed or not is accurately judged. In practical application, a certain strategy can be set according to service requirements, and one or more modes are selected for judgment. And analyzing the historical order data to obtain a continuous ordering time interval of a user corresponding to the order to be produced and a continuous ordering time interval of a specific commodity, thereby determining the closing waiting time of the order to be produced, and avoiding that the order cannot be produced for a long time because the closing waiting time is too short or the closing waiting time is too long.
It should be noted that, for the convenience of description, the foregoing method embodiments are expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present invention is not limited by the described order of actions, and some steps may actually be performed in other order or simultaneously. Moreover, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts and modules referred to are not necessarily required to practice the invention.
In order to facilitate better implementation of the above-described aspects of embodiments of the present invention, the following provides related devices for implementing the above-described aspects.
Referring to fig. 4, an apparatus 400 for merging orders according to an embodiment of the present invention may include a control unit 401 and a merging unit 402.
The control unit 401 may be configured to wait for the target order according to a preset order closing waiting duration before sending the target order to the warehouse for production.
The merging unit 402 may be configured to merge the to-be-produced order and the target order into one order and send the order to a warehouse for production if at least one to-be-produced order meeting a preset closing condition exists within the closing waiting duration; wherein, the single condition of closing includes: the to-be-produced order and the target order correspond to the same user, the same warehouse, the same receiving time period and the same receiving address.
In an embodiment of the present invention, the apparatus 400 may further include a first determining unit, configured to determine whether the target order is an emergency order; and if not, waiting the target order according to the closing waiting time.
Preferably, in an embodiment of the present invention, the apparatus 400 may further include a second determining unit, configured to determine whether the target order is a non-urgent order; judging whether the user corresponding to the target order is a specific user or not according to the historical order data; wherein, specific users are: continuously placing the users with orders with times greater than a preset threshold value in a preset first historical time period; the continuously placing orders includes: placing an order again for a first period of time after placing an order; judging whether the target order contains specific commodities according to the historical order data; wherein, specific commodity is: re-placing orders by users with a proportion greater than a preset proportion in a second time period after placing orders containing the specific commodity in a preset second historical time period; judging whether the time of the cut-off of the target order is not exceeded after waiting according to the closing waiting time; the closing waiting time is the maximum value of the first time and the second time; and when the four judging results are yes, enabling the target order to wait according to the closing waiting time.
In practical applications, the merging unit 402 may be further configured to: determining the data of the combined order according to the data of the to-be-produced order and the data of the target order, and setting an order number for the combined order; and storing the data of the order to be produced, the data of the target order and the data of the combined order in a database, and creating an index for the order number field of the order to be produced, the order number field of the target order and the order number field of the combined order.
FIG. 5 illustrates an exemplary system architecture 500 of a method of merging orders or an apparatus of merging orders to which embodiments of the present invention may be applied.
As shown in fig. 5, a system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505 (this architecture is merely an example, and the components contained in a particular architecture may be tailored to the application specific case). The network 504 is used as a medium to provide communication links between the terminal devices 501, 502, 503 and the server 505. The network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 505 via the network 504 using the terminal devices 501, 502, 503 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 501, 502, 503, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 501, 502, 503 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 505 may be a server providing various services, such as a background management server (by way of example only) providing support for shopping-type websites browsed by users using the terminal devices 501, 502, 503. The background management server may process the received product information query request and the like, and feed back the processing result (e.g., the target push information, the product information—just an example) to the terminal device.
It should be noted that, the method for merging orders provided in the embodiment of the present invention is generally executed by the server 505, and accordingly, the device for merging orders is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The invention also provides electronic equipment. The electronic equipment of the embodiment of the invention comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method for merging orders provided by the invention.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use in implementing an electronic device of an embodiment of the present invention. The electronic device shown in fig. 6 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the computer system 600 are also stored. The CPU601, ROM 602, and RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 610 as necessary, so that a computer program read out therefrom is installed into the storage section 608 as necessary.
In particular, the processes described in the main step diagrams above may be implemented as computer software programs according to the disclosed embodiments of the invention. For example, embodiments of the present invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the main step diagrams. In the above-described embodiment, the computer program can be downloaded and installed from a network through the communication section 609 and/or installed from the removable medium 611. The above-described functions defined in the system of the present invention are performed when the computer program is executed by the central processing unit 601.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, a computer readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes a control unit and a merging unit. The names of these units do not in any way constitute a limitation of the unit itself, for example the control unit may also be described as "unit delivering a closing wait time to the merging unit".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by the device, cause the device to perform steps comprising: before the target order is sent to a warehouse for production, the target order is made to wait according to the preset order closing waiting time length; if at least one to-be-produced order meeting the preset closing condition exists in the closing waiting time, combining the to-be-produced order and the target order into one order, and sending the order to a warehouse for production; wherein, the single condition of closing includes: the to-be-produced order and the target order correspond to the same warehouse, the same receiving time period and the same receiving address.
In the technical scheme of the embodiment of the invention, before the to-be-produced order is sent to a warehouse for production, waiting is carried out according to the preset order closing waiting time; if there are other orders to be produced corresponding to the same user, the same warehouse, the same receiving time period and the same receiving address in the order closing waiting time period, all the orders to be produced are combined for production. Therefore, orders suitable for combination can be combined on the premise that the production of the order being produced is not affected, so that resource waste of printing orders, packaging boxes and the like in the warehouse picking and packaging links is reduced, the packaging quantity of the packaging links is reduced, the order production efficiency is improved, the distribution cost is reduced, and the user experience is improved. When judging whether an order to be produced is waiting, the following modes are combined for judging: firstly, judging whether an order to be produced is an emergency order; secondly, judging whether a user corresponding to an order to be produced is a specific user with continuous ordering characteristics or not according to historical order data; judging whether specific commodities with continuous ordering characteristics exist in the to-be-produced order according to the historical order data; in addition, whether the time of the receipt is exceeded after the waiting time of the receipt is judged. The four kinds of judgment are taken into consideration of the order attribute, the user attribute and the order commodity attribute obtained from big data and the risk of missing the production wave number due to waiting for the order, so that whether the order is required to be closed or not is accurately judged. In practical application, a certain strategy can be set according to service requirements, and one or more modes are selected for judgment. And analyzing the historical order data to obtain a continuous ordering time interval of a user corresponding to the order to be produced and a continuous ordering time interval of a specific commodity, thereby determining the closing waiting time of the order to be produced, and avoiding that the order cannot be produced for a long time because the closing waiting time is too short or the closing waiting time is too long.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (6)

1. A method of merging orders, comprising:
Before the target order is sent to a warehouse for production, the target order is made to wait according to the preset order closing waiting time length;
if at least one to-be-produced order meeting the preset closing condition exists in the closing waiting time, combining the to-be-produced order and the target order into one order, and sending the order to a warehouse for production; wherein,
The single condition includes: the to-be-produced order and the target order correspond to the same user, the same warehouse, the same receiving time period and the same receiving address;
The method further comprises: judging whether the target order is a non-urgent order; judging whether the user corresponding to the target order is a specific user or not according to the historical order data; wherein, specific users are: continuously placing the users with orders with times greater than a preset threshold value in a preset first historical time period; the continuously placing orders includes: placing an order again for a first period of time after placing an order; judging whether the target order contains specific commodities according to the historical order data; wherein, specific commodity is: re-placing orders by users with a proportion greater than a preset proportion in a second time period after placing orders containing the specific commodity in a preset second historical time period; judging whether the time of the cut-off of the target order is not exceeded after waiting according to the closing waiting time; the closing waiting time is the maximum value of the first time and the second time; and when the four judging results are yes, enabling the target order to wait according to the closing waiting time.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
Combining the to-be-produced order and the target order into one order, which specifically comprises the following steps: determining the data of the combined order according to the data of the to-be-produced order and the data of the target order, and setting an order number for the combined order; and
The method further comprises: and storing the data of the order to be produced, the data of the target order and the data of the combined order in a database, and creating an index for the order number field of the order to be produced, the order number field of the target order and the order number field of the combined order.
3. An apparatus for merging orders, comprising:
The control unit is used for enabling the target order to wait according to the preset order closing waiting time before the target order is sent to the warehouse for production;
The merging unit is used for merging the to-be-produced order and the target order into an order and sending the order to a warehouse for production if at least one to-be-produced order meeting the preset closing condition exists in the closing waiting time; wherein, the single condition of closing includes: the to-be-produced order and the target order correspond to the same user, the same warehouse, the same receiving time period and the same receiving address;
The second judging unit is used for judging whether the target order is a non-urgent order or not; judging whether the user corresponding to the target order is a specific user or not according to the historical order data; wherein, specific users are: continuously placing the users with orders with times greater than a preset threshold value in a preset first historical time period; the continuously placing orders includes: placing an order again for a first period of time after placing an order; judging whether the target order contains specific commodities according to the historical order data; wherein, specific commodity is: re-placing orders by users with a proportion greater than a preset proportion in a second time period after placing orders containing the specific commodity in a preset second historical time period; judging whether the time of the cut-off of the target order is not exceeded after waiting according to the closing waiting time; the closing waiting time is the maximum value of the first time and the second time; and when the four judging results are yes, enabling the target order to wait according to the closing waiting time.
4. The apparatus of claim 3, wherein the merging unit is further configured to:
Determining the data of the combined order according to the data of the to-be-produced order and the data of the target order, and setting an order number for the combined order; and storing the data of the order to be produced, the data of the target order and the data of the combined order in a database, and creating an index for the order number field of the order to be produced, the order number field of the target order and the order number field of the combined order.
5. An electronic device, comprising:
One or more processors;
Storage means for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of claim 1 or 2.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to claim 1 or 2.
CN201810986950.4A 2018-08-28 2018-08-28 Method and device for merging orders Active CN110866709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810986950.4A CN110866709B (en) 2018-08-28 2018-08-28 Method and device for merging orders

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810986950.4A CN110866709B (en) 2018-08-28 2018-08-28 Method and device for merging orders

Publications (2)

Publication Number Publication Date
CN110866709A CN110866709A (en) 2020-03-06
CN110866709B true CN110866709B (en) 2024-05-24

Family

ID=69651382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810986950.4A Active CN110866709B (en) 2018-08-28 2018-08-28 Method and device for merging orders

Country Status (1)

Country Link
CN (1) CN110866709B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461842A (en) * 2020-04-09 2020-07-28 深圳百胜扬工业电子商务平台发展有限公司 Product ordering processing method and device for industrial e-commerce
CN113298451A (en) * 2020-04-30 2021-08-24 阿里巴巴集团控股有限公司 Distribution method, distribution device, distribution equipment and storage medium
CN113421140A (en) * 2020-05-11 2021-09-21 阿里巴巴集团控股有限公司 Order processing method, device and system and electronic equipment
CN113689155A (en) * 2020-05-18 2021-11-23 北京京东乾石科技有限公司 Warehouse-out method and warehouse-out device
CN113706064A (en) * 2020-05-21 2021-11-26 北京京东振世信息技术有限公司 Order processing method and device
CN111709802B (en) * 2020-06-12 2024-01-12 北京思特奇信息技术股份有限公司 Order processing method and device
CN113762835A (en) * 2020-08-24 2021-12-07 北京京东振世信息技术有限公司 Method and device for processing order data
CN112150257B (en) * 2020-11-26 2021-03-26 炬星科技(深圳)有限公司 Order processing method, cloud system, electronic device and storage medium
CN113822615A (en) * 2021-02-04 2021-12-21 北京京东振世信息技术有限公司 Order distribution method and device, readable storage medium and electronic equipment
CN113626472B (en) * 2021-08-10 2023-09-05 北京京东振世信息技术有限公司 Method and device for processing order data
CN114925090A (en) * 2022-04-28 2022-08-19 江苏康众汽配有限公司 Multi-rule order-combining goods issuing method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899778A (en) * 2015-06-30 2015-09-09 程强 Order updating method during order information updating and ordering system
CN105741065A (en) * 2016-01-25 2016-07-06 上海万琛电子商务有限公司 Warehouse management system
CN106600178A (en) * 2015-10-19 2017-04-26 阿里巴巴集团控股有限公司 Service data processing method and apparatus thereof
CN106886873A (en) * 2017-01-24 2017-06-23 武汉奇米网络科技有限公司 The conjunction folk prescription method and conjunction single system of a kind of e-commerce order
CN107844933A (en) * 2017-09-21 2018-03-27 北京小度信息科技有限公司 order processing method and device
WO2018064937A1 (en) * 2016-10-08 2018-04-12 阿里巴巴集团控股有限公司 Order information processing method, apparatus and system
CN108009869A (en) * 2017-08-16 2018-05-08 北京嘀嘀无限科技发展有限公司 Order processing method, apparatus, server and computer-readable recording medium
CN108171561A (en) * 2017-11-29 2018-06-15 商派软件有限公司 A kind of full channel order merging treatment method
CN108305033A (en) * 2018-02-11 2018-07-20 中国联合网络通信集团有限公司 A kind of allocator and device based on users to share

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899778A (en) * 2015-06-30 2015-09-09 程强 Order updating method during order information updating and ordering system
CN106600178A (en) * 2015-10-19 2017-04-26 阿里巴巴集团控股有限公司 Service data processing method and apparatus thereof
CN105741065A (en) * 2016-01-25 2016-07-06 上海万琛电子商务有限公司 Warehouse management system
WO2018064937A1 (en) * 2016-10-08 2018-04-12 阿里巴巴集团控股有限公司 Order information processing method, apparatus and system
CN106886873A (en) * 2017-01-24 2017-06-23 武汉奇米网络科技有限公司 The conjunction folk prescription method and conjunction single system of a kind of e-commerce order
CN108009869A (en) * 2017-08-16 2018-05-08 北京嘀嘀无限科技发展有限公司 Order processing method, apparatus, server and computer-readable recording medium
CN107844933A (en) * 2017-09-21 2018-03-27 北京小度信息科技有限公司 order processing method and device
CN108171561A (en) * 2017-11-29 2018-06-15 商派软件有限公司 A kind of full channel order merging treatment method
CN108305033A (en) * 2018-02-11 2018-07-20 中国联合网络通信集团有限公司 A kind of allocator and device based on users to share

Also Published As

Publication number Publication date
CN110866709A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN110866709B (en) Method and device for merging orders
CN107909261B (en) Order pushing method and device
US20190066014A1 (en) Work task assignment method, apparatus and computing system
CN110019330B (en) Information output method and device
CN110826831A (en) Method and device for restocking a picking zone of a warehouse
CN110348650B (en) Order converging method and device
US20210312359A1 (en) Method and device for scheduling automated guided vehicle
CN112884405A (en) Inquiry system and scheduling method thereof
CN113762858A (en) Inventory management method and device
CN110738436A (en) method and device for determining available stock
CN111179080B (en) Order processing method and order processing device
CN114819861A (en) Information publishing method and device for logistics freight platform
CN111461583B (en) Inventory checking method and device
CN112181628B (en) Resource transfer method, device, system and electronic equipment
CN113393193A (en) Warehouse-out method and device
CN113780915A (en) Service docking method and device
CN116777324A (en) Logistics network scheduling method and device
CN109902847B (en) Method and device for predicting amount of orders in branch warehouse
CN113112048A (en) Method and device for returning articles to warehouse
US20240054451A1 (en) Inventory information processing method and device
CN115525665A (en) Information processing method and device, electronic equipment and computer readable medium
CN110807610A (en) Distribution method and device
CN113762863B (en) Inventory management method and device
CN113762835A (en) Method and device for processing order data
CN111260269A (en) Store order processing method and device for improving distribution efficiency

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant