System and method for parking tracking using vehicle event data

Information

  • Patent Grant
  • 11702080
  • Patent Number
    11,702,080
  • Date Filed
    Wednesday, November 10, 2021
    2 years ago
  • Date Issued
    Tuesday, July 18, 2023
    10 months ago
  • Inventors
    • Downing; Roger
    • Sumner; Dylan
  • Original Assignees
  • Examiners
    • Holmes; Justin
    Agents
    • Reising Ethington P.C.
Abstract
A system and method is provided for determining where a vehicle has parked in a parking lot. The method includes determining a geometry for a parking lot; receiving vehicle event data including periodic vehicle event data for vehicle speed and steering angle; tracking a movement of a vehicle using the vehicle event data; and determining where a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry.
Description
TECHNICAL FIELD

This invention relates to methods and systems for tracking parking of a vehicle based on using vehicle event data.


BACKGROUND

The automotive industry is undergoing a radical change unlike anything seen before. Disruption is happening across the whole of the mobility ecosystem. The result is vehicles that are more automated, connected, electrified and shared. This gives rise to an explosion of car generated data. This rich new data asset remains largely untapped.


Vehicle location event data, such as GPS data, is extremely voluminous and can involve 200,000-400,000 records per second. The processing of location event data presents a challenge for conventional systems to provide substantially real-time analysis of the data, especially for individual vehicles. In particular, end user technology can require data packages. What is needed are system platforms and data processing algorithms and processes configured to process and store high-volume data with low latency while still making the high-volume data available for analysis and re-processing.


While there are systems for tracking vehicles, what is needed is virtually real-time and accurate trip and road information from high-volume vehicle data. What is needed is systems and algorithms configured to accurately identify journeys and journey destinations from vehicle movement and route analysis.


SUMMARY

According to one aspect of the invention, there is provided a system having at least one processor; and memory storing computer instructions that are accessible by the at least one processor. The at least one processor is configured to execute the computer instructions and, when the at least one processor executes the computer instructions, the system: determines a geometry for a parking lot; receives vehicle event data including periodic vehicle event data for vehicle speed and steering angle; tracks a movement of a vehicle using the vehicle event data; and determines where a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry.


According to various embodiments, the system may further include any one of the following features or any technically-feasible combination of some or all of the following features:

    • the parking lot is a multi-level parking lot, and wherein the system is configured so that, when the at least one processor executes the computer instructions, the system obtains data representing a predetermined relationship between steering angles and heading changes, and then uses the predetermined relationship along with the geometry for the parking lot to determine floor transition events;
    • the system is configured so that, when the at least one processor executes the computer instructions, the system uses the vehicle speed as a part of determining the floor transition events;
    • the predetermined relationship is established based on GPS data having an accuracy of at least 7 decimal places;
    • the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot;
    • the likely location of the vehicle within a floor of the multi-level parking lot is capable of being determined even when GPS accuracy is poor;
    • the parking lot is a multi-level parking lot, and wherein the system is configured so that, when the at least one processor executes the computer instructions, the system obtains data representing a predetermined relationship between gear shifts and vehicle speed, and then uses the predetermined relationship along with the geometry for the parking lot to determine floor transition events;
    • the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot; and/or
    • the likely location of the vehicle within a floor of the multi-level parking lot is determined based on a determination that a search for a parking space has ceased and parking maneuvering of a vehicle has begun based on an increase in reverse/neutral gears towards an end of a trip.


According to another aspect of the invention, there is provided a method of determining where a vehicle has parked in a parking lot, comprising the steps of: determining a geometry for a parking lot; receiving vehicle event data including periodic vehicle event data for vehicle speed and steering angle; tracking a movement of a vehicle using the vehicle event data; and determining where a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry.


According to various embodiments, the method may further include any one of the following features or any technically-feasible combination of some or all of the following features:

    • the parking lot is a multi-level parking lot, and wherein the method includes obtaining data representing a predetermined relationship between steering angles and heading changes, and then using the predetermined relationship along with the geometry for the parking lot to determine floor transition events;
    • using the vehicle speed as a part of determining the floor transition events;
    • the predetermined relationship is established based on GPS data having an accuracy of at least 7 decimal places;
    • the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot;
    • the likely location of the vehicle within a floor of the multi-level parking lot is capable of being determined even when GPS accuracy is poor;
    • the parking lot is a multi-level parking lot, and wherein the method includes obtaining data representing a predetermined relationship between gear shifts and vehicle speed, and then using the predetermined relationship along with the geometry for the parking lot to determine floor transition events;
    • the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot; and/or
    • the likely location of the vehicle within a floor of the multi-level parking lot is determined based on a determination that a search for a parking space has ceased and parking maneuvering of a vehicle has begun based on an increase in reverse/neutral gears towards an end of a trip.


According to yet another aspect of the invention, there is provided a system having at least one processor; and memory storing computer instructions that are accessible by the at least one processor. The at least one processor is configured to execute the computer instructions and, when the at least one processor executes the computer instructions, the system: determines a geometry for a parking lot; receives vehicle event data including periodic vehicle event data for vehicle speed and steering angle; tracks a movement of a vehicle using the vehicle event data; obtains data representing either a first predetermined relationship between steering angles and heading changes or a second relationship between steering angles and heading changes; and determines a likely location at which a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry, and wherein the likely location is determined based on the data representing the first predetermined relationship or the second predetermined relationship.


According to one embodiment, the parking lot is a multi-level parking lot, and the system is configured so that, when the at least one processor executes the computer instructions, the system determines floor transition events based on the data representing the first predetermined relationship or the second predetermined relationship.





BRIEF DESCRIPTION OF THE DRAWINGS

Preferred exemplary embodiments will hereinafter be described in conjunction with the appended drawings, wherein like designations denote like elements, and wherein:



FIG. 1A is a system diagram of an environment in which at least one of the various embodiments can be implemented;



FIG. 1B illustrates a cloud computing architecture in accordance with at least one of the various embodiments;



FIG. 1C illustrates a logical architecture for a cloud computing platform in accordance with at least one of the various embodiments;



FIG. 2 illustrates a logical architecture and flowchart for an Ingress Server system in accordance with at least one of the various embodiments;



FIG. 3 illustrates a logical architecture and flowchart for a Stream Processing Server system in accordance with at least one of the various embodiments;



FIG. 4 illustrates a logical architecture and flowchart for an Egress Server system in accordance with at least one of the various embodiments;



FIG. 5 illustrates a logical architecture and flowchart for a process for an Analytics Server system in accordance with at least one of the various embodiments;



FIG. 6 illustrates a logical architecture and flowchart for a process for a Portal Server system in accordance with at least one of the various embodiments in accordance with at least one of the various embodiments;



FIG. 7 is a flowchart showing a data quality pipeline of data processing checks for the system in accordance with at least one of the various embodiments;



FIG. 8 is a flow chart and interface diagram for egressing a feed to an interface in accordance with at least one of the various embodiments;



FIG. 9 is an interface visualization of a histogram of number of hard turns per trip;



FIG. 10 is an interface visualization of locations and positions of hard turns in a multi-level parking lot geometry;



FIG. 11 is an interface visualization of a graph showing a relationship between steering angle and inferred relative heading;



FIG. 12 is an interface visualization of a distribution of speed for vehicle event gear data;



FIG. 13 is an interface visualization showing a variation in gear over a length of the average trip; and



FIG. 14 is an interface visualization showing a true trip length as a variation in vehicle speed over a length of the average trip.





DETAILED DESCRIPTION

Various embodiments now will be described more fully hereinafter with reference to the accompanying drawings, which form a part hereof, and which show, by way of illustration, specific embodiments by which the innovations described herein can be practiced. The embodiments can, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art. Among other things, the various embodiments can be methods, systems, media, or devices. The following detailed description is, therefore, not to be taken in a limiting sense.


Throughout the specification and claims, the following terms take the meanings explicitly associated herein, unless the context clearly dictates otherwise. The term “herein” refers to the specification, claims, and drawings associated with the current application. The phrase “in one embodiment” or “in an embodiment” as used herein does not necessarily refer to the same embodiment or a single embodiment, though it can. Furthermore, the phrase “in another embodiment” as used herein does not necessarily refer to a different embodiment, although it can. Thus, as described below, various embodiments can be readily combined, without departing from the scope or spirit of the present disclosure.


