1 / 15

a traffic analysis tool

a traffic analysis tool. Emerson Murphy-Hill, Portland State University, USA. project background. Maseeh College of Computer Science Portland State University, Oregon, USA. Infopipes Research Project. Group moved from OGI to Portland State within the last year. infopipes project.

hagop
Download Presentation

a traffic analysis tool

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. a traffic analysis tool Emerson Murphy-Hill, Portland State University, USA Slide 1 (of 12)

  2. project background Maseeh College of Computer Science Portland State University, Oregon, USA Infopipes Research Project Group moved from OGI to Portland State within the last year Slide 2 (of 12)

  3. infopipes project • Infopipes: • An abstraction for data-streaming • About data flow, not control flow • Like household water pipes • Reusable components in streaming applications Black02 Slide 3 (of 12)

  4. a simple infopipe Buffer init “initialize my state” super init. queue := SharedQueue new. pull “answer the first item in my queue” ^ queue next push: anItem “put an item at the end of my queue” ^ queue nextPut: anItem. Slide 4 (of 12)

  5. an open question Do Infopipes really facilitate reuse in a streaming application? We don’t know, but let’s build an application and find out… Slide 5 (of 12)

  6. traffic analysis • Automobile traffic – a good fit! • Traffic data is a continuous stream that can be analyzed for current traffic conditions • A known problem in traffic analysis is measuring truck volume Slide 6 (of 12)

  7. why measuring truck volume is hard • Existing roadway hardware is limited 2 Trucks, 2 Cars Slide 7 (of 12)

  8. why measuring truck volume is hard (cont.) Now, how many trucks here? • 4 trucks, if traffic is moving at the same speed as before • 4 cars, if traffic is moving slower than before • Or any combination of cars and trucks, if velocity changes through the sample period! • So can you determine how many trucks have passed using this hardware? Slide 8 (of 12)

  9. a method of counting trucks • Kwon and colleagues suggested a method of counting trucks based on two simple observations: • Traffic in the innermost lane is often truck-free • Velocity in adjacent lanes are correlated over time Slide 9 (of 12)

  10. for example… Slide 10 (of 12)

  11. so reconsider the problem Innermost Lane cars trucks Outermost Lane Now, how many trucks here? 3 Trucks, 5 Cars Slide 11 (of 12)

  12. implementation • We implemented this single loop truck volume algorithm • We decided to use Smalltalk/X after ESUG 2004 • Some Infopipes can benefit from in-lined C code • Simple tests show ST/X is faster than Squeak Slide 12 (of 12)

  13. Implementation (cont) • Implementation consists of a variety of connected Infopipes • Used preexisting, general-purpose Infopipes (buffers, pumps, tees…) • Used preexisting, traffic-specific Infopipes • Created new, traffic-specific Infopipes

  14. implementation (cont) Top-level view:

  15. Implementation (cont) • Uses about 50 classes

More Related