The invention discloses a real-time task
execution time automatic determination method and device, and the method achieves the configuration
automation and strategy through receiving the configuration information containing a task period and an execution strategy and generating the initial
execution time, and eliminates the dependence on the artificial experience. According to the method, the initial time is subjected to
safety regulation by judging and executing time constraint and
safety margin according to the worst case, a dynamic quantifiable safety boundary is introduced, the result is ensured
not to exceed a hardware safety threshold, and
system risks caused by improper configuration are completely eradicated. And finally, effective
execution time is output by performing validity
verification such as minimum value
verification and schedulability evaluation on the
normalized time, so that the reasonability and the performability of the result are ensured. According to the method,
automation, security and high reliability of execution time configuration are realized.