Description

  • Take an M51HV 4-channel machine as an example, the main stream encoding parameters are: 4*1080P 4096 bitrate
  • The calculated rate below is only a theoretical value, and the actual transmission time may be affected by many factors, such as network congestion, packet loss, server load, etc.
  • The uplink rate bottleneck depends more on the uplink rate of the 4G card, and the broadband rate is easy to reach
  • The device recording file upload needs to wait until the file is packaged. The principle of TTX downloading device recordings is to start from the earliest file
  • The capacity of the WiFi automatic download server calculated here, the actual construction of the WiFi automatic download server should reserve at least 10% of the calculated size. When the WiFi automatic download server is not deployed separately in a distributed manner, all services are on one server, and more storage space should be reserved according to the scenario.

TTX download server storage space requirements

If the device records files for 12 hours (720 minutes) a day, then the capacity consumed per day is about 85G

Therefore, it can be concluded that a device working for 12 hours a day requires 85G capacity for uploading and storing files on the TTX download server Calculation formula: One channel occupies one hour 1 hour recording file size = bit rate size ÷8×3600÷1024 1h=4096÷8×3600÷1024=1800M 12h=1800×4×12=86400M/1024=85G You can use FQA quick calculation tool to calculate

Broadband rate requirements

MDVR Under the premise that the uplink rate of the 4G card (WIFI router) is consistent with the uplink rate of the download server or the download server rate is greater than the 4G card (WIFI router) For example, the uplink rate is 10M/s, and the duration of the 86400M file is 2 hours and 24 minutes: Calculation formula: Under the same unit File size ÷ rate = duration 86400 ÷10=8640s ÷60=144min ÷60=2.4h

Calculation results

Here is an example of the encoding condition of 4*1080P 4096 bit rate. Recording for 12 hours a day generates a file size of 85G. It takes 2 hours and 24 minutes under the uplink rate of 10M/s. Other scenarios can also be calculated according to the above steps. 1. Confirm the size of the video file for one day 2. Confirm the size of the broadband uplink rate to calculate the upload time


Scenario Example 1

Model: M51HV uploads all channel main stream videos Main stream encoding parameters: 4*1080P 4096 bit rate WIFI router uplink rate 10M/s, WiFi server broadband uplink rate ≥10M/s A WiFi download site 50 vehicles, concurrent upload of 20 vehicles, daily video recording time 12h, A WIFI download server is required to store 6 months of video B WiFi download site 30 vehicles, concurrent upload of 10 vehicles, daily video recording time 12h, B WIFI download server is required to store 6 months of video Calculate how long it takes for sites A and B to upload all videos? What capacity WiFi servers should be configured for sites A and B respectively?

Calculation method

Formula: (Bit rate) ÷8×3600÷1024×(Number of channels) ×(Duration) ×(Number of devices) = Total video size (Total video size) ÷(Uplink rate) = Total duration

According to the above method, calculate the video file size and upload duration of sites A and B in one day respectively Site A video file size in one day: 4096÷8×3600÷1024×4×12×50=4,320,000M Time required for site A to complete upload on the same day: 4320000÷10=432000s Site B video file size in one day: 4096÷8×3600÷1 024×4×12×30=2,592,000M The time required for B site to complete the upload on the same day: 2592000÷10=259200s

Calculate the required storage size of the WiFi download server Formula: (Total video size per day)×(number of days) = required storage days storage size Site A: 4320000×30×6=777,600,000M≈741.57TB Site B :2592000×30×6=466,560,000M≈444.94TB

Conclusion:

The total file size generated by the recording of site A in one day is 4,320,000M, the upload time is 120 hours, and the storage size required by the WIFI download server is 741.57TB The total file size generated by the recording of site B in one day is 2,592,000M, the upload time is 72 hours, and the storage size required by the WIFI download server is 444.94TB From here you can It can be seen that the 10M/s rate cannot meet the requirements of AB sites to upload all videos on the same day. The MDVR device video storage needs to be able to save at least 5 days to upload historical videos or increase the rate. ps: The calculation of the size of the video and the required time does not need to consider the number of concurrent operations, only the total rate and total video size. If the routing and server hardware performance are sufficient, the concurrency will not affect the upload.


Scenario Example 2

Model: M51HV uploads all channel main stream videos Main stream encoding parameters: 4*1080P 4096 bitrate A WiFi download site 50 vehicles, concurrent upload of 50 vehicles, daily recording time of 12 hours, requiring A WIFI download server to store 3 months of recording, and the recording of the day is completed on the same day and the time limit is 2 hours B WiFi download site 150 vehicles, concurrent upload of 150 vehicles, daily recording time of 12 hours, requiring B WIFI download server to store 3 months of recording, and the recording of the day is completed on the same day and the time limit is 2 hours Calculate how much upstream bandwidth is required for A and B sites to meet the above requirements? How much capacity WiFi server should be configured for A and B sites respectively?

Calculation method

Formula: (Bitrate size)÷8×3600÷1024×(Number of channels)×(Duration)×(Number of devices)=Total recording size (Total recording size)÷Total duration=(Uplink rate)

According to the above method, first calculate A The file size of the video recording of site B in one day and the required broadband speed within 2 hours The file size of the video recording of site A in one day: 4096÷8×3600÷1024×4×12×50=4,320,000M The speed required for site A to complete the upload on the same day: 4320000÷7200=600M/s The file size of the video recording of site B in one day: 4096÷8×3600÷1024×4×12×150=12,960,000M The speed required for site B to complete the upload on the same day: 12960000÷7200=1800M/s

Calculate the storage size required for the WiFi download server Formula: (Total number of videos recorded in one day) Image size) × (number of days) = required storage days storage size Site A: 4320000×30×3=388,800,000M≈370.79TB Site B: 12960000×30×3=1,166,400,000M≈1,112.37TB

Conclusion:

The total file size generated by the recording of the A site in one day is 4,320,000M. The required upstream broadband rate is 600M/s for the day's recording and the time limit is 2 hours. The required size of the WIFI download server storage is 370.79TB The total file size generated by the recording of the B site in one day is 12,960,000M. The required upstream broadband rate is 1800M/s for the day's recording and the time limit is 2 hours. The required size of the WIFI download server storage is 1,112.37TB