In addition, as used herein, the term “or” is an inclusive “or” operator, and is equivalent to the term “and/or” unless the context clearly dictates otherwise. The term “based on” is not exclusive and allows for being based on additional factors not described, unless the context clearly dictates otherwise. In addition, throughout the specification, the meaning of “a” “an” and “the” include plural references. The meaning of “in” includes “in” and “on.”


As used herein, the term “Host” can refer to an individual person, partnership, organization, or corporate entity that can own or operate one or more digital media properties (e.g., web sites, mobile applications, or the like). Hosts can arrange digital media properties to use hyper-local targeting by arranging the property to integrate with widget controllers or servers.


The following briefly describes various embodiments of a system, method, and computer program product for processing vehicle event data.


As used herein, a journey can include any trip, run, or travel to a destination.


An exemplary advantage of the systems and methods described herein is optimized low latency. For example, the systems and methods described in the present disclosure are capable of ingesting and processing vehicle event data for up to at least 600,000 records per second for up to 12 million vehicles.


Illustrative Logical System Architecture and System Flows



FIG. 1A is a logical architecture of system 10 for geolocation event processing and analytics in accordance with at least one embodiment. In at least one embodiment, Ingress Server system 100 can be arranged to be in communication with Stream Processing Server system 200 and Analytics Server system 500. The Stream Processing Server system 200 can be arranged to be in communication with Egress Server system 400 and Analytics Server system 500.


The Egress Server system 400 can be configured to be in communication with and provide data output to data consumers. The Egress Server system 400 can also be configured to be in communication with the Stream Processing Server 200.


The Analytics Server system 500 is configured to be in communication with and accept data from the Ingress Server system 100, the Stream Processing Server system 200, and the Egress Server system 400. The Analytics Server system 500 is configured to be in communication with and output data to a Portal Server system 600.


In at least one embodiment, Ingress Server system 100, Stream Processing Server system 200, Egress Server system 400, Analytics Server system 500, and Portal Server system 600 can each be one or more computers or servers. In at least one embodiment, one or more of Ingress Server system 100, Stream Processing Server system 200, Egress Server system 400, Analytics Server system 500, and Portal Server system 600 can be configured to operate on a single computer, for example a network server computer, or across multiple computers. For example, in at least one embodiment, the system 10 can be configured to run on a web services platform host such as Amazon Web Services (AWS)™ or Microsoft Azure™. In an exemplary embodiment, the system 10 is configured on an AWS platform employing a Spark Streaming server, which can be configured to perform the data processing as described herein. In an embodiment, the system 10 can be configured to employ a high throughput messaging server, for example, Apache Kafka.


In at least one embodiment, Ingress Server system 100, Stream Processing Server system 200, Egress Server system 400, Analytics Server system 500, and Portal Server system 600 can be arranged to integrate and/or communicate using API's or other communication interfaces provided by the services.


In at least one embodiment, Ingress Server system 100, Stream Processing Server system 200, Egress Server system 400, Analytics Server system 500, and Portal Server system 600 can be hosted on Hosting Servers.


In at least one embodiment, Ingress Server system 100, Stream Processing Server system 200, Egress Server system 400, Analytics Server system 500, and Portal Server system 600 can be arranged to communicate directly or indirectly over a network to the client computers using one or more direct network paths including Wide Access Networks (WAN) or Local Access Networks (LAN).


As described herein, embodiments of the system 10, processes and algorithms can be configured to run on a web services platform host such as Amazon Web Services (AWS)™ or Microsoft Azure™. A cloud computing architecture is configured for convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services). A cloud computer platform can be configured to allow a platform provider to unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider. Further, cloud computing is available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs). In a cloud computing architecture, a platform's computing resources can be pooled to serve multiple consumers, partners or other third party users using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. A cloud computing architecture is also configured such that platform resources can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in.


Cloud computing systems can be configured with systems that automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported. As described herein, in embodiments, the system 10 is advantageously configured by the platform provider with innovative algorithms and database structures configured for low-latency.


A cloud computing architecture includes a number of service and platform configurations.


A Software as a Service (SaaS) is configured to allow a platform provider to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer typically does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.


A Platform as a Service (PaaS) is configured to allow a platform provider to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but can a have control over the deployed applications and possibly application hosting environment configurations.


An Infrastructure as a Service (IaaS) is configured to allow a platform provider to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).


A cloud computing architecture can be provided as a private cloud computing architecture, a community cloud computing architecture, or a public cloud computing architecture. A cloud computing architecture can also be configured as a hybrid cloud computing architecture comprising two or more clouds platforms (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).


A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.


Referring now to FIG. 1B, an illustrative cloud computing environment 50 is depicted. As shown, cloud computing environment 50 comprises one or more cloud computing nodes 30 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) or cellular telephone 23, desktop computer 21, laptop computer 22, and event such as OEM vehicle sensor data source 14, application data source 16, telematics data source 20, wireless infrastructure data source 17, and third party data source 15 and/or automobile computer systems such as vehicle data source 12. Nodes 30 can communicate with one another. They can be grouped (not shown) physically or virtually, in one or more networks, such as private, community, public, or hybrid clouds as described herein, or a combination thereof. The cloud computing environment 50 is configured to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device. It is understood that the types of computing devices shown in FIG. 1B are intended to be illustrative only and that computing nodes 30 and cloud computing environment 50 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser).


Referring to FIG. 1C, a set of functional abstraction layers provided by cloud computing environment 50 (FIG. 1B) is shown. The components, layers, and functions shown in FIG. 1C are illustrative, and embodiments as described herein are not limited thereto. As depicted, the following layers and corresponding functions are provided:


A hardware and software layer 60 can comprise hardware and software components. Examples of hardware components include, for example: mainframes 61; servers 62; servers 63; blade servers 64; storage devices 65; and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.


Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.


In one example, management layer 80 can provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources can comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management so that required service levels are met. Service Level Agreement (SLA) planning and fulfillment 85 provides pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.


Workloads layer 90 provides examples of functionality for which the cloud computing environment can be utilized. Examples of workloads and functions that can be provided from this layer include mapping and navigation 91; ingress processing 92, stream processing 93; portal dashboard delivery 94—same number; data analytics processing 95; and egress and data delivery 96.


Although this disclosure describes embodiments on a cloud computing platform, implementation of embodiments as described herein are not limited to a cloud computing environment.


One of ordinary skill in the art will appreciate that the architecture of system 10 is a non-limiting example that is illustrative of at least a portion of an embodiment. As such, more or less components can be employed and/or arranged differently without departing from the scope of the innovations described herein. However, system 10 is sufficient for disclosing at least the innovations claimed herein.


Referring to FIG. 2, a logical architecture for an Ingress Server system 100 for ingesting data and data throughput in accordance with at least one embodiment is shown. In at least one embodiment, events from one or more event sources can be determined. In an embodiment, as shown in FIG. 1, event sources can include vehicle sensor data source 12, OEM vehicle sensor data source 14, application data source 16, telematics data source 20, wireless infrastructure data source 17, and third party data source 15 or the like. In at least one embodiment, the determined events can correspond to location data, vehicle sensor data, various user interactions, display operations, impressions, or the like, that can be managed by downstream components of the system, such as Stream Processing Server system 200 and Analytics Server system 500. In at least one embodiment, Ingress Server system 100 can ingress more or fewer event sources than shown in FIGS. 1A-2.


In at least one embodiment, events that can be received and/or determined from one or more event sources includes vehicle event data from one or more data sources, for example GPS devices, or location data tables provided by third party data source 15, such as OEM vehicle sensor data source 14. Vehicle event data can be ingested in database formats, for example, JSON, CSV, and XML. The vehicle event data can be ingested via APIs or other communication interfaces provided by the services and/or the Ingress Server system 100. For example, Ingress Server system 100 can offer an API Gateway 102 interface that integrates with an Ingress Server API 106 that enables Ingress Server system 100 to determine various events that can be associated with databases provided by the vehicle event source 14. An exemplary API gateway can include, for example AWS API Gateway. An exemplary hosting platform for an Ingress Server system 100 system can include Kubernetes and Docker, although other platforms and network computer configurations can be employed as well.


