The application discloses a control bit generation method and device of an inverse
butterfly network adopting a
dynamic programming strategy, and solves the problem of poor flexibility of the control bit generation method of the inverse
butterfly network in the prior art. The method comprises the following steps: obtaining preset data; determining the inverse
butterfly network, the number of stages of the inverse butterfly network and the number of switching units in each stage of the inverse butterfly network according to the preset data; obtaining node extraction position information of a plurality of extraction nodes, a plurality of output nodes and a plurality of
exclusive or operation results; traversing the inverse butterfly network, and calculating the switching position information corresponding to the plurality of extraction nodes in each stage; determining the
exclusive or operation result corresponding to the extraction node; judging whether the
exclusive or operation result is equal to a judgment value, if yes, setting the control bit of the switching unit position corresponding to the exclusive or operation result to 1, and saving the control bit in a control bit storage
list; and the flexibility of generating the corresponding control bit
algorithm of the inverse butterfly network according to the extraction demand is realized, and the efficiency is improved.