CN113554492A - Order processing method, device, equipment and computer readable storage medium - Google Patents

Order processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113554492A
CN113554492A CN202110858696.1A CN202110858696A CN113554492A CN 113554492 A CN113554492 A CN 113554492A CN 202110858696 A CN202110858696 A CN 202110858696A CN 113554492 A CN113554492 A CN 113554492A
Authority
CN
China
Prior art keywords
order
determining
delivery
candidate
information
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
CN202110858696.1A
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 CN202110858696.1A priority Critical patent/CN113554492A/en
Publication of CN113554492A publication Critical patent/CN113554492A/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0836Recipient pick-ups

Abstract

The application discloses an order processing method, an order processing device, order processing equipment and a computer readable storage medium, and belongs to the technical field of the Internet. The method comprises the following steps: obtaining order information of a first order, wherein the order information comprises an order starting position, an order ending position and predicted delivery time; determining a candidate order in the reference order based on at least one of an order starting position and an order ending position of the first order; determining a second order associated with the first order in the candidate orders based on the predicted delivery time of the first order, wherein the second order is a candidate order of which the predicted delivery time meets the association condition; determining a first delivery object based on an order starting position of a first order; and sending the order information of the first order and the order information of the second order to the first distribution object, and distributing the first order and the second order by the first distribution object. The method can save the delivery time length of the first delivery object and improve the delivery efficiency of the first delivery object.

Description