In at least one embodiment, the Ingress Server system 100 includes a Server 104 configured to accept raw data, for example, a Secure File Transfer Protocol (SFTP) Server, an API, or other data inputs can be configured accept vehicle event data. The Ingress Server system 100 can be configured to store the raw data in data store 107 for further analysis, for example, by an Analytics Server system 500. Event data can include Ignition on, time stamp (T1 . . . TN), Ignition off, interesting event data, latitude and longitude, and Vehicle Information Number (VIN) information. Exemplary event data can include Vehicle Movement data from sources as known in the art, for example either from vehicles themselves (e.g. via GPS, API) or tables of location data provided from third party data sources 15.


In at least one embodiment, the Ingress Server system 100 is configured to clean and validate data. For example, the Ingress Server 100 can be configured include Ingress API 106 that can validate the ingested event and location data and pass the validated location data to a server queue 108, for example, an Apache Kafka queue, which is then outputted to the Stream Processing Server 200. The server 108 can be configured to output the validated ingressed location data to the data store 107 as well. The Ingress Server can also be configured pass invalid data to a data store 107. For example, invalid payloads can be stored in data store 107. Exemplary invalid data can include, for example, data with bad fields or unrecognized fields, or identical events.


In an embodiment, the system 10 is configured to detect and map vehicle locations with enhanced accuracy. In order to gather useful aggregates about the road network, for example expected traffic volumes and speeds across the daily/weekly cycle, the system 10 can be configured to determine how vehicles are moving through a given road network. As noted herein, a naïve approach of associating or “snapping” each data point with a nearest section of a road can fail because vehicle GPS data has an inherent degree of error due to various known physical effects. Further, a road network often approaches and crosses itself in complicated geometries leading to locations with multiple road snapping candidates.


In an embodiment, the system 10 can be configured to include a base map given as a collection of line segments for road segments. The system 10 includes, for each line segment, geometrical information regarding the line segment's relation to its nearest neighbors. For each line segment, statistical information regarding expected traffic volumes and speeds is generated from an initial iteration of the process. As shown above, vehicle movement event data comprises longitude, latitude, heading, speed and time-of-day.


In an embodiment, the system 10 is configured to take a collection of line segments, which corresponds to road segments, and create an R-Tree index over the collection of line segments. R-trees are tree data structures used for spatial access methods, i.e., for indexing multi-dimensional information such as geographical coordinates, rectangles or polygons. The R-tree is configured to store spatial objects as bounding box polygons to represent, inter alia, road segments. The R-Tree is first used to find road segment candidates within a prescribed distance of a coordinate in order to snap a data point. The candidates are then further examined using a refined metric that considers event data such as the heading select a road segment, which is most likely based on all known information. Event data such as speed and/or time-of-day can also be employed to select a road segment.


The Ingress Server 100 can be configured to output the stored invalid data or allow stored data to be pulled to the Analysis Server 500 from the data store 107 for analysis, for example, to improve system performance. For example, the Analysis Server 500 can be configured with diagnostic machine learning configured to perform analysis on databases of invalid data with unrecognized fields to newly identify and label fields for validated processing. The Ingress Server 100 can also be configured to pass stored ingressed location data for processing by the Analytics server 500, for example, for Journey analysis as described herein.


In an embodiment, the Ingress Server 100 is configured to process event data to derive vehicle movement data, for example speed, duration, and acceleration. For example, in an embodiment, a snapshot is taken on the event database every x number of seconds (e.g. 3 seconds). Lat/long data and time data can then be processed to derive vehicle tracking data, such as speed and acceleration, using vehicle position and time.


In an embodiment, the Ingress Server system 100 is configured to accept data from devices and third party platforms. The Ingress Server API 106 can be configured to authenticate devices and partner or third-party platforms and platform hosts to the system 10.


Accordingly, in an embodiment, the Ingress Server system 100 is configured to receive raw data and perform data quality checks for raw data and schema evaluation. Ingesting and validating raw data is the start of a data quality pipeline of quality checks for the system as shown in FIG. 7 at block 701. Table 1 shows an example of raw data that can be received into the system 10.













TABLE 1






Attribute
Type
Nullable
Description







Raw
partner_id
Integer
No
Identifier for ingress partner


Data.
device_id
String
Yes
4-9 characters long



captured_timestamp
String
No
Time of an event, expressed in local






time with UTC offset



received_timestamp
String
No
Time event was received by Ingress






Server, UTC



longitude, latitude
Double
No
WGS84 coordinates of an event



speed
Float
No
Vehicle speed in kilometers per hour






recorded at the time of an event



additional
Map
No
Map of string key-value pairs to






express data attributes unique to each






ingress



journey_id
String
No
An identifier for a journey and the






associated events within it



heading
Integer
Yes
Clockwise orientation of vehicle, 0






equals North



altitude
Integer
Yes
Elevation of vehicle as reported by






GPS



squish_vin
String
Yes
Encoded representation of vehicle






make/model characteristics



ignition_status
String
Yes
Indicator of whether vehicle is under






power









In another embodiment, vehicle event data from an ingress source can include less information. For example, as shown in Table 2A, the raw vehicle event data can comprise a limited number of attributes, for example, location data (longitude and latitude) and time data (timestamps).













TABLE 2A






Attribute
Type
Nullable
Description







Raw
captured_timestamp
String
No
Time of an event, expressed


Data.



in local time with UTC






offset



received_timestamp
String
No
Time event was received by






Ingress Server, UTC



longitude, latitude
Double
No
WGS84 coordinates of an






event









In an embodiment, data from an ingress source can include targeted information requested or provided for an advantageous technical solution. For example, as shown in Table 2B, trip data can include, steering angle and gear.












TABLE 2B






Column type
Column
Null


Column name
(inferred)
description
values


















vin_id
Integer
Vehicle identifier
0


trip_id
Integer
Trip identifier
0


prj_vehl_cd
String
Model identifier
0


mdy
String
Model year
0


triplength
Integer
Trip total length
0




in seconds



t
Integer
Trip ordinal position
0




within trim 1, 2 . . . n





(by second)



latitude
Double
WGS84 latitude
198


longitude
Double
WGS84 longitude
198


vs
Integer
Speed in kph
0


sas_angle
Double
Steering angle
0


cur_gr
Integer
Vehicle gear
0









An exemplary advantage of embodiments of the present disclosure is that information that is absent can be derived from innovative algorithms as described herein. For example, vehicle event data may not include a journey identification, or may have a journey identification that is inaccurate. Accordingly, the system 10 can be configured to derive additional vehicle event attribute data when the initially ingressed data has limited attributes. For example, the system 10 can be configured to identify a specific vehicle for ingressed vehicle event data and append a Vehicle ID or Device ID. The system 10 can thereby trace vehicle movement—including starts and stops, speed, heading, acceleration, and other attributes using, for example, only location and timestamp data associated with a Vehicle ID or Device ID.


In an embodiment, at block 702, data received can conform to externally defined schema, for example, Avro or JSON. The data can be transformed into internal schema and validated. In an embodiment, event data can be validated against an agreed schema definition before being passed on to the messaging system for downstream processing by the data quality pipeline. For example, an Apache Avro schema definition can be employed before passing the validated data on to an Apache Kafka messaging system. In another embodiment, the raw movement and event data can also be processed by a client node cluster configuration, where each client is a consumer or producer, and clusters within an instance can replicate data amongst themselves.


For example, the Ingress server system 100 can be configured with a Pulsar Client connected to an Apache Pulsar end point for a Pulsar cluster. In an embodiment, the Apache Pulsar end point keeps track of the last data read, allowing an Apache Pulsar Client to connect at any time to pick up from the last data read. In Pulsar, a “standard” consumer interface involves using “consumer” clients to listen on topics, process incoming messages, and finally acknowledge those messages when the messages have been processed. Whenever a client connects to a topic, the client automatically begins reading from the earliest unacknowledged message onward because the topic's cursor is automatically managed by a Pulsar Broker module. However, a client reader interface for the client enables the client application to manage topic cursors in a bespoke manner. For example, a Pulsar client reader can be configured to connect to a topic to specify which message the reader begins reading from when it connects to a topic. When connecting to a topic, the reader interface enables the client to begin with the earliest available message in the topic or the latest available message in the topic. The client reader can also be configured to begin at some other message between the earliest message and the latest message, for example by using a message ID to fetch messages from a persistent data store or cache.


