... | ... | @@ -31,4 +31,66 @@ group Ad Display |
|
|
SiteHub -> SiteHub : Play House Ad\nUsing Lottie
|
|
|
end
|
|
|
@enduml
|
|
|
```
|
|
|
|
|
|
Sitehub House Ad Flow:
|
|
|
```plantuml
|
|
|
@startuml
|
|
|
database Backend as be
|
|
|
participant HouseAdApp as app
|
|
|
database storage
|
|
|
|
|
|
note over app : System Bootup
|
|
|
app -> be : Request Schedule List
|
|
|
be -> app
|
|
|
app -> be : Request Assets List
|
|
|
be -> app
|
|
|
app -> storage : Delete old Ads
|
|
|
app -> storage : Add new Ads
|
|
|
app -> storage : Delete old Assets
|
|
|
app -> storage : Add new Assets
|
|
|
app -> storage : Download new Assets
|
|
|
@enduml
|
|
|
```
|
|
|
```plantuml
|
|
|
@startuml
|
|
|
participant "Vistar Local Server" as vistar
|
|
|
participant "Trivia Spectator" as spectator
|
|
|
participant HouseAdApp as app
|
|
|
database storage
|
|
|
|
|
|
note over spectator : Ad break begins\nas indicated by game script
|
|
|
spectator -> vistar : Prepare Ad
|
|
|
note left: Just In Time
|
|
|
vistar -> spectator
|
|
|
note left:First Ad Slot gets no prep
|
|
|
group Displaying Vistar Ad
|
|
|
spectator -> spectator : Play Vistar Ad
|
|
|
spectator -> app : Prepare House Ad
|
|
|
app <-> storage : Check for ads\ncheck date range\ncheck weekday\nselect random
|
|
|
app -> app : If no matching ads\nuse baked-in Buzztime ad
|
|
|
app <-> storage : pre-load Lottie with bodymovin data
|
|
|
app <-> storage : pre-load assets and text replacement
|
|
|
spectator -> spectator : Vistar Ad Finished
|
|
|
end
|
|
|
group Displaying House Ad
|
|
|
spectator -> app : Play House Ad
|
|
|
spectator -> vistar : Prepare Ad
|
|
|
vistar -> spectator
|
|
|
app -> app : Play Ad Once
|
|
|
spectator -> app : Enforce end of House Ad
|
|
|
end
|
|
|
group Displaying Vistar Ad
|
|
|
spectator -> spectator : Play Vistar Ad
|
|
|
spectator -> vistar : Prepare Ad
|
|
|
vistar -> spectator
|
|
|
spectator -> spectator : Vistar Ad Finished
|
|
|
end
|
|
|
group Displaying Vistar Ad
|
|
|
spectator -> spectator : Play Vistar Ad
|
|
|
spectator -> vistar : Prepare Ad
|
|
|
vistar -> spectator
|
|
|
spectator -> spectator : Vistar Ad Finished
|
|
|
end
|
|
|
@enduml
|
|
|
``` |
|
|
\ No newline at end of file |