The invention discloses an inspection task configuration method and
system based on a mandatory behavior interface and a structured scene file, and the method comprises the steps: providing
functional module items which forcibly achieve a unified behavior interface in a graphical designer, and enabling a user to form an inspection
flow chart through dragging; writing the
flow chart into a structured scene file through a
serialization method defined by an interface; the emulator and the deployment tool load the file respectively, function module items are reconstructed through deserialization, an execution method of the function module items is directly called for logic
verification, or
robot instructions are generated through analysis. According to the method, a
unified interface is used for binding graphs and logics, a single scene file is used for connecting the whole process of design,
simulation and deployment, the problems that in a traditional scheme, operation is complex, and
data splitting and
semantics are inconsistent are solved, the purpose that line is achieved through
programming is achieved, the configuration threshold is remarkably lowered, and development efficiency and
system reliability are improved.