Order processing method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of internet, in particular to an order processing method, an order processing device, order processing equipment and a computer readable storage medium.
Background
With the rapid development of internet technology, the development of online shopping, online ordering and the like is more and more mature, and the number of orders is also rapidly increased, so that an order processing method is urgently needed to improve the order processing efficiency.
In the related art, a take-away system receives a take-away order, places the take-away order in an order pool, and performs order grabbing by a delivery object (such as a rider) in the order pool. And responding to the first delivery object to rob the takeaway order, the takeaway system sends the order information of the takeaway order to the first delivery object, and the first delivery object delivers the takeaway order.
However, when the first delivery object has a large number of takeaway orders, because the order starting positions and the order ending positions of the takeaway orders are not consistent, the first delivery object needs to obtain the resources corresponding to the takeaway orders from the starting positions, and then respectively deliver the resources corresponding to the takeaway orders to the respective corresponding ending positions, so that the time length for delivering the takeaway orders by the first delivery object is long, and further the delivery efficiency of the first delivery object is low, and the order processing efficiency is low.
Disclosure of Invention
The embodiment of the application provides an order processing method, an order processing device, order processing equipment and a computer readable storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides an order processing method, where the method includes:
obtaining order information of a first order, wherein the order information comprises an order starting position, an order ending position and predicted delivery time;
determining a candidate order in a reference order based on at least one of an order starting position and an order ending position of the first order;
determining a second order associated with the first order in the candidate orders based on the predicted delivery time of the first order, wherein the second order is a candidate order of which the predicted delivery time meets the association condition;
determining a first delivery object based on the order starting position of the first order;
and sending the order information of the first order and the order information of the second order to the first distribution object, and distributing the first order and the second order by the first distribution object.
In one possible implementation, the determining a candidate order in a reference order based on at least one of an order start position and an order end position of the first order includes:
determining a first area based on an order starting position of the first order;
determining a second area based on an order ending location of the first order;
determining the candidate order in the reference order based on the order starting position of the reference order and the first area;
or, determining the candidate order in the reference order based on the order termination location of the reference order and the second region;
or, determining a first candidate order in the reference order based on the order starting position of the reference order and the first area, and determining the candidate order in the first candidate order based on the order ending position of the first candidate order and the second area.
In one possible implementation, the determining, based on the expected delivery time of the first order, a second order associated with the first order among the candidate orders comprises:
determining a delivery time range based on the projected delivery time and the first time duration of the first order;
determining the second order among the candidate orders based on the projected time of delivery and the time range of delivery for the candidate orders.
In a possible implementation manner, the order information further includes an order acquisition time;
the method further comprises, prior to determining a candidate order in the reference order based on at least one of an order start location and an order end location of the first order, the method further comprising:
determining a first time based on the order acquisition time and a second time length of the first order;
generating a joint acquisition link based on the order information of the first order;
sending the joint acquisition link to a first user, and sending the joint acquisition link to a reference user by the first user, wherein the first user is a user for acquiring the first order;
and determining the order carried by the order obtaining request as the reference order in response to receiving the order obtaining request sent by the reference user, wherein the order obtaining time of the order carried by the order obtaining request is within the order obtaining time of the first order and the first time.
In a possible implementation manner, the determining a first area based on the order starting location of the first order includes:
determining the first area by taking the order starting position of the first order as a reference point and taking the first length as a reference distance;
determining a second area based on the order ending location of the first order, comprising:
determining the second area by taking the order ending position of the first order as a reference point and a second length as a reference distance; the first length and the second length may be the same or different lengths.
In a possible implementation manner, the determining a first delivery object based on the order starting location of the first order includes:
determining the order quantity of the first order and the second order;
determining a third area by taking the order starting position of the first order as a reference point and a third length as a reference distance in response to the order quantity of the first order and the second order meeting a target threshold value;
determining the delivery objects included in the third area as candidate delivery objects;
determining the order quantity of a third order which is received but not delivered by the candidate delivery object;
determining a distance between the candidate delivery object and the order starting position of the first order based on the position information of the candidate delivery object and the order starting position of the first order;
determining the first delivery object in the candidate delivery objects based on at least one of the order quantity of the third order received but not delivered by the candidate delivery objects and the distance between the candidate delivery objects and the order starting position of the first order.
In a possible implementation manner, after the sending the order information of the first order and the order information of the second order to the first delivery object, the method further includes:
and sending a first notification message to the first delivery object, wherein the first notification message is used for indicating that the first delivery object cannot receive other orders before the first order and the second order are delivered completely.
In a possible implementation manner, after the sending the order information of the first order and the order information of the second order to the first delivery object, the method further includes:
receiving delivery completion information returned by the first delivery object, wherein the delivery completion information is used for indicating that resources corresponding to the first order and the second order are stored in corresponding storage positions respectively;
sending a second notification message to a first user corresponding to the first order, wherein the second notification message is used for indicating that the resource corresponding to the first order is stored in a first storage position, and sending a third notification message to a second user corresponding to the second order, wherein the third notification message is used for indicating that the resource corresponding to the second order is stored in a second storage position;
the first storage position and the second storage position are the same or different storage positions.
In one possible implementation, the method further includes:
in response to the order quantity of the first order and the second order not meeting the target threshold, determining a second delivery object based on an order starting position of the first order, sending order information of the first order to the second delivery object, determining a third delivery object based on the order starting position of the second order, and sending order information of the second order to the third delivery object;
and sending incentive resources to the account corresponding to the first order and the account corresponding to the second order.
On the other hand, an embodiment of the present application provides an order processing apparatus, including:
the acquisition module is used for acquiring order information of a first order, wherein the order information comprises an order starting position, an order ending position and predicted delivery time;
a first determining module, configured to determine a candidate order in a reference order based on at least one of an order start position and an order end position of the first order;
a second determining module, configured to determine, based on the expected delivery time of the first order, a second order associated with the first order from among the candidate orders, where the second order is a candidate order whose expected delivery time satisfies an associated condition;
a third determining module, configured to determine a first delivery object based on an order starting location of the first order;
and the sending module is used for sending the order information of the first order and the order information of the second order to the first distribution object, and the first distribution object distributes the first order and the second order.
In a possible implementation manner, the first determining module is configured to determine a first area based on an order starting position of the first order;
determining a second area based on an order ending location of the first order;
determining the candidate order in the reference order based on the order starting position of the reference order and the first area;
or, determining the candidate order in the reference order based on the order termination location of the reference order and the second region;
or, determining a first candidate order in the reference order based on the order starting position of the reference order and the first area, and determining the candidate order in the first candidate order based on the order ending position of the first candidate order and the second area.
In one possible implementation, the second determining module is configured to determine a delivery time range based on the expected delivery time and the first time length of the first order;
determining the second order among the candidate orders based on the projected time of delivery and the time range of delivery for the candidate orders.
In a possible implementation manner, the order information further includes an order acquisition time;
the first determining module is further configured to determine a first time based on the order obtaining time and the second duration of the first order;
the device further comprises:
the generating module is used for generating a joint acquisition link based on the order information of the first order;
the sending module is used for sending the joint acquisition link to a first user, and the first user sends the joint acquisition link to a reference user, wherein the first user is a user for acquiring the first order;
the first determining module is configured to determine, in response to receiving an order obtaining request sent by the reference user, an order obtaining time of an order carried by the order obtaining request is located within the order obtaining time of the first order and the first time, the order carried by the order obtaining request is the reference order.
In a possible implementation manner, the first determining module is configured to determine the first area by using an order starting position of the first order as a reference point and using a first length as a reference distance; determining the second area by taking the order ending position of the first order as a reference point and a second length as a reference distance; the first length and the second length may be the same or different lengths.
In a possible implementation manner, the third determining module is configured to determine the order quantity of the first order and the second order;
determining a third area by taking the order starting position of the first order as a reference point and a third length as a reference distance in response to the order quantity of the first order and the second order meeting a target threshold value;
determining the delivery objects included in the third area as candidate delivery objects;
determining the order quantity of a third order which is received but not delivered by the candidate delivery object;
determining a distance between the candidate delivery object and the order starting position of the first order based on the position information of the candidate delivery object and the order starting position of the first order;
determining the first delivery object in the candidate delivery objects based on at least one of the order quantity of the third order received but not delivered by the candidate delivery objects and the distance between the candidate delivery objects and the order starting position of the first order.
In a possible implementation manner, the sending module is further configured to send a first notification message to the first delivery object, where the first notification message is used to indicate that the first delivery object cannot receive other orders before the first order and the second order are delivered completely.
In one possible implementation, the apparatus further includes:
a receiving module, configured to receive delivery completion information returned by the first delivery object, where the delivery completion information is used to indicate that resources corresponding to the first order and the second order are stored in corresponding storage locations respectively;
the sending module is further configured to send a second notification message to a first user corresponding to the first order, where the second notification message is used to instruct that the resource corresponding to the first order is stored in a first storage location, and send a third notification message to a second user corresponding to the second order, where the third notification message is used to instruct that the resource corresponding to the second order is stored in a second storage location;
the first storage position and the second storage position are the same or different storage positions.
In a possible implementation manner, the third determining module is further configured to determine, in response to that the order quantities of the first order and the second order do not satisfy the target threshold, a second delivery object based on the order starting position of the first order, and determine a third delivery object based on the order starting position of the second order;
the sending module is further configured to send the order information of the first order to the second distribution object, and send the order information of the second order to the third distribution object; and sending incentive resources to the account corresponding to the first order and the account corresponding to the second order.
In another aspect, an embodiment of the present application provides a server, where the server includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so as to enable an electronic device to implement any one of the order processing methods described above.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to make a computer implement any of the above order processing methods.
In another aspect, a computer program or a computer program product is provided, in which at least one computer instruction is stored, and the at least one computer instruction is loaded and executed by a processor, so as to enable a computer to implement any one of the above order processing methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, after the order information of the first order is obtained, the second order related to the first order is obtained, the first order and the second order are distributed to the same distribution object, and the distribution is carried out by the same distribution object. The distribution mode is a non-many-to-many distribution mode, so that the first distribution object does not need to run to multiple initial positions to obtain the resources corresponding to each order, and/or does not need to run to multiple end positions to distribute the resources corresponding to each order, the distribution time length of the first distribution object can be saved, and the distribution efficiency of the first distribution object is improved. In addition, the first delivery object is determined based on the order starting position of the first order, so that the determined first delivery object is more accurate.
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 processing method according to an embodiment of the present application;
fig. 2 is a flowchart of an order processing method according to an embodiment of the present application;
fig. 3 is a flowchart of an order processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an order processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 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 processing method according to an embodiment of the present application, and as shown in fig. 1, the implementation environment includes: a server 101, a first electronic device 102, a second electronic device 103, and a third electronic device 104.
The server 101 is a server, or a server cluster formed by a plurality of servers, or any one of a cloud computing platform and a virtualization center, which is not limited in this embodiment of the present application. The server 101 is in communication connection with the first electronic device 102, the second electronic device 103, and the third electronic device 104 through a wired network or a wireless network, respectively. The server 101 is configured to execute the order processing method provided in the embodiment of the present application. Of course, the server 101 may also have other functions, which are not limited in this embodiment of the application.
The first electronic device 102, the second electronic device 103, and the third electronic device 104 are at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, and a laptop computer, respectively. The first electronic device 102 has a first delivery target registered therein. The first electronic device 102 is configured to receive order information of the first order and order information of the second order sent by the server 101. A first user is registered in the second electronic device 103, the first user is a user for obtaining a first order, and candidate users are registered in the third electronic device 104, and the candidate users include a user for obtaining a second order.
Based on the above implementation environment, the present embodiment provides an order processing method, which may be executed by the server 101 in fig. 1, taking the flowchart of the order processing method provided in the present embodiment shown in fig. 2 as an example. As shown in fig. 2, the method comprises the steps of:
in step 201, order information of a first order is obtained, the order information including an order start location, an order end location, and an expected delivery time.
In an exemplary embodiment of the present application, a server and a second electronic device are communicatively connected through a network, a first user logs in the second electronic device, an application program for acquiring resources is installed and run in the second electronic device, when the first user triggers the application program, the second electronic device displays a detail page of the application program, and a plurality of objects (such as shops) are displayed in the detail page, where the triggering manner may be to click a button corresponding to the application program or to trigger the application program in a voice manner, which is not limited in this embodiment of the present application. The method comprises the steps of responding to the selection operation of a first user on a target object in a plurality of objects, displaying a detail page of the target object, wherein a plurality of resources (such as commodities) included in the target object are displayed in the detail page, and responding to a selection instruction of the first user on a target resource in the plurality of resources, generating a first order, wherein the target resource selected by the first user is included in the first order. In response to the payment completion operation of the first order by the first user, the second electronic device generates an order obtaining request of the first user, wherein the order obtaining request of the first user carries order information of the first order. And the second electronic equipment sends the order acquisition request to the server, and the server carries out order distribution based on the order information of the first order. The server receives an order obtaining request sent by the second electronic device, and analyzes the order obtaining request to obtain order information of the first order, namely the server obtains the order information of the first order.
The order information of the first order comprises an order starting position, an order ending position and expected delivery time of the first order. Certainly, the order information of the first order may further include information such as a name, a contact address, and a resource value (e.g., a price of the order) corresponding to the order of the first user, which is not limited in this embodiment of the present application.
In step 202, a candidate order is determined in the reference order based on at least one of an order start position and an order end position of the first order.
In a possible implementation manner, before determining the candidate order in the reference order based on at least one of the order start position and the order end position of the first order, it is further determined whether the joint acquisition request sent by the first user is received within a target time after acquiring the order information of the first order (i.e., after receiving the order acquisition request). In response to receiving a joint acquisition request sent by a first user within a target time after acquiring order information of the first order, determining a candidate order in the reference order based on at least one of an order starting position and an order ending position of the first order. In response to that the joint acquisition request sent by the first user is not received within the target time after the order information of the first order is acquired, the reference order does not need to be acquired, and the candidate order does not need to be determined in the reference order.
The time length of the target time may be any value, which is not limited in the embodiment of the present application, and in order to make the efficiency of order distribution higher and the efficiency of order distribution higher, the shorter the time length of the target time is, the better the time length of the target time is.
In a possible implementation manner, after the first user sends the order distribution request to the server, the second electronic device used by the first user displays a prompt message for prompting whether the first user needs to jointly acquire, where the prompt message corresponds to two trigger buttons, namely an "ok" button and a "cancel" button. In response to the triggering operation of the "confirm" button by the first user, the second electronic device sends a joint acquisition request to the server. In response to the triggering operation of the cancel button by the first user, the second electronic device does not need to send the joint acquisition request to the server.
It should be noted that the prompt message may be set to only display the target duration, and after the display duration is exceeded, the prompt message is cancelled, and at this time, even if the first user wants to perform joint acquisition, joint acquisition cannot be performed. For example, the reminder is displayed for only 1 minute.
It should be further noted that the display duration of the prompt message may be the same as or different from the time length of the target time, which is not limited in the embodiment of the present application.
Illustratively, the target time is 1 minute in length. The time for sending the order distribution request to the server by the second electronic device is 09:30, and the time for obtaining the order information of the first order by the server is 09:30 because the communication between the server and the second electronic device is high-speed. The second electronic device displays a prompt message, and in response to the first user's triggering of the "OK" button before 09:31, the server determines a candidate order in the reference order based on at least one of an order start position and an order end position of the first order.
In one possible implementation, the order information further includes an order acquisition time of the first order. And in response to receiving a joint acquisition request sent by the first user within a target time after receiving the order information of the first order, wherein the joint acquisition request is indicated to be approved by the first user, determining a reference order based on the order acquisition time of the first order. The reference order is obtained by the following steps:
the method includes the steps of determining first time based on order obtaining time and second time of a first order, generating a joint obtaining link based on order information of the first order, sending the joint obtaining link to a first user, sending the joint obtaining link to a reference user by the first user, wherein the first user is a user obtaining the first order, the reference user is a friend user of the first user in any social application, and the social application is any type of social application. And determining the order carried by the order obtaining request as the reference order in response to receiving the order obtaining request sent by the reference user, wherein the order obtaining time of the order carried by the order obtaining request is within the order obtaining time and the first time of the first order.
The second duration is a fixed duration set by the system, or a duration set by the first user, which is not limited in the embodiment of the present application. For example, the second period of time is 10 minutes.
Illustratively, the order taking time for the first order is 09:30, the second time period is 10 minutes, so the first time is 09: 40. the order obtaining time of the order carried in the order obtaining request sent by the reference user is 09: 35. since the order obtaining time of the order carried in the order obtaining request sent by the reference user is within the order obtaining time and the first time of the first order, the order carried in the order obtaining request is determined as the reference order.
In a possible implementation manner, in response to that a joint acquisition request sent by a first user is not received within a target time after acquiring order information of a first order, it is indicated that the first user does not agree with joint acquisition, a joint acquisition link does not need to be generated based on the order information of the first order, a reference order is acquired, that is, a candidate order does not need to be determined in the reference order, a second delivery object is determined directly based on an order starting position of the first order, and the order information of the first order is sent to the second delivery object.
In a possible implementation manner, the process of determining the second delivery object based on the order starting position of the first order is consistent with the following process of determining the first delivery object based on the order starting position of the first order, which is described in detail in step 204 below and is not described herein again.
In one possible implementation, before determining the candidate order in the reference order based on at least one of an order start position and an order end position of the first order, determining a first area based on the order start position of the first order; a second zone is determined based on the order ending location of the first order.
The first area is determined by taking the order starting position of the first order as a reference point and the first length as a reference distance. And determining a second area by taking the order ending position of the first order as a reference point and the second length as a reference distance.
It should be noted that the first length and the second length may be the same length or different lengths, which is not limited in this application.
It should be further noted that the smaller the numerical values of the first length and the second length are, the better the numerical values of the first length and the second length are, the smaller the numerical values of the first length and the second length are, the closer the distance between the orders is, the shorter the path required by the delivery object to obtain the order and/or deliver the order is, the lower the delivery duration of the delivery object when delivering the resource corresponding to the order is, and the higher the delivery efficiency is.
Exemplarily, a first circle is determined by taking an order starting position of the first order as a center of a circle and taking 5 meters as a radius, and an area corresponding to the first circle is determined as a first area. And taking the order ending position of the first order as the center of a circle and 10 meters as the radius to obtain a second circle, and determining the area corresponding to the second circle as a second area.
In one possible implementation, the candidate order is determined in the reference order based on at least one of an order start position and an order end position of the first order.
Case one, a candidate order is determined in the reference order based on the order starting location and the first region of the reference order.
In one possible implementation manner, the reference order with the order starting position located in the first area in the reference order is determined as the candidate order.
Illustratively, the reference orders include order one, order two, order three, order four, and order five. The order starting positions of the order single, the order two and the order three are located in the first area, so that the order single, the order two and the order three are determined as candidate orders.
And in case two, determining candidate orders in the reference orders based on the order termination positions of the reference orders and the second area.
In one possible implementation, the reference order in which the order ending position in the reference order is located in the second area is determined as the candidate order.
Illustratively, the reference orders include order one, order two, order three, order four, and order five. And the order ending positions of the order two, the order three and the order four are positioned in the second area, so that the order two, the order three and the order four are determined as candidate orders.
And thirdly, determining a first candidate order in the reference order based on the order starting position and the first area of the reference order, and determining a candidate order in the first candidate order based on the order ending position and the second area of the reference order.
In one possible implementation manner, the reference order with the order starting position located in the first area in the reference order is determined as the first candidate order. And determining the first candidate order with the order termination position located in the second area in the first candidate order as the candidate order.
Illustratively, the reference orders include order one, order two, order three, order four, and order five. The order starting positions of the order single, the order two and the order three are located in the first area, and therefore the order single, the order two and the order three are determined to be the first candidate order. Since the order ending positions of order two and order three are located in the second area, order two and order three are determined as candidate orders.
It should be noted that, in the above case, the order starting position of the candidate order is determined to be in a region with the order starting position of the first order. The order ending position of the candidate order determined in the second case is in one area with the order ending position of the first order. In the third case, the order starting position of the candidate order and the order starting position of the first order are located in the same area, and the order ending position of the candidate order and the order ending position of the first order are located in the same area.
In one possible implementation, the reference order may also be an order for which order information has been received, but for which the delivery object has not yet been allocated.
In step 203, a second order associated with the first order is determined among the candidate orders based on the projected delivery time of the first order.
In one possible implementation, the second order is a candidate order for which the expected delivery time satisfies the associated condition. The association condition is that the expected delivery time is within the delivery time range.
In one possible implementation, a delivery time range is determined based on a projected delivery time and a first time duration of the first order; a second order is determined among the candidate orders based on the expected delivery time and the delivery time range for the candidate orders.
The time length of the first time period is an arbitrary value, which is not limited in the embodiment of the present application, and the time length of the first time period is, for example, 10 minutes.
Illustratively, the expected delivery time for the first order is 10:20, the first duration is 10 minutes, and the delivery time ranges from 10:10 to 10: 30. Therefore, candidate orders with estimated delivery times within 10:10-10:30 are determined to be second orders.
In step 204, a first delivery object is determined based on an order starting location of the first order.
In one possible implementation, after determining the second order associated with the first order, the order quantities of the first order and the second order are determined, and it is determined whether the order quantities of the first order and the second order satisfy a target threshold. And in response to the fact that the order quantity of the first order and the second order meets the target threshold, which indicates that the first order and the second order meet the joint acquisition requirement, determining a first delivery object based on the order starting position of the first order.
The target threshold is any positive integer not equal to zero, which is not limited in the embodiment of the present application, and the target threshold may be adjusted by the first user or may be a non-adjustable threshold set by the system, which is not limited in the embodiment of the present application. Illustratively, the target threshold is 3, and for another example, the target threshold is 5. The order quantity of the first order and the second order meets the target threshold value, and the order quantity of the first order and the second order is larger than or equal to the target threshold value.
In one possible implementation, in response to the order quantity of the first order and the second order satisfying the target threshold, the process of determining the first delivery object based on the order starting position of the first order is as follows:
and determining a third area by taking the order starting position of the first order as a reference point and the third length as a reference distance. And determining the delivery objects included in the third area as candidate delivery objects. The order quantity of the third order that has been received but not delivered by the candidate delivery object is determined. And determining the distance between the candidate delivery object and the order starting position of the first order based on the position information of the candidate delivery object and the order starting position of the first order. The first delivery object is determined among the candidate delivery objects based on at least one of the order quantity of the third order that the candidate delivery objects have received but not delivered, and the distance between the candidate delivery object and the order starting position of the first order.
In a possible implementation manner, a third circle is determined by taking the order starting position of the first order as a center of a circle and taking the third length as a radius, and an area included by the third circle is determined as a third area. And determining the delivery objects belonging to the third area as candidate delivery objects, or determining the delivery objects currently located in the third area as candidate delivery objects.
It should be noted that the first length, the second length, and the third length may be the same or different in value, and this is not limited in this application.
In a possible implementation manner, a distance between the candidate delivery object and an order starting position of the first order is determined based on the position information of the candidate delivery object and the order starting position of the first order, where the position information of the candidate delivery object is a current position of the candidate delivery object. And the map calling module determines the distance between each candidate delivery object and the order starting position of the first order respectively based on the position information of each candidate delivery object and the order starting position of the first order.
In one possible implementation, the first delivery object is determined among the candidate delivery objects based on at least one of the order quantity of the third order that has been received but not delivered by the candidate delivery object, and the distance between the candidate delivery object and the order starting position of the first order.
Case one, the first delivery object is determined among the candidate delivery objects based on the order quantity of the third order that the candidate delivery objects have received but not delivered.
In one possible implementation, the candidate delivery object with the lowest order quantity of the received, undelivered third orders among the candidate delivery objects is determined as the first delivery object.
The number of orders of the third orders which are received but not delivered by the first delivery object is determined to be lower, so that the delivery pressure of the first delivery object is lower, and the delivery efficiency of the first orders and the second orders can be improved to a certain extent.
Illustratively, the order quantity of the third order received but not delivered by the first candidate delivery object is 3, the order quantity of the third order received but not delivered by the second candidate delivery object is 5, and the order quantity of the third order received but not delivered by the third candidate delivery object is 1, so that the third candidate delivery object is determined as the first delivery object.
And secondly, determining the first delivery object in the candidate delivery objects based on the distance between the candidate delivery objects and the order starting position of the first order.
In one possible implementation, the candidate delivery object closest to the order start position of the first order among the candidate delivery objects is determined as the first delivery object.
In this case, the determined first delivery object is closest to the order starting position of the first order, so that the first delivery object can acquire the resource of the first order and the resource of the second order as soon as possible, and the delivery efficiency of the first order and the second order can be improved to a certain extent.
Illustratively, the distance between the first candidate delivery object and the order starting position of the first order is 700 meters, the distance between the second candidate delivery object and the order starting position of the first order is 300 meters, and the distance between the third candidate delivery object and the order starting position of the first order is 400 meters, so the second candidate delivery object is determined as the first delivery object.
And thirdly, determining the first delivery object in the candidate delivery objects based on the order quantity of the third order which is received but not delivered by the candidate delivery objects and the distance between the candidate delivery objects and the order starting position of the first order.
In one possible implementation manner, the degree of influence of the first order on the candidate delivery user is determined based on the order quantity, the quantity weight parameter, the distance between the candidate delivery object and the order starting position of the first order, and the distance weight parameter of the third order which is received but not delivered by the candidate delivery object, and the candidate delivery object with the lowest degree of influence is determined as the first delivery object.
In one possible implementation manner, based on the order quantity, the quantity weight parameter, the distance between the candidate delivery object and the order starting position of the first order and the distance weight parameter of the third order which is received by the candidate delivery object but is not delivered, the influence degree S of the first order on the candidate delivery user is determined according to the following formula (1)i
Si=Ai*α+Bi*β (1)
In the above formula (1), SiFor the degree of influence of the first order on the ith candidate delivery user, AiThe order quantity of the third order received but not delivered by the ith candidate delivery object, alpha is a quantity weight parameter, Biβ is a distance weight parameter, which is a distance between the ith candidate delivery object and the order starting position of the first order.
The first delivery object determined in this situation considers the distance of the delivery object and the number of the orders to be delivered of the delivery object, and the consideration is sufficient, so that the delivery efficiency of the first order and the second order can be improved to a certain extent.
Illustratively, the degree of influence of the first order on the first delivery candidate is 30, the degree of influence of the first order on the second delivery candidate is 50, and the degree of influence of the first order on the third delivery candidate is 80, so that the first delivery candidate is determined as the first delivery object.
In a possible implementation manner, in response to that the order quantity of the first order and the second order does not satisfy the target threshold, which indicates that the first order and the second order do not satisfy the joint acquisition requirement, the second delivery object is determined based on the order starting position of the first order, and the order information of the first order is sent to the second delivery object. And determining a third delivery object based on the order starting position of the second order, and sending the order information of the second order to the third delivery object. And sending the incentive resources to the account corresponding to the first order and the account corresponding to the second order. The incentive resource is any one of a coupon, a full coupon and a full coupon, which is not limited in the embodiments of the present application.
It should be noted that, based on the order starting position of the second order, the process of determining the third delivery object is consistent with the above-mentioned process of determining the first delivery object based on the order starting position of the first order, and details are not repeated here.
In step 205, the order information of the first order and the order information of the second order are sent to the first delivery object, and the first delivery object delivers the first order and the second order.
In a possible implementation manner, after the first delivery object is determined in step 203, the order information of the first order and the order information of the second order are sent to the first delivery object, and the first delivery object delivers the first order and the second order.
In one possible implementation manner, after the order information of the first order and the order information of the second order are sent to the first electronic device, a first notification message is sent to the first delivery object, where the notification message is used to indicate that the first delivery object cannot receive other orders before the first order and the second order are delivered, so that the first delivery object can deliver the first order and the second order before the expected delivery time.
In a possible implementation manner, after the order information of the first order and the order information of the second order are sent to the first delivery object, the server may further receive delivery completion information returned by the first delivery object, where the delivery completion information is used to indicate that resources corresponding to the first order and the second order are stored in corresponding storage locations respectively. And the server sends a second notification message to the first user based on the distribution completion information, wherein the second notification message is used for indicating that the resources corresponding to the first order are stored in the first storage position, and sends a third notification message to the second user corresponding to the second order, and the third notification message is used for indicating that the resources corresponding to the second order are stored in the second storage position. Wherein the first storage location and the second storage location may be the same or different storage locations.
Illustratively, the first storage location and the second storage location are the same storage location, the delivery completion message is that "the resource corresponding to the first order and the resource corresponding to the second order have been stored in the first storage location", and the first notification message is that "the resource corresponding to the first order has been stored in the first storage location, please take you in time. And the second notification message is that resources corresponding to the second order are stored in the first storage position, and you take the resources in time. ".
For another example, the first storage location and the second storage location are different storage locations, the delivery completion message is that "the resource corresponding to the first order is stored in the first storage location, and the resource corresponding to the second order is stored in the second storage location", and the first notification message is that "the resource corresponding to the first order is stored in the first storage location, and you take it in time. And the second notification message is that resources corresponding to the second order are stored in the second storage position, and you take the resources in time. ".
It should be noted that the distribution completion information, the first notification message, and the second notification message may also be other contents, which is not limited in this embodiment of the present application.
According to the method, after the order information of the first order is obtained, the second order related to the first order is obtained, the first order and the second order are distributed to the same distribution object, and the same distribution object distributes the first order and the second order. The distribution mode is a non-many-to-many distribution mode, so that the first distribution object does not need to run to multiple initial positions to obtain the resources corresponding to each order, and/or does not need to run to multiple end positions to distribute the resources corresponding to each order, the distribution time length of the first distribution object can be saved, and the distribution efficiency of the first distribution object is improved. In addition, the first delivery object is determined based on the order starting position of the first order, so that the determined first delivery object is more accurate.
Fig. 3 is a flowchart illustrating an order processing method according to an embodiment of the present application, where in fig. 3, order information of a first order is obtained, a joint obtaining link is generated based on the order information of the first order, and the joint obtaining link is returned to a first user. A reference order is received, and a candidate order is determined in the reference order based on at least one of an order start position and an order end position of the first order. Determining a second order associated with the first order in the candidate orders based on the estimated delivery time of the first order, determining the order quantity of the first order and the second order, and determining whether the joint acquisition requirement is met based on the order quantity of the first order and the second order. And responding to the meeting of the joint acquisition requirement, determining a first delivery object based on the order starting position of the first order, and sending the order information of the first order and the order information of the second order to the first delivery object. And in response to the fact that the joint acquisition requirement is not met, determining a second delivery object based on the order starting position of the first order, and sending order information of the first order to the second delivery object. And determining a third delivery object based on the order starting position of the second order, and sending the order information of the second order to the third delivery object. Incentive resources are simultaneously sent to the account of the first order and the account of the second order.
Fig. 4 is a schematic structural diagram of an order processing apparatus according to an embodiment of the present application, and as shown in fig. 4, the apparatus includes:
an obtaining module 401, configured to obtain order information of a first order, where the order information includes an order starting position, an order ending position, and a predicted delivery time;
a first determining module 402 for determining a candidate order in the reference order based on at least one of an order start position and an order end position of the first order;
a second determining module 403, configured to determine, based on the expected delivery time of the first order, a second order associated with the first order from among the candidate orders, where the second order is a candidate order whose expected delivery time satisfies the association condition;
a third determining module 404, configured to determine the first delivery object based on an order starting location of the first order;
the sending module 405 is configured to send the order information of the first order and the order information of the second order to the first distribution object, and the first distribution object distributes the first order and the second order.
In a possible implementation manner, the order information further includes an acquisition time of the first order;
a first determining module 402, configured to determine a first area based on an order starting location of a first order;
determining a second area based on an order ending location of the first order;
determining candidate orders in the reference orders based on the order starting positions and the first areas of the reference orders;
or determining a candidate order in the reference order based on the order termination position and the second area of the reference order;
alternatively, a first candidate order is determined in the reference order based on the order starting position and the first area of the reference order, and a candidate order is determined in the first candidate order based on the order ending position and the second area of the first candidate order.
In one possible implementation, the second determining module 403 is configured to determine a delivery time range based on the expected delivery time and the first time length of the first order;
a second order is determined among the candidate orders based on the expected delivery time and the delivery time range for the candidate orders.
In one possible implementation, the order information further includes an order acquisition time;
the first determining module 402 is further configured to determine a first time based on the order obtaining time and the second duration of the first order;
the device still includes:
the generation module is used for generating a joint acquisition link based on the order information of the first order;
a sending module 405, configured to send the joint acquisition link to a first user, where the first user sends the joint acquisition link to a reference user, and the first user is a user who acquires a first order;
the first determining module 402 is configured to, in response to receiving an order obtaining request sent by a reference user, determine that an order carried by the order obtaining request is a reference order, where an order obtaining time of the order carried by the order obtaining request is located within an order obtaining time of a first order and the first time.
In a possible implementation manner, the first determining module 402 is configured to determine a first area by using an order starting position of the first order as a reference point and using the first length as a reference distance; determining a second area by taking the order termination position of the first order as a reference point and the second length as a reference distance; the first length and the second length may be the same or different lengths.
In a possible implementation manner, the third determining module 404 is configured to determine the order quantity of the first order and the second order;
determining a third area by taking the order starting position of the first order as a reference point and taking the third length as a reference distance in response to the order quantity of the first order and the second order meeting the target threshold value;
determining the delivery objects included in the third area as candidate delivery objects;
determining the order quantity of a third order which is received but not delivered by the candidate delivery object;
determining a distance between the candidate delivery object and the order starting position of the first order based on the position information of the candidate delivery object and the order starting position of the first order;
the first delivery object is determined among the candidate delivery objects based on at least one of the order quantity of the third order that the candidate delivery objects have received but not delivered, and the distance between the candidate delivery object and the order starting position of the first order.
In a possible implementation manner, the sending module 405 is further configured to send a first notification message to the first delivery object, where the first notification message is used to indicate that the first delivery object cannot receive other orders before the first order and the second order are delivered.
In one possible implementation, the apparatus further includes:
the receiving module is used for receiving delivery completion information returned by the first delivery object, and the delivery completion information is used for indicating that resources corresponding to the first order and the second order are stored in corresponding storage positions respectively;
the sending module 404 is further configured to send a second notification message to the first user corresponding to the first order, where the second notification message is used to indicate that the resource corresponding to the first order is stored in the first storage location, and send a third notification message to the second user corresponding to the second order, where the third notification message is used to indicate that the resource corresponding to the second order is stored in the second storage location; the first storage location and the second storage location are the same or different storage locations.
In a possible implementation manner, the third determining module 404 is further configured to determine, in response to the order quantity of the first order and the second order not satisfying the target threshold, a second delivery object based on the order starting position of the first order, and determine a third delivery object based on the order starting position of the second order;
the sending module 405 is further configured to send order information of the first order to a second distribution object, and send order information of the second order to a third distribution object; and sending the incentive resources to the account corresponding to the first order and the account corresponding to the second order.
After the order information of the first order is acquired, the device acquires a second order related to the first order, distributes the first order and the second order to the same delivery object, and delivers the first order and the second order by the same delivery object. The distribution mode is a non-many-to-many distribution mode, so that the first distribution object does not need to run to multiple initial positions to obtain the resources corresponding to each order, and/or does not need to run to multiple end positions to distribute the resources corresponding to each order, the distribution time length of the first distribution object can be saved, and the distribution efficiency of the first distribution object is improved. In addition, the first delivery object is determined based on the order starting position of the first order, so that the determined first delivery object is more accurate.
It should be understood that, when the apparatus provided in fig. 4 implements its functions, it is only illustrated by the division of the functional modules, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 5 shows a block diagram of an electronic device 500 according to an exemplary embodiment of the present application. The electronic device 500 may be a portable mobile terminal, such as: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a notebook computer or a desktop computer. The electronic device 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
In general, the electronic device 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 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 501 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 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 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 502 is used to store at least one instruction for execution by processor 501 to implement the order processing method provided by the method embodiments herein.
In some embodiments, the electronic device 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, camera assembly 506, audio circuitry 507, positioning assembly 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 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 504 includes: 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 circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 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 screen 505 may be one, disposed on the front panel of the electronic device 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the electronic device 500 or in a folded design; in other embodiments, the display 505 may be a flexible display disposed on a curved surface or on a folded surface of the electronic device 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 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 506 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 circuitry 507 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 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 500. 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 501 or the radio frequency circuit 504 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 circuitry 507 may also include a headphone jack.
The positioning component 508 is used to locate the current geographic Location of the electronic device 500 for navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 509 is used to power the various components in the electronic device 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the electronic device 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the electronic device 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the electronic device 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: 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.
The pressure sensor 513 may be disposed on a side bezel of the electronic device 500 and/or underneath the display screen 505. When the pressure sensor 513 is disposed on the side frame of the electronic device 500, the holding signal of the user to the electronic device 500 can be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 505. 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 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be disposed on the front, back, or side of the electronic device 500. When a physical button or vendor Logo is provided on the electronic device 500, the fingerprint sensor 514 may be integrated with the physical button or vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is reduced. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also known as a distance sensor, is typically disposed on the front panel of the electronic device 500. The proximity sensor 516 is used to capture the distance between the user and the front of the electronic device 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the electronic device 500 gradually decreases, the processor 501 controls the display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the electronic device 500 becomes gradually larger, the processor 501 controls the display screen 505 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. 5 is not intended to be limiting of the electronic device 500 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 600 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 601 and one or more memories 602, where at least one program code is stored in the one or more memories 602, and is loaded and executed by the one or more processors 601 to implement the order Processing method provided by the foregoing method embodiments. Of course, the server 600 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 600 may also include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to cause a computer to implement any of the order processing methods described above.
Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program or a computer program product having at least one computer instruction stored therein, the at least one computer instruction being loaded and executed by a processor to cause a computer to implement any of the order processing methods described above.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. An order processing method, characterized in that the method comprises:
obtaining order information of a first order, wherein the order information comprises an order starting position, an order ending position and predicted delivery time;
determining a candidate order in a reference order based on at least one of an order starting position and an order ending position of the first order;
determining a second order associated with the first order in the candidate orders based on the predicted delivery time of the first order, wherein the second order is a candidate order of which the predicted delivery time meets the association condition;
determining a first delivery object based on the order starting position of the first order;
and sending the order information of the first order and the order information of the second order to the first distribution object, and distributing the first order and the second order by the first distribution object.
2. The method of claim 1, wherein determining the candidate order in the reference order based on at least one of an order start location and an order end location of the first order comprises:
determining a first area based on an order starting position of the first order;
determining a second area based on an order ending location of the first order;
determining the candidate order in the reference order based on the order starting position of the reference order and the first area;
or, determining the candidate order in the reference order based on the order termination location of the reference order and the second region;
or, determining a first candidate order in the reference order based on the order starting position of the reference order and the first area, and determining the candidate order in the first candidate order based on the order ending position of the first candidate order and the second area.
3. The method of claim 1, wherein determining a second order associated with the first order among the candidate orders based on the projected time-to-delivery of the first order comprises:
determining a delivery time range based on the projected delivery time and the first time duration of the first order;
determining the second order among the candidate orders based on the projected time of delivery and the time range of delivery for the candidate orders.
4. The method of claim 1, wherein the order information further comprises an order acquisition time;
the method further comprises, prior to determining a candidate order in the reference order based on at least one of an order start location and an order end location of the first order, the method further comprising:
determining a first time based on the order acquisition time and a second time length of the first order;
generating a joint acquisition link based on the order information of the first order;
sending the joint acquisition link to a first user, and sending the joint acquisition link to a reference user by the first user, wherein the first user is a user for acquiring the first order;
and determining the order carried by the order obtaining request as the reference order in response to receiving the order obtaining request sent by the reference user, wherein the order obtaining time of the order carried by the order obtaining request is within the order obtaining time of the first order and the first time.
5. The method of claim 2, wherein determining a first area based on the order starting location of the first order comprises:
determining the first area by taking the order starting position of the first order as a reference point and taking the first length as a reference distance;
determining a second area based on the order ending location of the first order, comprising:
determining the second area by taking the order ending position of the first order as a reference point and a second length as a reference distance; the first length and the second length may be the same or different lengths.
6. The method of claim 1, wherein determining a first delivery object based on the order starting location of the first order comprises:
determining the order quantity of the first order and the second order;
determining a third area by taking the order starting position of the first order as a reference point and a third length as a reference distance in response to the order quantity of the first order and the second order meeting a target threshold value;
determining the delivery objects included in the third area as candidate delivery objects;
determining the order quantity of a third order which is received but not delivered by the candidate delivery object;
determining a distance between the candidate delivery object and the order starting position of the first order based on the position information of the candidate delivery object and the order starting position of the first order;
determining the first delivery object in the candidate delivery objects based on at least one of the order quantity of the third order received but not delivered by the candidate delivery objects and the distance between the candidate delivery objects and the order starting position of the first order.
7. The method according to any one of claims 1 to 6, wherein after sending the order information of the first order and the order information of the second order to the first delivery object, the method further comprises:
and sending a first notification message to the first delivery object, wherein the first notification message is used for indicating that the first delivery object cannot receive other orders before the first order and the second order are delivered completely.
8. The method according to any one of claims 1 to 6, wherein after sending the order information of the first order and the order information of the second order to the first delivery object, the method further comprises:
receiving delivery completion information returned by the first delivery object, wherein the delivery completion information is used for indicating that resources corresponding to the first order and the second order are stored in corresponding storage positions respectively;
sending a second notification message to a first user corresponding to the first order, wherein the second notification message is used for indicating that the resource corresponding to the first order is stored in a first storage position, and sending a third notification message to a second user corresponding to the second order, wherein the third notification message is used for indicating that the resource corresponding to the second order is stored in a second storage position;
the first storage position and the second storage position are the same or different storage positions.
9. The method of claim 6, further comprising:
in response to the order quantity of the first order and the second order not meeting the target threshold, determining a second delivery object based on an order starting position of the first order, sending order information of the first order to the second delivery object, determining a third delivery object based on the order starting position of the second order, and sending order information of the second order to the third delivery object;
and sending incentive resources to the account corresponding to the first order and the account corresponding to the second order.
10. An order processing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring order information of a first order, wherein the order information comprises an order starting position, an order ending position and predicted delivery time;
a first determining module, configured to determine a candidate order in a reference order based on at least one of an order start position and an order end position of the first order;
a second determining module, configured to determine, based on the expected delivery time of the first order, a second order associated with the first order from among the candidate orders, where the second order is a candidate order whose expected delivery time satisfies an associated condition;
a third determining module, configured to determine a first delivery object based on an order starting location of the first order;
and the sending module is used for sending the order information of the first order and the order information of the second order to the first distribution object, and the first distribution object distributes the first order and the second order.
11. A server, characterized in that the server comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor, to cause the server to implement the order processing method according to any of claims 1 to 9.
12. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor, to cause a computer to implement the order processing method of any of claims 1 to 9.
CN202110858696.1A 2021-07-28 2021-07-28 Order processing method, device, equipment and computer readable storage medium Pending CN113554492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110858696.1A CN113554492A (en) 2021-07-28 2021-07-28 Order processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110858696.1A CN113554492A (en) 2021-07-28 2021-07-28 Order processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113554492A true CN113554492A (en) 2021-10-26

