Order issuing control method and device, electronic equipment and storage medium
By configuring the first order control mode in the order delivery business, obtaining abnormal information and determining the order issuance time according to the delivery rules, the problem of order accumulation and low fulfillment rates caused by abnormal situations is solved, and dynamic control of orders and efficient fulfillment of orders is achieved. .
Patent Information
- Application Number
- CN202310967261.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-14
AI Technical Summary
In order delivery business, there are problems of order accumulation and low timeliness fulfillment rates due to various abnormal situations (such as holiday suspension, traffic control, bad weather, etc.).
Provide an order issuance control method, by configuring the first control mode in the target order, obtaining abnormal information, determining the first issuance time of the order based on the delivery rules and abnormal information, and the current time is less than the first time of the delivery time pause the issuance and monitor the relevant information until the first issuance time is reached.
By dynamically controlling order issuance, order accumulation and operational abnormalities caused by abnormal situations are avoided, and timely fulfillment rate and user experience are improved.
Smart Images

Figure CN119444342A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an order issuing control method and device, an electronic device, and a storage medium. Background Art
[0002] In the order delivery business, the operational production capacity is generally used to control the delivery rhythm. However, various abnormal situations often occur in the actual delivery process, such as holiday suspension of operations, traffic control, bad weather, etc., which will cause a large number of orders to pile up in a certain business link, affecting normal business operations, reducing the order timeliness fulfillment rate, and affecting user experience.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] The purpose of the embodiments of the present disclosure is to provide an order placement control method and device, an electronic device, and a storage medium, thereby solving to a certain extent the problems in the related art of abnormal business operations, low timeliness fulfillment rate, and poor user experience caused by various abnormal situations.
[0005] According to a first aspect of the present disclosure, a method for controlling order issuance is provided, the method comprising: in a case where a target order includes a first order control mode, obtaining exception information corresponding to the first order control mode, the first order control mode being order control based on abnormal situations; determining a first issuance time of the target order according to the delivery rule and the exception information of the target order; in response to a current time being less than the first transmission time, controlling the target order to be suspended from issuance, and monitoring relevant information of the target order; in response to a change in the relevant information of the target order, re-determining the first issuance time of the target order according to the changed information, until the current time reaches the first issuance time, and controlling issuance of the target order.
[0006] Optionally, the distribution rules include a first timeliness-related item in the warehousing dimension, a second timeliness-related item in the distribution dimension, and a third timeliness-related item in the address dimension. According to the distribution rules and exception information of the target order, the first release time of the target order is determined, including: according to the third timeliness-related item, obtaining the destination address fence information corresponding to the target order; calling the timeliness node to determine the first time of the target order in the warehousing dimension according to the first timeliness-related item, the timeliness node is used to calculate the flow time of each business node, and the business node includes the business flow nodes of the warehousing dimension and the distribution dimension; calling the timeliness node to determine the second time of the target order in the distribution dimension according to the second timeliness-related item and the destination address fence information; determining the first release time of the target order according to the exception information, the first time and the second time.
[0007] Optionally, the exception information includes the cause of the exception, and the first release time of the target order is determined based on the exception information, the first time and the second time, including: determining the exception end time based on the cause of the exception; in response to the sum of the current time and the first time and the second time being less than the exception end time, determining the exception end time as the first release time; in response to the sum of the current time and the first time and the second time being greater than the exception end time, determining the current time as the first release time.
[0008] Optionally, after controlling the target order to be suspended, the method further includes: updating the state information of the target order to a suspended state; and storing the relevant information of the order in the suspended state in a target database in segments. Monitoring the relevant information of the target order includes: scanning the relevant information of the order in the target database through a scheduled task to determine whether the relevant information of the order has changed.
[0009] Optionally, based on the changed information, the first delivery time of the target order is re-determined, including: sharding and querying the changed information of the target order from the target database; synchronizing the changed information of the target order to the message queue; calling the timeliness node and consuming the changed information of the target order in the message queue to determine the first delivery time of the target order.
[0010] Optionally, the delivery rules also include a second order control mode, and the method also includes: when the target order includes the second order control mode, obtaining the user-specified delivery time of the target order, the second order control mode is order control based on timeliness requirements; determining the second delivery time of the target order according to the user-specified delivery time, the first time and the second time; and using the later of the first delivery time and the second delivery time as the delivery time of the target order.
[0011] Optionally, the second delivery time of the target order is determined based on the user-specified delivery time, the first time and the second time, including: in response to the sum of the current time and the first time and the second time being less than the user-specified delivery time, determining the user-specified delivery time as the second delivery time; in response to the sum of the current time and the first time and the second time being greater than the user-specified delivery time, determining the current time as the second delivery time.
[0012] According to a second aspect of the present disclosure, there is provided an order issuance control device, the device comprising: an exception acquisition module, configured to, when a target order includes a first order control mode, acquire exception information corresponding to the first order control mode, the first order control mode being order control based on abnormal situations; a first determination module, configured to determine a first issuance time of the target order according to the delivery rule and the exception information of the target order; the first order control module, configured to, in response to a current time being less than the first transmission time, control the suspension of issuance of the target order and monitor relevant information of the target order; an order issuance module, configured to, in response to a change in relevant information of the target order, re-determine the first issuance time of the target order according to the changed information, until the current time reaches the first issuance time, and control issuance of the target order.
[0013] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method of any of the above embodiments is implemented.
[0014] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a storage device for one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to execute the method of any of the above embodiments.
[0015] The exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:
[0016] In the order issuing control method provided in the exemplary implementation of the present disclosure, on the one hand, a specific order control mode can be configured for various abnormal situations, that is, the first order control mode. When the order is in this mode, the corresponding abnormal information can be triggered to carry out the abnormal order control process, so as to realize the active control of orders in abnormal situations, thereby avoiding the order accumulation and operation abnormality problems caused by abnormal situations, and improving the timeliness fulfillment rate. On the other hand, according to the distribution rules and abnormal information of the target order, the first issuing time of the target order is determined. When the current time is less than the first transmission time, the target order is controlled to be suspended, and the relevant information of the target order is monitored. After the relevant information of the target order changes, the first issuing time is recalculated, and the cycle is repeated until the current time reaches the first issuing time, and the target order is controlled to be issued. By monitoring the suspended orders, the dynamic control of such orders in abnormal situations is realized, and the control accuracy of such orders is improved, and the order can be issued and delivered on demand, and the resource utilization rate of the warehousing and distribution links in the order delivery business can be improved.
[0017] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0019] Figure 1 One of the flowcharts of the order issuing control method according to an embodiment of the present disclosure is schematically shown.
[0020] Figure 2 A control process flow chart of the first control mode in an embodiment of the present disclosure is schematically shown.
[0021] Figure 3 A control process flow chart of the second control mode in an embodiment of the present disclosure is schematically shown.
[0022] Figure 4 The second flowchart of the order issuing control process according to an embodiment of the present disclosure is schematically shown.
[0023] Figure 5 The structural block diagram of an order issuing control device according to an embodiment of the present disclosure is schematically shown.
[0024] Figure 6 A block diagram of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0025] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0026] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0027] The example of the present invention provides an exemplary system diagram of an application scenario of an order placement control method and device, and the system includes a terminal and a server. The method of this embodiment can be applied to a server. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, or a node in a blockchain.
[0028] For example, in the process of order flow from being sent to the warehouse, the order system sends the order to the order control platform. The order control platform can control the order according to the order control mode, so that the order can be sent to the warehouse for production and subsequent distribution in a timely manner according to the actual situation.
[0029] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted device, etc., but is not limited thereto. When the order placement control method provided in this embodiment is implemented through the interaction between the terminal and the server, the terminal and the server may be directly or indirectly connected via wired or wireless communication, and the present disclosure does not limit this.
[0030] The order issuing control method provided in the embodiment of the present disclosure may be executed on a server, and accordingly, the order issuing control device is generally arranged in the server.
[0031] The following describes the order placement control method disclosed in the embodiments of this specification in conjunction with specific embodiments.
[0032] refer to Figure 1 As shown, an order placement control method of an example implementation provided by the present disclosure can be applied to various order control platforms and may include the following steps.
[0033] Step S110, when the target order includes a first order control mode, obtain abnormal information corresponding to the first order control mode, and the first order control mode is order control based on abnormal situations.
[0034] Step S120, determining the first delivery time of the target order according to the delivery rule and exception information of the target order.
[0035] Step S130, in response to the current time being less than the first download time, controlling the target order to be suspended from being sent, and monitoring relevant information of the target order.
[0036] Step S140, in response to changes in relevant information of the target order, re-determine the first delivery time of the target order according to the changed information, until the current time reaches the first delivery time, and control the delivery of the target order.
[0037] In the order issuing control method provided in this example implementation, on the one hand, a specific order control mode can be configured for various abnormal situations, that is, the first order control mode. When the order is in this mode, the corresponding abnormal information can be triggered to carry out the abnormal order control process, so as to realize the active control of orders in abnormal situations, thereby avoiding the order accumulation and operational abnormality problems caused by abnormal situations, and improving the timeliness fulfillment rate. On the other hand, according to the distribution rules and abnormal information of the target order, the first issuing time of the target order is determined. When the current time is less than the first transmission time, the target order is controlled to be suspended, and the relevant information of the target order is monitored. After the relevant information of the target order changes, the first issuing time is recalculated, and the cycle is repeated until the current time reaches the first issuing time, and the target order is controlled to be issued. By monitoring the suspended orders, the dynamic control of such orders under abnormal circumstances is realized, and the control accuracy of such orders is improved. It can realize the on-demand issuance and distribution of orders, and improve the resource utilization rate of the warehousing and distribution links in the order distribution business.
[0038] Each step is described in further detail below.
[0039] In step S110, when the target order includes the first order control mode, abnormal information corresponding to the first order control mode is obtained.
[0040] In this example implementation, the target order may be an order received from another system (such as an order system or a third-party platform, etc.). The first order control mode is order control based on abnormal situations. The first order control mode may be configured on the order control platform according to actual conditions. When an abnormal situation occurs, the first order control mode may be configured on the order control platform. For example, the business flow process of an order may be divided into different business nodes, and a head node corresponding to the first order control mode may be configured in the order control process so that each order passes through the head node to implement corresponding order control.
[0041] In this example implementation, an abnormal situation refers to an abnormal situation in the delivery environment that affects the normal delivery of an order, which may include holiday suspensions (such as Spring Festival suspensions), abnormal / bad weather, traffic control, operational abnormalities, etc., which are not limited in this example. Abnormal information refers to information associated with abnormal situations that affects the timeliness of an order. The first order control mode may include the following order control information: order control start and end time, order control reason, etc., and may also include other order control attributes such as order control identification and order control type, which are not limited in this example. Accordingly, the abnormal information may include abnormal start and end time, abnormal reason, abnormal code, abnormal type, etc., which are not limited in this example.
[0042] In step S120, the first delivery time of the target order is determined according to the delivery rule and exception information of the target order.
[0043] In this example implementation, the delivery rules refer to the information related to the delivery timeliness during the order flow process. The delivery rules can be configured for different order control modes, or they can be configured uniformly for different order control modes. This example does not limit this. The delivery rules can include multiple dimensions such as warehousing dimension, delivery dimension, and address dimension. Each dimension can include timeliness-related items of the dimension.
[0044] Exemplarily, the delivery rule includes a first time-related item in the warehousing dimension, a second time-related item in the delivery dimension, and a third time-related item in the address dimension. Figure 2 , the first release time of the target order can be determined according to the following steps.
[0045] Step S201, obtaining the destination address fence information corresponding to the target order according to the third time-related item.
[0046] In this example implementation, the third timeliness-related item refers to information related to the order timeliness in the address dimension. Such as the address accuracy and / or address type of the starting address and the destination address, the address accuracy may include high, medium, and low levels, and the address type may include a latitude and longitude address or a level address (such as an address formed from large to small according to the jurisdiction, i.e., xx province xx city xx county / district xx town). For example, when the address accuracy of the third timeliness-related item is configured to be high, the address fence information of the destination address, i.e., the geographic fence information of the destination address, may be obtained from the Geographic Information System (GIS), which may be the latitude and longitude range of the destination address.
[0047] Step S202, calling the timeliness node, and determining the first time required for the target order in the warehousing dimension according to the first timeliness related item.
[0048] In this example implementation, the timeliness node is used to calculate the circulation time of each business node, and the business node includes each business circulation node in the warehousing dimension and the distribution dimension. The timeliness node can be configured according to the actual situation. For example, the timeliness node can be various fulfillment systems in the logistics industry (such as an order timeliness commitment center). The first timeliness-related item may include one or more timeliness-related items such as distribution center, warehouse, warehouse address level, merchant type, channel, and business unit type, and the timeliness (such as the time it takes for an order to be sent to a warehouse) is calculated by meeting the timeliness requirements of various related items.
[0049] Step S203, calling the timeliness node, and determining the second time required for the target order in the delivery dimension according to the second timeliness related item and the destination address fence information.
[0050] In this example implementation, the second time-limited items may include one or more related items such as mode of transport (such as sea, land, or air), type of transport (such as LTL or full truckload), destination address level (such as province, city, or county), merchant type (such as large-item merchant or small-item merchant), and cut-off time (such as the loading cut-off time before departure). The delivery distance is determined by the destination address fence information, and on this basis, the order timeliness (warehouse time) is calculated by satisfying the timeliness requirements of each second time-limited item.
[0051] Step S204, determining the abnormal end time according to the abnormal cause.
[0052] In this example implementation, the abnormal end time can be determined based on the specific cause of the abnormality. For example, for holiday suspension of operations, the abnormal end time may be the end time of the holiday; for abnormal / bad weather, the abnormal end time may be the working hours after the weather returns to normal; the abnormal end time corresponding to traffic control may be the officially announced control end time; the abnormal end time corresponding to operational abnormalities may be the time when operations resume normal.
[0053] Step S205, determine whether the sum of the current time and the first time and the second time is greater than the abnormal end time, if so, go to step S206, otherwise, go to step S207.
[0054] Step S206, determining the current time as the first sending time.
[0055] Step S207, determining the abnormal end time as the first delivery time.
[0056] In this example implementation, if the sum of the current time and the first and second times is less than the abnormal end time, it means that the current time plus the order flow time has not reached the abnormal end, and the abnormal end time can be used as the first delivery time. If the sum of the current time and the first and second times is greater than the abnormal end time, it means that the current time plus the order flow time has ended the abnormal situation, and normal order control delivery can be performed, such as entering the normal order control process.
[0057] In step S130, in response to the current time being less than the first download time, the target order is controlled to be suspended from being sent, and relevant information of the target order is monitored.
[0058] In this example implementation, when the first download time has not yet arrived, the target order is controlled for abnormal conditions, that is, the order is controlled to be suspended, and the status of the target order is monitored in real time. When the order is canceled or downloaded, the corresponding data of the order can be removed from the control order list. The relevant information of the target order may include the status information of the target order, and may also include other attribute information of the target order, such as order type, order code, order level, order address, etc., which is not limited in this example.
[0059] In some embodiments, after controlling the target order to be suspended, the method also includes: updating the status information of the target order to a suspended state; storing the relevant information of the order in the suspended state in segments to the target database; and scanning the relevant information of the order in the target database through a scheduled task to determine whether the relevant information of the order has changed.
[0060] In this example implementation, the status information of the suspended target order is updated to a suspended state, and the relevant information of the order is stored in the target database in slices. The suspended orders can be stored in a control order list in the target database using slice storage technology, such as ElasticSearch, which provides a distributed multi-user full-text search engine. ElasticSearch divides the data into multiple shards, and multiple shards can form a complete set of data. These shards can be distributed in each machine node in the cluster. As the data continues to increase, the cluster can add multiple slices, and store multiple slices on multiple physical machines, which can achieve the effect of load balancing and horizontal expansion. This method can support millions of order control data and greatly improve the efficiency of order control.
[0061] In step S140, in response to changes in relevant information of the target order, the first delivery time of the target order is re-determined according to the changed information, and delivery of the target order is controlled until the current time reaches the first delivery time.
[0062] In this example implementation, the change in the relevant information of the target order may be one or more of the type and address of the target order, and the first delivery time may be re-determined based on the changed information. For example, when the address of the target order changes, its transportation route may change, and the corresponding abnormal situation (such as abnormal weather or traffic control, etc.) may change, and the order delivery time may be re-determined based on the changed information. When the type of the target order changes, its corresponding mode of transportation may change, thereby affecting the corresponding abnormal situation.
[0063] Exemplarily, based on the changed information, the first delivery time of the target order is re-determined, including: sharding and querying the changed information of the target order from the target database; synchronizing the changed information of the target order to the message queue; calling the timeliness node and consuming the changed information of the target order in the message queue to determine the first delivery time of the target order.
[0064] In this example implementation, for orders that need to be recalculated, relevant data is obtained from the target database through shard query and synchronized to the message queue. The first delivery time is determined by calling the time-effect node and consuming the data in the message queue. By querying the control order data through shards and combining the self-production and self-consumption data consumption method, it can support hundreds of servers to process the control order data at the same time, greatly improving the efficiency of the control order.
[0065] In some embodiments, the delivery rules also include a second order control mode, see Figure 3 , the method further comprises the following steps:
[0066] Step S301, when the target order includes the second order control mode, obtain the user-specified delivery time of the target order.
[0067] In this example implementation, the second order control mode is order control based on the user's timeliness requirements, that is, the order flow is controlled according to the user's timeliness requirements. The second order control mode can be configured according to the actual situation of the order or the logistics operation situation. The second order control mode can be configured simultaneously with the first order control mode, or it can be configured separately. This example does not limit this. The user-specified delivery time refers to the delivery time specified by the user when placing an order. If the user does not specify a delivery time, it can be considered as instant delivery or other default delivery methods. The specified time can flow with the order or be obtained from the order system. This example does not limit this.
[0068] Step S302, determine whether the sum of the current time and the first and second times is greater than the user-specified delivery time, if so, go to step S303, otherwise go to step S304.
[0069] Step S303, determine that the current time is the second sending time, and go to S305.
[0070] Step S304, determine that the user-specified delivery time is the second delivery time, and go to S305.
[0071] Step S305: The later time between the first delivery time and the second delivery time is used as the delivery time of the target order.
[0072] In this example implementation, the later of the first delivery time corresponding to the first order control mode and the second delivery time corresponding to the second order control mode can be used as the actual delivery time of the target order to meet both order control requirements.
[0073] For example, the implementation process of the order issuing control method disclosed in the present invention is as follows: Figure 4 As shown, it can be implemented by the following steps.
[0074] Step S401, the order system sends the target order to the order control platform.
[0075] In step S402, the order control platform determines whether the received target order includes the first order control mode. If so, it goes to S403, otherwise it goes to S412.
[0076] Step S403: the order control platform obtains the destination address fence information corresponding to the target order from the GIS system according to the third time-related item of the address dimension.
[0077] Step S404, calling the timeliness node, and determining the first time required for the target order in the warehousing dimension according to the first timeliness related item; calling the timeliness node, and determining the second time required for the target order in the distribution dimension according to the second timeliness related item and the destination address fence information.
[0078] Step S405, determine whether the sum T1 of the current time and the first time and the second time is greater than the abnormal end time T2, if so, go to S406, otherwise go to S407.
[0079] Step S406, determine the current time as the first sending time, and go to S408.
[0080] Step S407, determine that the abnormal end time is the first delivery time, and go to S408.
[0081] Step S408, updating the status information of the target order to a suspended state; storing the relevant information of the order in the suspended state in segments to the target database.
[0082] Step S409, scan the order-related information in the target database through a scheduled task to determine whether the order-related information has changed. If so, go to S410, otherwise, continue scanning and monitoring.
[0083] Step S410, query and obtain the changed information of the target order from the target database in slices; synchronize the changed information of the target order to the message queue.
[0084] Step S411, calling the timeliness node, consuming the changed information of the target order in the message queue, to determine the first delivery time of the target order.
[0085] Step S412, the order control platform determines whether the target order includes the second order control mode, if so, go to S413, otherwise go to S415.
[0086] Step S413, the order control platform obtains the user-specified delivery time of the target order, and determines the second delivery time of the target order according to the user-specified delivery time, the first time and the second time.
[0087] Step S414: The order control platform uses the later time between the first delivery time and the second delivery time as the delivery time of the target order.
[0088] Step S415, the order control platform controls the delivery of the target order to the warehouse system according to the determined delivery time.
[0089] During the order issuance control process in the above embodiments, the time when the order is issued to the warehouse for order warehousing and distribution production can be controlled, thereby avoiding the accumulation of warehouse outbound orders due to various abnormal situations, thereby avoiding the accumulation of orders occupying storage resources for a long time and improving resource utilization.
[0090] This application can convert the business flow process from orders to issuing warehouses into business nodes, and add head nodes to these business nodes, that is, the order control method of the first order control mode. On this basis, time control nodes can also be added, corresponding to the order control method of the second order control mode. On the one hand, a multi-level dynamic order control process can be implemented to avoid feedback responses to online exceptions, and a rapid response to exceptions can be achieved, thereby improving the speed of abnormal response. On the other hand, the merchant-side service concept of on-demand fulfillment, on-demand guarantee, and optimal cost can be realized to ensure the timeliness fulfillment rate of the merchant-side business, while reducing the fulfillment cost. In addition, through a multi-scenario, multi-channel, multi-merchant, and multi-type business layout, a fulfillment system that meets the personalized requirements of merchants can be achieved to ensure the ability to undertake business.
[0091] Furthermore, in this exemplary embodiment, an order issuing control device 500 is also provided. The order issuing control device 500 can be applied to a server. Figure 5As shown, the order issuance control device 500 may include: an exception acquisition module 510, a first determination module 520, a first order control module 530 and an order issuance module 540, wherein: the exception acquisition module 510 is configured to acquire exception information corresponding to the first order control mode when the target order includes the first order control mode, and the first order control mode is order control based on abnormal situations; the first determination module 520 is configured to determine the first issuance time of the target order according to the delivery rules and exception information of the target order; the first order control module 530 is configured to control the suspension of issuance of the target order in response to the current time being less than the first transmission time, and monitor the relevant information of the target order; the order issuance module 540 is configured to respond to changes in the relevant information of the target order, and re-determine the first issuance time of the target order according to the changed information until the current time reaches the first issuance time, and control the issuance of the target order.
[0092] In an exemplary embodiment of the present disclosure, the distribution rules include a first timeliness-related item in the warehousing dimension, a second timeliness-related item in the distribution dimension, and a third timeliness-related item in the address dimension. The first determination module 520 includes: a fence acquisition submodule, configured to acquire the destination address fence information corresponding to the target order according to the third timeliness-related item; a first time determination submodule, configured to call the timeliness node, and determine the first time of the target order in the warehousing dimension according to the first timeliness-related item. The timeliness node is used to calculate the flow time of each business node, and the business node includes the business flow nodes in the warehousing dimension and the distribution dimension; the second time determination submodule, configured to call the timeliness node, and determine the second time of the target order in the distribution dimension according to the second timeliness-related item and the destination address fence information; the delivery time determination submodule, configured to determine the first delivery time of the target order according to the abnormal information, the first time and the second time.
[0093] In an exemplary embodiment of the present disclosure, the exception information includes the cause of the exception, and the sending time determination submodule is also configured to: determine the exception end time according to the cause of the exception; in response to the sum of the current time and the first time and the second time being less than the exception end time, determine the exception end time as the first sending time; in response to the sum of the current time and the first time and the second time being greater than the exception end time, determine the current time as the first sending time.
[0094] In an exemplary embodiment of the present disclosure, after controlling the target order to be suspended, the device 500 also includes a storage module, which is configured to: update the status information of the target order to a suspended state; and store the relevant information of the order in the suspended state in fragments to the target database.
[0095] The first order control module 530 is further configured to: scan the relevant information of the order in the target database through a scheduled task to determine whether the relevant information of the order has changed.
[0096] In an exemplary embodiment of the present disclosure, the order issuing module 540 is also configured to: query and obtain the changed information of the target order from the target database shard; synchronize the changed information of the target order to the message queue; call the timeliness node and consume the changed information of the target order in the message queue to determine the first issuing time of the target order.
[0097] In an exemplary embodiment of the present disclosure, the delivery rules also include a second order control mode, and the device 500 also includes a second order control module, which is configured to: when the target order includes the second order control mode, obtain the user-specified delivery time of the target order, and the second order control mode is order control based on timeliness requirements; determine the second delivery time of the target order according to the user-specified delivery time, the first time and the second time; and use the later time of the first delivery time and the second delivery time as the delivery time of the target order.
[0098] In an exemplary embodiment of the present disclosure, the second order control module is further configured to: in response to the sum of the current time and the first time and the second time being less than the user-specified delivery time, determine the user-specified delivery time as the second dispatch time; in response to the sum of the current time and the first time and the second time being greater than the user-specified delivery time, determine the current time as the second dispatch time.
[0099] The specific details of each module or unit in the above-mentioned order issuance control device have been described in detail in the corresponding order issuance control method, so they will not be repeated here.
[0100] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method in the following embodiment. For example, the electronic device may implement Figure 1 to Figure 4 The various steps shown, etc.
[0101] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0102] Refer to the following Figure 6 hereinafter describes an electronic device 600 according to such an embodiment of the present disclosure. Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0103] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), and a display unit 640.
[0104] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0105] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0106] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0107] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0108] The electronic device 600 may also communicate with one or more external devices 670 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 660. As shown, the network adapter 660 communicates with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RA identification systems, tape drives, and data backup storage systems, etc.
[0109] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure 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 flash drive, a mobile 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 terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.
[0110] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0111] It should be noted that, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in the specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc., which shall all be considered as part of the present disclosure.
[0112] It should be understood that the disclosure disclosed and defined in this specification extends to all alternative combinations of two or more individual features mentioned or evident in the text and / or the accompanying drawings. All these different combinations constitute multiple alternative aspects of the disclosure. The embodiments of this specification illustrate the best mode known for implementing the disclosure and will enable those skilled in the art to utilize the disclosure.
Claims
1. A method for controlling order placement, characterized in that: The method comprises: In the case where the target order includes a first order control mode, abnormal information corresponding to the first order control mode is acquired, where the first order control mode is order control based on abnormal situations, the abnormal situations are situations where the delivery environment is abnormal and affects normal delivery of the order, and the abnormal information is information associated with the abnormal situations and affects the timeliness of the order; Determine the first delivery time of the target order according to the delivery rule of the target order and the abnormal information; the delivery rule is information related to the delivery timeliness during the order flow process; In response to the current time being less than the first download time, controlling the target order to be suspended from being issued, and monitoring relevant information of the target order; In response to changes in relevant information of the target order, the first issuing time of the target order is re-determined according to the changed information, and the issuing of the target order is controlled until the current time reaches the first issuing time.
2. The order issuing control method according to claim 1, characterized in that: The delivery rule includes a first timeliness-related item in a warehousing dimension, a second timeliness-related item in a delivery dimension, and a third timeliness-related item in an address dimension. According to the delivery rule of the target order and the abnormal information, determining a first release time of the target order includes: According to the third timeliness-related item, obtaining the destination address fence information corresponding to the target order; Calling a time efficiency node, and determining a first time of the target order in a warehousing dimension according to the first time efficiency-related item, wherein the time efficiency node is used to calculate the flow time of each business node, and the business node includes business flow nodes in the warehousing dimension and the distribution dimension; Calling a time efficiency node to determine a second time taken by the target order in a delivery dimension according to the second time efficiency related item and the destination address fence information; A first issuing time of the target order is determined according to the abnormal information, the first time and the second time.
3. The order issuing control method according to claim 2, characterized in that: The abnormal information includes an abnormal reason, and determining a first delivery time of the target order according to the abnormal information, the first time, and the second time includes: Determine the abnormal end time according to the abnormal cause; In response to the sum of the current time, the first time, and the second time being less than the abnormal end time, determining the abnormal end time as the first sending time; In response to the sum of the current time, the first time, and the second time being greater than the abnormal end time, the current time is determined to be the first sending time.
4. The order issuing control method according to claim 1, characterized in that: After controlling the target order to be suspended, the method further includes: Updating the status information of the target order to a suspended status; Store the relevant information of the suspended orders in the target database in shards; The monitoring of the target order related information includes: The order-related information in the target database is scanned by a scheduled task to determine whether the order-related information has changed.
5. The order issuing control method according to claim 4 is characterized in that: The re-determining the first delivery time of the target order according to the changed information includes: Query and obtain the changed information of the target order from the target database by shards; Synchronize the changed information of the target order to the message queue; The timeliness node is called to consume the changed information of the target order in the message queue to determine the first delivery time of the target order.
6. The order issuing control method according to claim 1, characterized in that: The delivery rule further includes a second order control mode, and the method further includes: In the case where the target order includes a second order control mode, obtaining a user-specified delivery time of the target order, wherein the second order control mode is order control based on user time efficiency requirements; Determining a second delivery time of the target order according to the user-specified delivery time, the first time, and the second time; The later time between the first issuing time and the second issuing time is used as the issuing time of the target order.
7. The order issuing control method according to claim 6, characterized in that: Determining a second delivery time of the target order according to the user-specified delivery time, the first time, and the second time includes: In response to the sum of the current time, the first time, and the second time being less than the user-specified delivery time, determining the user-specified delivery time as the second delivery time; In response to the sum of the current time, the first time, and the second time being greater than the user-specified delivery time, the current time is determined to be the second delivery time.
8. An order issuing control device, characterized in that: The device comprises: an exception acquisition module, configured to acquire exception information corresponding to a first order control mode when a target order includes the first order control mode, wherein the first order control mode is order control based on an abnormal situation; A first determining module is configured to determine a first delivery time of the target order according to the delivery rule of the target order and the abnormal information; A first order control module is configured to control the target order to be suspended from being issued in response to the current time being less than the first transmission time, and monitor relevant information of the target order; The order issuing module is configured to respond to changes in the relevant information of the target order and re-determine the first issuing time of the target order according to the changed information until the current time reaches the first issuing time, thereby controlling the issuing of the target order.
9. An electronic device, characterized in that: include: one or more processors; as well as A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.