This paper studies the financial risk management of resource allocation of listed commercial banks in my country, starting from the fundamental influence of lender credit rating in the internal rating system of commercial banks, and analyzes the influence of a large number of subjective factors contained in the bank’s credit rating system on the rating effect. Influence. A sort-response panel regression function model with random effects (including random intercept terms and random coefficients) is proposed, and the rationality of the existing bank credit rating system is tested and analyzed. The experimental results show that the model’s prediction accuracy rate is 48.27%, and the percentage of prediction level error within two levels reaches 86.8%. The application of this model can find the redundant indicators of the existing system, which are highly fitted with the actual situation and can achieve quite ideal forecasting results, and provide a forecasting reference for the weight setting, which provides a basis for the revision of the bank’s credit rating system.