Family

ID=78104834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110858696.1A Pending CN113554492A (en) 2021-07-28 2021-07-28 Order processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113554492A (en)

Similar Documents

Publication Publication Date Title
CN110278464B (en) Method and device for displaying list
CN111479120A (en) Method, device, equipment and storage medium for issuing virtual red packet in live broadcast room
CN110740340B (en) Video live broadcast method and device and storage medium
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN111083516A (en) Live broadcast processing method and device
CN111311155A (en) Method, apparatus, system, device and storage medium for modifying distribution position
CN111582993A (en) Method and device for acquiring target object, electronic equipment and storage medium
CN111083554A (en) Method and device for displaying live gift
CN111258683A (en) Detection method, detection device, computer equipment and storage medium
CN112597417B (en) Page updating method and device, electronic equipment and storage medium
CN113935678A (en) Method, device, equipment and storage medium for determining multiple distribution terminals held by distributor
CN112579926A (en) Method and device for acquiring target resource, electronic equipment and storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN113554492A (en) Order processing method, device, equipment and computer readable storage medium
CN111681098A (en) Resource transfer method, device, server and computer readable storage medium
CN110134303B (en) Operation control display method, device, terminal and storage medium
CN113064537B (en) Media resource playing method, device, equipment, medium and product
CN111490979B (en) Information interaction method and device and storage medium
CN111526221B (en) Domain name quality determining method, device and storage medium
CN114071119B (en) Resource testing method and device, electronic equipment and storage medium
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
CN114119167A (en) Order processing method, device, equipment and computer readable storage medium
CN114926250A (en) Order processing method, device, equipment and computer readable storage medium
CN113807902A (en) Method, device, server and storage medium for acquiring resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication