The present invention relates generally to the data processing field, and more particularly, relates to a method, system and computer program product for implementing prioritized order scoring based upon user location and history.
Principal aspects of the present invention are to provide a method, system and computer program product for implementing enhanced prioritized order scoring based upon user location and user history. Other important aspects of the present invention are to provide such method, system and computer program product substantially without negative effects and that overcome many of the disadvantages of prior art arrangements.
In brief, a method, system and computer program product are provided for implementing enhanced prioritized order scoring based upon user location and user history. A prioritized order score used for work prioritization is calculated using user location and user history. A respective prioritized order score is identified for an ordered pickup location and an alternative pickup location. The identified prioritized order scores are compared to identify a pickup location for the order.
In accordance with features of the invention, identifying the alternative business location for the order, the order optionally is automatically rerouted so that it is ready for the customer at a new location, for example, when it is detected that the customer is going to the wrong location.
In accordance with features of the invention, a calculation of priority score (S score) optionally is represented by:
S score=(PT pickup time−ET estimated time)+(ΣPT pickup history),
where the higher the priority score S score, the higher in the order queue,
PT pickup time represents the pickup time given to the customer,
ET represents the estimated time for the customer's arrival based upon location data and traffic travel time, and
ΣPT pickup history represents a sum of the customer's pickup history, with each previous pickup given a value for each late pickup, another value for each on time pickup, and another value for each early pickup, for example, with −1 for each late pickup, 0 for each on time pickup, and 1 for each early pickup.
In accordance with features of the invention, base weighting are added to location and history factors to adjust for business preference where location weight is the weight given to the location factors, and history weight given to the history factors.
In accordance with features of the invention, calculation of priority score (S score) optionally uses another factor of the history of the location where the order is placed into the scoring for the queue. For example, when a customer consistently places an order from the same location and is on time, that factor can be used to raise their calculated score.
In accordance with features of the invention, a user's response when the order is being rerouted is employed to train the system. When the user asks to have the order rerouted, this is incorporated into the system.
In accordance with features of the invention, the use of identified prioritized order scores to identify a pickup location for the order enables associated businesses to effectively manage staff and demands, and increases customer satisfaction
The present invention together with the above and other objects and advantages may best be understood from the following detailed description of the preferred embodiments of the invention illustrated in the drawings, wherein:
In the following detailed description of embodiments of the invention, reference is made to the accompanying drawings, which illustrate example embodiments by which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In accordance with features of the invention, a method and system are provided for implementing enhanced prioritized order scoring based upon user location and history.
Having reference now to the drawings, in
Computer system 102 includes a system memory 106 including an operating system 108 and a prioritized order scoring control 110 in accordance with preferred embodiments. System memory 106 is a random-access semiconductor memory for storing data, including programs. System memory 106 is comprised of, for example, a dynamic random access memory (DRAM), a synchronous direct random access memory (SDRAM), a current double data rate (DDRx) SDRAM, non-volatile memory, optical storage, and other storage devices.
Computer system 102 includes a storage 112 including a customer history, retail locations and customer's current location data 114 in accordance with preferred embodiments and a network interface 116. Computer system 102 includes an I/O interface 118 for transferring data to and from computer system components including CPU 104, memory 106 including the operating system 108 and prioritized order scoring control, storage 112 including a customer history, retail locations and customer's current location data 114, and network interface 116 and a network 120 and a client system and application 122.
In accordance with features of the invention, the new computer system 102 of the preferred embodiment implements enhanced prioritization of order processing based upon user location and history. The enhanced order prioritization enables associated businesses to more effectively manage staff and demands, and increasing customer satisfaction.
In accordance with features of the invention, the enhanced order prioritization enables just in time order preparation for delivery to the customer, which is an important feature for customer and the associated businesses, particularly for perishable orders, such as many food orders.
In accordance with features of the invention, the enhanced order prioritization enables recognition of an order being placed to a wrong location and a customer mistakenly traveling to a wrong location. Multiple local retail locations are stored in the system. When the system identifies a prioritized order score continuing to decrease from the ordered location while increasing towards an alternative business location, the order is recognized as being placed to the wrong location.
In accordance with features of the invention, the enhanced order prioritization enables, for example, automatically rerouting an order so that it is ready for the customer at a new location when it is detected that the customer may be going to the wrong location. The customer is notified of this change. The customer is notified that the address of the mistaken location was entered and the new destination information is provided to the customer. A customer's destination information is incorporated into the redirect notification decision. Thus, for example, with the system knowing the user's history, it can determine that at 5 p.m. during the week, the customer travels from their office to their home. While the customer may pass by an alternative restaurant on their drive home, the system suppresses any notification since the user selected pickup location is close to their home.
In accordance with features of the invention, a user's response is employed to train the system, for example if the user has taken a detour and declines to have their order rerouted, to suppress future notifications under similar circumstances. When the user asks to have the order rerouted, this also is incorporated into the system. The user is notified when a future order is placed at a similar time of day and place, suggesting to the user when placing the order the new pickup location that was used last time.
Referring to
Referring to
S score=(PT pickup time−ET estimated time)+(ΣPT pickup history),
where the higher the priority score S score, the higher in the order queue,
PT pickup time represents the pickup time given to the customer,
ET represents the estimated time for the customer's arrival based upon location data and traffic travel time, and
ΣPT pickup history represents a sum of the customer's pickup history, with each previous pickup given a value, for example, of −1 for each late pickup, 0 for each on time pickup, and 1 for each early pickup.
As another example, a calculation of priority score (S score) using base weighting added to location and history factors is used to adjust for business preference, and optionally is represented by:
S score=LW location weight (PT pickup time−ET estimated time)+HW history weight (ΣPT pickup history),
where LW location weight is the weight given to the location factors, and
HW history weight given to the history factors, and can be any selected numerical value. For example, a heavy history weighting can put preference on past behavior, while still accommodating real-time location data.
As another example, a calculation of priority score (S score) using another factor of the history of the location where the order is placed into the scoring for the queue. For example, when a customer consistently places an order from the same location and is on time, that factor advantageously is used to raise their score. When a new order location is seen, that has no impact on the scoring. The calculation of priority score (S score) using the location of the order is represented by:
S score=LW location weight ((PT pickup time−ET estimated time)+OL order location)+HW history weight (ΣPT pickup history),
where the OL order location is a selected factor increasing the calculated priority score. Following the calculation of priority score (S score) as indicated in a block 210, a customer work queue prioritization decision is updated.
Referring now to
As indicated at a decision block 306, determining whether to provide for an order being rerouted is performed. When determined that the order is not rerouted based on the user's response, the order without rerouting is executed employing the user response as indicated at a block 308. When determined that the order is rerouted, the order is rerouted using the alternative business location of the order at block 304 so that it is ready for the customer at a new location when it is detected that the customer may be going to the wrong location as indicated at a block 310.
Then customer data is updated as indicated at a block 312 following the actions taken at respective blocks 308 and 310. The user's response is employed to train the system at 312, for example, if the user has taken a detour and declines to have their order rerouted, the history data is updated to suppress future notifications under similar circumstances. When the user asks to have the order rerouted, this also is incorporated into the system. The user is notified when a future order is placed at a similar time of day and place, then suggesting to the user is performed to indicate that when placing the order, the new pickup location that was used last time using the updated customer data at block 312.
Referring now to
Computer readable program instructions 404, 406, 408, and 410 described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The computer program product 400 may include cloud based software residing as a cloud application, commonly referred to by the acronym (SaaS) Software as a Service. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions 404, 406, 408, and 410 from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
A sequence of program instructions or a logical assembly of one or more interrelated modules defined by the recorded program means 404, 406, 408, and 410, direct the system 100 for enhanced prioritized order scoring based upon user location and user history of the preferred embodiment.
While the present invention has been described with reference to the details of the embodiments of the invention shown in the drawing, these details are not intended to limit the scope of the invention as claimed in the appended claims.