CN112330220A - Order scheduling method, device, server and storage medium - Google Patents

Order scheduling method, device, server and storage medium Download PDF

Info

Publication number
CN112330220A
CN112330220A CN202011364645.5A CN202011364645A CN112330220A CN 112330220 A CN112330220 A CN 112330220A CN 202011364645 A CN202011364645 A CN 202011364645A CN 112330220 A CN112330220 A CN 112330220A
Authority
CN
China
Prior art keywords
delivery
order
capacity
scheduling
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.)
Pending
Application number
CN202011364645.5A
Other languages
Chinese (zh)
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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202011364645.5A priority Critical patent/CN112330220A/en
Publication of CN112330220A publication Critical patent/CN112330220A/en
Pending legal-status Critical Current

Links

Images

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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • 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)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an order scheduling method, an order scheduling device, a server and a storage medium, and belongs to the technical field of the Internet. The method comprises the following steps: generating at least two delivery orders corresponding to the same article order, wherein the scheduling modes corresponding to different delivery orders are different; respectively scheduling at least two delivery orders according to corresponding scheduling modes; in response to any delivery order of the at least two delivery orders being scheduled successfully, the other delivery orders of the at least two delivery orders are rescheduled. The advantages of the at least two scheduling modes can be considered, the rationality of the order scheduling process is effectively improved, and the scheduling efficiency of the delivery orders can also be improved.

Description

