Research Article

Collecting Big Data from Automotive ECUs beyond the CAN Bandwidth for Fault Visualization

Algorithm 4

Function to calculate the number of segments.
Input:
   - Operation cycle of system main task
   - The time required for sending one CAN message
   - The size of memory to monitor
   - The size of data can be stored in one CAN message
  OCC - CAN bus occupancy of the existing operation
Output:
  Seg - the number of segments to slice
() function CALCULATINGSEGMENTS()
() begin
()   
()   
() return Seg
() end
() end function