A method for route generation based on a stated purpose of an activity, implemented by a computer system, includes: receiving, by the computer system, a route request from a user device, the route request including an activity to be performed during a route traversal, a purpose of the activity, and a user identifier associated with a user of the user device; in response to receiving the route request, obtaining, by the computer system, a set of user preferences associated with the user identifier from a user profiles database; identifying, by the computer system, a set of route candidates with route attributes matching the activity, the purpose of the activity, and at least one of the user preferences; and outputting, by the computer system to the user device, one or more recommended route candidates from the set of route candidates based on the matching.
|
15. A system comprising:
a processor; and
a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer system to cause the processor to:
receive a route request from a user device, the route request comprising an activity to be performed during a route traversal, a purpose of the activity, and a user identifier associated with a user of the user device;
in response to receiving the route request, obtain a set of user preferences associated with the user identifier from a user profiles database;
identify a set of route candidates with route attributes matching the activity from the route request, the purpose of the activity from the route request, and at least one of the user preferences from the user profiles database; and
output, to the user device, one or more recommended route candidates from the set of route candidates based on the matching.
1. A method for route generation based on a stated purpose of an activity, implemented by a computer system, comprising:
receiving, by the computer system, a route request from a user device, the route request comprising an activity to be performed during a route traversal, a purpose of the activity, and a user identifier associated with a user of the user device;
in response to receiving the route request, obtaining, by the computer system, a set of user preferences associated with the user identifier from a user profiles database;
identifying, by the computer system, a set of route candidates with route attributes matching the activity from the route request, the purpose of the activity from the route request, and at least one of the user preferences from the user profiles database; and
outputting, by the computer system to the user device, one or more recommended route candidates from the set of route candidates based on the matching.
8. A computer program product for route generation based on a stated purpose of an activity, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer system to cause the computer system to:
receive a route request from a user device, the route request comprising an activity to be performed during a route traversal, a purpose of the activity, and a user identifier associated with a user of the user device;
in response to receiving the route request, obtain a set of user preferences associated with the user identifier from a user profiles database;
identify a set of route candidates with route attributes matching the activity from the route request, the purpose of the activity from the route request, and at least one of the user preferences from the user profiles database; and
output, to the user device, one or more recommended route candidates from the set of route candidates based on the matching.
2. The method of
identifying the set of route candidates, by the computer system, using data from one or more data sources;
comparing, by the computer system, the purpose of the activity and the user preferences with the route attributes of each of the set of route candidates;
ranking, by the computer system, the set of route candidates based on results of the comparing; and
outputting, by the computer system, the one or more recommended route candidates based on the ranking.
3. The method of
categorizing, by the computer system, the route attributes;
defining, by the computer system, correlations between route attribute categories and the set of user preferences;
for each route candidate in the set of route candidates, comparing, by the computer system, the set of user preferences with the route attributes in the route attribute categories correlated with the set of user preferences;
scoring, by the computer system, the set of route candidates based on the comparing;
ranking, by the computer system, the set of route candidates based on the scoring; and
outputting the one or more route candidates having scores which exceed a threshold score.
4. The method of
inputting, by the computer system, a plurality of parameters into a machine learning algorithm, the plurality of parameters comprising the activity, the purpose of the activity, the set of user preferences, and data from one or more data sources;
identifying, by the machine learning algorithm executed by the computer system, the set of route candidates using at least the data from one or more data sources; and
calculating, by the machine learning algorithm executed by the computer system, a set of optimal recommended route candidates, wherein the machine learning algorithm is configured with correlations and relationships between the plurality of parameters and the route attributes.
5. The method of
obtaining, by the computer system, feedback from the user concerning how well the selected route met the purpose of the activity;
inputting, by the computer system, the feedback into the machine learning algorithm;
processing the feedback, by the machine learning algorithm executed by the computer system; and
modifying, by the machine learning algorithm executed by the computer system, one or more of the sets of user preferences according to the processing of the feedback.
6. The method of
tracking, by the computer system, the traversal of a selected route by the user by tracking movements of the user device, the selected route being selected from the one or more recommended route candidates;
detecting, by the computer system, a deviation from the selected route by the user device;
obtaining, by the computer system, information from the user concerning reasons for the deviation; and
storing, by the computer system, the information in a route history database.
7. The method of
inputting, by the computer system, the information into a machine learning algorithm, wherein the machine learning algorithm is configured with correlations and relationships between a plurality of parameters, the plurality of parameters comprising the activity, the purpose of the activity, the set of user preferences, data from one or more data sources, and the route attributes;
processing, by the machine learning algorithm executed by the computer system, the inputted information; and
modifying, by the machine learning algorithm executed by the computer system, one or more of the set of user preferences based on the processing of the inputted information.
9. The computer program product of
identify the set of route candidates using data from one or more data sources;
compare the purpose of the activity and the user preferences with the route attributes of each of the set of route candidates;
rank the set of route candidates based on results of the comparing; and
output the one or more recommended route candidates based on the ranking.
10. The computer program product of
categorize the route attributes;
define correlations between route attribute categories and the set of user preferences;
for each route candidate in the set of route candidates, compare the set of user preferences with the route attributes in the route attribute categories correlated with the set of user preferences;
score the set of route candidates based on the comparing; and
rank the set of route candidates based on the scoring.
11. The computer program product of
input a plurality of parameters into a machine learning algorithm, the plurality of parameters comprising the activity, the purpose of the activity, the set of user preferences, and data from one or more data sources;
identify, by the machine learning algorithm, the set of route candidates using at least the data from one or more data sources; and
calculate, by the machine learning algorithm, a set of optimal recommended route candidates, wherein the machine learning algorithm is configured with correlations and relationships between the plurality of parameters and the route attributes.
12. The computer program product of
obtain feedback from the user concerning how well the selected route met the purpose of the activity;
input the feedback into the machine learning algorithm;
process the feedback, by the machine learning algorithm; and
modify, by the machine learning algorithm, one or more of the set of user preferences according to the processing of the feedback.
13. The computer program product of
track the traversal of a selected route by the user by tracking movements of the user device, the selected route being selected from the one or more recommended route candidates;
detect a deviation from the selected route by the user device;
obtain information from the user concerning reasons for the deviation; and
store the information in a route history database.
14. The computer program product of
input the information into a machine learning algorithm, wherein the machine learning algorithm is configured with correlations and relationships between a plurality of parameters, the plurality of parameters comprising the activity, the purpose of the activity, the set of user preferences, data from one or more data sources, and the route attributes;
process, by the machine learning algorithm, the inputted information; and
modify, by the machine learning algorithm, one or more of the set of user preferences based on the processing of the inputted information.
16. The system of
identify the set of route candidates using data from one or more data sources;
compare the purpose of the activity and the user preferences with the route attributes of each of the set of route candidates;
rank the set of route candidates based on results of the comparing; and
output the one or more recommended route candidates based on the ranking.
17. The system of
input a plurality of parameters into a machine learning algorithm, the plurality of parameters comprising the activity, the purpose of the activity, the set of user preferences, and data from one or more data sources;
identify, by the machine learning algorithm, the set of route candidates using at least the data from one or more data sources; and
calculate, by the machine learning algorithm, a set of optimal recommended route candidates, wherein the machine learning algorithm is configured with correlations and relationships between the plurality of parameters and the route attributes.
18. The system of
obtain feedback from the user concerning how well the selected route met the purpose of the activity;
input the feedback into the machine learning algorithm;
process the feedback, by the machine learning algorithm; and
modify, by the machine learning algorithm, one or more of the set of user preferences according to the processing of the feedback.
19. The system of
track the traversal of a selected route by the user by tracking movements of the user device, the selected route being selected from the one or more recommended route candidates;
detect a deviation from the selected route by the user device;
obtain information from the user concerning reasons for the deviation; and
store the information in a route history database.
20. The system of
input the information into a machine learning algorithm, wherein the machine learning algorithm is configured with correlations and relationships between a plurality of parameters, the plurality of parameters comprising the activity, the purpose of the activity, the set of user preferences, data from one or more data sources, and the route attributes;
process, by the machine learning algorithm, the inputted information; and
modify, by the machine learning algorithm, one or more of the set of user preferences based on the processing of the inputted information.
|
Many device applications are designed for plotting routes from a starting location to a destination location and selecting a preferred route based on certain parameters, such as avoiding tolls or highways, a constraint (e.g. shortest time or shortest distance), and/or to leaving or arriving by a certain time. In order to plot the routes, both the starting location and the destination location must be provided. When either location is not specified, these applications cannot plot routes. When a route is desired that is not based on a destination, these applications are not useful.
Disclosed herein is a method for route generation based on a stated purpose of an activity to be performed during route traversal, and a computer program product and system as specified in the independent claims. Embodiments of the present invention are given in the dependent claims. Embodiments of the present invention can be freely combined with each other if they are not mutually exclusive.
According to an embodiment of the present invention, a method for route generation based on a stated purpose of an activity, implemented by a computer system, includes: receiving, by the computer system, a route request from a user device, the route request including an activity to be performed during a route traversal, a purpose of the activity, and a user identifier associated with a user of the user device; in response to receiving the route request, obtaining, by the computer system, a set of user preferences associated with the user identifier from user profile; identifying, by the computer system, a set of route candidates with route attributes matching the activity, the purpose of the activity, and at least one of the user preferences; and outputting, by the computer system to the user device, one or more recommended route candidates from the set of route candidates based on the matching.
In some embodiments, the route generation application 102 requests data from the data sources 130 directly or subscribes to a data feed from which the routing service 102 receives data. In some embodiments, the route generation application 102 performs a “web crawl” in which an application is executed by the server 101 which automatically browses the Internet in order to obtain data. In some embodiments, the route generation application 102 obtains the data from the data sources 130 in a continual manner, without regard to whether a route request has been received from a user 120, i.e., “in the background”. In some embodiments, the route generation application 102 obtains the data in response to receipt of a route request. The data obtains from the data sources 130 can be stored in the external data database 104. Data gathered from data sources 130 can include, but are not limited to: mapping data; street view video; crime reports and statistics; civil complaints; current weather; road conditions; traffic data; and census data.
In some embodiments, using the external data in the external data database 104, the route generation application 102 identifies a set of route candidates and calculates the route attributes for each route candidate in the set (203).
Returning to
In some alternative embodiments, blocks 203-205 of
In some embodiments, the route generation application 102 tracks the user's traversal of the selected route by tracking the movement of the user device 110. During the route traversal, the route generation application 102 optionally updates the selected route based on new or updated data received from one or more of the data sources 130. For example, the route generation application 102 parses new data from law enforcement that indicates that criminal activity has been reported at a location proximate to the selected route. The route generation application 102 determines that, based on this new data, the Safety 502 user preference has changed from “Safer” 506 to “Less Safe” 507. In response, the route generation application 102 identifies a modified or alternate route where the Safety 502 user preference is “Safer” 506. In this manner, real-time tracking of the route traversal is used to generate real-time modifications to the selected route. In some embodiment, in identifying the modified route, the route generation application 102 repeats the evaluation of route candidates per blocks 303-305 (
In some embodiments, in tracking the movement of the user device 110, the routing service 102 detects that the user device 110 has deviated from the select route. The route generation application 102 can send prompts to the application 111 to request from the user 120 information concerning the deviation, such as the reason the user chose to deviate. The user's response to the information request is then stored in the route history database 105 and/or with the user's profile in the user profile database 103. This information is input into the machine learning algorithm, which processes and learns from this information and can modify the user preferences for the user 120 and/or to the weights assigned to one or more of the user preferences to improve their accuracy. In this manner, the route generation application 102 learns, from the user's actual behavior during route traversal, what user preferences or route attributes are more important to the user. Over time, the machine learning algorithm's ability to recommend routes from which the user is less likely to deviate improves.
In some embodiments, upon completion of the route traversal, the application 111 prompts the user 120 for feedback concerning the selected, including how well the selected route met the user's stated purpose and/or user preferences. When the feedback indicates that the selected route did not meet the user's stated purpose, the application 111 further prompts the user for additional information on the reasons. This information is then conveyed to the route generation application 102 by the application 111. This information is input into the machine learning algorithm, which processes and learns from this information and can modify to the user preferences for the user 120 and/or to change weights assigned to one or more of the user preferences to improve their accuracy. In this manner, the machine learning algorithm learns, from the user's feedback, what route attributes and/or user preferences are more important to the user. Over time, the machine learning algorithm's ability to recommend routes that receive positive feedback from the user improves.
In some embodiments, the user 120 can begin traversal of a user-defined route prior to initiating the route request. Upon receiving the route request, the route generation application 120 generates outputs recommended routes proximate to the user's current location (or projected route trajectory) based on the user preferences, in the manner described above.
In some embodiments, the application 111 infers the activity based on the type of user device 110. For example, when the user device 110 is a smart watch, then the activity is less likely to be the driving of a vehicle, and the application 111 infers that the activity is either a walk or a jog. For another example, when the user device 110 is a tablet, then the activity is less likely to be a jog, and the application 111 infers that the activity is the driving of a vehicle.
In some embodiments, the route generation application 102 generates recommended routes in contexts other than for the user's personal activities. For example, the route generation application 102 is used by government or corporate entities to meet training goals, where the preferences include the terrain, lighting, setting, etc. related to the training goals.
Although the embodiments of the present invention are described above in the context of a machine learning algorithm, other artificial intelligence techniques may be used without departing from the spirit and scope of the present invention.
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions 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 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 from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be accomplished as one step, executed concurrently, substantially concurrently, in a partially or wholly temporally overlapping manner, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Rendahl, Randy A., Sese, Jocelyn, Silva, Ashley Kristin, Isaacs, Frank
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
10024675, | May 10 2016 | Microsoft Technology Licensing, LLC | Enhanced user efficiency in route planning using route preferences |
8090532, | Dec 14 2007 | Microsoft Technology Licensing, LLC | Pedestrian route production |
8655591, | May 09 2012 | Mitac International Corp. | Method of creating varied exercise routes for a user |
20100211304, | |||
20110270517, | |||
20130054141, | |||
20140108137, | |||
20170138754, | |||
20190178672, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jan 09 2020 | SESE, JOCELYN | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051501 | /0499 | |
Jan 09 2020 | SILVA, ASHLEY KRISTIN | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051501 | /0499 | |
Jan 09 2020 | RENDAHL, RANDY A | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051501 | /0499 | |
Jan 09 2020 | ISAACS, FRANK | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051501 | /0499 | |
Jan 13 2020 | International Business Machines Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jan 13 2020 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Jun 13 2026 | 4 years fee payment window open |
Dec 13 2026 | 6 months grace period start (w surcharge) |
Jun 13 2027 | patent expiry (for year 4) |
Jun 13 2029 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jun 13 2030 | 8 years fee payment window open |
Dec 13 2030 | 6 months grace period start (w surcharge) |
Jun 13 2031 | patent expiry (for year 8) |
Jun 13 2033 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jun 13 2034 | 12 years fee payment window open |
Dec 13 2034 | 6 months grace period start (w surcharge) |
Jun 13 2035 | patent expiry (for year 12) |
Jun 13 2037 | 2 years to revive unintentionally abandoned end. (for year 12) |