As noted above, in at least one embodiment, the Ingress Server system 100 is configured to clean and validate data. For example, the Ingress Server system 100 can be configured include an Ingress Server API 106 that can validate the ingested vehicle event and location data and pass the validated location data to a server queue 108, for example, an Apache Kafka queue, which is then outputted to the Stream Processing Server system 200. Server 104 can be configured to output the validated ingressed location data to the data store 107 as well. The Ingress Server system 100 can also be configured to pass invalid data to a data store 107.


The map database can be, for example, a point of interest database or other map database, including public or proprietary map databases. Exemplary map databases can include extant street map data such as Geofabric for local street maps, or World Map Database. The system can be further configured to egress the data to external mapping interfaces, navigation interfaces, traffic interfaces, and connected car interfaces as described herein.


The Ingress Server system 100 can be configured to output the stored invalid data or allow stored data to be pulled to the Analysis Server system 500 from the data store 107 for analysis, for example, to improve system performance. For example, the Analysis Server system 500 can be configured with diagnostic machine learning configured to perform analysis on databases of invalid data with unrecognized fields to newly identify and label fields for validated processing. The Ingress Server system 100 can also be configured to pass stored ingressed location data for processing by the Analytics Server system 500.


As described herein, the system 10 is configured to process data in both a streaming and a batch context. In the streaming context, low latency is more important than completeness, i.e. old data need not be processed, and in fact, processing old data can have a detrimental effect as it may hold up the processing of other, more recent data. In the batch context, completeness of data is more important than low latency. Accordingly, to facilitate the processing of data in these two contexts, in an embodiment, the system 10 can default to a streaming connection that ingresses all data as soon as it is available but can also be configured to skip old data. A batch processor can be configured to fill in any gaps left by the streaming processor due to old data.



FIG. 3 is a logical architecture for a Stream Processing Server system 200 for data throughput and analysis in accordance with at least one embodiment. Stream processing as described herein results in system processing improvements, including improvements in throughput in linear scaling of at least 200 k to 600 k records per second. Improvement further includes end-to-end system processing of 20 seconds, with further improvements to system latency being ongoing. In at least one embodiment, the system 10 can be configured to employ a server for micro-batch processing. For example, as described herein, in at least one embodiment, the Stream Processing Server system 200 can be configured to run on a web services platform host such as AWS employing a Spark Streaming server and a high throughput messaging server such as Apache Kafka. In an embodiment, the Stream Processing Server system 200 can include Device Management Server 207, for example, AWS Ignite, which can be configured input processed data from the data processing server. The Device Management Server 207 can be configured to use anonymized data for individual vehicle data analysis, which can be offered or interfaced externally. The system 10 can be configured to output data in real time, as well as to store data in one or more data stores for future analysis. For example, the Stream Processing Server system 200 can be configured to output real time data via an interface, for example Apache Kafka, to the Egress Server system 400. The Stream Processing Server system 200 can also be configured to store both real-time and batch data in the data store 107. The data in the data store 107 can be accessed or provided to the Insight Server system 500 for further analysis.


In at least one embodiment, event information can be stored in one or more data stores 107, for later processing and/or analysis. Likewise, in at least one embodiment, event data and information can be processed as it is determined or received. Also, event payload and process information can be stored in data stores, such as data store 107, for use as historical information and/or comparison information and for further processing.


In at least one embodiment, the Stream Processing Server system 200 is configured to perform vehicle event data processing.



FIG. 3 illustrates a logical architecture and overview flowchart for a Steam Processing Server system 200 in accordance with at least one embodiment. At block 202, the Stream Processing Server system 200 performs validation of location event data from ingressed locations 201. Data that is not properly formatted, is duplicated, or is not recognized is filtered out. Exemplary invalid data can include, for example, data with bad fields, unrecognized fields, or identical events (duplicates) or engine on/engine off data points occurring at the same place and time. The validation also includes a latency check, which discards event data that is older than a predetermined time period, for example, 7 seconds. In an embodiment, other latency filters can be employed, for example between 4 and 15 seconds.


In an embodiment, as shown at block 703 of FIG. 7, the Stream Processing Server system 200 is configured perform Attribute Bounds Filtering. Attribute Bounds Filtering checks to ensure event data attributes are within predefined bounds for the data that is meaningful for the data. For example, a heading attribute is defined as a circle (0→359). A squish-vin is a 9-10 character VIN. Examples include data that is predefined by a data provider or set by a standard. Data values not within these bounds indicate the data is inherently faulty for the Attribute. Non-conforming data can be checked and filtered out. An example of Attribute Bounds Filtering is given in Table 3.
















TABLE 3





Attribute Bounds





Data Points
Data Points


Filtering

Attribute
Units
Defined by
Bounds
Flagged
Flagged (%)






















Values
Attributes
device_id
String
Externally
N/A
27
0.00171%


within
contain only
longitude,
Double
Internally
to spec
586
586


meaningful
values within
latitude


range.
externally
heading
Integer
Externally
0 → 359
94
0.00004%



predefined



boundaries




squish_vin
String
Externally
9-10
0
    0%







characters









In an embodiment, at block 704 the system 10 is configured to perform Attribute Value Filtering. Attribute Value Filtering checks to ensure attribute values are internally set or bespoke defined ranges. For example, while a date of 1970 can pass an Attribute Bounds Filter check for a date Attribute of the event, the date is not a sensible value for vehicle tracking data. Accordingly, Attribute Value Filtering is configured to filter data older than a predefined time, for example 6 weeks or older, which can be checked and filtered. An example Attribute Bounds Filtering is given in Table 4.
















TABLE 4





Attribute




Defined
Data Points
Data Points


Value

Attribute
Units
Defined by
Bounds
Flagged
Flagged (%)






















Filtering
Attributes
captured_timestamp
Timestamp

<6

64296


Values
contain



weeks ago


within
only values
received_timestamp
Timestamp

>now

0


reasonable
within
longitude, latitude
degrees
Internally
bounding

0


range.
internally



box



defined
Speed
kph
Internally
 0 - - - 360

0



boundaries.
Altitude
metres
Internally
−1000 - - - 10000









At block 705, the system 10 can perform further validation on Attributes in a record to confirm that relationships between attributes of record data points are coherent. For example, a non-zero trip start event does not make logical sense for a Journey determination as described herein. Accordingly, as shown in Table 5, the system 10 can be configured to filter non-zero speed events recorded for the same Attributes for a captured timestamp and a received timestamp for a location as “TripStart” or Journey ignition on start event.













TABLE 5









Data


Record-


Data
Points


Level


Points
Flagged


Filtering
Attributes
Conditions
Flagged
(%)



















Row
speed, ignition_status
speed > 0 AND
439
0.0004%


contents

ignition_status IN




have

(‘KEY_OFF’, ‘KEY_ON’)




semantic






meaning.
captured_timestamp,
received_timestamp <
41
0.00004%



received_timestamp
captured_timestamp









Returning to FIG. 2, at block 204, in at least one embodiment, the Stream Processing Server 200 performs geohashing of the location event data. While alternatives to geohashing are available, such as an H3 algorithm as employed by Uber™, or a S2 algorithm as employed by Google™, it was found that geohashing provided exemplary improvements to the system 10, for example improvements to system latency and throughput. Geohashing also provided for database improvements in system 10 accuracy and vehicle detection. For example, employing a geohash to 9 characters of precision can allow a vehicle to be uniquely associated with the geohash. Such precision can be employed in Journey determination algorithms as described herein. In at least one embodiment, the location data in the event data is encoded to a proximity, the encoding comprising geohashing latitude and longitude for each event to a proximity for each event. The event data comprises time, position (lat/long), and event of interest data. Event of interest data can include harsh brake and harsh acceleration. For example, a harsh brake can be defined as a deceleration in a predetermined period of time (e.g. 40-0 in x seconds), and a harsh acceleration is defined as an acceleration in a predetermined period of time (e.g. 40-80 mph in x seconds). Event of interest data can be correlated and processed for employment in other algorithms. For example, a cluster of harsh brakes mapped in location to a spatiotemporal cluster can be employed as a congestion detection algorithm.