Order scheduling method, device, server and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to an order scheduling method, an order scheduling apparatus, a server, and a storage medium.
Background
With the development of internet technology, article distribution is required in many current scenes, such as online shopping or taking out orders, and the article distribution function is more and more popular in people's daily life. Typically, after a delivery order is generated for a user, the order is scheduled to be assigned delivery capacity in order for the delivery capacity to deliver items to the user. How to reasonably schedule orders becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides an order scheduling method, an order scheduling device, a server and a storage medium, which can effectively improve the rationality of order scheduling and the scheduling efficiency of orders. The technical scheme is as follows:
in one aspect, an order scheduling method is provided, and the method includes:
generating at least two delivery orders corresponding to the same article order, wherein the scheduling modes corresponding to different delivery orders are different;
respectively scheduling the at least two delivery orders according to corresponding scheduling modes;
and in response to any delivery order in the at least two delivery orders being successfully scheduled, canceling the scheduling of other delivery orders in the at least two delivery orders.
In one possible implementation, the generating at least two delivery orders corresponding to the same item order includes:
generating a first delivery order according to the item order, wherein a scheduling mode corresponding to the first delivery order is an assignment mode, and the assignment mode represents that the first delivery order is sequentially assigned to at least one delivery capacity until one delivery capacity receives the first delivery order;
and generating a second delivery order according to the item order, wherein the scheduling mode corresponding to the second delivery order is an order grabbing mode, and the order grabbing mode means that the second delivery order is pushed to a plurality of delivery capacities simultaneously until one delivery capacity occupies the second delivery order.
In another possible implementation manner, the respectively scheduling the at least two delivery orders according to corresponding scheduling manners includes:
issuing the first delivery order to any first delivery capacity meeting delivery conditions;
if receiving a delivery order receiving notice of the first delivery capacity, determining that the first delivery order is successfully scheduled; alternatively, the first and second electrodes may be,
and if a delivery order rejection notice of the first delivery capacity is received, issuing the first delivery order to another first delivery capacity meeting the delivery condition until a delivery order acceptance notice of any first delivery capacity is received, and determining that the first delivery order is successfully scheduled.
In another possible implementation manner, the issuing the first delivery order to any first delivery capacity meeting the delivery condition includes:
acquiring a matching degree between each first delivery capacity in a plurality of first delivery capacities meeting the delivery conditions and the first delivery order;
and issuing the first delivery order to the first delivery capacity in the plurality of first delivery capacities according to the sequence of the matching degree from high to low.
In another possible implementation manner, if a delivery order rejection notification of the first delivery capacity is received, the step of issuing the first delivery order to another first delivery capacity satisfying the delivery condition until a delivery order acceptance notification of any first delivery capacity is received, and determining that the first delivery order is successfully scheduled includes:
and if a delivery order rejection notice of the first delivery capacity is received, issuing the first delivery order to a second one of the plurality of first delivery capacities until a delivery order acceptance notice of any one first delivery capacity is received, and determining that the first delivery order is successfully scheduled.
In another possible implementation manner, the respectively scheduling the at least two delivery orders according to corresponding scheduling manners further includes:
issuing the second delivery order to a plurality of second delivery capacities meeting delivery conditions;
and if receiving a delivery order acceptance notice of any one of the second delivery capacities, determining that the second delivery order is successfully scheduled.
In another possible implementation, the delivery capacity satisfies delivery conditions of the delivery order, including at least one of:
the position of the delivery capacity is located in a geographical area to which the initial position of the delivery order belongs;
the starting position of the delivery order received by the delivery capacity is located in the geographical area to which the starting position of the delivery order belongs;
the ending position of the delivery order received by the delivery capacity is positioned in the geographical area to which the starting position of the delivery order belongs;
the end position of the delivery order received by the delivery capacity is located in the geographical area to which the end position of the delivery order belongs;
the forward parameter of the delivery order accepted by the delivery capacity and the delivery order is greater than a forward threshold, and the forward parameter is used for representing the forward degree between the accepted delivery order and the delivery order;
the delivery capacity is currently in an idle state.
In another possible implementation manner, before issuing the second delivery order to the delivery capacities satisfying the delivery conditions, the method further includes:
acquiring the order grabbing pick-up probability of the second delivery order according to the scheduling time length of the second delivery order, wherein the order grabbing pick-up probability and the scheduling time length are in a negative correlation relationship;
and acquiring the forward path threshold according to the order grabbing pick-up probability, wherein the forward path threshold and the order grabbing pick-up probability are in positive correlation.
In another possible implementation manner, the canceling the scheduling of the other delivery orders in the at least two delivery orders in response to the scheduling of any delivery order in the at least two delivery orders being successful includes:
and in response to the state of any delivery order being switched to the accepted state, canceling the scheduling of other delivery orders.
In one aspect, an order scheduling apparatus is provided, the apparatus including:
the generating module is used for generating at least two delivery orders corresponding to the same article order, and the scheduling modes corresponding to different delivery orders are different;
the dispatching module is used for respectively dispatching the at least two delivery orders according to the corresponding dispatching modes;
and the response module is used for responding to the success of the dispatching of any one of the at least two delivery orders and canceling the dispatching of other delivery orders in the at least two delivery orders.
In one possible implementation, the generating module includes:
a first generating unit, configured to generate a first delivery order according to the item order, where a scheduling manner corresponding to the first delivery order is an assignment manner, and the assignment manner indicates that the first delivery order is sequentially assigned to at least one delivery capacity until one delivery capacity receives the first delivery order;
and a second generating unit, configured to generate a second delivery order according to the item order, where a scheduling manner corresponding to the second delivery order is an order grabbing manner, and the order grabbing manner indicates that the second delivery order is pushed to multiple delivery capacities simultaneously until one of the delivery capacities seizes the second delivery order.
In another possible implementation manner, the scheduling module includes:
the first issuing unit is used for issuing the first distribution order to any first distribution capacity meeting the distribution conditions;
a first determining unit, configured to determine that the first delivery order is successfully scheduled if a delivery order acceptance notification of the first delivery capacity is received; alternatively, the first and second electrodes may be,
the first determining unit is further configured to, if a delivery order rejection notification of the first delivery capacity is received, issue the first delivery order to another first delivery capacity that satisfies the delivery condition until a delivery order acceptance notification of any one first delivery capacity is received, and determine that the first delivery order is successfully scheduled.
In another possible implementation manner, the first issuing unit is further configured to obtain a matching degree between each of the plurality of first delivery capacities satisfying the delivery condition and the first delivery order;
the first issuing unit is further configured to issue the first delivery order to a first delivery capacity among the plurality of first delivery capacities in an order from high to low of the matching degree.
In another possible implementation manner, the first determining unit is further configured to, if a delivery order rejection notification of the first delivery capacity is received, issue the first delivery order to a second first delivery capacity of the plurality of first delivery capacities until a delivery order acceptance notification of any one first delivery capacity is received, and determine that the first delivery order is successfully scheduled.
In another possible implementation manner, the scheduling module further includes:
the second issuing unit is used for issuing the second distribution order to a plurality of second distribution transport capacities meeting the distribution conditions;
a second determining unit, configured to determine that the second delivery order is successfully scheduled if a delivery order acceptance notification of any one of the plurality of second delivery capacities is received.
In another possible implementation, the delivery capacity satisfies delivery conditions of the delivery order, including at least one of:
the position of the delivery capacity is located in a geographical area to which the initial position of the delivery order belongs;
the starting position of the delivery order received by the delivery capacity is located in the geographical area to which the starting position of the delivery order belongs;
the ending position of the delivery order received by the delivery capacity is positioned in the geographical area to which the starting position of the delivery order belongs;
the end position of the delivery order received by the delivery capacity is located in the geographical area to which the end position of the delivery order belongs;
the forward parameters of the delivery orders accepted by the delivery capacity and the delivery orders are greater than a forward threshold value, and the forward parameters are used for representing the forward degree between the accepted delivery orders and the delivery orders;
the delivery capacity is currently in an idle state.
In another possible implementation manner, the apparatus further includes:
a probability obtaining module, configured to obtain an order grabbing pick-up probability of the second delivery order according to the scheduling duration of the second delivery order, where the order grabbing pick-up probability and the scheduling duration are in a negative correlation relationship;
and the threshold value acquisition module is used for acquiring the forward path threshold value according to the order grabbing pick-up probability, and the forward path threshold value and the order grabbing pick-up probability are in positive correlation.
In another possible implementation manner, the response module includes:
and the response unit is used for responding to the state switching of any delivery order to the accepted state and canceling the scheduling of other delivery orders.
In one aspect, a server is provided, the computer device including one or more processors and one or more memories having at least one instruction stored therein, the at least one instruction being loaded and executed by the one or more processors to implement the operations performed by the order scheduling method according to any of the possible implementations described above.
In one aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the operations performed by the order scheduling method according to any one of the above possible implementation manners.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
according to the order scheduling method, the order scheduling device, the server and the storage medium, at least two delivery orders generated according to the same article order are scheduled by adopting a parallel scheduling mode through different scheduling modes, the advantages of the at least two scheduling modes can be considered, the rationality of an order scheduling process is effectively improved, and the scheduling efficiency of the delivery orders can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of an order scheduling method according to an embodiment of the present application;
fig. 2 is a flowchart of an order scheduling method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a relationship between a ticket preemption pickup probability and a scheduling duration according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a relationship between a forward threshold and a pick-up probability of a sheet according to an embodiment of the present application;
FIG. 5 is a flowchart of another order scheduling method provided in the embodiments of the present application;
FIG. 6 is a flowchart of another order scheduling method provided in the embodiments of the present application;
fig. 7 is a schematic structural diagram of an order scheduling apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another order scheduling apparatus provided in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of an order scheduling method provided in an embodiment of the present application, and referring to fig. 1, the implementation environment includes a server 101, a plurality of user terminals 102, and a plurality of delivery terminals 103, where the plurality of user terminals and the plurality of delivery terminals are all connected to the server through a network to interact with the server.
The user terminal 102 and the distribution terminal 103 may be various types of devices such as a mobile phone, a personal computer, a tablet computer, and the like. The server 101 may be a server, a server cluster composed of a plurality of servers, or a cloud computing server center, which is not specifically limited in this embodiment of the present application.
For any user terminal 102, the user terminal 102 logs in based on the user identifier, when an order submitting operation is detected, an article order is obtained, the article order is sent to the server 101 through the network, after the server 101 receives the article order sent by the user terminal 102, at least two delivery orders corresponding to the article order are generated, and the at least two delivery orders are scheduled according to respective corresponding scheduling modes.
When the user terminal 102 sends the item order to the server 101, the item order may be actively sent to the server 101 when the item order is acquired, or may be sent when an order acquisition request sent by the server 101 is received, which is not specifically limited herein.
Wherein, the dispatching process of the delivery order comprises the following steps: the server 101 determines a delivery terminal 103 corresponding to each delivery order, issues the delivery order to the corresponding delivery terminal 103, and determines that the delivery order is successfully scheduled in response to a received delivery order acceptance notification returned by any delivery terminal 103.
Fig. 2 is a flowchart of an order scheduling method provided in an embodiment of the present application, which is applied in a server, and referring to fig. 2, the embodiment includes:
at 201, at least two delivery orders corresponding to the same item order are generated.
With the rapid development of internet technology, ways of online shopping, online ordering, same city distribution and the like are gradually popularized in daily life of people, the demand of people for goods distribution is larger and larger, and the number of distribution parties is larger and larger. At present, a function of distributing articles is provided, but due to the fact that the number of distribution parties is large, each distribution party comprises a plurality of distribution transport capacities, how to reasonably schedule orders submitted by users is achieved, and therefore the function of rapidly and efficiently completing distribution of the articles is of great significance. The embodiment of the application provides an order scheduling method, which explains the scheduling process of the delivery orders and can effectively improve the rationality of the scheduling process of the delivery orders and the scheduling efficiency of the delivery orders.
The delivery capacity can be a delivery robot or a delivery person, each delivery capacity has a corresponding delivery identifier, the delivery identifiers are used for determining the unique delivery capacity, can be serial numbers, identity numbers, social account numbers, factory codes and the like of the delivery capacity, and can also be identifiers in other forms.
In the case that the delivery capacity is a delivery robot, the delivery identifier of the delivery capacity may be a factory number corresponding to the delivery robot, a number assigned to the delivery robot by the delivery party, or other identifier. In the case that the delivery capacity is a delivery person, the delivery identifier of the delivery capacity may be an identification number of the delivery person, a mobile phone number, a number assigned to the delivery person by the delivery party, or other forms of identifiers.
Firstly, a server firstly obtains an article order, then at least two delivery orders corresponding to the article order are generated according to the article order, the corresponding scheduling modes of different delivery orders are different, and then different scheduling modes can be adopted to schedule the delivery orders corresponding to the different delivery orders.
In one possible implementation, the process of generating at least two delivery orders corresponding to the same item order includes: the server generates a first delivery order according to the item order, wherein the corresponding scheduling mode of the first delivery order is an assignment mode, and the assignment mode represents that the first delivery order is sequentially assigned to at least one delivery capacity until one delivery capacity receives the first delivery order. The server further generates a second delivery order according to the item order, wherein the scheduling mode corresponding to the second delivery order is an order grabbing mode, and the order grabbing mode means that the second delivery order is pushed to the plurality of delivery capacities simultaneously until one delivery capacity occupies the second delivery order.
In another possible implementation, the item order has attribute information, and the attribute information may include at least one of location information, user information, item information, or time information, and may further include other information. The position information is used for describing the position of the item order, comprises a starting position and an ending position and is used for indicating that the item is delivered from the starting position to the ending position; the user information is used for describing the user submitting the item order, and may include user categories, such as individual users, enterprise users, merchant users, and the like, and may also include user grades, where the higher the user grade is, the greater the quantity of the item order submitted by the corresponding user is, when performing subsequent order scheduling, the higher the priority is, the lower the user grade is, the lower the quantity of the item order submitted by the corresponding user is, and when performing subsequent order scheduling, the lower the priority is; the article information is used for describing articles corresponding to the article order, and comprises article types, article names, article weights, article volumes, whether fragile articles exist or not, whether special transportation requirements exist or not and the like; the time information is used to describe the time associated with the item order, including the time of submission of the order, the time of arrival of the specified delivery capacity at the termination location, and the like.
Accordingly, a process for generating at least two delivery orders corresponding to the same item order comprises: the server generates at least two delivery orders corresponding to the article orders according to the attribute information of the article orders, wherein each delivery order also has attribute information, and the attribute information of the delivery orders is the same as the attribute information of the corresponding article orders.
For example, the location information of the order for the item includes a start location and an end location for indicating a current location and a destination of the item, respectively, and the time information of the item includes a designated delivery time for indicating a time required to deliver the item to the destination. The server generates a first delivery order and a second delivery order corresponding to the article order according to the position information and the time information of the article order, the position information of the generated first delivery order and the second delivery order is the same as the position information of the article order, and the time information of the first delivery order and the second delivery order is the same as the time information of the article order.
At 202, at least two delivery orders are scheduled according to corresponding scheduling manners, respectively.
When the server acquires at least two delivery orders corresponding to the article order, the at least two delivery orders are respectively scheduled according to the corresponding scheduling modes, and if any delivery order is successfully scheduled, the article order can be considered as successfully scheduled.
In view of the fact that the delivery capacities corresponding to different delivery orders are different, the embodiment of the present application takes the example that the at least two delivery orders include the first delivery order and the second delivery order, and describes a process of respectively scheduling the at least two delivery orders according to corresponding scheduling manners, including the following cases:
(1) the process of scheduling the first delivery order:
in a possible implementation manner, the server obtains at least one first delivery capacity meeting delivery conditions of the first delivery orders, issues the first delivery orders to any one of the first delivery capacities meeting the delivery conditions, sends a delivery order acceptance notification to the server if the first delivery capacity accepts the first delivery orders, and sends a delivery order rejection notification to the server if the first delivery capacity rejects the first delivery orders. Therefore, if the server receives the delivery order acceptance notice of the first delivery capacity, it is determined that the first delivery order is successfully scheduled, and if the server receives the delivery order rejection notice of the first delivery capacity, the server issues the first delivery order to another first delivery capacity meeting the delivery conditions until receiving the delivery order acceptance notice of any first delivery capacity, and it is determined that the first delivery order is successfully scheduled.
The process of realizing order scheduling based on delivery capacity comprises the following steps: and under the condition that the delivery capacity is the delivery robot, the delivery robot interacts with the server based on the corresponding delivery identifier to realize order scheduling. And when the delivery capacity is the delivery personnel, the delivery personnel have corresponding delivery terminals, and for any delivery terminal, the delivery terminal logs in based on the delivery identifier corresponding to the delivery personnel and interacts with the server to realize order scheduling.
For example, the process of issuing the first delivery order to any first delivery capacity meeting the conditions, where the delivery capacity is a delivery person, and the corresponding delivery identifier is a mobile phone number of the delivery person, includes: the server determines a distribution terminal for logging in the mobile phone number of the first distribution personnel, sends the first distribution order to the distribution terminal, and the distribution terminal displays the first distribution order to realize the issuing of the first distribution order.
In another possible implementation manner, each delivery capacity has a corresponding delivery terminal, each delivery terminal logs in based on a delivery identifier corresponding to the delivery capacity, after obtaining a delivery order issued by the server, the delivery terminal displays an acceptance option and a rejection option corresponding to the delivery order, and sends a delivery order acceptance notification to the server in response to the detected trigger operation of the acceptance option, or sends a delivery order rejection notification to the server in response to the detected trigger operation of the rejection option.
In another possible implementation manner, each delivery capacity has attribute information and a historical delivery record, and the attribute information of the delivery capacity includes at least one of location information, delivery quality parameters and user information, and may further include other information. The position information of the delivery capacity is used for describing the current position of the delivery capacity and the geographic area to which the current position belongs; the distribution quality parameters of the distribution capacity are used for describing distribution quality of the corresponding distribution capacity, and include historical distribution order total amount, distribution efficiency, service attitude, item integrity and the like, and the distribution quality parameters of the distribution capacity are obtained according to corresponding historical distribution records. If the distribution capacity is the distribution personnel, the attribute information of the distribution capacity also comprises personnel information, including the name, age, the distribution party, the time length of becoming the distribution capacity and the like of the distribution personnel.
In a possible implementation manner, a process in which a server obtains a plurality of first delivery capacities that satisfy delivery conditions of first delivery orders, and in order to further improve rationality of order scheduling, the server schedules orders according to a matching degree between each first delivery capacity and the first delivery order, and issues the first delivery orders to any first delivery capacity that satisfies the delivery conditions includes: the server obtains a plurality of first delivery capacities meeting delivery conditions and the matching degree between each first delivery capacity and the first delivery order, issues the first delivery order to the first delivery capacity in the plurality of first delivery capacities according to the sequence from high matching degree to low matching degree, namely selects the first delivery capacity most matched with the first delivery order, and issues the first delivery order to the first delivery capacity.
If the server receives the delivery order acceptance notice of the first delivery capacity, the first delivery order is determined to be successfully scheduled, if the server receives the delivery order rejection notice of the first delivery capacity, the first delivery order is issued to other first delivery capacities meeting the conditions, and in order to ensure the rationality of order scheduling, the second first delivery capacity which has the highest matching degree with the first delivery order is still selected from other first delivery capacities in the plurality of first delivery capacities, namely, the second first delivery capacity is arranged according to the sequence of the matching degree from high to low.
Therefore, in another possible implementation manner, if a delivery order rejection notification of a first delivery capacity is received, a first delivery order is issued to another first delivery capacity satisfying the delivery condition until a delivery order acceptance notification of any one first delivery capacity is received, and a process of determining that the first delivery order is successfully scheduled includes: and if the server receives the delivery order rejection notice of the first delivery capacity, the server issues the first delivery order to a second one of the plurality of first delivery capacities until receiving a delivery order acceptance notice of any one first delivery capacity, and the server determines that the first delivery order is successfully scheduled.
In another possible implementation manner, considering that the delivery capacity is mostly in the delivery process and the delivered delivery orders cannot be viewed in time, in this embodiment of the present application, a first time threshold is preset for the first delivery order, and after the server delivers the first delivery order to any one of the first delivery capacities that satisfy the delivery conditions, the first delivery capacity may determine to accept the first delivery order or reject the first delivery order within the first time threshold after receiving the first delivery order. In addition, in order to ensure that the first delivery order can be timely and effectively completed, after the first delivery capacity receives the first delivery order, if the delivery terminal does not detect the triggering operation of the acceptance option after the first delivery capacity receives the first delivery order, the first delivery capacity is determined to reject the first delivery order, and a delivery order rejection notice is returned to the server.
For example, the first time threshold is 30s (second), after the first delivery order is delivered to the first delivery capacity, if the delivery terminal that has registered the delivery identifier of the first delivery capacity detects an acceptance operation for the first delivery order within 30s after receiving the first delivery order, a delivery order acceptance notification is returned to the server. And if the delivery terminal which logs in the delivery identifier of the first delivery capacity detects the rejection operation of the first delivery order within 30s after receiving the first delivery order, returning a delivery order rejection notice to the server. And if the delivery terminal which logs in the delivery identifier of the first delivery capacity does not detect any operation on the first delivery order 30s after receiving the first delivery order, returning a delivery order rejection notice to the server.
(2) The process of scheduling the second delivery order:
in a possible implementation manner, the server obtains a plurality of second delivery capacities satisfying delivery conditions of the second delivery orders, issues the second delivery orders to the plurality of second delivery capacities at the same time, and determines that the second delivery orders are successfully scheduled if a delivery order acceptance notification of any one of the plurality of second delivery capacities is received.
In another possible implementation manner, the issuing of the second delivery order to the plurality of second delivery capacities includes: the server sends the second delivery orders to delivery terminals which respectively log in delivery identifications of the plurality of second delivery capacities, each delivery terminal displays the second delivery orders and acceptance options and rejection options corresponding to the second delivery orders, and any delivery terminal sends delivery order acceptance notifications to the server in response to the detected triggering operation of the acceptance options or sends delivery order rejection notifications to the server in response to the detected triggering operation of the rejection options.
It should be noted that, after receiving the second delivery order, the second delivery capacities may perform a trigger operation on the accept option or the reject option of the second delivery order, or may not perform any operation when it is desired to reject the second delivery order. Thus, in one possible implementation, for the second delivery order, a failure in scheduling the second delivery order is indicated if the plurality of second delivery capacities all reject the second delivery order. In another possible implementation manner, a second time threshold is preset for the second delivery order, and after the server issues the second delivery order to a plurality of second delivery capacities satisfying the delivery condition, the plurality of second delivery capacities may determine to accept the second delivery order or reject the second delivery order within the second time threshold after the second delivery order is received. In addition, after a second time threshold value after the first delivery capacity receives the second delivery order, if none of the delivery terminals corresponding to the plurality of second delivery capacities detect the trigger operation of receiving the option, it is determined that the second delivery order scheduling fails.
In another possible implementation manner, before issuing the second delivery order to the plurality of delivery capacities satisfying the delivery condition, the method further includes: and acquiring the order grabbing pick-up probability of the second delivery order according to the scheduling duration of the second delivery order, and acquiring the forward path threshold according to the order grabbing pick-up probability.
The higher the probability of picking up the order is, the higher the popularity of the second distribution order is, the higher the possibility of being preempted is, the lower the probability of picking up the order is, and the lower the popularity of the second distribution order is, the lower the possibility of being preempted is. If the popularity of the second delivery order is high, the second delivery order is preempted by the delivery capacity in a short time, and the probability of the delivery order being preempted is lower and lower as time goes on, namely, the probability of picking up the order is in a negative correlation with the scheduling duration, as shown in fig. 3. The forward threshold represents a condition that the forward degree between an order accepted by the delivery capacity and the delivery order should satisfy, and is in a positive correlation with the order grabbing pick-up probability, the higher the order grabbing pick-up probability is, the higher the forward threshold is, that is, the higher the requirement on the forward degree is, the more the forward threshold is, the more the delivery order is prone to be scheduled in an order grabbing manner, the lower the order grabbing pick-up probability is, the lower the forward threshold is, that is, the lower the requirement on the forward degree is, the more the delivery order is prone to be scheduled in an assignment manner, as shown in fig. 4. The forward degree between the order received by the delivery capacity and the delivery order is represented by a forward parameter, the forward parameter is larger than a forward threshold value to represent that the delivery capacity meets a forward condition, and the forward parameter is smaller than the forward threshold value to represent that the delivery capacity does not meet the forward condition. Subsequently, the on-road condition is taken as a condition that the delivery capacity should meet, and the delivery capacity meets the delivery condition, including meeting the on-road condition.
It should be noted that, for any delivery capacity, the delivery capacity may accept a delivery order issued by the server at any time, may deliver a currently accepted order, and may reject a delivery order issued by the server, so that the delivery order of the delivery capacity may include at least one of an unaccepted order, an accepted order, a rejected order, and a completed order, and may also include other types of delivery orders.
In another possible implementation, for the first delivery order and the second delivery order, the delivery capacity satisfies delivery conditions corresponding to the delivery order, including at least one of:
(1) and the position of the delivery capacity is located in the geographical area of the initial position of the delivery order.
In order for a delivery capacity to quickly remove items corresponding to a delivery order, the delivery capacity closer to the starting location of the delivery order may be selected and the delivery order may be placed to the delivery capacity. Therefore, the distribution capacity of the current position in the geographical area where the starting position of the distribution order belongs is selected, and therefore, when the distribution capacity of the distribution order is received, the position of the article can be quickly reached, the article can be taken away, and distribution of the article is achieved.
(2) The starting location of the delivery order for which the delivery capacity has accepted is located within the geographic area to which the starting location of the delivery order belongs.
Considering that the delivery capacity has already received other delivery orders at the current moment, the delivery capacity is currently moving to the starting position of the received order and is closer to the starting position of the received order, and in order to enable the delivery capacity to quickly take away the items corresponding to the delivery order, the starting position of the received delivery order can be selected to be the delivery capacity located in the geographic area to which the starting position of the delivery order belongs, so that the delivery capacity can take away the delivery order and the received order successively in a short time, and the delivery efficiency is effectively improved.
(3) The end location of the delivery order for which the delivery capacity has accepted is located within the geographic area to which the start location of the delivery order belongs.
The delivery capacity is currently moving to the starting location of the accepted delivery order when the delivery capacity currently accepts other delivery orders, or the delivery capacity takes the item corresponding to the accepted delivery order and moves to the ending location of the accepted delivery order. In any case, the delivery capacity reaches the end position of the received order, so that the delivery capacity with the end position of the received delivery order located in the geographical area where the start position of the delivery order belongs can be selected, the delivery capacity can be guaranteed to be linked in time and space between the two delivery orders, and the delivery efficiency is effectively improved.
(4) The end location of the delivery order for which the delivery capacity has accepted is located within the geographic area to which the end location of the delivery order belongs.
In order to quickly deliver the item corresponding to the delivery order to the destination, the delivery capacity closer to the end position of the delivery order may be selected and the delivery order may be issued to the delivery capacity. Therefore, the end position of the received delivery order is selected, and the delivery capacity is located in the geographical area to which the end position of the delivery order belongs, so that the delivery capacity can move to the same direction after the article corresponding to the received delivery order and the article corresponding to the delivery order are taken away, that is, two delivery orders are delivered simultaneously, the delivery time length can be shortened, and the delivery efficiency can be improved.
(5) The delivery capacity has accepted the delivery order and the on-road parameter of the delivery order is greater than the on-road threshold.
Any two delivery orders are straightforward to indicate that the start positions of the two delivery orders belong to the same geographic region and the end positions of the two delivery orders belong to the same geographic region. For the same delivery capacity, if two delivery orders which are relatively off-road are received, the delivery of the two delivery orders can be completed in the same route, the delivery time length is effectively shortened, and the delivery efficiency is improved. Thus, a forward threshold may be preset, and a delivery capacity having a forward parameter between an accepted delivery order and the delivery order that is greater than the forward threshold may be selected.
The forward-route parameter is used to indicate a forward-route degree between the received delivery order and the delivery order, and the forward-route parameter is proportional to the forward-route degree, that is, the larger the forward-route parameter is, the higher the forward-route degree between the received delivery order and the delivery order is, and the larger the forward-route parameter is, the lower the forward-route degree between the received delivery order and the delivery order is.
(6) The delivery capacity is currently in an idle state.
Due to the influence of factors such as position, time and the like, the numbers of orders which are currently accepted by different delivery capacities are different, some delivery capacities currently hold a plurality of accepted delivery orders, and some delivery capacities do not have accepted delivery orders and are currently in an idle state. In order to ensure the delivery quantity, the delivery quality and the delivery efficiency of each delivery capacity, the delivery capacity in the idle state can be selected, so that the delivery pressure of the delivery capacity with more currently accepted delivery orders is relieved, other delivery capacities can be ensured that the delivery orders can be delivered, and the utilization rate of the delivery capacity is improved.
In addition, for the above-mentioned multiple cases, the location of any one location in the geographic area to which another location belongs may be the same geographic area as the location of the location and the another location, the distance between the location and the another location may be smaller than a preset distance threshold, or other forms may be used.
Considering that a user has a certain expectation and tolerance range for the time length of the delivery capacity for receiving the delivery order, and the delivery side needs to master the right of order distribution through the scheduling mode of assigning the order, the delivery quality of the delivery capacity can be restricted by adopting the scheduling mode of assigning the order. In addition, the refusal of the delivery capacity to deliver the delivery order may have an adverse effect on the delivery capacity in subsequent order scheduling, such as management or penalty of the delivery capacity. Therefore, for some difficult delivery orders, the completion rate of the difficult delivery orders can be guaranteed by adopting the order scheduling mode in an assigned mode.
The difficult delivery orders may include a far destination of the delivery orders, unsmooth delivery roads, fragile delivery items, low user scores, delivery orders in bad weather, delivery orders in bad traffic, and the like.
In addition, in the process of scheduling the order by adopting the order grabbing mode, the delivery order is exposed to a plurality of delivery capacities, so that the exposure rate of the delivery order can be improved, and after any delivery capacity seizes the delivery order, the delivery order can be considered to be successfully scheduled, so that the scheduling efficiency of the order can be improved. When a plurality of delivery parties participate in the same order scheduling process, for any delivery party, the adoption of the order grabbing mode can effectively improve the probability of the delivery party for grabbing the delivery order, and can increase the number of the delivery order grabbed by the delivery party.
For example, a plurality of distribution parties are aggregated to obtain a common aggregation distribution application, each distribution party can obtain an order based on the aggregation distribution application, in response to a submission instruction of an article order, the aggregation distribution application simultaneously sends the article order to the associated plurality of distribution parties, each distribution party performs scheduling according to the article order, which distribution party performs scheduling successfully first, allocates the article order to which distribution party, and distributes the distribution order by the distribution capacity of the distribution party receiving the distribution order.
And the mode of simultaneously scheduling a plurality of delivery orders generated according to the same article order by adopting a plurality of scheduling modes respectively can take the advantages of the plurality of scheduling modes into consideration. For example, when the plurality of scheduling manners include an assignment manner and an order grabbing manner, the two scheduling manners are respectively adopted to schedule the orders, so that the advantages of the assignment manner and the advantages of the order grabbing manner can be taken into consideration, and the rationality of the order scheduling process is further improved.
At 203, in response to any delivery order of the at least two delivery orders being scheduled successfully, the other delivery orders of the at least two delivery orders are rescheduled.
Since the at least two delivery orders are generated according to the same item order and are both used for scheduling the item order to realize delivery of the item order, any delivery order of the at least two delivery orders is successfully scheduled to indicate that the item order is successfully scheduled, and at this time, other delivery orders of the at least two delivery orders can be cancelled for scheduling. If other delivery orders are not cancelled for scheduling, the condition that a plurality of delivery capacities receive the delivery orders of the same item order may occur, disputes are caused, and the delivery of the item is influenced.
In one possible implementation, the delivery order has corresponding states including at least an unaccepted state indicating that the delivery order has not been accepted by any delivery capacity and an accepted state indicating that the delivery order has been accepted by a delivery capacity. If any delivery order is accepted by the delivery capacity, the state corresponding to the delivery order is switched from the non-accepted state to the accepted state. Accordingly, in response to a successful scheduling of any of the at least two delivery orders, a process for rescheduling the other of the at least two delivery orders comprises: and the server responds to the state switching of any delivery order to the accepted state and cancels the scheduling of other delivery orders.
In another possible implementation manner, the delivery order has corresponding status identifiers, and the different status identifiers are used to indicate different receiving statuses of the delivery order and include a first status identifier and a second status identifier, where the first status identifier is used to indicate that the delivery order is in an unaccepted status, and the second status identifier is used to indicate that the delivery order is in an accepted status.
For example, a first delivery order and a second delivery order are generated according to the same item order, the status identifiers of the first delivery order and the second delivery order are both first status identifiers, the first delivery order is issued to at least one first delivery capacity, the second delivery order is issued to a plurality of second delivery capacities, after any second delivery capacity receives the second delivery order, the first delivery order is cancelled in response to the status identifier of the second delivery order being switched to the second status identifier, and the second delivery order issued to other second delivery capacities is cancelled.
After the delivery order is successfully scheduled, the server may further receive a current state of the delivery order returned by the delivery terminal logging in the delivery capacity identifier, where the current state may include a current non-delivery state, a current delivery state, a completed delivery state of the delivery order, and a current position of the delivery capacity, and subsequently, the current position may be sent to a user submitting an item order and a user waiting to receive a corresponding item, so that the user may know a current situation and know a delivery progress.
According to the order scheduling method provided by the embodiment of the application, at least two delivery orders generated according to the same article order are scheduled by adopting the parallel model and different scheduling modes, the advantages of each scheduling mode in the at least two scheduling modes can be considered, the rationality of the order scheduling process is effectively improved, and the scheduling efficiency of the order can be improved. For any delivery party, the number of orders received by the delivery party can be increased, the utilization rate of delivery capacity of the delivery party is ensured, and the completion rate and the completion efficiency of the orders can be improved.
On the basis of the above embodiment, a process for scheduling delivery orders is described, referring to fig. 5 and 6, and the process is applied to a server, and includes:
1. and acquiring the target item order.
2. And generating a first delivery order and a second delivery order corresponding to the same item order.
3. For the first delivery order, at least one first delivery capacity satisfying the first delivery condition is obtained.
4. And issuing the first delivery order to the first delivery capacity 1.
5. And after receiving the delivery order receiving notice of the first delivery capacity 1, determining that the first delivery order is successfully scheduled, and canceling the second delivery order.
6. And after receiving a delivery order rejection notice of the first delivery capacity 1, sending the first delivery order to the first delivery capacity 2 until receiving a delivery order acceptance notice of any first delivery capacity, determining that the first delivery order is successfully scheduled, and canceling the second delivery order.
7. And acquiring a plurality of second delivery capacities meeting second delivery conditions for the second delivery orders.
8. And issuing the second delivery order to the plurality of second delivery capacities.
9. And after receiving the delivery order receiving notice of any second delivery capacity, determining that the second delivery order is successfully scheduled, and canceling the first delivery order.
10. And dispatching the item order to the delivery capacity corresponding to the received delivery order acceptance notice.
Wherein, the delivery capacity meets the delivery conditions of the delivery order, and comprises at least one of the following items:
the location of the delivery capacity is located in the geographical area of the initial location of the delivery order;
the starting position of the delivery order received by the delivery capacity is located in the geographical area to which the starting position of the delivery order belongs;
the ending position of the delivery order received by the delivery capacity is positioned in the geographical area to which the starting position of the delivery order belongs;
the end position of the delivery order received by the delivery capacity is positioned in the geographical area to which the end position of the delivery order belongs;
the forward parameters of the received delivery orders and the delivery orders of the delivery capacity are greater than a forward threshold value, and the forward parameters are used for representing the forward degree between the received delivery orders and the delivery orders;
the delivery capacity is currently in an idle state.
Fig. 7 is a structural diagram of an order scheduling apparatus according to an embodiment of the present application. Referring to fig. 7, the apparatus includes: a generating module 701, a scheduling module 702 and a responding module 703.
A generating module 701, configured to generate at least two delivery orders corresponding to the same item order, where different delivery orders correspond to different scheduling manners;
a scheduling module 702, configured to schedule at least two delivery orders according to corresponding scheduling manners, respectively;
a response module 703, configured to cancel scheduling the other delivery order of the at least two delivery orders in response to a success of scheduling any delivery order of the at least two delivery orders.
In one possible implementation, referring to fig. 8, the generating module 701 includes:
a first generating unit 7011, configured to generate a first delivery order according to an item order, where a scheduling manner corresponding to the first delivery order is an assignment manner, and the assignment manner indicates that the first delivery order is sequentially assigned to at least one delivery capacity until one delivery capacity receives the first delivery order;
a second generating unit 7012 is configured to generate a second delivery order according to the item order, where a scheduling manner corresponding to the second delivery order is an order grabbing manner, and the order grabbing manner indicates that the second delivery order is pushed to multiple delivery capacities simultaneously until one of the delivery capacities preempts the second delivery order.
In another possible implementation, referring to fig. 8, the scheduling module 702 includes:
a first issuing unit 7021 configured to issue the first delivery order to any one of the first delivery capacities satisfying the delivery conditions;
a first determining unit 7022, configured to determine that the first delivery order is successfully scheduled if the delivery order acceptance notification of the first delivery capacity is received; alternatively, the first and second electrodes may be,
the first determining unit 7022 is further configured to, if a delivery order rejection notification of the first delivery capacity is received, issue the first delivery order to another first delivery capacity meeting the delivery condition until a delivery order acceptance notification of any one first delivery capacity is received, and determine that the first delivery order is successfully scheduled.
In another possible implementation, referring to fig. 8, the first issuing unit 7021 is further configured to obtain a matching degree between each of the plurality of first delivery capacities satisfying the delivery condition and the first delivery order;
the first issuing unit 7021 is further configured to issue the first delivery order to a first delivery capacity among the plurality of first delivery capacities in an order from high to low in the matching degree.
In another possible implementation manner, referring to fig. 8, the first determining unit 7022 is further configured to, if a delivery order rejection notification of the first delivery capacity is received, issue the first delivery order to a second first delivery capacity of the multiple first delivery capacities until a delivery order acceptance notification of any one of the first delivery capacities is received, and determine that the first delivery order is successfully scheduled.
In another possible implementation manner, referring to fig. 8, the scheduling module 702 further includes:
a second issuing unit 7023, configured to issue the second delivery order to a plurality of second delivery capacities satisfying the delivery conditions;
the second determining unit 7024 is configured to determine that the second delivery order is successfully scheduled if a delivery order acceptance notification of any one of the plurality of second delivery capacities is received.
In another possible implementation, referring to fig. 8, the delivery capacity satisfies delivery conditions for the delivery order, including at least one of:
the location of the delivery capacity is located in the geographical area where the initial location of the delivery order belongs;
the starting position of the delivery order received by the delivery capacity is located in the geographical area to which the starting position of the delivery order belongs;
the ending position of the delivery order received by the delivery capacity is positioned in the geographical area to which the starting position of the delivery order belongs;
the end position of the delivery order received by the delivery capacity is located in the geographical area to which the end position of the delivery order belongs;
the forward parameters of the received delivery orders and the delivery orders of the delivery capacity are greater than a forward threshold value, and the forward parameters are used for representing the forward degree between the received delivery orders and the delivery orders;
the delivery capacity is currently in an idle state.
In another possible implementation, referring to fig. 8, the apparatus further includes:
a probability obtaining module 704, configured to obtain, according to the scheduling duration of the second delivery order, an order grabbing pick-up probability of the second delivery order, where the order grabbing pick-up probability and the scheduling duration are in a negative correlation;
the threshold obtaining module 705 is configured to obtain a forward threshold according to the order grabbing pick-up probability, where the forward threshold and the order grabbing pick-up probability are in a positive correlation.
In another possible implementation, referring to fig. 8, the response module 703 includes:
a response unit 7031, configured to cancel scheduling of other delivery orders in response to the status of any delivery order being switched to the accepted status.
It should be noted that: in order scheduling, the order scheduling apparatus provided in the foregoing embodiment only exemplifies the division of the functional modules, and in practical applications, the function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the order scheduling apparatus and the order scheduling method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 9 shows a block diagram of a terminal 900 according to an exemplary embodiment of the present application. The terminal 900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 900 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like.
In general, terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one instruction for execution by processor 901 to implement the order scheduling methods provided by the method embodiments of the present application.
In some embodiments, terminal 900 can also optionally include: a peripheral interface 903 and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a touch display screen 905, a camera 906, an audio circuit 907, a positioning component 908, and a power supply 909.
The peripheral interface 903 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 904 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to capture touch signals on or over the surface of the display screen 905. The touch signal may be input to the processor 901 as a control signal for processing. At this point, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing the front panel of the terminal 900; in other embodiments, the number of the display panels 905 may be at least two, and each of the display panels is disposed on a different surface of the terminal 900 or is in a foldable design; in still other embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display screen 905 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display panel 905 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 906 is used to capture images or video. Optionally, camera assembly 906 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for realizing voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of the terminal 900. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuit 907 may also include a headphone jack.
The positioning component 908 is used to locate the current geographic Location of the terminal 900 for navigation or LBS (Location Based Service). The Positioning component 908 may be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 909 is used to provide power to the various components in terminal 900. The power source 909 may be alternating current, direct current, disposable or rechargeable. When power source 909 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can also include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, fingerprint sensor 914, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the touch display 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may cooperate with the acceleration sensor 911 to acquire a 3D motion of the user on the terminal 900. The processor 901 can implement the following functions according to the data collected by the gyro sensor 912: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 913 may be disposed on the side bezel of terminal 900 and/or underneath touch display 905. When the pressure sensor 913 is disposed on the side frame of the terminal 900, the user's holding signal of the terminal 900 may be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 913. When the pressure sensor 913 is disposed at a lower layer of the touch display 905, the processor 901 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 905. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 914 is used for collecting a fingerprint of the user, and the processor 901 identifies the user according to the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 901 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, transferring resources, changing settings, and the like. The fingerprint sensor 914 may be disposed on the front, back, or side of the terminal 900. When a physical key or vendor Logo is provided on the terminal 900, the fingerprint sensor 914 may be integrated with the physical key or vendor Logo.
The optical sensor 915 is used to collect ambient light intensity. In one embodiment, the processor 901 may control the display brightness of the touch display 905 based on the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 905 is turned down. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915.
Proximity sensor 916, also known as a distance sensor, is typically disposed on the front panel of terminal 900. The proximity sensor 916 is used to collect the distance between the user and the front face of the terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the touch display 905 to switch from the bright screen state to the dark screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually becomes larger, the processor 901 controls the touch display 905 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of terminal 900, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1000 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1001 and one or more memories 1002, where the memory 1002 stores at least one instruction, and the at least one instruction is loaded and executed by the processors 1001 to implement the methods provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, is also provided that includes instructions executable by a processor in a server to perform the order scheduling method of the above embodiments. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program is also provided, which comprises at least one program code loaded and executed by a processor to implement the order scheduling method as in the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. An order scheduling method, the method comprising:
generating at least two delivery orders corresponding to the same article order, wherein the scheduling modes corresponding to different delivery orders are different;
respectively scheduling the at least two delivery orders according to corresponding scheduling modes;
and in response to any delivery order in the at least two delivery orders being successfully scheduled, canceling the scheduling of other delivery orders in the at least two delivery orders.
2. The method of claim 1, wherein generating at least two delivery orders for the same item order comprises:
generating a first delivery order according to the item order, wherein a scheduling mode corresponding to the first delivery order is an assignment mode, and the assignment mode represents that the first delivery order is sequentially assigned to at least one delivery capacity until one delivery capacity receives the first delivery order;
and generating a second delivery order according to the item order, wherein the scheduling mode corresponding to the second delivery order is an order grabbing mode, and the order grabbing mode means that the second delivery order is pushed to a plurality of delivery capacities simultaneously until one delivery capacity occupies the second delivery order.
3. The method of claim 2, wherein said scheduling the at least two delivery orders according to the corresponding scheduling manners comprises:
issuing the first delivery order to any first delivery capacity meeting delivery conditions;
if receiving a delivery order receiving notice of the first delivery capacity, determining that the first delivery order is successfully scheduled; alternatively, the first and second electrodes may be,
and if a delivery order rejection notice of the first delivery capacity is received, issuing the first delivery order to another first delivery capacity meeting the delivery condition until a delivery order acceptance notice of any first delivery capacity is received, and determining that the first delivery order is successfully scheduled.
4. The method of claim 3, wherein said issuing the first delivery order to any first delivery capacity that satisfies delivery conditions comprises:
acquiring a matching degree between each first delivery capacity in a plurality of first delivery capacities meeting the delivery conditions and the first delivery order;
and issuing the first delivery order to the first delivery capacity in the plurality of first delivery capacities according to the sequence of the matching degree from high to low.
5. The method of claim 4, wherein if a delivery order rejection notification of the first delivery capacity is received, issuing the first delivery order to another first delivery capacity satisfying the delivery condition until a delivery order acceptance notification of any first delivery capacity is received, and determining that the first delivery order is successfully scheduled comprises:
and if a delivery order rejection notice of the first delivery capacity is received, issuing the first delivery order to a second one of the plurality of first delivery capacities until a delivery order acceptance notice of any one first delivery capacity is received, and determining that the first delivery order is successfully scheduled.
6. The method of claim 2, wherein said scheduling said at least two delivery orders according to corresponding scheduling manners, respectively, further comprises:
issuing the second delivery order to a plurality of second delivery capacities meeting delivery conditions;
and if receiving a delivery order acceptance notice of any one of the second delivery capacities, determining that the second delivery order is successfully scheduled.
7. The method of claim 3 or 6, wherein the delivery capacity satisfies delivery conditions of the delivery order, including at least one of:
the position of the delivery capacity is located in a geographical area to which the initial position of the delivery order belongs;
the starting position of the delivery order received by the delivery capacity is located in the geographical area to which the starting position of the delivery order belongs;
the ending position of the delivery order received by the delivery capacity is positioned in the geographical area to which the starting position of the delivery order belongs;
the end position of the delivery order received by the delivery capacity is located in the geographical area to which the end position of the delivery order belongs;
the forward parameter of the delivery order accepted by the delivery capacity and the delivery order is greater than a forward threshold, and the forward parameter is used for representing the forward degree between the accepted delivery order and the delivery order;
the delivery capacity is currently in an idle state.
8. The method of claim 7, wherein prior to said issuing the second delivery order to the plurality of delivery capacities satisfying the delivery condition, the method further comprises:
acquiring the order grabbing pick-up probability of the second delivery order according to the scheduling time length of the second delivery order, wherein the order grabbing pick-up probability and the scheduling time length are in a negative correlation relationship;
and acquiring the forward path threshold according to the order grabbing pick-up probability, wherein the forward path threshold and the order grabbing pick-up probability are in positive correlation.
9. The method of claim 1, wherein said rescheduling other delivery orders of the at least two delivery orders in response to any delivery order of the at least two delivery orders being scheduled successfully comprises:
and in response to the state of any delivery order being switched to the accepted state, canceling the scheduling of other delivery orders.
10. An order scheduling apparatus, the apparatus comprising:
the generating module is used for generating at least two delivery orders corresponding to the same article order, and the scheduling modes corresponding to different delivery orders are different;
the dispatching module is used for respectively dispatching the at least two delivery orders according to the corresponding dispatching modes;
and the response module is used for responding to the success of the dispatching of any one of the at least two delivery orders and canceling the dispatching of other delivery orders in the at least two delivery orders.
11. The apparatus of claim 10, wherein the generating module comprises:
a first generating unit, configured to generate a first delivery order according to the item order, where a scheduling manner corresponding to the first delivery order is an assignment manner, and the assignment manner indicates that the first delivery order is sequentially assigned to at least one delivery capacity until one delivery capacity receives the first delivery order;
and a second generating unit, configured to generate a second delivery order according to the item order, where a scheduling manner corresponding to the second delivery order is an order grabbing manner, and the order grabbing manner indicates that the second delivery order is pushed to multiple delivery capacities simultaneously until one of the delivery capacities seizes the second delivery order.
12. The apparatus of claim 11, wherein the scheduling module comprises:
the first issuing unit is used for issuing the first distribution order to any first distribution capacity meeting the distribution conditions;
a first determining unit, configured to determine that the first delivery order is successfully scheduled if a delivery order acceptance notification of the first delivery capacity is received; alternatively, the first and second electrodes may be,
the first determining unit is further configured to, if a delivery order rejection notification of the first delivery capacity is received, issue the first delivery order to another first delivery capacity that satisfies the delivery condition until a delivery order acceptance notification of any one first delivery capacity is received, and determine that the first delivery order is successfully scheduled.
13. The apparatus of claim 11, wherein the scheduling module further comprises:
the second issuing unit is used for issuing the second distribution order to a plurality of second distribution transport capacities meeting the distribution conditions;
a second determining unit, configured to determine that the second delivery order is successfully scheduled if a delivery order acceptance notification of any one of the plurality of second delivery capacities is received.
14. A server, comprising one or more processors and one or more memories having stored therein at least one instruction, the at least one instruction being loaded and executed by the one or more processors to perform operations performed by the order scheduling method of any one of claims 1 to 9.
15. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by the order scheduling method of any one of claims 1 to 9.
CN202011364645.5A 2020-11-27 2020-11-27 Order scheduling method, device, server and storage medium Pending CN112330220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011364645.5A CN112330220A (en) 2020-11-27 2020-11-27 Order scheduling method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011364645.5A CN112330220A (en) 2020-11-27 2020-11-27 Order scheduling method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN112330220A true CN112330220A (en) 2021-02-05

