IP Library Granted Patent US 12,361,086
Granted Patent B2
US 12,361,086 · App. 18/471,829 · Granted Jul 15, 2025

Methods and systems for spatio-temporal regular expression matching

Inventors: Jacob W. Anderson (Gilbert, AZ); Georgios Fainekos (Novi, MI); Bardh Hoxha (Canton, MI); Hideki Okamoto (Ann Arbor, MI); Danil V. Prokhorov (Ann Arbor, MI)
Assignees: TOYOTA MOTOR ENGINEERING & MANUFACTURING NORTH AMERICA, INC.; TOYOTA JIDOSHA KABUSHIKI KAISHA
G06F16/9537B60W60/00G06F16/24568
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,361,086
App. No.
18/471,829
Granted
Jul 15, 2025
Kind
B2
Abstract

Systems and methods are provided that implement spatio-temporal query of perception data streams. A system is distinctly designed to implement efficient and flexible spatio-temporal queries, which conduct pattern matching over perception data streams for automotive applications, particularly autonomous vehicles. The system is also designed to enable the spatio-temporal queries to be expressed in SpREs (Spatial Regular Expressions), which is implemented as a querying language that combines the ease of REs (regular expressions) with the enhanced capabilities of spatial logic. Additionally, a method includes receiving a command associated with a spatio-temporal query, wherein the expression comprises spatial regular expressions (SpREs). Thereafter, performing the spatio-temporal query of a plurality of perception data streams using the SpREs, where the SpREs describe spatio-temporal patterns to be searched within the plurality of perception data streams.

Claims (30)

1. A method, comprising:

receiving a command associated with a spatio-temporal query, wherein the spatio-temporal query comprises spatial regular expressions (SpREs) comprising a pattern-based semantic component and a spatial component; and

performing the spatio-temporal query of a plurality of perception data streams using the SpREs, wherein the spatial component of the SpREs describe spatio-temporal patterns between objects to be searched within the plurality of perception data streams.

2. The method of claim 1 , further comprising converting the SpREs into an equivalent Deterministic Finite Automata (DFA).

3. The method of claim 2 , further comprising generating a corresponding symbolic map to map topological events to symbols in a regular expression (RE).

4. The method of claim 1 , further comprising determining whether there is a match of the spatio-temporal patterns within the plurality of perception data streams; and

returning a set of matches comprising each determined match as a result of the spatio-temporal query.

5. The method of claim 1 , further comprising receiving the plurality of perception data streams from one or more vehicles comprising sensors.

6. The method of claim 5 , wherein the spatio-temporal query comprises searching an offline database storing the plurality of perception data streams.

7. The method of claim 6 , wherein the spatio-temporal query returns a set of frames matching the spatio-temporal query or a set of objects in each frame matching the spatio-temporal query.

8. The method of claim 5 , wherein the plurality of perception data streams comprises at least one of video data stream, lidar data stream, sonar data stream, and radar data stream.

9. The method of claim 5 , wherein the one or more vehicles comprise: an autonomous vehicle, a semi-autonomous vehicle, an automated driving system, or a non-autonomous vehicle.

10. The method of claim 1 , wherein the spatio-temporal query comprises searching the plurality of perception data streams from an online streaming source.

11. The method of claim 10 , wherein the online streaming source comprises one or more of: an autonomous vehicle, a robotic device, an unmanned ariel vehicle, and an advanced driver assistance system (ADAS).

12. The method of claim 1 , further comprising performing an action associated with an automotive application based on the spatio-temporal query.

13. The method of claim 12 , wherein the automotive application comprises one or more of: executing control of an autonomous vehicle, determining scenarios of interest from searching an offline database storing the plurality of perception data streams from vehicles, executing testing of autonomous vehicle software in simulation or in a real-world deployment, and executing diagnostics of autonomous vehicle perception systems.

14. A vehicle comprising:

sensors capturing a plurality of perception data, wherein the plurality of perception data is associated with a driving environment of the vehicle; and

a controller performing spatio-temporal queries of the plurality of perception data to determine a presence of a spatio-temporal pattern between objects within the driving environment of the vehicle, wherein the spatio-temporal queries comprise a pattern-based semantic component and a spatial component and executes spatio-temporal searches within the plurality of perception data and returns instances of perception data matching the spatio-temporal pattern between the objects, and

executing an autonomous control of the vehicle based on the spatio-temporal query of the searched pattern, wherein the autonomous control is associated with the driving environment.

15. The vehicle of claim 14 , wherein the spatio-temporal queries comprise spatial regular expressions (SpREs).