The geohashing algorithm encodes latitude and longitude (lat/long) data from event data to a short string of n characters. In an embodiment, the geohashed lat/long data is geohashed to a shape. For example, in an embodiment, the lat/long data can be geohashed to a rectangle whose edges are proportional to the characters in the string. In an embodiment, the geohash can be encoded from to 4 to 9 characters. In an embodiment, latitude can be provided to up to 8 decimal places and longitude is provided to 7 decimal places for vehicle tracking, for example, for parking analysis as described herein.


A number of advantages flow from employing geohashed event data as described herein. For example, in a database, data indexed by geohash will have all points for a given rectangular area in contiguous slices, where the number of slices is determined by the geohash precision of encoding. This improves the database by allowing queries on a single index, which is much easier or faster than multiple-index queries. The geohash index structure is also useful for streamlined proximity searching, as the closest points are often among the closest geohashes.


At block 206, in at least one embodiment, the Stream Processing Server system 200 performs a location lookup. As noted above, in an embodiment, the system 10 can be configured to encode the geohash to identify a defined geographical area, for example, a country, a state, or a zip code. The system 10 can geohash the lat/long to a rectangle whose edges are proportional to the characters in the string.


For example, in an embodiment, the geohashing can be configured to encode the geohash to 5 characters, and the system 10 can be configured to identify a state to the 5-character geohashed location. For example, the geohash encoded to 5 slices or characters of precision is accurate to +/−2.5 kilometers, which is sufficient to identify a state. A geohash to 6 characters can be used to identify the geohashed location to a zip code, as it is accurate to +/−0.61 kilometers. A geohash to 4 characters can be used to identify a country. In an embodiment, the system 10 can be configured to encode the geohash to uniquely identify a vehicle with the geohashed location. In an embodiment, the system 10 can be configured to encode the geohash to 7-9 characters to uniquely identify a vehicle.


In an embodiment, the system 10 can be further configured to map the geohashed event data to a map database. The map database can be, for example, a point of interest database or other map database, including public or proprietary map databases as described herein. The system 10 can be further configured to produce mapping interfaces. An exemplary advantage of employing geohashing as described herein is that it allows for much faster, low latency enrichment of the vehicle event data when processed downstream. For example, geographical definitions, map data, and other enrichments are easily mapped to geohashed locations and Vehicle IDs. Feed data can be also be combined into an aggregated data set and visualized using an interface, for example a GIS visualization tool (e.g.: Mapbox, CARTO, ArcGIS, or Google Maps API) as shown in FIG. 8 or other interfaces to produce and interface graphic reports or to output reports to third parties 15 using the data processed to produce the analytics insights, for example, via the Egress Server system 400 or Portal Server system 600.


In at least one embodiment, at block 208, the Stream Processor Server system 200 can be configured to anonymize the data to remove identifying information, for example, by removing or obscuring personally identifying information from a Vehicle Identification Number (VIN) for vehicle data in the event data. In various embodiments, event data or other data can include VIN numbers, which include numbers representing product information for the vehicle, such as make, model, and year, and also includes characters that uniquely identify the vehicle, and can be used to personally identify it to an owner. The system 10 can include, for example, an algorithm that removes the characters in the VIN that uniquely identify a vehicle from vehicle data but leaves other identifying serial numbers (e.g. for make, model and year), for example, a Squish Vin algorithm. In an embodiment, the system 10 can be configured to add a unique vehicle tag to the anonymized data. For example, the system 10 can be configured to add unique numbers, characters, or other identifying information to anonymized data so the event data for a unique vehicle can be tracked, processed and analyzed after the personally identifying information associated with the VIN has been removed. An exemplary advantage of anonymized data is that the anonymized data allows processed event data to be provided externally while still protecting personally identifying information from the data, for example as may be legally required or as may be desired by users.


In at least one embodiment, as described herein, a geohash to 9 characters can also provide unique identification of a vehicle without obtaining or needing personally identifying information such as VIN data. Vehicles can be identified via processing a database event data and geohashed to a sufficient precision to identify unique vehicles, for example to 9 characters, and the vehicle can then be identified, tracked, and their data processed as described herein.


In an embodiment, data can be processed as described herein. For example, un-aggregated data can be stored in a database (e.g. Parquet) and partitioned by time. Data can be validated in-stream and then reverse geocoded in-stream. Data enrichment, for example by vehicle type, can be performed in-stream. The vehicle event data can aggregated, for example, by region, by journey, and by date. The data can be stored in Parquet, and can also be stored in Postgres. Reference data can be applied in Parquet for in-stream merges. Other reference data can be applied in Postgres for spatial attributes.


As noted above, for real-time streaming, at block 202, the data validation filters out data that has excess latency, for example a latency over 7 seconds. However, batch data processing can run with a full set of data without gaps, and thus can include data that is not filtered for latency. For example, a batch data process for analytics as described with respect to FIG. 5 can be configured to accept data up to 6 weeks old, whereas the streaming stack of Stream Processing Server system 200 is configured to filter data that is over 7 seconds old, and thus includes the latency validation check at block 202 and rejects events with higher latency.


In an embodiment, at block 212, both the transformed location data filtered for latency and the rejected latency data are input to a server queue, for example, an Apache Kafka queue. At block 214, the Stream Processing server system 200 can split the data into a data set including full data 216—the transformed location data filtered for latency and the rejected latency data—and another data set of the transformed location data 222. The full data 216 is stored in data store 107 for access or delivery to the Analytics Server system 500, while the filtered transformed location data is delivered to the Egress Server system 400. In another embodiment, the full data set or portions thereof including the rejected data can also be delivered to the Egress Server system 400 for third party platforms for their own use and analysis. In such an embodiment, at block 213 transformed location data filtered for latency and the rejected latency data can be provided directly to the Egress Server system 400.



FIG. 4 is a logical architecture for an Egress Server system 400. In at least one embodiment, Egress Server system 400 can be one or more computers arranged to ingest, throughput records, and output event data. The Egress Server system 400 can be configured to provide data on a push or pull basis. For example, in an embodiment, the system 10 can be configured to employ a server Push server from an Apache Spark Cluster or a distributed server system for parallel processing via multiple nodes, for example a Scala or Java platform on an Akka Server Platform. The push server can be configured to process transformed location data from the Stream Process Server system 200, for example, for latency filtering 421, geo filtering 422, event filtering 423, transformation 424, and transmission 425. As described herein, geohashing improves system 10 throughput latency considerably, which allows for advantages in timely push notification for data processed in close proximity to events, for example within minutes and even seconds. For example, in an embodiment, the system 10 is configured to target under 60 seconds of latency. As noted above, Stream Processing Server system 200 is configured to filter events with a latency of less than 7 seconds, also improving throughput. In an embodiment, a data store 406 for pull data can be provided via an API gateway 404, and a Pull API 405 can track which third party 15 users are pulling data and what data users are asking for.


For example, in an embodiment, the Egress Server system 400 can provide pattern data based on filters provided by the system 10. For example, the system 10 can be configured to provide a geofence filter 412 to filter event data for a given location or locations. As will be appreciated, geofencing can be configured to bound and process journey and event data as described herein for numerous patterns and configurations. For example, in an embodiment, the Egress Server system 400 can be configured to provide a “Parking” filter configured restrict the data to the start and end of journey (Ignition—key on/off events) within the longitude/latitudes provided or selected by a user. Further filters or exceptions for this data can be configured, for example by state (state code or lat/long). The system 10 can also be configured with a “Traffic” filter to provide traffic pattern data, for example, with given states and lat/long bounding boxes excluded from the filters.


In an embodiment, the Egress Server 400 can be configured to process data with low-latency algorithms configured to maintain and improve low latency real-time throughput. The algorithms can be configured to process the data for low-latency file output that can populate downstream interfaces requiring targeted, real-time data that does not clog computational resources or render them inoperable. In an embodiment, the system 10 is configured to provide low latency average road speed data for road segments for output in virtually real time from a live vehicle movement data stream from the Stream Processing Server 200. The Egress Server 400 can also be configured to delete raw data in order and provide lightweight data packages to partners 20 and configured for downstream interfaces, for example via the Push Server.



FIG. 5 illustrates a logical architecture for an Analytics Server system 500 for data analytics and insight. In at least one embodiment, Analytics Server system 500 can be one or more computers arranged to analyze event data. Both real-time and batch data can be passed to the Analytics Server system 500 for processing from other components as described herein. In an embodiment, a cluster computing framework and batch processor, such as an Apache Spark cluster, which combines batch and streaming data processing, can be employed by the Analytics Server system 500. Data provided to the Analytics Server system 500 can include, for example, data from the Ingress Server system 100, the Stream Processing Server system 200, and the Egress Server system 400.


