Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 schematically shows an order placement control method of an exemplary embodiment of the present invention. Referring to fig. 1, the order issuance control method may include the steps of:
step S102, obtaining the target order and the target delivery address and the first scheduled delivery time thereof from the order task set.
And step S104, determining a virtual node and a destination node corresponding to the target delivery address according to the target delivery address, wherein the delivery addresses in the same departure delivery time in the plurality of delivery addresses corresponding to the destination node are divided into the same virtual node.
And step S106, determining a target routing path and normal routing time thereof according to the destination node, wherein the target routing path comprises an initial node and the destination node.
Step S108, if the target routing path is in a normal state, acquiring first issuing time for issuing the target order to the starting node according to the first preset distribution time and the normal routing time.
By adopting the technical scheme of the embodiment of the invention, the issuing time of the target order is determined according to the distribution address of the target order and the preset distribution time, the distribution rhythm is not controlled according to the operation production, but the distribution rhythm is controlled according to the preset distribution time, so that the collective and separate distribution can be carried out according to the requirements of customers, and the waste of bin distribution production energy in the operation production process is reduced.
Here, the first scheduled delivery time may be determined based on a time selected by the client from the departure delivery times corresponding to the target delivery addresses at the destination node, or may be determined based on the departure delivery times corresponding to the target delivery addresses at the destination node.
As shown in fig. 2, the customer selects one of the delivery dates and time periods that can be selected in the system as the scheduled delivery time. The selected delivery time may be saved as the first scheduled delivery time in the order task set along with the delivery address of the target order.
Here, the selectable delivery dates in the system may be determined according to the departure delivery time of the target routing path. Based on the departure delivery time, the system gives the customer the option of making a delivery date selection. Therefore, the delivery date set by the customer is limited and centralized, the delivery in a centralized and single mode is facilitated, and the waste of warehouse production allocation energy is reduced.
The system shown in fig. 2 can select the delivery date, which is set according to the departure frequency of once every two days, and the delivery is performed on a single day.
In addition, the first scheduled delivery time may also be determined by the system based on the departure delivery time of the target routing path. Wherein, the departure delivery time is determined by the system according to the delivery traffic and the delivery capacity. The determination of the departure delivery time and the first preset delivery time is beneficial to performing order collection, the delivery times are reduced, and the waste of warehouse production allocation energy is reduced.
The logistics path of order delivery shown in fig. 3 is a collective delivery that is delivered every two days. Here, the destination node corresponds to a plurality of delivery addresses.
In the embodiment of the invention, the distribution addresses corresponding to the same departure distribution time of the destination node in the plurality of distribution addresses are divided into the same virtual node.
In practical applications, the departure frequency in the departure distribution time is not limited to once every two days, and may be set to once every three days or every N days, where N is a natural number and N > 3. In addition, the departure delivery may not be set at a fixed departure frequency but may be set unevenly in departure delivery time.
As shown in FIG. 3, the originating node 301 may be a foreign warehouse, the destination node 302 may be a previous delivery site of a predetermined delivery address, and the virtual node 303 and the virtual node 304 are different sets of delivery addresses.
As shown in FIG. 4, fulfillment platform 401 may create and modify order task sets and may set departure delivery times by setting virtual departure calendar 402.
In step S104 and step S106 of the embodiment of the present invention, the upper-level delivery site of the predetermined delivery address is used as the destination node, and the foreign warehouse is used as the start node, so as to obtain the target routing path.
And determining the normal routing time of the target routing path according to the weather, road conditions, the time of entering the port of the intermediate node, the time of leaving the port and other information of the traffic route on the target routing path.
In the embodiment of the present invention, when the first issuance time is obtained in step S108, after the departure distribution time corresponding to the distribution address of the destination node is obtained, the first issuance time may be obtained according to the departure distribution time, the first predetermined distribution time and the normal routing time.
For example, if the departure frequency is delivery every two days, a single day delivery, assuming the first scheduled delivery time is 3 months and 4 days, combined with a normal routing time of 24 hours, the resulting first departure time may be 3 months and 3 days at 0 am.
If the departure frequency is delivery every two days, single day delivery, assuming the first scheduled delivery time is 3 months and 4 days, combined with the normal routing time of 24 hours, the resulting first departure time is perhaps 0 am on 3 months and 2 days.
As shown in fig. 5, the order issuing control method provided in the embodiment of the present invention is different from the above embodiment in that the method may further recalculate the issuing time of the order issued to the starting node when the target routing path is in an abnormal state, and may include the following two different second issuing time calculation methods.
The target routing path may include an intermediate node. And if any one or more of the starting node, the intermediate node, the destination node, the routing path between the starting node and the intermediate node and the routing path between the intermediate node and the destination node are abnormal, judging that the target routing path is in an abnormal state.
The abnormal state of the target routing path may be caused by various reasons such as weather, traffic conditions, and unexpected stay of the intermediate node.
Specifically, as shown in fig. 5, step S502 is: and obtaining the departure and distribution time of the destination node corresponding to the distribution address. After steps S501 and S502 are executed, step S503 is executed to determine whether the target routing path is in an abnormal state.
Here, when the target routing path is in an abnormal state, the routing time of the target routing path changes, and the issuing time of the target order changes accordingly. And judging whether the target routing path is abnormal or not, and recalculating the issuing time of the target order when the target routing path is abnormal, so that the issuing time of the target order can be obtained more reasonably.
For example, under the traffic condition that the sudden drop snow road is slippery or a large traffic accident occurs on the target routing path, the abnormal routing time of the target routing path is obviously longer than the normal routing time, so that the second issuing time of issuing the target order to the starting node can be obtained by calculating according to the abnormal routing time, and the order can be timely delivered.
If the determination result is no, step S504 is executed, and if the determination result is yes, step S505 is executed, that is, the abnormal routing time of the target routing path is determined.
Then, step S506 is executed to determine whether the sum of the current time and the abnormal routing time is greater than a first predetermined delivery time.
If the determination result in the step S506 is "no", step S508 is executed, that is, according to the first predetermined distribution time and the abnormal routing time, a second issuing time for issuing the target order to the starting node is obtained. If the determination result in the step S506 is yes, step S507 is executed, that is, a second scheduled distribution time of the target order is determined according to the departure distribution time, and a second issuing time for issuing the target order to the start node is obtained according to the second scheduled distribution time and the normal routing time.
Specifically, when the target routing path is in an abnormal state, the abnormal routing time of the target routing path is determined to be 48 hours. When the first preset distribution time is 3-month-6-day and the current time is 3-month-5-day 14-point, it is known that the sum of the current time and the abnormal routing time is greater than the first preset distribution time, at this time, the dispatching time is once every two days, when the double-day distribution is performed, the second preset distribution time of the target order can be determined to be 3-month-8-day according to the dispatching time, and the second issuing time for issuing the target order to the starting node is obtained to be 3-month-6-day-0-point.
Specifically, when the target routing path is in an abnormal state, the abnormal routing time of the target routing path is determined to be 48 hours. When the first preset distribution time is 3 months and 6 days, and the current time is 3 months and 3 days, and 8 points, the sum of the current time and the abnormal routing time is not more than the first preset distribution time, and at this time, a second issuing time for issuing the target order to the starting node is 3 months and 4 days, and 0 point can be obtained.
In the order issuing control method provided in some embodiments of the present invention, the first issuing time for issuing the target order to the delivery start node is finally obtained by obtaining the delivery address and the predetermined delivery time of the target order, and the target routing path and the normal routing time obtained from the delivery address, so that order issuing is performed according to the delivery address and the predetermined delivery time, and the bin allocation production energy waste in the operation production process is reduced.
In addition, when the target routing path is abnormal, the second issuing time of the target order issued to the starting node is obtained again, or the second issuing time of the target order issued to the starting node is obtained again after the second preset distribution time is determined, so that the bin allocation production energy waste in the operation production process is reduced, the order is guaranteed to be timely delivered, and the customer experience is improved.
The following describes embodiments of the apparatus of the present invention, which can be used to implement the above-mentioned order placing control method of the present invention. Referring to fig. 6, an order issuing control apparatus 600 provided in an embodiment of the present invention may include: an obtaining unit 602, a first determining unit 604, and a first obtaining unit 606.
The obtaining unit 602 may be configured to obtain the target order and its delivery address and first scheduled delivery time from the order task set.
The first determining unit 604 may be configured to determine a virtual node and a destination node corresponding to a target delivery address according to the target delivery address, where delivery addresses in a same departure delivery time in a plurality of delivery addresses corresponding to the destination node are divided into the same virtual node.
The second determining unit 606 may be configured to determine a target routing path and a normal routing time thereof according to the destination node, where the target routing path includes the start node and the destination node.
A first obtaining unit 608, configured to obtain, if the target routing path is in a normal state, a first issuance time for issuing the target order to the start node according to the first predetermined distribution time and the normal routing time.
By adopting the technical scheme of the embodiment of the invention, the issuing time of the target order is determined according to the distribution address of the target order and the preset distribution time, the distribution rhythm is not controlled according to the operation production, but the distribution rhythm is controlled according to the preset distribution time, so that the collective and separate distribution can be carried out according to the requirements of customers, and the waste of bin distribution production energy in the operation production process is reduced.
The first obtaining unit 608 is further configured to: obtaining departure and distribution time of the destination node corresponding to the distribution address; and obtaining a first sending time according to the departure delivery time, the first preset delivery time and the normal routing time.
The departure frequency system is determined based on the delivery traffic and delivery capacity. The determination of the departure frequency and the first preset distribution time is beneficial to performing order collection, the distribution times are reduced, and the waste of warehouse distribution energy is reduced.
According to an exemplary embodiment of the present invention, referring to fig. 7, the order issuance control apparatus 700 includes not only the acquisition unit 602, the first determination unit 606, the second determination unit 606, and the first acquisition unit 608, but also the second acquisition unit 702, the third determination unit 704, and the fourth determination unit 706, as compared to the order issuance control apparatus 600.
When the target routing path is in an abnormal state, the routing time of the target reason path changes, and the issuing time of the target order changes at any time. And judging whether the target routing path is abnormal or not, and recalculating the issuing time of the target order when the target routing path is abnormal, so that the issuing time of the target order can be obtained more reasonably.
When the target routing path is abnormal, the new issuing time of the target order, that is, the second order issuing time, needs to be acquired.
Specifically, the second obtaining unit 702 is configured to obtain the departure delivery time of the destination node corresponding to the delivery address.
The third determining unit 704 is configured to determine an abnormal routing time of the target routing path if the target routing path is in an abnormal state.
When the second order issuing time is obtained, if the sum of the current time and the abnormal routing time is greater than the first predetermined distribution time, the fourth determining unit 706 determines the second predetermined distribution time of the target order according to the departure distribution time. The first obtaining unit 606 obtains a second issuing time for issuing the target order to the start node according to the second predetermined distribution time and the normal routing time.
When the second order issuing time is obtained, if the sum of the current time and the abnormal routing time is less than or equal to the first predetermined distribution time, the first obtaining unit 606 obtains the second issuing time for issuing the target order to the start node according to the first predetermined distribution time and the abnormal routing time.
For details that are not disclosed in the embodiment of the apparatus of the present invention, please refer to the above-mentioned embodiment of the order issuing control method of the present invention for the functional modules of the repeater in the example embodiment of the present invention correspond to the steps in the example embodiment of the order issuing control method.
The order issuing control device provided by the embodiment of the invention finally obtains the first issuing time for issuing the target order to the delivery starting node by obtaining the delivery address and the preset delivery time of the target order, and the target routing path and the normal routing time obtained by the delivery address, thereby realizing order issuing according to the delivery address and the preset delivery time and reducing the bin allocation production energy waste in the operation production process.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use in implementing an electronic device of an embodiment of the present invention. The computer system 800 of the electronic device shown in fig. 8 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the 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 illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, 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, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present 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 described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device implements the order placing control method as described in the above embodiments.
For example, the electronic device may implement the following as shown in fig. 1: step S102, obtaining a target order and a delivery address thereof and first preset delivery time from an order task set; step S104, determining a virtual node and a destination node corresponding to the target delivery address according to the target delivery address, wherein delivery addresses in the same departure delivery time in a plurality of delivery addresses corresponding to the destination node are divided into the same virtual node; step S106, determining a target routing path and normal routing time thereof according to the destination node, wherein the target routing path comprises an initial node and a destination node; step S108, if the target routing path is in a normal state, obtaining a first issuing time for issuing the target order to the starting node according to the first preset distribution time and the normal routing time.
As another example, the electronic device may implement the steps shown in fig. 5.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.