16. The vehicle of claim 15 , wherein the controller receives additional perception data from a database storing the additional perception data.

17. The vehicle of claim 16 , wherein the additional perception data is collected by a plurality of vehicles having sensor capabilities.

18. The vehicle of claim 16 , wherein the controller performs spatio-temporal queries of the additional perception data to detect scenarios to test autonomous vehicle functions of the vehicle.

19. The vehicle of claim 14 , wherein the vehicle comprises an autonomous vehicle.

20. A computer system, comprising:

one or more processors; and

a memory having instructions stored thereon, which when executed by the one or more processors cause the processors to perform:

receiving a command associated with a spatio-temporal query, wherein the spatio-temporal query comprises spatial regular expressions (SpREs), wherein the SpREs comprise a pattern-based semantic component and a spatial component; and

performing the spatio-temporal query of a plurality of perception data streams using the SpREs, wherein the SpREs describe spatio-temporal patterns between objects to be searched within the plurality of perception data streams.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 2, 2025
From: TOYOTA MOTOR ENGINEERING & MANUFACTURING NORTH AMERICA, INC.
To: TOYOTA JIDOSHA KABUSHIKI KAISHA
Reel/Frame 072139/0636 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 21, 2023
From: ANDERSON, JACOB W.; FAINEKOS, GEORGIOS; HOXHA, BARDH; OKAMOTO, HIDEKI; PROKHOROV, DANIL V.
To: TOYOTA MOTOR ENGINEERING & MANUFACTURING NORTH AMERICA, INC.; TOYOTA JIDOSHA KABUSHIKI KAISHA
Reel/Frame 064986/0670 →
Continuity (2)
Provisional Application 63504574 · May 26, 2023
Related Publication 20240394318A1 · Nov 28, 2024
References Cited (23)
US 9269243B2 · Shet · 2016 [cited by applicant]
US 10133275B1 · Kobilarov · 2018 [cited by examiner]
US 10133752B2 · Begeja · 2018 [cited by applicant]
US 10757369B1 · Mukhopadhyay · 2020 [cited by examiner]
US 11675816B1 · Chandrasekharan · 2023 [cited by examiner]
US 11934417B2 · Lu · 2024 [cited by examiner]
US 20100070527A1 · Chen · 2010 [cited by applicant]
US 20130339371A1 · Hayashi · 2013 [cited by examiner]
US 20150339570A1 · Scheffler · 2015 [cited by examiner]
US 20160034323A1 · Hampapur · 2016 [cited by examiner]
US 20160034824A1 · Dong · 2016 [cited by examiner]
US 20200226467A1 · Fainekos · 2020 [cited by applicant]
US 20210157858A1 · Stevens · 2021 [cited by examiner]
US 20220172606A1 · Pandya · 2022 [cited by examiner]
US 20220366272A1 · Sato · 2022 [cited by examiner]
US 20230159054A1 · Jespersen · 2023 [cited by examiner]
US 20230242142A1 · Zhang · 2023 [cited by examiner]
Fischer et al., “Spatio-Temporal Research Data Infrastructure in the Context of Autonomous Driving”, Aug. 25, 2020, International Journal of Geo-Information, pp. 1-18 (Year: 2020). [cited by examiner]
Dokhanchi et al., “Evaluating Perception Systems for Autonomous Vehicles Using Quality Temporal Logic,” 18th International Conference on Runtime Verification, Nov. 2018, pp. 409-416 (https://doi.org/10.1007/978-3-030-03… [cited by applicant]
Hekmatnejad et al., “Formalizing and Evaluating Requirements of Perception Systems for Automated Vehicles using Spatio-Temporal Perception Logic,” arXiv:2206.14372v1 [cs.RO], Jun. 29, 2022, 27 pages (https://doi.org/10.… [cited by applicant]
Kim et al., “Querying Labelled Data with Scenario Programs for Sim-to-Real Validation,” 2022 ACM/IEEE 13th International Conference on Cyber-Physical Systems (ICCPS), May 2022, 12 pages (https://doi.org/10.1109/ICCPS543… [cited by applicant]
Mell et al., “Synthesizing Video Trajectory Queries,” 35th Conference on Neural Information Processing Systems (NeurIPS 2021), Dec. 2021, 29 pages (https://openreview.net/pdf?id=HyTleooyV2H). [cited by applicant]
Yadav et al., “VidCEP: Complex Event Processing Framework to Detect Spatiotemporal Patterns in Video Streams,” 2019 IEEE International Conference on Big Data (Big Data), Dec. 2019, pp. 2513-2522 (https://doi.org/10.1109… [cited by applicant]