In an embodiment, the Analytics Server system 500 can be configured to accept vehicle event payload and processed information, which can be stored in data stores, such as data stores 107. As shown in FIG. 5, the storage includes real-time egressed data from the Egress Server system 400, transformed location data and reject data from the Stream Processing Server system 200, and batch and real-time, raw data from the Ingress Server system 100. As shown in FIG. 2, ingressed locations stored in the data store 107 can be output or pulled into the Analytics Server system 500. The Analytics Server system 500 can be configured to process the ingressed location data in the same way as the Stream Processor Server system 200 as shown in FIG. 2. As noted above, the Stream Processing Server system 200 can be configured to split the data into a full data set 216 including full data (transformed location data filtered for latency and the rejected latency data) and a data set of transformed location data 222. The full data set 216 is stored in data store 107 for access or delivery to the Analytics Server system 500, while the filtered transformed location data is delivered to the Egress Server system 400. As shown in FIG. 5, real time filtered data can be processed for reporting in near real time, including reports for performance 522, Ingress vs. Egress 524, operational monitoring 526, and alerts 528.


Accordingly, at block 502 of FIG. 5, in at least one embodiment, the Analytics Processing Server system 500 can be configured to optionally perform validation of raw location event data from ingressed locations in the same manner as shown with block 202 in FIG. 2 and blocks 701-705 of FIG. 7. In an embodiment, as shown in FIG. 7, at block 706, the system 10 can employ batch processing of records to perform further validation on Attributes for multiple event records to confirm that intra-record relationships between attributes of event data points are meaningful. For example, as shown in Table 6, the system 10 can be configured to analyze data points analyzed to ensure logical ordering of events for a journey (e.g.: journey events for a journey alternate “TripStart—TripEnd—Trip Start” and do not repeat “TripStart-Trip Start-TripEnd-TripEnd).













TABLE 6









Data


Intra-


Data
Points


Record


Points
Flagged


Filtering
Attributes
Conditions
Flagged
(%)







Record
ignition_status
LEAD(ignition_status) =
9125
0.0035%


ordering

ignition_status AND




logical.

ignition_status < >






‘MID_JOURNEY’









Referring to block 504 of FIG. 5, in at least one embodiment, the Analytics Server system 500 can optionally be configured to perform geohashing of the location event data as shown in FIG. 2, block 204. At block 506 of FIG. 5, the Analytics Server system 500 can optionally perform location lookup. At block 508 of FIG. 5, the Analytics Server system 500 can be configured to optionally perform device anonymization as shown in blocks 206 and 208 of FIG. 2.


At block 510, in at least one embodiment, the Analytics Server 500 can perform a Journey Segmentation analysis of the event data. At block 512, the Analytics Sever 500 is configured to perform calculations to qualify a Journey from event information. In at least one embodiment, at block 514, the system is configured to provide active vehicle detection by analyzing a database of vehicle event data and the summarizing of a journey of points into a Journey object with attributes such as start time, end time, start location, end location, data point count, average interval and the like. In an embodiment, Journey objects can be put into a separate data table for processing.


In an exemplary embodiment, the system 10 can be configured to perform vehicle tracking without the need for pre-identification of the vehicle (e.g. by a VIN number). As described above, geohashing can be employed on a database of event data to geohash data to a precision of 9 characters, which corresponds to a shape sufficient to uniquely correlate the event to a vehicle. In an embodiment, the active vehicle detection comprises identifying a vehicle path from a plurality of the events over a period of time. In an embodiment, the active vehicle detection can comprise identifying the vehicle path from the plurality of events over the period of a day (24 hours). The identification comprises using, for example, a connected components algorithm. In an embodiment, the connected components algorithm is employed to identify a vehicle path in a directed graph including the day of vehicle events, in which in the graph, a node is a vehicle and a connection between nodes is the identified vehicle path. For example, a graph of journey starts and journey ends is created, where nodes represent starts and ends, and edges are journeys undertaken by a vehicle. At each edge, starts and ends are sorted temporally. Edges are created to connect ends to the next start at that node, ordered by time. Nodes are 9 digit geohashes of GPS coordinates. A connected components algorithm finds the set of nodes and edges that are connected and, a generated device ID at the start of a day is passed along the determined subgraph to uniquely identify the journeys (edges) as being undertaken by the same vehicle.


An exemplary advantage of this approach is it obviates the need for pre-identification of vehicles to event data. Journey Segments from vehicle paths meeting Journey criteria as described herein can be employed to detect Journeys and exclude non-qualifying Journey events as described above. For example, a geohash encoded to 9 digits (highest resolution) for event data showing a vehicle had a stop movement/engine off to start movement/engine on event within x seconds of each other (30 seconds) can be deemed the same vehicle for a Journey. For a sequence of arrives and leaves, a Journey can be calculated as the shortest path of Journey Segments through the graph.


In at least one embodiment, at block 515, the system 10 can be configured to store the event data and Journey determination data in a data warehouse 517. Data can be stored in a database format. In an embodiment, a time column can be added to the processed data. In an embodiment, the database can also comprise Point of Interest (POI) data.


The Analytics Server system 500 can include an analytics server component 516 to perform data analysis on data stored in the data warehouse 517, for example a Spark analytics cluster. The Analytics Server system 500 can be configured to perform evaluation 530, clustering 531, demographic analysis 532, and bespoke analysis 533. For example, a date column and hour column can be added to data to processed Journey data and location data stored in the warehouse 517. This can be employed for bespoke analysis 533, for example, determining how many vehicles at intersection x by date and time. The system 10 can also be configured to provide bespoke analysis 533 at the Egress Server system 400, as described with respect to FIG. 4.


In an embodiment, a geospatial index row can be added to stored warehouse 517 data, for example, to perform hyper local targeting or speeding up ad hoc queries on geohashed data. For example, location data resolved to 4 decimals or characters can correspond to a resolution of 20 meters or under. In an embodiment, latitude can be provided to up to 8 decimal places and longitude is provided to 7 decimal places for vehicle tracking, for example, for parking analysis as described herein.


The Analytics Server system 500 can be configured to perform parking lot analysis to identify where vehicles are parking, for example, in a multi-level parking lot. In an embodiment, vehicle event data such as shown in Table 2B is ingressed or provided to the Analytics Server system 500. In an example, vehicle event data was tracked and updated every 1 seconds to provide:


Rows: 553547


Unique trip_id values: 2205


Unique vin_id values: 279.


The data quality was confirmed to have 12 out of 2205 trips having data points with null coordinates. Latitude and longitude were always null together. No trip had more than 29 null coordinates. Latitude was provided to 8 decimal places and longitude was provided to 7 decimal places. From the data, the following observations were determined: 27 trips were found that extend outside the area of a target lot for analysis.


In an embodiment, parking analysis can include data filtering for the exclusion of obviously wrong or incorrect data. Data filtering can also comprise: removal of segments of trips that are of no interest or use for the parking analysis, such as segments or trip portions, for example, determined to be outside the target lot. In an embodiment, a “unique T” or trip segment can be defined to identify vehicles or journey segments within the target lot analysis and exclude those outside the lot. Data filtering can also include removal of segments of trips that have no material impact upon the parking floor or location, such as stationary segments. Data filtering can also exclude outliers for example, trips or vehicles with different characteristics to the majority of the dataset.


In an embodiment, the system is configured to aggregate vehicle event features for each trip. Vehicle event features for parking analysis include steering angle. FIG. 9 shows a histogram of number of hard turns per trip. As shown in FIG. 9, using a provisional definition of 200 degrees steering angle as a hard turn, a heatmap was plotted showing of the number of hard left and right turns per trip. FIG. 10 shows a visualization of the locations and positions of hard turns in a multi-level parking lot geometry. The differing distributions of location of hard left and right turns can be identified to floor transitions for a multi-level parking lot.


