The specification relates to navigation systems. In particular, the specification relates to a system and method for forgetting data in a navigation system.
A navigation system such as a global positioning system (GPS) is helpful for a user who is driving a vehicle on a road. The user may obtain all kinds of information from the navigation system such as a route to a destination, local traffic conditions, locations of restaurants, estimated time of arrival, the speed limit on the road, estimated journey duration, etc. However, existing navigation systems have been proven deficient and have numerous problems.
First, existing navigation systems require a user to enter a destination for a journey before providing any driving information to the user such as a route to the destination, driving instructions for the journey, estimated time of arrival, etc. Existing navigation systems fail to predict destinations for journeys that the user is going to take and therefore fail to provide the driving information if the user does not input the destination.
Second, existing navigation systems fail to provide a mechanism to delete obsolete data stored in the systems. For example, existing navigation systems fail to automatically delete obsolete destinations from past journeys (e.g., destinations that the user has not been to for several years) and data associated with the obsolete destinations, which might cause the systems to run out of storage space especially when a very limited storage space is available in the systems.
The specification overcomes the deficiencies and limitations of the prior art at least in part by providing a system and method for forgetting data in a navigation system. The system comprises a monitor module, a determination module and a delete module. The monitor module detects a trigger event. The determination module determines a classification for the trigger event. The determination module determines a set of learning parameters to delete from a memory associated with a navigation system based at least in part on detection of the trigger event and the classification of the trigger event. The delete module deletes the determined set of learning parameters.
The specification is illustrated by way of example, and not by way of limitation in the figures of the accompanying drawings in which like reference numerals are used to refer to similar elements.
A system and method for estimating one or more journeys to one or more destinations is described below. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the specification. It will be apparent, however, to one skilled in the art that the embodiments can be practiced without these specific details. In other instances, structures and devices are shown in block diagram form in order to avoid obscuring the specification. For example, the specification is described in one embodiment below with reference to user interfaces and particular hardware. However, the description applies to any type of computing device that can receive data and commands, and any peripheral devices providing services.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
Some portions of the detailed descriptions that follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
The specification also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, compact disc read-only memories (CD-ROMs), magnetic disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memories including universal serial bus (USB) keys with non-volatile memory or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.
Some embodiments can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. A preferred embodiment is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Furthermore, some embodiments can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer-readable medium can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modems and Ethernet cards are just a few of the currently available types of network adapters.
Finally, the algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the specification is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the various embodiments as described herein.
While
In the illustrated embodiment, the social network server 120 is communicatively coupled to the network 105 via signal line 103. The search server 124 is communicatively coupled to the network 105 via signal line 107. The client 130 is communicatively coupled to the network 105 via one or more of signal lines 119 and 121. The mobile device 134 is communicatively coupled to the network 105 via one or more of signal lines 115 and 117. The navigation system 102 is communicatively coupled to the network 105 via one or more of signal lines 109, 111 and 113. In one embodiment, a network interface 108 comprised within the navigation system 102 is communicatively coupled to the network 105 via one or more of signal lines 109 and 111. A global positioning system (GPS) 110 comprised within the navigation system 102 is communicatively coupled to the network 105 via signal line 113. In one embodiment, each of signal lines 103, 107, 111, 117 and 121 represents one of a wired connection (e.g., a connection via a cable) and a wireless connection (e.g., a wireless local area network (LAN) connection). Each of signal lines 109, 113, 115 and 119 represents a wireless connection (e.g., a wireless LAN connection, a satellite connection, etc.).
The network 105 is a conventional type of network, wired or wireless, and may have any number of configurations such as a star configuration, token ring configuration or other configurations known to those skilled in the art. In one embodiment, the network 105 comprises one or more of a local area network (LAN), a wide area network (WAN) (e.g., the Internet) and/or any other interconnected data path across which multiple devices communicate. In another embodiment, the network 105 is a peer-to-peer network. The network 105 is coupled to or includes portions of a telecommunications network for sending data in a variety of different communication protocols. For example, the network 105 is a 3G network or a 4G network. In yet another embodiment, the network 105 includes Bluetooth® communication networks or a cellular communications network for sending and receiving data such as via short messaging service (SMS), multimedia messaging service (MMS), hypertext transfer protocol (HTTP), direct data connection, wireless application protocol (WAP), email, etc. In yet another embodiment, all or some of the links in the network 105 are encrypted using conventional encryption technologies such as secure sockets layer (SSL), secure HTTP and/or virtual private networks (VPNs).
The navigation system 102 is a system for providing navigation information. For example, the navigation system 102 is an on-board navigation system embedded in a vehicle. The navigation system 102 includes a processor 104, a memory 106, a network interface 108, a GPS 110, a learning system 112, an estimation system 114, a forgetting module 116, a storage device 118 and a display 160. Although only one processor 104, one memory 106, one network interface 108, one GPS 110, one learning system 112, one estimation system 114, one forgetting module 116, one storage device 118 and one display 160 are illustrated, one skilled in the art will recognize that any number of these components are available in the navigation system 102. One skilled in the art will also appreciate that the navigation system 102 may include any other components not shown in
The processor 104 comprises an arithmetic logic unit, a microprocessor, a general purpose controller or some other processor array to perform computations, retrieve data stored on the storage device 118, etc. The processor 104 processes data signals and may comprise various computing architectures including a complex instruction set computer (CISC) architecture, a reduced instruction set computer (RISC) architecture, or an architecture implementing a combination of instruction sets. Although only a single processor is shown in
The memory 106 stores instructions and/or data that may be executed by the processor 104. The instructions and/or data may comprise code for performing any and/or all of the techniques described herein. The memory 106 may be a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, flash memory or some other memory device known in the art. In one embodiment, the memory 106 also includes a non-volatile memory or similar permanent storage device and media such as a hard disk drive, a floppy disk drive, a CD-ROM device, a DVD-ROM device, a DVD-RAM device, a DVD-RW device, a flash memory device, or some other mass storage device known in the art for storing information on a more permanent basis.
The network interface 108 is an interface for connecting the navigation system 102 to a network. For example, the network interface 108 is a network adapter that connects the navigation system 102 to the network 105. The network interface 108 is communicatively coupled to the network 105 via one or more of signal lines 111 and 109. In one embodiment, the network interface 108 receives data from one or more of the social network server 120, the search server 124, the client 130 and the mobile device 134 via the network 105. The network interface 108 sends the received data to one or more components of the navigation system 102 (e.g., the learning system 112, the estimation system 114, etc.). In another embodiment, the network interface 108 receives data from one or more components of the navigation system 102 and sends the data to one or more of the social network server 120, the search server 124, the client 130 and the mobile device 134 via the network 105.
In one embodiment, the network interface 108 includes a port for direct physical connection to the network 105 or to another communication channel. For example, the network interface 108 includes a universal serial bus (USB), category 5 cable (CAT-5) or similar port for wired communication with the network 105. In another embodiment, the network interface 108 includes a wireless transceiver for exchanging data with the network 105, or with another communication channel, using one or more wireless communication methods, such as IEEE 802.11, IEEE 802.16, BLUETOOTH®, near field communication (NFC) or another suitable wireless communication method. In one embodiment, the network interface 108 includes a NFC chip that generates a radio frequency (RF) for short-range communication.
The GPS 110 is a system for providing location data and timestamp data. For example, the GPS 110 is a conventional GPS that locates a vehicle in real time and provides timestamp data describing the current time. In one embodiment, the GPS 110 sends the location data and the timestamp data to one or more of the learning system 112, the estimation system 114 and the forgetting module 116. One skilled in the art will recognize that the GPS 110 may provide driving information (e.g., driving instructions to a destination, estimated time of arrival, etc.) and other information such as information about gas stations, restaurants, hotels, etc., to a user.
The learning system 112 is code and routines for processing driver history data. In one embodiment, the learning system 112 includes code and routines stored in an on-chip storage (not pictured) of the processor 104. In another embodiment, the learning system 112 is implemented using hardware such as a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). In yet another embodiment, the learning system 112 is implemented using a combination of hardware and software. The learning system 112 is described below in more detail with reference to
The driver history data is data describing one or more past journeys taken by a user. For example, the driver history data includes data associated with one or more past journeys such as start points, departure data (e.g., time of departure, day of departure, week of departure and date of departure, etc.), direction data, duration data, end points, arrival data (e.g., time of arrival, day of arrival, week of arrival and date of arrival, etc.), point of interest (POI) data for the end points, etc. In one embodiment, the driver history data describes one or more past destinations and estimated destinations for potential journeys. A destination for a past journey is referred to as a past destination. A destination for a potential journey is referred to as an estimated destination. A potential journey is a journey that a user is likely to take. The estimated destinations are generated from the one or more past destinations as described below with reference to
The estimation system 114 is code and routines for estimating a destination for a journey. In one embodiment, the estimation system 114 includes code and routines stored in an on-chip storage (not pictured) of the processor 104. In another embodiment, the estimation system 114 is implemented using hardware such as an FPGA or an ASIC. In yet another embodiment, the estimation system 114 is implemented using a combination of hardware and software. The estimation system 114 is described below in more detail with reference to FIGS. 4 and 8A-13C.
The forgetting module 116 is code and routines for deleting data from a memory of the navigation system 102. In one embodiment, the forgetting module 116 includes code and routines stored in an on-chip storage (not pictured) of the processor 104. In another embodiment, the forgetting module 116 is implemented using hardware such as an FPGA or an ASIC. In yet another embodiment, the forgetting module 116 is implemented using a combination of hardware and software. The forgetting module 116 is described below in more detail with reference to FIGS. 6 and 7A-7B.
The storage device 118 is a non-transitory memory that stores data. For example, the storage device 118 is a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, flash memory or some other memory device known in the art. In one embodiment, the storage device 118 also includes a non-volatile memory or similar permanent storage device and media such as a hard disk drive, a floppy disk drive, a compact disc read only memory (CD-ROM) device, a digital versatile disc read only memory (DVD-ROM) device, a digital versatile disc random access memories (DVD-RAM) device, a digital versatile disc rewritable (DVD-RW) device, a flash memory device, or some other non-volatile storage device known in the art. The storage device 118 is described below in more detail with reference to
The display 160 is any device for displaying data to a user. For example, the display 160 is one of a touch screen display device, a liquid crystal display (LCD) and any other conventional display device known to one skilled in the art.
The social network server 120 is any computing device having a processor (not pictured) and a computer-readable storage medium (not pictured) storing data for providing a social network to users. Although only one social network server 120 is shown, persons of ordinary skill in the art will recognize that multiple servers may be present. A social network is any type of social structure where the users are connected by a common feature, for example, Orkut. The common feature includes friendship, family, work, an interest, etc. The common features are provided by one or more social networking systems, such as those included in the system 100, including explicitly-defined relationships and relationships implied by social connections with other users, where the relationships are defined in a social graph. The social graph is a mapping of all users in a social network and how they are related to each other.
In the depicted embodiment, the social network server 120 includes a social network application 122. The social network application 122 includes code and routines stored on a memory (not pictured) of the social network server 120 that, when executed by a processor (not pictured) of the social network server 120, causes the social network server 120 to provide a social network accessible by a client device 130 and/or a mobile device 134 via the network 105. In one embodiment, a user publishes comments on the social network. For example, a user of the social network application 122 provides a status update and other users make comments on the status update. In another embodiment, a user in a vehicle interacts with the social network via a social feature added to the navigation system 102. For example, a user clicks on a social graphic such as a “share” button shown on a graphical user interface (GUI) presented by a display 160 of the navigation system 102 to share information about a journey in the social network (e.g., a start point, an end point, a route from the start point to the end point, etc., associated with the journey).
The search server 124 is any computing device having a processor (not pictured) and a computer-readable storage medium (not pictured) storing data for providing a search service to users. In the depicted embodiment, the search server 124 includes a search module 126. The search module 126 is code and routines for providing one or more search results to a user. In one embodiment, the search module 126 receives a query from a user via the network 105, searches a plurality of data sources (e.g., a data source included in the search server 124, a data source from the social network server 120, etc.) for one or more results matching to the query and sends the results to the user. For example, the search module 126 receives an input to search for reviews related to a local restaurant from a user operating on the navigation system 102. The search module 126 searches a plurality of data sources for matching results and sends the results to the navigation system 102 via the network 105, causing the display 160 to present the results to the user.
The client 130 is any computing device that includes a memory (not pictured) and a processor (not pictured). For example, the client 130 is a personal computer (“PC”), a cell phone (e.g., a smart phone, a feature phone, etc.), a tablet computer (or tablet PC), a laptop, etc. One having ordinary skill in the art will recognize that other types of clients 130 are possible. In one embodiment, the system 100 comprises a combination of different types of clients 130.
The client 130 comprises a browser 132. In one embodiment, the browser 132 is code and routines stored in a memory of the client 130 and executed by a processor of the client 130. For example, the browser 130 is a browser application such as Google Chrome, Mozilla Firefox, etc. In one embodiment, the browser 130 presents a GUI to a user on a display device (not pictured) of the client 130 and allows the user to input information via the GUI.
The mobile device 134 is any mobile computing device that includes a memory (not pictured) and a processor (not pictured). For example, the mobile device 134 is a cell phone (e.g., a smart phone, a feature phone, etc.), a tablet computer (or tablet PC), a laptop, etc. One having ordinary skill in the art will recognize that other types of mobile devices 134 are possible. In one embodiment, the system 100 comprises a combination of different types of mobile devices 134.
The mobile device 134 comprises a thin application 136. In one embodiment, the thin application 136 is code and routines stored in a memory of the mobile device 134 and executed by a processor of the mobile device 134. For example, the thin application 136 is an application that provides a GUI for a user to interact with the navigation system 102.
The system 100 is particularly advantageous since, for example, it is capable to provide a plurality of estimated destinations (or, potential journeys) to a user when the user starts the engine of a vehicle. The system 100 does not require the user to input a destination for a journey and automatically provides information about the potential journeys to the user in real time based at least in part on the driver history data stored in the system 100 as long as the GPS 110 has located itself. Furthermore, the system 100 continues to update the driver history data as the user takes new journeys and therefore continuously improves the journey estimations. The system 100 also deletes obsolete data associated with obsolete destinations to save storage space and minimize the influence of the obsolete data on the journey estimations as described below with reference to
Referring now to
The timestamp generator 217 is code and routines that, when executed by the processor 104, generates timestamp data describing the time. For example, the timestamp generator 217 generates a first timestamp describing the time, day and date of departure when a user driving a vehicle starts a new journey and a second timestamp describing the time, day and date of arrival when the user arrives at a destination. The timestamp generator 217 sends the timestamp data describing the time to one or more of the learning system 112, the estimation system 114 and the forgetting module 116.
The learning system 112 includes a first communication module 201, a driving history module 203, a conversion module 205 and a GUI module 215. Optionally, the learning system 112 further includes one or more of a frequency module 206, a metric module 207, a quality module 209, a summary module 210, an output module 211 and a history module 213. The components of the learning system 112 are communicatively coupled to each other via the bus 220. The frequency module 206, the metric module 207, the quality module 209, the summary module 210, the output module 211 and the history module 213 are depicted using dashed lines to indicate that in one embodiment these components with dashed lines are comprised within the estimation system 114.
The first communication module 201 is code and routines that, when executed by the processor 104, handles communications between components of the learning system 112 and other components of the system 100. For example, the first communication module 201 receives data from other components of the system 100 (e.g., the estimation system 114, the GPS 110, etc.) and sends the data to components of the learning system 112 (e.g., the driving history module 203, the conversion module 205, etc.). The first communication module 201 is communicatively coupled to the bus 220 via signal line 222. In one embodiment, the first communication module 201 also handles communications among the components of the learning system 112. For example, the first communication module 201 receives one or more metrics from the metric module 207 and sends the one or more metrics to the quality module 209. The metric is described below in more detail.
In one embodiment, the first communication module 201 retrieves data (e.g., driver history data, a set of learning parameters, etc.) from the storage 118 and sends the retrieved data to components of the learning system 112 (e.g., the driving history module 203, the frequency module 206, etc.). In another embodiment, the first communication module 201 receives data (e.g., a set of learning parameters) from components of the learning system 112 (e.g., the conversion module 205) and stores the data in the storage 118. One skilled in the art will recognize that the first communication module 201 may provide other functionality described herein.
The driving history module 203 is code and routines that, when executed by the processor 104, retrieves driver history data from the storage 118. For example, the driving history module 203 retrieves the driver history data from a driver history repository 316 and sends the driver history data to the conversion module 205. The driver history repository 316 is described below in more detail with reference to
The conversion module 205 is code and routines that, when executed by the processor 104, converts driver history data to a set of learning parameters. For example, the conversion module 205 receives a set of driver history data from the driving history module 203 and converts the set of driver history data to a set of learning parameters as described below. The conversion module 205 is communicatively coupled to the bus 220 via signal line 226.
As described above, the driver history data includes data associated with one or more past journeys such as start points, departure data (e.g., time of departure, day of departure, week of departure and date of departure, etc.), direction data, duration data, end points, arrival data (e.g., time of arrival, day of arrival, week of arrival and date of arrival, etc.), POI data for the end points, etc. In one embodiment, the time of departure is also referred to as the time of day. The day of departure is referred to as the day of week. The week of departure is referred to as the week of year. The date of departure is referred to as the date of the year.
In one embodiment, the conversion module 205 converts the time of departure (e.g., 4:00:00 pm) for a journey (e.g., a past journey, a present journey or a potential journey, etc.) into one of a plurality of non-uniform segments. For example, the conversion module 205 converts the time of departure for a journey to one of: midnight; morning; lunch; afternoon; and night. An example of a table for converting the time of departure is shown in
Referring now to
The conversion module 205 converts the day of departure (e.g., Thursday) for a journey into one of a plurality of non-uniform segments. For example, the conversion module 205 converts the day of departure for the journey to one of: weekday; and weekend. For example, if the day of departure is from Monday to Friday, the conversion module 205 converts the day of departure to “weekday.” If the day of departure is Saturday or Sunday, the conversion module 205 converts the day of departure to “weekend.” Similarly, the conversion module 205 converts the day of arrival for a journey into one of a plurality of non-uniform segments. For example, the conversion module 205 converts the day of arrival to one of: weekday; and weekend.
The conversion module 205 converts a journey duration (e.g., 10 minutes) for a journey to one of a plurality of non-uniform segments. For example, the conversion module 205 converts the journey duration to one of: short; medium; and long. An example of a table for converting a journey duration is illustrated in
Referring now to
The conversion module 205 converts a direction of a journey to one of: east; southeast; south; southwest; west; northwest; north; and northeast. A graphical representation of an example to convert a direction is shown in
The conversion module 205 stores the converted data as a set of learning parameters in the storage 118. A learning parameter is any parameter associated with a journey. For example, a learning parameter is one of a start point, time of departure, date of departure, day of departure, week of year, a direction, a journey duration, an end location, a POI for the journey destination, time of arrival, date of arrival, day of arrival, etc., associated with a journey. In one embodiment, a learning parameter is one of a start point of a last journey (represented as “previous orign-1” in
In one embodiment, the set of learning parameters includes the driver history data without conversion. In another embodiment, the set of learning parameters includes the converted driver history data generated by the conversion module 205 as described above. In yet another embodiment, the set of learning parameters includes data included in the driver history data without conversion (e.g., date of departure, date of arrival, etc.) and converted data (e.g., converted day of week, converted time of day, etc.) generated by the conversion module 205 as described above. One skilled in the art will recognize that the set of learning parameters may include any other data for providing the functionality described herein.
The frequency module 206 is code and routines that, when executed by the processor 104, analyzes a set of learning parameters. For example, the frequency module 206 receives a set of learning parameters from the conversion module 205 and determines an occurring frequency for each destination based at least in part on the set of learning parameters. An occurring frequency for a learning parameter is a frequency that the learning parameter occurs. For example, an occurring frequency for a destination is a frequency that a user has visited the destination (e.g., a user has visited a gas station ten times). The frequency module 206 is communicatively coupled to the bus 220 via signal line 227.
In one embodiment, the frequency module 206 generates one or more learning tables and arranges the set of learning parameters in the one or more learning tables. For example, the frequency module 206 stores the set of learning parameters such as the destination data describing one or more destinations and describing entries for each destination (e.g., timestamp data describing a day of week and time of day for a journey to each destination, and direction data describing a direction to each destination, etc.) in a learning table. A learning table is table for storing a set of learning parameters. Data stored in a learning table is described below in more detail with reference to
In another embodiment, the frequency module 206 analyzes the set of learning parameters and generates one or more metric tables for storing the analysis results. For example, the frequency module 206 counts an occurring frequency for each destination that the user has been to and stores the occurring frequency for each destination in a metric table. Examples of a metric table for storing the occurring frequencies are shown in
In yet another embodiment, the frequency module 206 determines an occurring probability for each destination based at least in part on the occurring frequencies for all the destinations and generates a metric table to store the occurring probability. An occurring probability for a destination is a probability that a destination is visited. An example of a metric table for storing the occurring probabilities is shown in
In yet another embodiment, the frequency module 206 updates the one or more metric tables and/or learning tables based on a new set of learning parameters received from the conversion module 205.
A metric table is a table for storing one or more occurring frequencies and/or occurring probabilities for one or more learning parameters. For example, a metric table includes data describing that a user has been to a first destination (e.g., a gas station) five times and a second destination (e.g., a gym) twenty times. A metric table is one of a frequency table and a probability table. In one embodiment, a metric table lists one or more occurring frequencies for one or more destinations on a condition of one or more other learning parameters. For example, a metric table includes data describing that a user has visited a first destination (e.g., a gym) twenty times and a second destination (e.g., a restaurant) five times given that the time of day is “night.” The metric table describing the occurring frequencies is referred to as a frequency table. In another embodiment, a metric table includes data describing the occurring probabilities for the destinations on a condition of one or more other learning parameters. Examples of a metric table describing the occurring probabilities are listed in
In one embodiment, the frequency module 206 selects two destinations with highest occurring frequencies from a metric table (e.g., a destination table “destTable” shown in
In one embodiment, the frequency module 206 analyzes the set of learning parameters to determine a candidate set of potential journeys. For example, the frequency module 206 extracts one or more frequent start locations (e.g., start locations for origins with highest occurring frequencies) and frequent end locations (e.g., end locations for destinations with highest occurring frequencies) based at least in part on one or more metric tables and determines the candidate set as journeys from the frequent start locations to the frequent end locations. The candidate set includes data describing frequent start locations and frequent end locations for one or more potential journeys to one or more destinations. In one embodiment, the candidate set includes three potential journeys.
In another embodiment, the frequency module 206 receives current journey data from an origin ID module 403. The origin ID module 403 is described below with reference to
The frequency module 206 analyzes the set of learning parameters and the current journey data to generate estimated journey data describing one or more potential journeys. For example, the frequency module 206 extracts frequent end locations (e.g., end locations with highest occurring frequencies) matching to the current journey data such as an origin ID and an origin location from one or more metric tables. The frequency module 206 sets the frequent end locations as estimated destinations. The frequency module 206 determines the estimated journey data describing one or more potential journeys based at least in part on the current journey data and the estimated destinations. For example, the frequency module 206 determines the estimated journey data as data describing one or more potential journeys from the origin location included in the current journey data to the estimated destinations.
The estimated journey data is created corresponding to the estimated destinations. In one embodiment, the estimated journey data describes a candidate set of potential journeys. For example, the estimated journey data describes three potential journeys from the origin location included in the current journey data to three estimated destinations.
The metric module 207 is code and routines that, when executed by the processor 104, determines a metric for a potential journey. The metric module 207 is communicatively coupled to the bus 220 via signal line 228. A metric is data for characterizing a potential journey. For example, a metric for a potential journey is a probability that a user is likely to take the potential journey. In one embodiment, a metric for a potential journey is a joint conditional probability that a user is likely to take the potential journey given one or more variables such as time of day, day of week, origin ID, etc. The metric for a potential journey is described below in more detail.
In one embodiment, the metric module 207 receives one or more of: a set of journey duration data for one or more potential journeys from a duration module 407; direction data describing one or more directions for the one or more potential journeys from a direction module 405; and a POI type (e.g., home, work, gas station, restaurant, hotel, etc.) for each destination of each potential journey from a POI type module 409, etc. The duration module 407, the direction module 405 and the POI type module 409 are described below with reference to
The metric module 207 determines a metric for each potential journey based at least in part on one or more variables associated with one or more potential journeys such as the journey duration data, the direction data, the POI type data, the time of day, the week of year, the day of week, an origin (e.g., a start point). In one embodiment, the metric module 207 determines the metric further based on one or more variables associated with one or more last journeys such as previous origins for the one or more last journeys, etc. For example, the metric module 207 determines the metric further based on a previous origin from a last journey.
In one embodiment, the metric module 207 applies a metric estimation network to determine a metric for a potential journey. A metric estimation network is a network for estimating a metric. For example, a metric estimation network is a Bayesian network. In one embodiment, a metric estimation network indicates associations among the above-mentioned variables. Examples of a metric estimation network are shown in
For example, referring now to the metric estimation network shown in
The metric module 207 calculates the metric for the potential journey to the destination as a joint conditional probability of the destination given the direction, time of day and day of week (represented as “p(dir, tod, dow|D)”). For example, the metric module 207 calculates the metric as the joint conditional probability “p(dir, tod, dow|D)” shown in the following:
p(dir,tod,dow|D)=p(D)×p(dir|D)×p(tod|D)×p(dow|D).
The above mathematical expression is a minimal implementation for determining a metric for a potential journey. Although this minimal implementation is less accurate than implementations involving a complicated metric estimation network, it is space and time efficient because of the minimal number of variables involved in the calculation.
In other embodiments, the metric module 207 determines the metric using a complicated metric estimation network such as the network shown in
In one embodiment, the metric module 207 receives a set of current status data. The set of current status data includes one or more of the current journey data described above, a current location of a vehicle (e.g., a longitude and latitude of the current location), a current projected route for the present journey, a current road that the vehicle is on and the current time. In one embodiment, the metric module 207 receives the current journey data from the origin ID module 403 and the current location, the current projected route, the current road and the current time from the GPS 110.
The metric module 207 receives estimated journey data from the frequency module 206. The metric module 207 analyzes the estimated journey data and the set of current status data to determine one or more metrics associated with the estimated journey data. For example, the metric module 207 determines one or more metrics associated with one or more potential journeys described by the estimated journey data using a metric estimation network as described above.
In one embodiment, the metric module 207 sends the one or more metrics for the one or more potential journeys to the quality module 209. In another embodiment, the metric module 207 stores the one or more metrics in the storage 118.
In one embodiment, the metric module 207 determines whether any of the one or more metrics is related to an abnormal condition. Examples of an abnormal condition include that, but are not limited to: a probability for a destination exceeds one; a probability for a destination is below zero; all the metrics have a zero value; and all the metrics have an undetermined value, etc.
If an abnormal condition is detected, the metric module 207 determines a navigational recommendation related to the abnormal condition. For example, the metric module 207 determines to restart the navigation system 102 if an abnormal condition is detected. Examples of a navigational recommendation include, but are not limited to: ignoring the abnormal condition; eliminating the potential journey associated with the abnormal condition from the candidate set; requesting a user to input a destination; and resetting the navigation system 102, etc.
The metric module 207 sends the navigational recommendation to the output module 211, causing the output module 211 to present the navigational recommendation to a user. In one embodiment, the user provides an input to the metric module 207, causing the metric module 207 to perform operations based on the input. For example, if the user provides an input to ignore the abnormal condition, the metric module 207 will neglect the abnormal condition.
The quality module 209 is code and routines that, when executed by the processor 104, determines one or more quality scores for one or more potential journeys. A quality score is data for evaluating a potential journey. A higher quality score for a potential journey indicates that a user is more likely to take the potential journey. In one embodiment, different quality scores are associated with different potential journeys. The quality module 209 is communicatively coupled to the bus 220 via signal line 230.
In one embodiment, the quality module 209 receives one or more metrics associated with one or more potential journeys from the metric module 207. The quality module 209 determines one or more quality scores for the one or more potential journeys based at least in part on the one or more metrics. For example, if a first metric associated with a first potential journey is greater than a second metric associated with a second potential journey, the quality module 209 generates a first quality score for the first potential journey that is greater than a second quality score for the second potential journey.
In one embodiment, the quality module 209 orders the one or more potential journeys based at least in part on the one or more associated quality scores. For example, the quality module 209 orders the one or more potential journeys so that a potential journey having a higher quality score is before a potential journey having a lower quality score.
The quality module 209 sends the one or more potential journeys and the associated quality scores to the output module 211, causing the output module 211 to present the one or more potential journeys and the quality scores to a user. For example, the quality module 209 sends three potential journeys having the highest quality scores to the output module 211, causing the output module 211 to present the three potential journeys and the associated quality scores via a display 160.
The summary module 210 is code and routines that, when executed by the processor 104, determines one or more of a status summary and an estimate summary of a journey. The summary module 210 is communicatively coupled to the bus 220 via signal line 231. In one embodiment, the summary module 210 receives data (e.g., location data, timestamp data, journey data for the present journey, etc.) from the GPS 110 and determines a status summary for a journey.
A status summary is data summarizing a current state of a journey. For example, the status summary includes one or more of a current location of a vehicle and elapsed journey time. In one embodiment, the elapsed journey time is shown on the display 160. In one embodiment, the status summary additionally includes the current status data (e.g., current journey data, a current location, a current projected route, current time, etc.) received from the origin ID module 403 and/or the GPS 110.
In one embodiment, the summary module 210 receives data from components of the learning system 112 and/or the estimation system 114. For example, the summary module 210 receives estimated journey data from the frequency module 206, one or more metrics from the metric module 207, one or more quality scores from the quality module 209 and one or more journey durations from the duration module 407 for one or more potential journeys. One skilled in the art will recognize that the summary module 210 may receive other data (e.g., search results) from other entities (e.g., a search server 124) of the system 100.
The summary module 210 determines an estimate summary for each potential journey based at least in part on one or more of the current journey data, the current status data and data received from components of the learning system 112 and/or the estimation system 114 (e.g., metrics, quality scores, etc.). An estimate summary is data summarizing an estimated state of a potential journey. For example, an estimate summary for a potential journey includes an estimated destination for the potential journey, an estimated route to the destination, an estimated time of arrival, a metric associated with the potential journey and a quality score associated with the potential journey, etc. One skilled in the art will recognize that the estimate summary may include any other data associated with the potential journey.
In one embodiment, the summary module 210 associates one or more status summaries and one or more estimate summaries with the estimated journey data. For example, the summary module 210 associates a status summary and an estimate summary for each potential journey with the estimated journey data describing the potential journey. The summary module 210 sends one or more of the estimated journey data, the status summaries and the estimate summaries to the output module 211.
The output module 211 is code and routines that, when executed by the processor 104, outputs data to one or more of a display 160, a learning system 112 and an estimation system 114. The output module 211 is communicatively coupled to the bus via signal line 232. In one embodiment, the output module 211 receives a navigational recommendation from the metric module 207 and outputs display data depicting the navigational recommendation to a user on the display 160. In another embodiment, the output module 211 receives one or more potential journeys and the associated quality scores from the quality module 209 and outputs the potential journeys and the quality scores to one or more of the learning system 112 and the display 160.
In one embodiment, the output module 211 receives estimated journey data, one or more status summaries and one or more estimate summaries from the summary module 210 and outputs display data for depicting the estimated journey data, the one or more status summaries and the one or more estimate summaries on the display 160. In another embodiment, the output module 211 receives graphical data for providing a GUI from the GUI module 215 and outputs the graphical data depicting the GUI on the display 160. One skilled in the art will recognize that the output module 211 may perform any other functionality described herein.
The history module 213 is code and routines that, when executed by the processor 104, logs data describing a present journey. For example, the history module 213 monitors for an end of the present journey. If the history module 213 detects the end of the present journey, the history module 213 collects data describing the present journey (e.g., time/day/date of arrival, time/day/date of departure, a start point, an end point, a journey duration, etc.) and stores the data in the driver history repository 316. The history module 213 is communicatively coupled to the bus 220 via signal line 234.
The GUI module 215 is code and routines that, when executed by the processor 104, generates graphical data for providing a GUI to a user. The GUI module 215 is communicatively coupled to the bus 220 via signal line 236. In one embodiment, the GUI module 215 generates graphical data for depicting a GUI to allow a user to interact with the system 100. For example, the GUI module 215 generates graphical data for depicting a GUI including a “share” button to allow a user to share a journey on a social network provided by the social network application 122. In another embodiment, the GUI module 215 receives one or more quality scores associated with one or more potential journeys from the quality module 209 and generates graphical data for providing a GUI to present the quality scores and the potential journeys to a user. One skilled in the art will recognize that the GUI module 215 may generate any other graphical data for providing the functionality described herein.
In one embodiment, the GUI module 215 sends the graphical data to the display 160, causing the display 160 to present the GUI to the user. In another embodiment, the GUI module 215 sends the graphical data to the output module 211, causing the output module 211 to present the data on the display 160.
Referring now to
Referring now to
The learning table data 301 is data for constructing one or more learning tables.
In one embodiment, the learning table data 301 is data describing one or more learning parameters arranged in one or more learning tables. In the illustrated embodiment, the learning table data 301 includes start points 303, departure data 305, direction data 307, duration data 309, end points 311, arrival data 313 and POI data 315. Optionally, the learning table data 301 includes driver history data 317. One skilled in the art will recognize that the learning table data 301 may include any other data for providing the functionality described herein.
The start points 303 include location data describing one or more start points for one or more journeys. For example, the start points 303 include data describing longitudes and latitudes for one or more start points of one or more journeys. In one embodiment, the start points 303 include data describing one or more origin IDs for one or more start locations.
The departure data 305 is data describing a departure in a journey. For example, the departure data 305 includes timestamp data describing one or more of time of departure (e.g., 2:00:00 pm), day of departure (e.g., Monday), date of departure (e.g., Nov. 21, 2011) and week of year. In one embodiment, the departure data 305 includes converted data describing one or more of time of departure (e.g., midnight, morning, lunch, afternoon or night) and day of departure (e.g., weekday or weekend).
The direction data 307 is data describing a direction for a journey. For example, the direction data 307 includes data describing that a direction for a journey is one of south, southeast, east, northeast, north, northwest, west and southwest.
The duration data 309 is data describing a duration for a journey. For example, the duration data 309 includes data describing that a user spent ten minutes on a past journey. In one embodiment, the duration data 309 includes converted data describing a duration for a journey (e.g., short, medium and long, etc.).
The end points 311 include location data describing one or more end points for one or more journeys. For example, the end points 311 include data describing longitudes and latitudes for one or more end points of one or more journeys. In one embodiment, the end points 311 include data describing one or more destination IDs for one or more end points.
The arrival data 313 is data describing arriving at a destination in a journey. For example, the arrival data 313 includes timestamp data describing one or more of time of arrival (e.g., 3:00:00 pm), day of arrival (e.g., Monday), date of arrival (e.g., Nov. 21, 2011) and week of year at arrival. In one embodiment, the arrival data 313 includes converted data describing one or more of time of arrival (e.g., midnight, morning, lunch, afternoon or night) and day of arrival (e.g., weekday or weekend).
The POI data 315 is data describing a point of interest for a destination. For example, the POI data 315 describes that a destination is one of “Home,” “Work” and “Other.” In one embodiment, an “other” destination includes one of all the other destinations such as “Gas Station,” “Coffee Shops,” “Restaurants,” etc., except the “Home” and “Work” destinations.
The driver history data 317 is data describing a driving history of a user (e.g., a driver). For example, the driver history data 317 includes data describing one or more past journeys that a driver has taken. In one embodiment, the driver history data 317 includes non-converted data (e.g., data before conversion performed by the conversion module 205) describing one or more past journeys such as one or more of start points, departure data (e.g., departure time and date, etc.), direction data, duration data, end points, arrival data (e.g., arrival time and date, etc.), POI data for the end points, etc. The driver history data 317 is depicted using a dashed line to indicate that while in one embodiment the driver history data 317 is stored in the learning table data 301, in another embodiment the driver history data 317 is stored in the driver history repository 316.
The driver history repository 316 is a container for storing data. For example, the driver history repository 316 is a container for storing the driver history data 317.
The learning parameters 319 include data describing a set of learning parameters from one or more journeys. In one embodiment, the learning parameters 319 include converted driver history data from the conversion module 205. In another embodiment, the learning parameters 319 include non-converted driver history data. One skilled in the art will recognize that the learning parameters 319 may include any other data associated with the learning parameters.
The metric estimation network 321 includes data for establishing one or more metric estimation networks. For example, the metric estimation network 321 includes data describing one or more variables included in a metric estimation network and one or more associations between the variables.
The recommendation data 323 is data describing one or more navigational recommendations. For example, the recommendation data 323 includes data describing one or more navigational recommendations and the abnormal conditions associated with the one or more navigational recommendations.
The cluster data 325 is data describing one or more clusters. In one embodiment, the cluster data 325 includes data describing a list of existing clusters. A cluster includes data describing a group of locations (e.g., start locations or end locations) within a clustering range of a cluster center. A cluster is described by a cluster ID, a clustering range and a cluster center. The cluster, the clustering range and the cluster center are described below with reference to
The metric table data 327 is data for constructing one or more metric tables. For example, the metric table data 327 includes data stored in one or more metric tables. In one embodiment, the metric table data 327 includes frequency data 329 and probability data 331.
The frequency data 329 is data describing one or more occurring frequencies for one or more learning parameters. For example, the frequency data 329 includes data describing one or more occurring frequencies for one or more destinations. In one embodiment, the frequency data 329 includes data describing one or more occurring frequencies for one or more destinations on a condition of one or more other learning parameters. For example, the frequency data 329 includes data describing one or more occurring frequencies for one or more destinations at a given time of day.
The probability data 331 is data describing one or more occurring probabilities for one or more learning parameters. For example, the probability data 331 includes data describing one or more occurring probabilities for one or more destinations. In one embodiment, the probability data 331 includes data describing one or more occurring probabilities for one or more destinations on a condition of one or more other learning parameters. For example, the probability data 331 includes data describing one or more occurring probabilities for one or more destinations at a given time of day.
The second communication module 401 is code and routines for handling communications between components of the estimation system 114 and other components of the system 100. For example, the second communication module 401 receives data from other components of the system 100 (e.g., the learning system 112, the GPS 110, etc.) and sends the data to components of the estimation system 114 (e.g., the origin ID module 403, etc.). The second communication module 401 is communicatively coupled to the bus 220 via signal line 422. In one embodiment, the second communication module 401 also handles communications among the components of the estimation system 114. For example, the second communication module 401 receives one or more metrics from the metric module 207 and sends the one or more metrics to the quality module 209.
In one embodiment, the second communication module 401 receives data (e.g., location data, timestamp data, etc.) from the GPS 110 and sends the data to components of the estimation system 114 (e.g., the origin ID module 403, the direction module 405, etc.). One skilled in the art will recognize that the second communication module 401 may provide other functionality described herein.
The origin ID module 403 is code and routines that, when executed by the processor 104, determines current journey data for a journey. The origin ID module 403 is communicatively coupled to the bus 220 via signal line 424. In one embodiment, the origin ID module 403 receives location data describing a start point of a journey and timestamp data describing a departure timestamp including one or more of time of departure, day of departure and date of departure from the GPS 110. The origin ID module 403 determines current journey data including one or more of an origin ID, a departure location and a departure timestamp for the journey. The origin ID for the start point is described below in more detail. The origin ID module 403 sends the current journey data to one or more of the frequency module 206 and the summary module 210. In one embodiment, the origin ID module 403 stores the current journey data in the storage 118.
The origin ID module 403 includes a cluster module 404. The cluster module 404 is code and routines that, when executed by the processor 104, arranges a location in a cluster. In one embodiment, the cluster module 404 arranges a departure location (e.g., a start point of a journey) in a cluster as described below. The cluster module 404 determines a clustering range for a cluster. A clustering range is a distance (e.g., 200 meters) from a cluster center within which all the locations are assigned to a cluster associated with the cluster center. A cluster center is a center of a cluster.
The cluster module 404 retrieves cluster data describing a list of existing clusters from the storage 118. The cluster module 404 determines whether the list is empty. If the list is empty, the cluster module 404 generates a new cluster and adds the new cluster to the list. The cluster module 404 creates a cluster ID for the new cluster and assigns the departure location to the new cluster. For example, the cluster module 404 assigns the cluster ID as an origin ID for the departure location.
Alternatively, if the list is not empty, the cluster module 404 compares the departure location to each cluster included in the list and determines whether the departure location is within the clustering range of any cluster. If the departure location is not within the clustering range of any cluster, the cluster module 404 generates a new cluster and assigns a cluster ID to the new cluster. The cluster module 404 adds the departure location to the new cluster and assigns the cluster ID as an origin ID for the departure location. If the departure location is within the clustering range of an existing cluster, the cluster module 404 adds the departure location to the existing cluster and assigns the cluster ID of the existing cluster as an origin ID for the departure location.
In one embodiment, the cluster module 404 updates the cluster center for the cluster after adding the departure location to the cluster. For example, the cluster module 404 recalculates the cluster center for the cluster based at least in part on all the locations included in the cluster. The cluster module 404 updates the list of clusters and stores the updated list in the storage 118. In one embodiment, the cluster module 404 arranges an arrival location (e.g., an end point) of a journey in a cluster and assigns a cluster ID as a destination ID for the arrival location by performing operations similar to those described above for arranging a departure location in a cluster.
The direction module 405 is code and routines that, when executed by the processor 104, determines a direction for a journey. The direction module 405 is communicatively coupled to the bus 220 via signal line 426. For example, the direction module 405 receives a current time of day from the timestamp generator 217 of the GPS 110 and the current journey data from the origin ID module 403. The direction module 405 estimates a direction for a journey based at least in part on one or more of the current time of day and the current journey data. In one embodiment, the direction module 405 retrieves driver history data from the storage 118 and estimates the direction for the journey further based on the driver history data. In another embodiment, the direction module 405 estimates the direction for the journey further based on one or more metric tables associated with one or more directions.
In one embodiment, the direction module 405 sends direction data describing the direction to the metric module 207. In another embodiment, the direction module 405 sends the direction data to the conversion module 205. The conversion module 205 converts the direction data as described above and sends the converted direction data to the metric module 207.
The duration module 407 is code and routines that, when executed by the processor 104, estimates a duration for a journey. The duration module 407 is communicatively coupled to the bus 220 via signal line 428. In one embodiment, the duration module 407 receives timestamp data describing a current time of day from the timestamp generator 217 and the current journey data from the origin ID module 403. The duration module 407 estimates a duration for a journey based at least in part on one or more of the current time of day and the current journey data. In one embodiment, the duration module 407 retrieves driver history data from the storage 118 and estimates the duration for the journey further based on the driver history data. In another embodiment, the duration module 407 estimates the duration for the journey further based on one or more metric tables associated with one or more durations.
In one embodiment, the duration module 407 sends journey duration data describing the duration of a journey to the metric module 207. In another embodiment, the duration module 407 sends the journey duration data to the conversion module 205. The conversion module 205 converts the journey duration data into non-uniform segments and sends the converted journey duration data to the metric module 207.
The POI type module 409 is code and routines that, when executed by the processor 104, determines a POI type for a destination of a journey. The POI type module 409 is communicatively coupled to the bus 220 via signal line 430. In one embodiment, the POI type module 409 receives timestamp data describing a current time of day from the timestamp generator 217 and the current journey data from the origin ID module 403. The POI type module 409 estimates a POI type for a journey based at least in part on one or more of the current time of day and the current journey data. In one embodiment, the POI type module 409 retrieves driver history data from the storage 118 and estimates the POI type for the journey further based on the driver history data. In another embodiment, the POI type module 409 estimates the POI type for the journey further based on one or more metric tables associated with POI types for destinations. In one embodiment, the POI type module 409 sends data describing the estimated POI type for the destination to the metric module 207.
The third communication module 601 is code and routines for handling communications between components of the forgetting module 116 and other components of the system 100. For example, the third communication module 601 receives data from other components of the system 100 (e.g., the learning system 112, the GPS 110, etc.) and sends the data to components of the forgetting module 116 (e.g., the monitor module 603, the determination module 605, etc.). The third communication module 601 is communicatively coupled to the bus 220 via signal line 622. In one embodiment, the third communication module 601 also handles communications among the components of the forgetting module 116. For example, the third communication module 601 receives one or more trigger events from the monitor module 603 and sends the one or more trigger events to the determination module 605.
In one embodiment, the third communication module 601 retrieves data (e.g., learning parameters, driver history data, etc.) from the storage 118 and sends the data to components of the forgetting module 116 (e.g., the delete module 607). One skilled in the art will recognize that the third communication module 601 may provide other functionality described herein.
The monitor module 603 is code and routines that, when executed by the processor 104, detects a trigger event. In one embodiment, the monitor module 603 monitors the navigation system 102 for any trigger event. The monitor module 603 detects a trigger event when the trigger event occurs. The monitor module 603 sends event data describing the trigger event to the determination module 605. The monitor module 603 is communicatively coupled to the bus 220 via signal line 624.
A trigger event is an event triggering data deletion in a memory. For example, a trigger event is one of a factory reset input, a user request to delete one or more stored destinations, a lapse of a predetermined period of time since a last trigger event, a number of destinations stored in the memory that exceed a predetermined threshold and a predetermined number of journeys that have occurred since a last trigger event.
The determination module 605 is code and routines that, when executed by the processor 104, determines data to delete from a memory. For example, the determination module 605 determines a set of learning parameters to delete from a memory (e.g., the storage 118) based at least in part on the detection of a trigger event and a classification of the trigger event as described below. The determination module 605 is communicatively coupled to the bus 220 via signal line 626.
In one embodiment, the data to delete from a memory is data associated with one or more destinations. For example, the data to delete is a set of learning parameters associated with one or more destinations that includes: destination data describing one or more destinations stored in one or more learning tables; and describing entries for the one or more destinations in the learning tables. The describing entries include, for example, timestamp data describing a day of week, time of day and date of year for a journey to a destination, journey duration data describing a duration for the journey and direction data describing a direction to the destination, etc. In another embodiment, the data to delete includes a set of learning parameters and driver history data associated with one or more journeys to the one or more destinations, and data stored in one or more metric tables associated with the one or more destinations. In yet another embodiment, the data to delete is all the data associated with all the destinations if the trigger event is a factory reset input.
In one embodiment, the determination module 605 receives event data describing a trigger event from the monitor module 603 and determines a classification for the trigger event. For example, the determination module 605 determines whether the trigger event is a factory reset input or other trigger event. If the trigger event is a factory reset input, the determination module 605 generates a reset signal and sends the reset signal to the delete module 607. In one embodiment, a classification for a trigger event is one of a factory reset input and any other trigger event described above such as a user request to delete one or more destinations, etc.
If the trigger event is not a factory reset input, the determination module 605 interrogates the memory associated with the navigation system 102 to determine whether the available memory in the navigation system 102 is below a threshold. For example, the determination module 605 determines whether the available storage space in the storage 118 is below a threshold. In one embodiment, the threshold is set by an administrator of the navigation system 102. If the available memory is not below the threshold, the determination module 605 determines not to delete any data from the memory and sends a canceling signal to the delete module 607. If the available memory is below the threshold, the determination module 605 selects one or more destinations as described below so that data associated with the one or more selected destinations is deleted by the delete module 607. In one embodiment, the determination module 605 determines to delete data associated with one or more destinations no matter whether the available memory is below the threshold or not. The determination module 605 sends one or more identifiers of the selected destinations to the delete module 607 for data deletion.
In one embodiment, the determination module 605 orders all the destinations that a user has visited according to a timestamp for a last visit to each destination. For example, the determination module 605 orders all the destinations in a first queue so that a first destination having an older timestamp is before a second destination having a more recent timestamp. Next, the determination module 605 orders all the destinations according to the occurring frequency for each destination. For example, the determination module 605 orders all the destinations in a second queue so that a first destination having a lower occurring frequency is before a second destination having a higher occurring frequency.
The determination module 605 determines a set of pending destinations based at least in part on the ordering of the destinations. For example, the determination module 605 selects a first set of destinations with the oldest timestamps from the first queue (e.g., 20 destinations with oldest timestamps for a last visit) and a second set of destinations with the lowest occurring frequencies from the second queue (e.g., 20 destinations with least visits). The determination module 605 determines the set of pending destinations as one or more destinations that are included in both the first set of destinations and the second set of destinations.
In one embodiment, the determination module 605 randomly selects one or more destinations from the set of pending destinations and determines to delete data associated with the one or more selected destinations. The determination module 605 sends one or more identifiers of the selected destinations to the delete module 607 for data deletion.
The delete module 607 is code and routines that, when executed by the processor 104, deletes data from a memory. The delete module 607 is communicatively coupled to the bus 220 via signal line 628. In one embodiment, the delete module 607 receives a reset signal from the determination module 605 and resets the navigation system 102. For example, the delete module 607 deletes all the learning parameters, the learning table data, the metric table data and driver history data, etc., from the storage 118 responsive to receiving the reset signal. In another embodiment, the delete module 607 receives a canceling signal from the determination module 605 and does not delete any data responsive to the canceling signal.
In one embodiment, the delete module 607 receives one or more identifiers of the one or more selected destinations and deletes data associated with the one or more selected destinations (e.g., learning parameters, driver history data, learning table data, metric table data, etc., associated with the one or more selected destinations).
It is beneficial to delete data associated with one or more obsolete destinations since, for example, it deletes obsolete data and saves storage space for other usages. This is particularly advantageous when the navigation system 102 has limited storage space. Furthermore, the deletion of the obsolete data reduces the influence of data associated with old and least visited destinations on the estimations of the metrics and quality scores, and therefore improves the accuracy of the estimation for potential journeys.
Referring now to
Turning to step 710, the determination module 605 determines whether the available memory in the navigation system 102 (e.g., available storage space in the storage device 118) is below a threshold. If the available memory is not below the threshold, the method 700 ends. Otherwise, the determination module 605 determines 712 data to delete from the memory. In one embodiment, the determination module 605 performs steps similar to those described below with reference to
The determination module 605 orders 718 the destinations based at least in part on the timestamps for the last visits to the destinations. For example, the determination module 605 orders the destinations in a first queue so that a first destination having an older timestamp is before a second destination having a more recent timestamp. Next, the determination module 605 orders the destinations based at least in part on the occurring frequencies of the destinations. For example, the determination module 605 orders the destinations in a second queue so that a first destination having a lower occurring frequency is before a second destination having a higher occurring frequency.
The determination module 605 determines 720 a set of pending destinations based at least in part on the ordering. For example, the determination module 605 selects a first set of destinations having the oldest timestamps from the first queue and a second set of destinations having the least occurring frequencies from the second queue. The determination module 605 determines the set of pending destinations as one or more destinations included in both the first set of destinations and the second set of destinations.
The determination module 605 selects 722 one or more destinations from the set of pending destinations. In one embodiment, the determination module 605 randomly selects one or more destinations from the set of pending destinations. The determination module 605 determines 724 to delete data associated with the one or more selected destinations. In one embodiment, the determination module 605 sends one or more identifiers of the selected destinations to the delete module 607, causing the delete module 607 to delete data associated with the selected destinations (e.g., a set of learning parameters, learning table data, metric table data, driver history data, etc., associated with the selected destinations).
The frequency module 206 analyzes the set of learning parameters to determine 804 a candidate set including data describing frequent start locations and frequent end locations for one or more potential journeys to one or more destinations. The timestamp generator 217 measures 806 the current time of day and sends the current time of day to one or more of the duration module 407 and the direction module 405.
The duration module 407 estimates 808 a set of journey duration data for the one or more potential journeys included in the candidate set based at least in part on the current time of day. The duration module 407 sends the set of journey duration data to the conversion module 205. The conversion module 205 segments 810 the journey duration data into non-uniform segments. The conversion module 205 sends the converted journey duration data to the metric module 207.
The direction module 405 estimates 812 direction data describing one or more directions for the one or more potential journeys to the one or more destinations based at least in part on the current time of day. The direction module 405 sends the direction data to the metric module 207. In one embodiment, the direction module 405 sends the direction data to the conversion module 205. The conversion module 205 converts the direction data and sends the converted direction data to the metric module 207.
The metric module 207 determines 814 one or more metrics for the one or more potential journeys based at least in part on one or more of the current time of day, the journey duration data and the direction data. In one embodiment, the metric module 207 determines the one or more metrics based at least in part on a metric estimation network. The metric module 207 sends the one or more metrics to the quality module 209. The quality module 209 determines 816 one or more quality scores for the one or more potential journeys based at least in part on the one or more metrics. In one embodiment, different quality scores are associated with different potential journeys.
Referring now to
The conversion module 205 converts 1004 the departure time for one or more past journeys to non-uniform segments. For example, the conversion module 205 converts the time of departure for a journey into one of midnight, morning, lunch, afternoon and night. The conversion module 205 converts 1006 the departure day to non-uniform segments. For example, the conversion module 205 converts the day of departure for a journey into one of weekday and weekend. The conversion module 205 also converts 1008 the journey duration data into non-uniform segments. For example, the conversion module 205 converts the journey duration data into one of short, medium and long.
In one embodiment, the driving history module 203 sends the start location and the end location to the direction module 405. The direction module 405 determines 1010 a direction for a journey based at least in part on the start location and the end location and sends direction data describing the direction to the conversion module 205. The conversion module 205 converts 1012 the direction to one of a plurality of uniform segments. For example, the conversion module 205 converts the direction to one of east, southeast, south, southwest, west, northwest, north and northeast.
Referring now to
The second communication module 401 retrieves 1206 cluster data describing a list of existing clusters from the storage 118 and sends the cluster data to the cluster module 404. The cluster module 404 determines 1208 whether the list is empty. If the list is empty, the method 1200 moves to step 1210. Otherwise, the method 1200 moves to step 1212. Turning to step 1210, the cluster module 404 generates a new cluster. The cluster module 404 generates 1211 a cluster ID for the new cluster and the method 1200 moves to step 1216.
Turning to step 1212, the cluster module 404 compares the location to each cluster included in the list and determines 1214 whether the location is within the clustering range of any existing cluster. If the location is within the clustering range of an existing cluster, the method 1200 moves to step 1216. Otherwise, the method 1200 moves to step 1210. Turning to step 1216, the cluster module 404 adds the location to the cluster. For example, the cluster module 404 adds the location to the existing cluster if the location is within the clustering range of the existing cluster. Alternatively, the cluster module 404 adds the location to the new created cluster.
Referring now to
The origin ID module 403 determines 1306 current journey data and sends the current journey data to one or more of the frequency module 206 and the summary module 210. The frequency module 206 analyzes the set of learning parameters and the current journey data to generate 1308 estimated journey data describing one or more potential journeys from an origin location (e.g., a location for a start point) included in the current journey data to one or more estimated destinations. The frequency module 206 sends the estimated journey data to the metric module 207.
The first communication module 201 retrieves 1310 a set of current status data from the GPS 110 and sends the set of current status data to one or more of the metric module 207 and the summary module 210. The metric module 207 analyzes the estimated journey data and the set of current status data to determine 1312 one or more metrics for the one or more potential journeys described by the estimated journey data.
Referring now to
The quality module 209 determines 1322 one or more quality scores associated with the estimated journey data based at least in part on the one or more metrics. The summary module 210 determines 1324 one or more status summaries. The summary module 210 also determines 1326 one or more estimate summaries.
Referring now to
Referring now to
The foregoing description of the embodiments has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the specification to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the embodiments be limited not by this detailed description, but rather by the claims of this application. As will be understood by those familiar with the art, the examples may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Likewise, the particular naming and division of the modules, routines, features, attributes, methodologies and other aspects are not mandatory or significant, and the mechanisms that implement the description or its features may have different names, divisions and/or formats. Furthermore, as will be apparent to one of ordinary skill in the relevant art, the modules, routines, features, attributes, methodologies and other aspects of the specification can be implemented as software, hardware, firmware or any combination of the three. Also, wherever a component, an example of which is a module, of the specification is implemented as software, the component can be implemented as a standalone program, as part of a larger program, as a plurality of separate programs, as a statically or dynamically linked library, as a kernel loadable module, as a device driver, and/or in every and any other way known now or in the future to those of ordinary skill in the art of computer programming. Additionally, the specification is in no way limited to implementation in any specific programming language, or for any specific operating system or environment. Accordingly, the disclosure is intended to be illustrative, but not limiting, of the scope of the specification, which is set forth in the following claims.