In the game between coal miners and supervisors, the behavior choices of the game parties will be affected by cognitive factors. The analysis of the behavior choices of coal miners and supervisors under the influence of cognitive factors is helpful for the design of violation behavior control strategies. Firstly, a description method of subjective cognition based on the mathematical method of quantum theory is designed. Secondly, taking the subjective cognition of coal miners and supervisors as a random variable, a behavior evolution model with random variables is constructed. Thirdly, the impact of subjective cognition on the behavior choices of coal miners and supervisors is analyzed. Finally, the violation behavior control strategy is designed. It is found that when the violation probability decreases to a certain extent, the probability of supervision will change from the increase to decrease. When the probability of supervision decreases to a certain extent, the violation probability will change from the decrease to increase. Fluctuations in cognitive state can affect the change process of violation probability and supervision probability. The behavior control strategy designed according to the behavior evolution model can control the violation behavior in the situation of cognitive state fluctuation.