For example, in an embodiment, the system is configured to identify a change in heading between subsequent consecutive points within a trip in areas where GPS accuracy is known to be good. Correlating accurate GPS data (e.g., at 7-9 decimals of accuracy or higher) it is possible to derive a relationship between steering angle vehicle event for a vehicle and a relative heading change. As shown in FIG. 11, plotting steering angles along the x axis and relative heading change along a y axis, steering angle vehicle event for a vehicle and a relative heading change have a strongly linear relationship (y=0.007964713479167866). Using this relationship along with the known geometry of a target parking building or lot and vehicle speed, the system can be configured to calculate floor transitions events for each vehicle with only speed and steering angle data, and to project a likely location of a vehicle within a floor of a multi-level parking lot even when GPS accuracy is poor.


In an embodiment, gear shifts can also be employed to identify floor transitions. In an embodiment, vehicle speed and gear vehicle event information can be employed to identify parking data analysis. For example, gears can be at one of several values, either 14 (reverse), 0 (neutral/park) or 1-8 (in gear). A relationship was identified between vehicle speed data and gear data. FIG. 12 shows a visualization of a distribution of speed for each gear. In the example, reverse was redefied as 1.



FIG. 13 is a visualization showing the variation in gear over the length of the average trip. As shown in FIG. 13, a distribution of gears over time was found as a ratio of true trip length (count of unique T). FIG. 14 is a visualization showing a true trip length as a variation in vehicle speed over a length of the average trip. As shown in FIG. 14, a distribution of vehicle speed (Rounded to nearest 10 km/h) was over time as a ratio of true trip length (count of unique t). As shown in FIG. 13, a strong increase in reverse/neutral gears towards the end of the trip was identified. In an embodiment, the system can be configured to determine when a search for a parking space has ceased and parking maneuvering of a vehicle has begun based on the increase in reverse/neutral gears towards the end of the trip.


In an embodiment machine intelligence, rules-based techniques and modeling (e.g. clustering) as described herein can be employed to process the aggregated trip data to predict a likely floor and location in a target parking lot.


In an embodiment, the system 10 can be configured to process vehicle event data to provide enhanced insights and efficient processing. Exemplary processes and systems for processing event data comprise:

    • K nearest neighbors over an R-Tree with graph local searching and custom metrics for performing snapping of data points to roads;
    • DBSCAN with custom metrics for finding areas of parking related to points of interest;
    • XGBoost for classification of journey purpose with a classifier modified from one built over National Household Travel Survey data;
    • Levenshtein and Soundex for street address matching; ARIMA for traffic volume time series forecasting;
    • Cross correlation and dynamic time warping for determination of road co-dependency;
    • Facebook Prophet for datapoint volume forecasting;
    • Gaussian Mixture Model for identifying traffic congestion state; and XmR for anomaly detection control charting.


The Analytics Server 500 can be configured with diagnostic machine learning configured to perform analysis on databases of invalid data with unrecognized fields to newly identify and label fields for validated processing.


The Analytics Server system 500 can be configured to perform road snapping as described with respect to the Ingress Server system 100 hereinabove. The algorithm as described above advantageously can use individual points for snapping, and extracts as much information as possible from each data point by comparing each data point to road geometry. The data point can also be compared to statistics formed from aggregated data. In an embodiment, the snapping algorithm is implemented at an ingress server to provide, inter alia, advantages in substantially real-time, low latency feeds. In an embodiment, the snapping algorithm can also be provided at the Stream Processing server system 200, Egress Server system 400, or Analytics Server system 500. In an embodiment, the system 10 can be further configured to map the event data to a map database as described herein.


Another exemplary advantage is map interfaces and navigation systems can be improved to accurately navigate vehicles.


In another embodiment, proceeding from the map matching enrichment described above, the Analytics Server 500 or Egress Server 400 can be configured to determine vehicle event movement data points. Through map matching, the system can be configured to analyze vehicle event data to locate each vehicle data point onto a segment. Each point has associated with it a distance it has been moved in order to make the match. The vehicle event data points are thus processed through the map matching system to determine the identification of a segment.



FIG. 6 is a logical architecture for a Portal Server system 600. In at least one embodiment, Portal Server system 600 can be one or more computers arranged to ingest and throughput records and event data. The Portal Server system 600 can be configured with a Portal User Interface 604 and API Gateway 606 for a Portal API 608 to interface and accept data from third party 15 users of the platform. In an embodiment, the Portal Server system 600 can be configured to provide daily static aggregates and is configured with search engine and access portals for real time access of data provided by the Analytics Server system 500. In at least one embodiment, Portal Server system 600 can be configured to provide a Dashboard to users, for example, to third party 15 client computers. In at least one embodiment, information from Analytics Server system 500 can flow to a report or interface generator provided by a Portal User interface 604. In at least one embodiment, a report or interface generator can be arranged to generate one or more reports based on the performance information. In at least one embodiment, reports can be determined and formatted based on one or more report templates.


The low latency provides a super-fast connection delivering information from vehicle source to end-user customer. Further data capture has a high capture rate of 3 seconds per data point, capturing up to, for example, 330 billion data points per month. As described herein, data is precise to lane-level with location data and 95% accurate to within a 3-meter radius, the size of a typical car.



FIG. 7 is a flow chart showing a data pipeline of data processing as described above. As shown in FIG. 7, in an embodiment, event data passes data through a seven (7) stage pipeline of data quality checks. In addition, data processes are carried out employing both stream processing and batch processing. Streaming operates on a record at a time and does not hold context of any previous records for a trip, and can be employed for checks carried out at the Attribute and record level. Batch processing can take a more complete view of the data and can encompass the full end-to-end process. Batch processing undertakes the same checks as streaming plus checks that are carried out across multiple records and Journeys.


In at least one embodiment, a dashboard display can render a display of the information produced by the other components of the system 10. In at least one embodiment, dashboard display can be presented on a client computer accessed over network. In at least one embodiment, user interfaces can be employed without departing from the spirit and/or scope of the claimed subject matter. Such user interfaces can have any number of user interface elements, which can be arranged in various ways. In some embodiments, user interfaces can be generated using web pages, mobile applications, GIS visualization tools, mapping interfaces, emails, file servers, PDF documents, text messages, or the like. In at least one embodiment, Ingress Server system 100, Stream Processing Server system 200, Egress Server system 400, Analytics Server system 500, or Portal Server system 600 can include processes and/or API's for generating user interfaces.


For example, as shown in the flow chart 800 of FIG. 8, feed data can be combined into an aggregated data set and visualized using an interface 802, for example a GIS visualization tool (e.g.: Mapbox, CARTO, ArcGIS, or Google Maps API) or other interfaces. In an embodiment, the system configured to provide connected vehicle (CV) insights and traffic products interfaces 802 therefor is described with respect to exemplary data processing of CV event data and segment event as described herein. An interface can also be configured to output data via interfaces to downstream devices such as traffic management devices, for example, via the Egress Server or Portal Sever. As shown in FIG. 8, the data feeds can include exemplary feeds such as, for example data set 804, data set 806, and connected vehicle movement data or segment event data 806. The interfaces can be used to present parking data analysis, such as that described with respect to FIGS. 9-14.


Embodiments described with respect to systems 10, 50, 100, 200, 400, 500, 600, 700, 800 and 900 are described in conjunction with FIGS. 1A-14, can be implemented by and/or executed on a single network computer. In other embodiments, these processes or portions of these processes can be implemented by and/or executed on a plurality of network computers. Likewise, in at least one embodiment, processes described with respect to systems 10, 50, 100, 200, 400, 500, 600, 700, 800, 900 or portions thereof, can be operative on one or more various combinations of network computers, client computers, virtual machines, or the like can be utilized. Further, in at least one embodiment, the processes described in conjunction with FIGS. 1A-14 can be operative in system with logical architectures such as those also described in conjunction with FIGS. 1A-14.


It will be understood that each block of the flowchart illustration, and combinations of blocks in the flowchart illustration, can be implemented by computer program instructions. These program instructions can be provided to a processor to produce a machine, such that the instructions, which execute on the processor, create means for implementing the actions specified in the flowchart block or blocks. The computer program instructions can be executed by a processor to cause a series of operational steps to be performed by the processor to produce a computer-implemented process such that the instructions, which execute on the processor to provide steps for implementing the actions specified in the flowchart block or blocks. The computer program instructions can also cause at least some of the operational steps shown in the blocks of the flowchart to be performed in parallel. Moreover, some of the steps can also be performed across more than one processor, such as might arise in a multi-processor computer system or even a group of multiple computer systems. In addition, one or more blocks or combinations of blocks in the flowchart illustration can also be performed concurrently with other blocks or combinations of blocks, or even in a different sequence than illustrated without departing from the scope or spirit of the disclosure.


