The state is not only a tool of class rule, but also a tool of social integration and stability. In the eastern countries with low level of early productivity development, the combination of external natural disasters, wars between ethnic groups and class conflicts caused by class stratification within society formed the internal and external reasons for the emergence and evolution of the early countries of ancient eastern civilization. Class conflict and struggle are the internal causes of the formation and development of the country; The external pressure of natural ecology, nationality and social environment is the external cause of its formation and development. But as far as dialectical relationship is concerned, both are very important. Without the conflict of internal classes, the evolution of the country lacks qualitative change; Without the pressure of external ecology, population and race, the transformation from blood organization to regional ethnic organization will be very slow and the internal structure will be very loose. Therefore, in the early development of the country, its class oppression function and large-scale organization of water conservancy defense and other public functions are very obvious. It also leads to the interaction and class conflict between classes within the country and the integration and agglomeration of human beings for survival under external pressure. In this way, on the one hand, we can see the stress mechanism of the early state facing population, race and ecological pressure behind the class conflict behavior; On the other hand, in the integration, order and pressure mechanism of social development, we will find the class conflict energy gradually converging inside.