Family

ID=74309175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011364645.5A Pending CN112330220A (en) 2020-11-27 2020-11-27 Order scheduling method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112330220A (en)

Similar Documents

Publication Publication Date Title
CN108830572B (en) Resource transfer method, device, storage medium and equipment
CN111614549B (en) Interaction processing method and device, computer equipment and storage medium
CN107682255B (en) Message transmission method, device and storage medium
CN111144822A (en) Warehouse-out time length determining method and device, computer equipment and storage medium
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN113873281A (en) Information display method and device, terminal and storage medium
CN110673944B (en) Method and device for executing task
CN109697113A (en) Request method, apparatus, equipment and the readable storage medium storing program for executing retried
CN111694892A (en) Resource transfer method, device, terminal, server and storage medium
CN115293841A (en) Order scheduling method, device, equipment and storage medium
CN112632931B (en) Task verification and cancellation method based on table, table generation method and device
CN112330220A (en) Order scheduling method, device, server and storage medium
CN112561107A (en) Resource management method, device, equipment and computer readable storage medium
CN114091998A (en) Order delivery method, device, equipment and computer readable storage medium
CN114140105A (en) Resource transfer method, device, equipment and computer readable storage medium
CN113240348A (en) Target delivery capacity allocation method, device, equipment and storage medium
CN111444289A (en) Incidence relation establishing method
CN111445286A (en) Resource scheduling method and device, electronic equipment and readable storage medium
CN111490979B (en) Information interaction method and device and storage medium
CN115545591A (en) Distribution path planning method, device, equipment and storage medium
CN112884406A (en) Resource distribution method, device, equipment and computer readable storage medium
CN112613772A (en) Information pushing method, device, equipment and storage medium
CN113554492A (en) Order processing method, device, equipment and computer readable storage medium
CN111798075A (en) Transport capacity object scheduling method, device, server and storage medium
CN115293839A (en) Order distribution method, device, equipment and computer readable storage medium

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