The invention belongs to the field of
embedded software development, and particularly relates to a
software dynamic
reconstruction method based on
data distribution service, functional nodes detect and publish communication abnormal information in real time, a center node subscribes to the communication abnormal information and makes a judgment, and if the corresponding functional node is judged to have a fault, the corresponding functional node does not have the fault. If yes, the communication abnormal information is sent to other related function nodes, and a
communication link is updated; and the functional node with the fault is reset and releases reset information, and the
central node subscribes to the corresponding reset information and notifies other related functional nodes to reset the
communication link. According to the method,
exception handling information is uniformly specified, all fault points of a processor, an
operating system and an
external interface are included, and all-around coverage from a bottom layer to
application software is achieved in combination with fault information of
software. And calling among functions of the
embedded software is recorded through the second-level log codes, so that layer-by-layer tracing of abnormal information is realized, and the
troubleshooting and positioning efficiency of fault points after abnormity is greatly improved.