The invention discloses a control
program optimization method, a detection
system, an electronic device and a storage medium, the control
program optimization method is applied to a detection platform, the detection platform is connected with an
elevator core component, when a to-be-tested demand is received, a
test case is determined according to parameter information of the to-be-tested demand, and the
test case is stored in the detection platform; the to-be-tested demand comprises at least one test demand of a to-be-tested function and a target fault; burning the
elevator control program to be tested to the detection platform; the
test case is executed on the detection platform,
response parameters of the
elevator core component are obtained, and a test result is obtained; and performing optimization iteration on the
elevator control program based on the test result and an expected result, wherein the expected result shows that the elevator is in a
normal state. The test case is determined according to the parameter information of the to-be-tested requirement and executed on the detection platform, the test can be carried out without waiting for the idle elevator, the development
test duration can be greatly shortened, the development progress of the elevator function is accelerated, and meanwhile the elevator
operation safety is guaranteed.