As the Earth's resources are utilized, we are increasingly seeking access to space-based resources. One of the most promising solutions to the problem of resource scarcity is asteroid mining. However, it brings with it the problem of resource allocation. Because of the different levels of development of countries, the way of equal distribution is not reasonable. In this paper, we firstly elaborate and define the abstract global equity in a concrete way, linking global equity with comprehensive national strength, and build a new global equity model on this basis. In this way, we can apply the established model to the distribution of space-based resources or other resources. This paper first establishes the corresponding relation between global equity and comprehensive national power, and then determines several important indexes affecting comprehensive national power according to Klein equation. Further, this paper selected four representative large countries and determined the data of each country in each important index by consulting relevant materials. On this basis, the analytic hierarchy process was used to determine the weight of each country in resource allocation. By comparing the weight index obtained by the model in this paper with the actual resource allocation ratio, we can find that they are in good agreement [1]. Therefore, it can be concluded that when allocating space-based resources or other resources, we can use the global equity model established in this paper to calculate the weight index and allocate resources on this basis to ensure the realization of global equity [2].