Accordingly, blocks of the flowchart illustration support combinations for performing the specified actions, combinations of steps for performing the specified actions and program instruction means for performing the specified actions. It will also be understood that each block of the flowchart illustration, and combinations of blocks in the flowchart illustration, can be implemented by special purpose hardware-based systems, which perform the specified actions or steps, or combinations of special purpose hardware and computer instructions. The foregoing example should not be construed as limiting and/or exhaustive, but rather, an illustrative use case to show an implementation of at least one of the various embodiments.


All references made herein to “a processor” means “at least one processor”. Accordingly, all references to processing or executing instructions by a processor means that said processing or executing instructions is performed by at least one processor and, in at least such implementations and according to some embodiments, said processing or executing instructions is performed by a plurality of processors, any or all of which may be co-located or remotely located. Any one or more of the processors discussed herein are electronic processors that may be implemented as any suitable electronic hardware that is capable of processing computer instructions and may be selected based on the application in which it is to be used. Examples of types of electronic processors that may be used include central processing units (CPUs), graphics processing units (GPUs), field-programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), microprocessors, microcontrollers, etc. Any one or more of the computer-readable memory discussed herein may be implemented as any suitable type of non-transitory memory that is capable of storing data or information in a non-volatile manner and in an electronic form so that the stored data or information is consumable by the electronic processor.


The memory may be any a variety of different electronic memory types and may be selected based on the application in which it is to be used. Examples of types of memory that may be used include including magnetic or optical disc drives, ROM (read-only memory), solid-state drives (SSDs) (including other solid-state storage such as solid-state hybrid drives (SSHDs)), other types of flash memory, hard disk drives (HDDs), non-volatile random access memory (NVRAM), etc. It should be appreciated that the computers or servers may include other memory, such as volatile RAM that is used by the electronic processor, and/or may include multiple processors.


It is to be understood that the foregoing description is of one or more embodiments of the invention. The invention is not limited to the particular embodiment(s) disclosed herein, but rather is defined solely by the claims below. Furthermore, the statements contained in the foregoing description relate to the disclosed embodiment(s) and are not to be construed as limitations on the scope of the invention or on the definition of terms used in the claims, except where a term or phrase is expressly defined above. Various other embodiments and various changes and modifications to the disclosed embodiment(s) will become apparent to those skilled in the art.


As used in this specification and claims, the terms “e.g.,” “for example,” “for instance,” “such as,” and “like,” and the verbs “comprising,” “having,” “including,” and their other verb forms, when used in conjunction with a listing of one or more components or other items, are each to be construed as open-ended, meaning that the listing is not to be considered as excluding other, additional components or items. Other terms are to be construed using their broadest reasonable meaning unless they are used in a context that requires a different interpretation. In addition, the term “and/or” is to be construed as an inclusive OR. Therefore, for example, the phrase “A, B, and/or C” is to be interpreted as covering all of the following: “A”; “B”; “C”; “A and B”; “A and C”; “B and C”; and “A, B, and C.”

Claims
  • 1. A system comprising: at least one processor; andmemory storing computer instructions that are accessible by the at least one processor;wherein the at least one processor is configured to execute the computer instructions and, when the at least one processor executes the computer instructions, the system: determines a geometry for a parking lot;receives vehicle event data including periodic vehicle event data for vehicle speed and steering angle;tracks a movement of a vehicle using the vehicle event data; anddetermines where a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry.
  • 2. The system of claim 1, wherein the parking lot is a multi-level parking lot, and wherein the system is configured so that, when the at least one processor executes the computer instructions, the system obtains data representing a predetermined relationship between steering angles and heading changes, and then uses the predetermined relationship along with the geometry for the parking lot to determine floor transition events.
  • 3. The system of claim 2, wherein the system is configured so that, when the at least one processor executes the computer instructions, the system uses the vehicle speed as a part of determining the floor transition events.
  • 4. The system of claim 3, wherein the predetermined relationship is established based on global positioning system data having an accuracy of at least 7 decimal places.
  • 5. The system of claim 3, wherein the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot.
  • 6. The system of claim 5, wherein the likely location of the vehicle within a floor of the multi-level parking lot is capable of being determined even when accuracy of global positioning system data is degraded.
  • 7. The system of claim 1, wherein the parking lot is a multi-level parking lot, and wherein the system is configured so that, when the at least one processor executes the computer instructions, the system obtains data representing a predetermined relationship between gear shifts and vehicle speed, and then uses the predetermined relationship along with the geometry for the parking lot to determine information regarding a parking maneuver of the vehicle.
  • 8. The system of claim 7, wherein the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot.
  • 9. The system of claim 8, wherein the likely location of the vehicle within a floor of the multi-level parking lot is determined based on a determination that a search for a parking space has ceased and parking maneuvering of a vehicle has begun based on an increase in reverse/neutral gears towards an end of a trip.
  • 10. A method of determining where a vehicle has parked in a parking lot, comprising the steps of: determining a geometry for a known parking lot;receiving vehicle event data including periodic vehicle event data for vehicle speed and steering angle;tracking a movement of a vehicle using the vehicle event data; anddetermining where a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry.
  • 11. The method of claim 10, wherein the parking lot is a multi-level parking lot, and wherein the method includes obtaining data representing a predetermined relationship between steering angles and heading changes, and then using the predetermined relationship along with the geometry for the parking lot to determine floor transition events.
  • 12. The method of claim 11, the method includes using the vehicle speed as a part of determining the floor transition events.
  • 13. The method of claim 12, wherein the predetermined relationship is established based on global positioning system data having an accuracy of at least 7 decimal places.
  • 14. The method of claim 12, wherein the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot.
  • 15. The method of claim 14, wherein the likely location of the vehicle within a floor of the multi-level parking lot is capable of being determined even when accuracy of global positioning system data is degraded.
  • 16. The method of claim 10, wherein the parking lot is a multi-level parking lot, and wherein the method includes obtaining data representing a predetermined relationship between gear shifts and vehicle speed, and then using the predetermined relationship along with the geometry for the parking lot to determine information regarding a parking maneuver of the vehicle.
  • 17. The method of claim 16, wherein the predetermined relationship is used to determine a likely location of the vehicle within a floor of the multi-level parking lot.
  • 18. The method of claim 17, wherein the likely location of the vehicle within a floor of the multi-level parking lot is determined based on a determination that a search for a parking space has ceased and parking maneuvering of a vehicle has begun based on an increase in reverse/neutral gears towards an end of a trip.
  • 19. A system comprising: at least one processor; andmemory storing computer instructions that are accessible by the at least one processor;wherein the at least one processor is configured to execute the computer instructions, and, when the at least one processor executes the computer instructions,the system: determines a geometry for a known parking lot;receives vehicle event data including periodic vehicle event data for vehicle speed and steering angle;tracks a movement of a vehicle using the vehicle event data;obtains data representing either a first predetermined relationship between steering angles and heading changes or a second relationship between steering angles and heading changes; anddetermines a likely location at which a vehicle has parked using a steering angle to determine a number of turns in the parking lot geometry, and wherein the likely location is determined based on the data representing the first predetermined relationship or the second predetermined relationship.
  • 20. The system of claim 19, wherein the parking lot is a multi-level parking lot, and wherein the system is configured so that, when the at least one processor executes the computer instructions, the system determines floor transition events based on the data representing the first predetermined relationship or the second predetermined relationship.
US Referenced Citations (6)
Number Name Date Kind
9969386 Wang May 2018 B1
20020193940 Hashida Dec 2002 A1
20150330788 Davidsson et al. Nov 2015 A1
20160240082 Mielenz Aug 2016 A1
20170176601 Nara et al. Jun 2017 A1
20200217669 Hu et al. Jul 2020 A1
Foreign Referenced Citations (2)
Number Date Country
101816175 Mar 2014 CN
103209875 Oct 2016 CN
Non-Patent Literature Citations (1)
Entry
Extended European Search Report corresponding to European Application 21207641.8, dated Apr. 7, 2022, 11 pages.
Related Publications (1)
Number Date Country
20220144281 A1 May 2022 US
Provisional Applications (1)
Number Date Country
63111961 Nov 2020 US