Population prediction method and device, equipment and storage medium

By using mobile device signaling to determine population mobility and combining multiple factors to determine weight coefficients, the problem of difficulty in obtaining a migration population model is solved, the accuracy of population prediction is improved, and more accurate future population predictions are achieved.

CN118761808AActive Publication Date: 2024-10-11WISDOM FOOTPRINT DATA TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411070699.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-11
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

Existing population forecasting methods have shortcomings in accuracy, especially since it is difficult for migration population models to obtain accurate data, resulting in unreliable future population forecasting results.

Method used

By using the ID card information and location information associated with the mobile device to determine the user's registered residence and permanent residence, the number of inflows and outflows of each age group is calculated, and the weight coefficient is determined based on factors such as policy, environment, economy, and education level. Population projections for the following year.

Benefits of technology

It improves the accuracy of population flow data and population prediction, reducing the deviation between prediction results and actual data to within 1%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761808A_ABST
    Figure CN118761808A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a population prediction method and device, equipment and a storage medium, and the method comprises the steps: determining the household registration location of each user according to the identity card information associated with the mobile equipment of each user in a target region and the positioning information of a specified holiday in many years; determining a current-year permanent residence place and a last-year permanent residence place of each user according to the home registration place of each user and the positioning information of the mobile device of each user; according to the current-year permanent residence and the last-year permanent residence of each user, determining the number of people entering each age and the number of people exiting each age of the target region; according to the number of people entering each age and the weight coefficient corresponding to the number of people entering each age and the weight coefficient corresponding to the number of people exiting each age and the weight coefficient corresponding to the number of people exiting each age, the next-year predicted total number of incoming population and the next-year predicted total number of incoming population of the target region are obtained; and predicting the total number of predicted population of the target region in the next year.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of population forecasting, and in particular to a population forecasting method, device, equipment and storage medium. Background Art

[0002] Population forecasting is of great significance to the planning of economic and social development. At present, there are two main methods for population forecasting. One is the direct forecasting method, which is based on certain data rules and uses linear growth models, geometric growth models, exponential growth models, or logistic growth models to find relevant parameters and coefficients for predicting population development trends, and then complete population forecasting based on a given forecast time; the other is the factor forecasting method, which is based on the law of population age progression, combined with births, deaths, immigrants, emigrants and a given forecast time, to predict the number of people of different ages in each year within a given time. The specific approach involves the following process: first, the population of each age and sex in the census year is transferred to the next year according to the survival rate of the population of that age and sex, and then the number of women of childbearing age and age fertility rate are obtained by age to calculate the number of births in one year, and the number of births is extrapolated to the number of newborns in the next year. If migration is considered, the number of net migrants is added to the predicted number of population of each age, and the population forecast within a given forecast time is completed iteratively year by year. However, these two types of population forecasting methods each have certain defects: As for the direct prediction method, it ignores the inherent law of population growth and only relies on the law of historical data to predict future data. It is not applicable to population prediction in emergencies. And because it does not consider the influence of various complex factors, it is only applicable to the situation where population growth is relatively stable, and is not applicable to population prediction in the situation where population mobility is frequent.

[0003] The difficulty of the factor-based prediction method lies in obtaining a migration population model. This is because in population surveys, there is a high underreporting rate in inter-provincial migration, and there are certain deviations in the samples of population surveys, which makes it difficult to obtain accurate data on population migration, making it even more difficult to obtain a migration population model.

[0004] Therefore, whether it is the direct prediction method or the factor prediction method, the results of future population predictions have the problem of low accuracy. Summary of the invention

[0005] In view of this, in order to at least solve the problem of low accuracy of population prediction results in the related art, an object of the present invention is to provide a population prediction method, apparatus, device and storage medium.

[0006] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows: A first aspect of an embodiment of the present invention provides a population prediction method, comprising: Determine the registered residence of each user in the target group in the target area based on the ID card information associated with the mobile device of each user and the location information of designated holidays over the years; Determine the permanent residence of each user this year and last year based on the registered residence of each user and the location information of each user's mobile device; According to the permanent residence of each user this year and last year, the number of inflow population of each age and the number of outflow population of each age in the target area are determined; the number of inflow population of each age represents the total number of users of different ages in the target group who flow out of the target area, and the number of outflow population of each age represents the total number of users of different ages in the target group who flow into the target area; According to the number of inflow population of each age group and their corresponding weight coefficients, the total predicted inflow population of the target area in the next year is obtained, and according to the number of outflow population of each age group and their corresponding weight coefficients, the total predicted outflow population of the target area in the next year is obtained; wherein any weight coefficient is determined based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year; The predicted total population of the target area for the next year is determined based on the predicted total inflow population for the next year, the predicted total outflow population for the next year, the number of surviving people in the target area this year and the predicted total number of newborns for the next year.

[0007] A second aspect of an embodiment of the present invention provides a population prediction device, comprising: The household registration location determination module is configured to: determine the household registration location of each user according to the identity card information associated with the mobile device of each user in the target group in the target area and the location information of the designated holidays in multiple years; The permanent residence determination module is configured to: determine the permanent residence of each user this year and the permanent residence of last year according to the registered residence of each user and the positioning information of the mobile device of each user; The floating population determination module is configured to: determine the number of inflow population of each age and the number of outflow population of each age in the target area according to the permanent residence of each user this year and the permanent residence of each user last year; the number of inflow population of each age represents the total number of users of different ages in the target group that flow out of the target area, and the number of outflow population of each age represents the total number of users of different ages in the target group that flow into the target area; The floating population prediction module is configured to: obtain the total predicted inflow population of the target area in the next year according to the number of inflow population of each age and their corresponding weight coefficients, and obtain the total predicted outflow population of the target area in the next year according to the number of outflow population of each age and their corresponding weight coefficients; wherein any weight coefficient is determined based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year; The total population prediction module is configured to determine the total population predicted for the target area next year based on the total inflow population predicted for the next year, the total outflow population predicted for the next year, the number of surviving people in the target area this year, and the total number of newborns predicted for the next year.

[0008] According to a third aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the population prediction method provided in the first aspect above.

[0009] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the population prediction method provided in the first aspect is implemented.

[0010] The population prediction method, apparatus, device and storage medium provided by the embodiments of the present invention, on the one hand, first determine the registered permanent residence of each user of the target group by utilizing the identity card information associated with the mobile devices of the target group in the target area and the positioning information of designated holidays in multiple years, and then obtain the permanent residence of each user this year and last year based on the registered permanent residence and the positioning information of the mobile device, and then use the permanent residence of each user this year and last year to obtain the number of inflow and outflow population of the target area. This scheme of obtaining the number of inflow and outflow population of the target area by utilizing mobile device signaling not only solves the problem of difficulty in obtaining migrant population, but also objectively reflects the population mobility situation in the target area, thereby improving the accuracy of the obtained population mobility data, and laying a foundation for the subsequent accurate prediction of the total population predicted for the target area in the next year. Secondly, on the premise of obtaining the population mobility data of the target area, the mobility data is further divided and counted, that is, the number of inflows and outflows at different ages are counted separately to obtain the number of inflows and outflows of each age, and then the number of inflows of each age and their corresponding weight coefficients are used to predict the total number of inflows of the target area for the next year, and the number of outflows of each age and their corresponding weight coefficients are used to predict the total number of outflows of the target area for the next year. This method of realizing the prediction of inflow and outflow population for the next year by age stage can not only accurately reflect the population mobility at each age, but also make predictions of population inflow and outflow for the next year based on this, so that the predicted total number of inflows and outflows for the next year can have higher accuracy. Thirdly, by adding the policy factors, environmental factors, economic factors and educational level of the comprehensive target area into the prediction process of population inflow and outflow in the next year, the weight coefficient is determined. This method of comprehensively considering the population mobility of the target area this year and the policy factors, environmental factors, economic factors and educational level of the target area in the next year to predict the population mobility of the target area in the next year takes into account the impact of objective factors in the target area on population mobility, and can further improve the accuracy of the predicted total population for the next year based on this prediction.

[0011] In addition, the combination of the second and third aspects mentioned above, by configuring corresponding weight coefficients for the number of inflows of each age, and configuring corresponding weight coefficients for the number of outflows of each age, well considers the impact of objective factors existing in the target area on the population mobility at different ages, and achieves a more accurate prediction of the population mobility at different ages, thereby making the total number of inflows and the total number of outflows predicted for the next year based on this prediction more accurate. On this basis, further combined with the first aspect, that is, the combination of the above three aspects, the deviation between the final predicted total population and the actual announced total population can be reduced to within 1%. It can be seen that the above scheme provided by the embodiment of the present invention can greatly improve the accuracy of population prediction.

[0012] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 A structural block diagram of an electronic device provided by an embodiment of the present invention is shown; Figure 2 A flow chart of a population prediction method provided by an embodiment of the present invention is shown; Figure 3 A functional module diagram of a population prediction device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0015] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0016] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0017] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0018] In order to at least solve the technical problem of low accuracy of population prediction results caused by the difficulty in obtaining a migration population model in traditional technologies, the present invention provides a population prediction method. On the first hand, by utilizing the identity card information associated with the mobile devices of the target group in the target area and the positioning information of designated holidays in multiple years, the registered residence of each user in the target group is first determined, and then the permanent residence of each user this year and last year is obtained based on the registered residence and the positioning information of the mobile device, and then the permanent residence of each user this year and last year is used to obtain the number of inflows and outflows of the target area. This scheme of using mobile device signaling to obtain the number of inflows and outflows of the target area not only solves the problem of the difficulty in obtaining the migration population, but also objectively reflects the population mobility in the target area, thereby improving the accuracy of the obtained population mobility data, and laying a foundation for the subsequent accurate prediction of the total population predicted for the target area next year. Secondly, on the premise of obtaining the population mobility data of the target area, the mobility data is further divided and counted, that is, the number of inflows and outflows at different ages are counted separately to obtain the number of inflows and outflows of each age, and then the number of inflows of each age and their corresponding weight coefficients are used to predict the total number of inflows of the target area for the next year, and the number of outflows of each age and their corresponding weight coefficients are used to predict the total number of outflows of the target area for the next year. This method of realizing the prediction of inflow and outflow population for the next year by age stage can not only accurately reflect the population mobility at each age, but also make predictions of population inflow and outflow for the next year based on this, so that the predicted total number of inflows and outflows for the next year can have higher accuracy. Thirdly, by adding the policy factors, environmental factors, economic factors and educational level of the comprehensive target area into the prediction process of population inflow and outflow in the next year, the weight coefficient is determined. This method of comprehensively considering the population mobility of the target area this year and the policy factors, environmental factors, economic factors and educational level of the target area in the next year to predict the population mobility of the target area in the next year takes into account the impact of objective factors in the target area on population mobility, and can further improve the accuracy of the predicted total population for the next year based on this prediction.

[0019] In addition, the combination of the second and third aspects mentioned above, by configuring corresponding weight coefficients for the number of inflows of each age, and configuring corresponding weight coefficients for the number of outflows of each age, well considers the impact of objective factors existing in the target area on the population mobility at different ages, and achieves a more accurate prediction of the population mobility at different ages, thereby making the total number of inflows and the total number of outflows predicted for the next year based on this prediction more accurate. On this basis, further combined with the first aspect, that is, the combination of the above three aspects, the deviation between the final predicted total population and the actual announced total population can be reduced to within 1%. It can be seen that the above scheme provided by the embodiment of the present invention can greatly improve the accuracy of population prediction.

[0020] The population prediction method provided by the present invention can be applied to electronic devices. Figure 1 , is a block diagram of the structure of an electronic device. The electronic device 100 includes a memory 110, a processor 120 and a communication module 130. The memory 110, the processor 120 and the communication module 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0021] The memory is used to store programs or data. The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0022] The processor is used to read / write data or programs stored in the memory and execute corresponding functions.

[0023] The communication module is used to establish a communication connection between the electronic device and other communication terminals through a network, and is used to send and receive data through the network.

[0024] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the electronic device, and the electronic device may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0025] In some embodiments, the electronic device may be a personal computer or a server, which is not limited in the embodiments of the present invention.

[0026] The following combination Figure 2 The population prediction method provided by the embodiment of the present invention is described. Figure 2 is a flow chart of a population prediction method provided by an embodiment of the present invention, the population prediction method comprising: In step S100, the registered residence of each user is determined based on the ID card information associated with the mobile device of each user in the target group in the target area and the location information of the designated holidays in multiple years; In step S200, the permanent residence of each user this year and the permanent residence of each user last year are determined according to the registered residence of each user and the positioning information of the mobile device of each user; In step S300, the number of inflows and outflows of each age in the target area is determined according to the permanent residence of each user this year and last year; the number of inflows of each age represents the total number of users of different ages in the target group that flow out of the target area, and the number of outflows of each age represents the total number of users of different ages in the target group that flow into the target area; In step S400, the total predicted inflow population of the target area in the next year is obtained according to the number of inflow population of each age group and their corresponding weight coefficients, and the total predicted outflow population of the target area in the next year is obtained according to the number of outflow population of each age group and their corresponding weight coefficients; wherein any weight coefficient is determined based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year; In step S500, the total population predicted for the target area next year is determined based on the total inflow population predicted for the next year, the total outflow population predicted for the next year, the number of surviving people in the target area this year, and the total number of newborns predicted for the next year.

[0027] In the population prediction scenario, if it is necessary to predict the total population of some or some places (i.e., the target area) in the next year, the running program of the method can be started in an electronic device loaded with the population prediction method provided by the embodiment of the present invention, so that the electronic device executes the above steps S100~S500, thereby realizing the prediction of the total population of the target area in the next year. Among them, the target area can refer to one region or multiple regions, and the region can be at the national level, for example, China; it can also be at the provincial level, municipal level, district level, county level, township level, etc. under the country. The embodiment of the present invention does not limit this. It should be understood that as long as it involves predicting the total population of the region in the next year, the population prediction method provided by the embodiment of the present invention can be used. If it is necessary to predict the total population of multiple regions in the next year, the above steps S100~S500 can be executed for each region to obtain the predicted total population of each region in the next year.

[0028] The following describes the process of predicting the total population of the target area in the next year by the population prediction method provided by the embodiment of the present invention in combination with steps S100 to S500: First, the target area for the current population forecast for the next year is obtained. The acquisition of the target area can be pre-built into the relevant program of the population forecast method provided by the embodiment of the present invention during the development stage, or can be input by relevant personnel when the population forecast method provided by the embodiment of the present invention is started. The embodiment of the present invention is not limited to this.

[0029] After obtaining the target area, the user information associated with the mobile device whose positioning information falls into the target area within this year can be obtained from the authorized operator database that stores the communication signaling of the mobile device, and these users are used as the target group in the target area. In short, the users who have stayed in the target area and carry the mobile device are used as the target group mentioned in step S100. The mobile device can be a device equipped with a SIM card that can be used normally, and the mobile device can be a mobile phone, a tablet, a portable computer or a watch. However, at this stage, in fact, users use mobile phone-type mobile devices more frequently, and basically carry them every day. Therefore, in order to ensure the accuracy and effectiveness of the target group and to further improve the accuracy of the population prediction results, in some examples, the mobile device can be limited to a mobile phone.

[0030] After knowing the target area and the target group, the ID card information and the location information of the designated holidays in many years associated with each user in the target group on the mobile device can be obtained from the operator database, and then step S100 is performed to determine the registered residence of each user according to the ID card information and the location information of the designated holidays in many years. In some examples, the registered residence can be directly obtained from the ID card information, for example, the registered residence is directly determined as the ID card registration place, or the place specified by the location information of the designated holidays in many years can be directly used as the registered residence. However, this method of determining the registered residence of the user only considers the registered residence of the ID card or the place of stay for the designated holidays in many years, which lacks comprehensiveness, because the registered residence of the ID card is not necessarily consistent with the actual registered residence, and the place of stay for the designated holidays in many years may be a regular travel place. Therefore, the above two methods of determining the registered residence have inevitable loopholes, resulting in the lack of accuracy in the determination of the registered residence, which in turn affects the accuracy of the subsequent determination of the population mobility. Therefore, in order to solve this technical problem, in some embodiments, the population prediction method provided by the embodiment of the present invention further provides a method for determining the registered permanent residence with higher accuracy, that is, in the above step S100, the step of determining the registered permanent residence of each user according to the identity card information associated with the mobile device of each user in the target group in the target area and the positioning information of the designated holidays in many years may include the following steps: In step S110, the ID card registration place of each user is obtained according to the ID card information associated with the mobile device carried by each user in the target group; In step S120, the hometown of each user is determined based on the location information of the mobile device carried by each user on a designated holiday over a number of years; In step S130, for each user, if the ID card registration place and hometown location match, then the household registration place is determined to be the ID card registration place; if the ID card registration place and hometown location do not match, then the household registration place is determined to be the hometown location.

[0031] Through the above steps S110~S130, in the process of determining the registered place of each user, for each user, since the number at a specific position in the ID card number in the ID card information generally represents the ID card registration place, the ID card registration place of the user can be obtained from the ID card information, and for the convenience of computer processing, in some examples, the ID card registration place can be directly expressed by the corresponding number in the ID card information. In addition, for each user, the positioning information of the mobile device can also be used to obtain the positioning information of the designated holidays in the years before this year, for example, the positioning information during the designated holidays for three or more years. For the target group in the target area in China, the designated holiday can be Qingming Festival or Spring Festival; for the target group in the target area abroad, the designated holiday can be a holiday where local families usually gather together, such as Thanksgiving or Christmas, which is not limited in the embodiment of the present invention.

[0032] Among them, for the convenience of explanation, taking the target area in China as an example, in order to more accurately determine the user's registered residence, generally speaking, the Spring Festival in China is the most important festival for each family in a year, and users who work hard outside generally return home during this holiday. Therefore, in this embodiment, the designated holiday can be during the Spring Festival, and the Spring Festival period can be 5 days from two days before the first day of the New Year to the third day of the New Year, but it is not limited to this. Based on this, in step S120, for each user, the place where the user has stayed the longest during the Spring Festival for many years can be used as the hometown of the user. The residence time can be obtained based on the positioning time recorded by the positioning information. For details, please refer to the relevant technology, which will not be explained here.

[0033] For step S120, in order to further improve the accuracy of the hometown location determined, in some embodiments, the embodiments of the present invention further provide another solution for determining the hometown location of the user, that is, in step S120, the step of determining the hometown location of each user according to the positioning information of the mobile device carried by each user on a designated holiday in multiple years may include the following steps: In step S121, based on the location information of the mobile devices carried by each user on the designated holidays over multiple years, the place where each user stayed the longest on the designated holidays each year is determined; In step S122, the number of times each user has stayed at the same place over the years is determined, and the place with the most stays is taken as the hometown location.

[0034] In the process of determining the hometown location of each user, step S121 can be used to first obtain the user's stay during the Spring Festival every year from the positioning information of the user's mobile device during the Spring Festival every year for many years. For any year, if there are multiple stays, the stay with the most stay days can be further determined from the multiple stays according to the time data contained in the positioning information as the stay to be obtained in step S121. However, only the number of stay days is considered. Although the number of stay days can also represent the stay time to a certain extent, the most stay days does not mean the longest stay time. For example, assuming that the user stays in three places A, B and C during the above 5 days of the Spring Festival, it may be that the user stays in place A for 2 days and stays in place B for 1 day due to traffic jam; or, the user keeps going back and forth between A and C and passes through place B, which may cause the user to stay in place B for the most days (as long as he passes through place B, it is considered that he has stayed in place B on the day he passes through), but in fact, the stay time in place B is not long, and place B is not the hometown location, but at this time, place B will be mistakenly judged as the hometown location. Therefore, in order to solve the above-mentioned misjudgment problem, in some embodiments, the longest stay time not only includes the most stay days, but also includes the longest stay duration. Based on this, in step S121, in addition to obtaining the stay days of each stay place as recorded above, the stay duration corresponding to each stay place can be further obtained based on the positioning information of the user's mobile device on the specified holiday, and the stay duration can refer to the cumulative stay duration of any period of time in a day, but in order to further improve the accuracy of the determination of the hometown location, in this embodiment, the stay duration refers to the cumulative stay duration of the normal rest time period of the human body on the specified holiday, wherein the normal rest time period of the human body can be from 10 pm to 9 am the next day, or from 9 pm to 7 am the next day. Thus, the stay days and stay duration corresponding to each stay place in each year can be obtained, and the stay place with the most stay days and the longest stay duration can be determined as the stay place to be obtained in step S121.

[0035] However, among the multiple stays each year, there may not be a stay that has both the maximum number of stay days and the longest stay duration. In this case, different stay weights can be assigned to the number of stay days and the stay duration, respectively, wherein the stay weight of the number of stay days is less than the stay weight of the stay duration, for example, one is 0.2 and the other is 0.8. Next, the stay duration is converted into days, and then the number of stay days and the stay duration converted into days are weighted and processed according to their respective stay weights to obtain a stay duration value. At this time, the stay with the largest stay duration value can be used as the stay to be obtained in step S121.

[0036] After obtaining the desired stay in step S121 through any of the above embodiments, that is, after obtaining a stay corresponding to the user each year in multiple years, step S122 can be used to count the same stays in multiple years, and the stay with the most number of times is used as the hometown. For example, assuming that the user's stays corresponding to each year in 5 years are A, B, A, C, A, it can be seen that A appears the most times, and in this case, A is used as the hometown.

[0037] After obtaining the ID card registration place and hometown location of each user respectively through step S110 and step S120, the registered residence location of each user can be determined through step S130. Specifically, for each user, if the ID card registration place and hometown location of the user are the same, or the distance between the ID card registration place and hometown location is within the set distance threshold (indicating that the ID card registration place and hometown location may be the same place, but the positioning result is inaccurate because there is a certain positioning deviation. If the distance between the two places is within the positioning deviation range, it means that the two places are most likely to be the same place), then the registered residence location of the user is determined to be the ID card registration place. On the contrary, if the ID card registration place and hometown location of the user are different, and the distance between the two exceeds the above distance threshold, then the registered residence location of the user is determined to be the hometown location.

[0038] It should be supplemented that step S110 and step S120 can be executed serially or in parallel, and there is no strict execution order between the two.

[0039] Thus, after obtaining the registered permanent residence of each user in the target group in the target area through any embodiment of step S100, step S200 may be executed to obtain the permanent residence of each user this year and last year based on the registered permanent residence of each user and the positioning information of each user's mobile device. Among them, the determination method of the permanent residence in the relevant technology may be applied to step S200 to obtain the permanent residence of each user this year and last year. However, in order to further improve the determination result of the permanent residence, in some embodiments, the embodiments of the present invention further provide a method for determining the permanent residence this year, that is, in step S200, the step of determining the permanent residence of each user this year based on the registered permanent residence of each user and the positioning information of each user's mobile device may include the following steps: In step S211, based on the positioning information of each user's mobile device in the current month, it is determined whether each user resides in the registered place of residence in the current month. The current time may refer to the time when the population prediction method provided by the embodiment of the present invention is executed. As long as any of the locations indicated by the positioning information of the current month falls into the registered place of residence, it is considered that the current user resides in the registered place of residence in the current month, or as long as there is a location in the locations indicated by the positioning information of the current month whose distance from the registered place of residence is less than or equal to the above distance threshold, it is also considered that the current user resides in the registered place of residence in the current month, and then jumps to step S214; otherwise, any of the locations indicated by the positioning information of the current month does not fall into the registered place of residence, or any of the locations indicated by the positioning information of the current month does not fall into the registered place of residence and the distance between any location and the registered place of residence is greater than the above distance threshold, it is considered that the current user does not reside in the registered place of residence in the current month, and then step S212 is executed.

[0040] In step S212, when the current user does not live in the registered place of residence in the current month, it is determined whether the current user has been away from the registered place of residence for more than a preset time period based on the positioning information of the current user's mobile device in the statistical period of the current year. The statistical period of the current year can be a period starting from the beginning of the twelve months before the current month and ending in the current month; the twelve months can be adjusted to any one of nine to eleven months as needed; in addition, the preset time period can be 6 months, but is not limited to this. Taking the preset time period of 6 months as an example, in step S212, for each user who does not live in the registered place of residence in the current month, if it is known based on the positioning information of the user's mobile device in the above statistical period of the current year that the user has been away from the registered place of residence for 6 months or more, step S213 will be executed, otherwise, step S214 will be executed.

[0041] In step S213, when the current user has been away from his registered residence for more than a preset time, the place where the current user has stayed the longest other than his registered residence is determined as the permanent residence for the current year based on the positioning information of the current user's mobile device during the statistical period of the current year. The longest stay time can refer to the relevant records above, that is, it can represent the place with the most stay days, or it can represent the place with the most stay days and the longest stay time, which will not be elaborated here. However, in this step, the place used as the permanent residence for the current year must also meet the following requirements: the number of months the user has stayed in the place exceeds the set number of months, for example, 6 months, and the number of days the user stays in the place each month must exceed the set number of days, for example, 10 days.

[0042] In step S214, when the current user has been away from his / her registered residence for less than a preset period of time, or when the current user resides in the registered residence during the current month, the current user's permanent residence for the current year is determined to be the registered residence.

[0043] Thus, through steps S211 to S214, the permanent residence of each user this year can be obtained. In addition, the principle of obtaining the permanent residence of each user last year is the same as the principle of obtaining the permanent residence of this year, that is, in step S200, the step of determining the permanent residence of each user last year according to the registered residence of each user and the positioning information of the mobile device of each user can include the following steps: In step S221, based on the location information of each user's mobile device in the last month of the statistical period last year, it is determined whether each user resided in the registered place in the last month; In step S222, when the current user does not live in the registered residence in the last month, it is determined whether the current user has been away from the registered residence for more than a preset time period based on the location information of the current user's mobile device during the statistical period last year; In step S223, when the current user has been away from his / her registered residence for more than a preset time, the place where the current user stayed the longest other than his / her registered residence is determined as the permanent residence last year according to the location information of the current user's mobile device during the statistical period last year; In step S224, when the current user has been away from his / her registered residence for less than a preset period of time, or when the current user has lived in the registered residence in the last month, the current user's permanent residence last year is determined to be the registered residence.

[0044] For understanding of steps S221 to S224 , reference may be made to the relevant records of steps S211 to S214 above, which will not be elaborated here.

[0045] In addition, considering that some mobile users will have their SIM cards cancelled, which will result in the loss of some positioning information, it is possible that some users have no permanent residence this year or no permanent residence last year. In order to avoid this situation and affect the smooth execution of subsequent steps, in some embodiments, for users who have no permanent residence this year, the place where they last stayed can be taken as their permanent residence this year; for users who did not have a permanent residence last year, the place where they last stayed last year can be taken as their permanent residence last year.

[0046] After obtaining the permanent residence of each user this year and last year through any embodiment of step S200, the number of inflows and outflows of each age in the target area can be obtained based on the permanent residence of each user of the target group in the target area this year and last year through step S300. For example, for each user, if his permanent residence this year is different from his permanent residence last year, the user is considered to be a mobile user, and if his permanent residence this year is the same as his permanent residence last year, the user is considered to be a non-mobile user, and since the number of inflows and outflows of each age in the target area are both based on the statistics of mobile users, the data of non-mobile users can be ignored.

[0047] After obtaining all the mobile users in the target group, the mobile users can be further divided to obtain inflow users and outflow users, where inflow users and outflow users are relative to the target area, that is, if the permanent residence this year is in the target area, but the permanent residence last year was not the target area, the current user is considered an inflow user, on the contrary, if the permanent residence this year is not the target area, but the permanent residence last year was the target area, the current user is considered an outflow user. In this way, inflow users and outflow users are obtained.

[0048] Regardless of whether they are incoming users or outgoing users, since their ID card information can be obtained, the age of each incoming user can be calculated based on the ID card information of all incoming users. Then, the incoming users of the same age can be included in the same incoming user subset, thereby obtaining different incoming user subsets corresponding to different ages. For each incoming user subset, the number of users it contains can be further counted to obtain the number of incoming population at each age. For example, assuming that the user age range of the target group is between 9 and 100 years old, the number of incoming population at each age includes: the number of incoming population aged 9, the number of incoming population aged 10, the number of incoming population aged 11...the number of incoming population aged 100.

[0049] Similarly, the relevant data of all outflow users can be processed according to the above principle to obtain the number of outflow population of each age.

[0050] It can be seen from the above related records that there is a certain positioning deviation in the mobile device. If the judgment of mobile users is directly based on the permanent residence of this year and the permanent residence of last year with a certain positioning deviation, the judgment result will obviously be affected by the positioning deviation. For example, the boundary between regions may face the situation that the actual permanent residence has not changed, but the positioning information of the mobile device is determined to be two different regions, which leads to misjudgment of mobile users. Therefore, in order to solve this technical problem, in some embodiments, the population prediction method provided by the embodiment of the present invention also provides a solution for correcting the error caused by the positioning deviation of the permanent residence of this year and the permanent residence of last year, and reducing the misjudgment of mobile users. That is, in the above step S300, the step of determining the number of inflow population of each age and the number of outflow population of each age in the target area according to the permanent residence of each user this year and the permanent residence of last year can include the following steps: In step S310, for each user, it is determined whether the distance between the user's permanent residence this year and the user's permanent residence last year exceeds a set distance threshold; In step S320, when the distance between the current user's permanent residence this year and the permanent residence last year exceeds a set distance threshold, the current user is determined to be a mobile user; In step S330, when the distance between the current user's permanent residence this year and the permanent residence last year does not exceed the set distance threshold, the current user is determined to be a non-mobile user; In step S340, the number of inflows and outflows of each age group in the target area is determined based on the permanent residences of all mobile users this year and last year.

[0051] For understanding of step S340, please refer to the above related records, that is, in step S340, the step of determining the number of inflow population of each age and the number of outflow population of each age in the target area according to the permanent residence of all mobile users this year and last year may include the following steps: In step S341, for each mobile user, if the mobile user's permanent residence this year is the target area, and the permanent residence last year was not the target area, the mobile user is determined to be an inflow user of the target area; if the mobile user's permanent residence last year was the target area, and the permanent residence this year was not the target area, the mobile user is determined to be an outflow user of the target area; In step S342, the number of incoming population of each age and the number of outgoing population of each age in the target area are determined based on the incoming users and the outgoing users.

[0052] After obtaining the number of inflow population of each age and the number of outflow population of each age in the target area through any embodiment of step S300, step S400 can be executed to obtain the total predicted inflow population of the target area in the next year based on the number of inflow population of each age and their corresponding weight coefficients; and obtain the total predicted outflow population of the target area in the next year based on the number of outflow population of each age and their corresponding weight coefficients. The total predicted inflow population in the next year can be calculated by formula (1), and the total predicted outflow population in the next year can be calculated by formula (2): Formula (1) Formula (2) In formula (1), To predict the total inflow population for the next year, This year, Indicates the following year, Indicates age in next year The weight coefficient corresponding to the number of inflow population is: The value of is [ , ], Indicates the minimum age value among all the incoming users recorded above. Indicates the maximum age value among all the incoming users recorded above. Indicate age The corresponding number of inflows this year.

[0053] In formula (2), The total number of people who will leave the country in the next year is predicted. This year, Indicates the following year, Indicates age in next year The weight coefficient corresponding to the number of outflow population is: The value range is [ , ], Indicates the minimum age value among all outgoing users recorded above. Indicates the maximum age value among all outgoing users recorded above. Indicate age The corresponding number of people leaving this year.

[0054] In the above, the weight coefficient corresponding to the number of inflow population of each age, that is, the weight coefficient used to predict the number of inflow population of each age in the next year, can be obtained by developers setting corresponding values ​​through experience or experiments based on comprehensive consideration of policy factors, environmental factors, economic factors and education level of the target area in the next year. It can be understood that the weight coefficient corresponding to each age, whether it is the number of inflow population or the number of outflow population, can be set by developers during the development stage.

[0055] Although the weight coefficients obtained by the developer setting can express the policy factors, environmental factors, economic factors and education level from a relatively objective level to predict the total number of inflow population and the total number of outflow population predicted in the next year, if the population is to be predicted every year after this year, it may be necessary to re-set the corresponding weights for the outflow population and inflow population of each age according to the policy factors, environmental factors, economic factors and education level of the target area in the next year after the current year. This will bring a great workload to the relevant personnel, and the method of relying on manual setting also has the problems of low efficiency and high error rate. Therefore, in order to solve this technical problem, in some embodiments, the population prediction method provided by the embodiment of the present invention also provides an automatic acquisition scheme of weight coefficients, that is, the acquisition process of the weight coefficients corresponding to the number of inflow populations of each age includes: In step S410, according to the policy, environment, economy and education level of the target area in the next year, the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year are obtained from a pre-constructed factor value table. Among them, the factor value table can use big data analysis methods to score and unify the scoring rules based on the target area's policies, environment, economy and education levels in previous years before this year. For example, for policy factors, the semantic analysis method can be used to interpret the target area's annual policies, extract positive policy items with positive effects and negative policy items with negative effects, and then count the first total number of positive policy items and the second total number of negative policy items respectively, and then use the difference between the first total number and the second total number as the policy factor value; in other examples, whether it is a positive policy item or a negative policy item, each item in the policy item can be assigned a corresponding value according to the importance of the impact of each item in the policy item. Based on this, if each value is a positive number, the difference between the sum of the values ​​corresponding to all items in the positive policy item and the sum of the values ​​corresponding to all items in the negative policy item can be used as the policy factor value; if the value corresponding to the positive policy item is a positive number, and the value corresponding to the negative policy item is a negative number, the sum of the values ​​corresponding to all items in the positive policy item and the sum of the values ​​corresponding to all items in the negative policy item can be used as the policy factor value. The same principle can be used to obtain environmental factor values, economic factor values, and educational level values. Taking the assignment of corresponding numerical values ​​to each item as an example, the constructed factor value table may include various possible items and the corresponding numerical values ​​of each item. For example, for policy factors, assuming that there are 20 possible policy items, each policy item and its corresponding numerical value may be recorded in the factor value table. Thus, after knowing the policy, environmental conditions, economic conditions, and educational level of the target area in the next year, the content of each factor can be interpreted by voice analysis, and then the items involved in each factor can be obtained. Then, based on each item, the corresponding numerical value is obtained from the factor value table, and the corresponding calculation is performed according to the above record, so as to obtain the policy factor value, environmental factor value, economic factor value, and educational level value of the target area in the next year. Next, step S4200 can be executed.

[0056] In step S420, an impact fusion value is obtained based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year. After the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year are obtained through step S410, these four values ​​can be fused through step S420 to obtain an impact fusion value, wherein the fusion process can be a weighted summation process, a weighted average process, or a mean process. If a weighted summation process or a weighted average process is involved, the weights of each item in the policy factor value, environmental factor value, economic factor value and education level value can be randomly set by the electronic device executing this step, or a pre-set coefficient can be used. Next, step S430 can be executed.

[0057] In step S430, for each age, the impact fusion value is input into the inflow population weight curve corresponding to the age to obtain the weight coefficient corresponding to each age inflow population. After the impact fusion value is obtained in step S420, the impact fusion value can be input into the inflow population weight curve corresponding to each age for operation in step S430 to obtain the weight coefficient corresponding to each age inflow population.

[0058] In the above, the process of constructing the inflow population weight curve model can include the following steps: In step S001, for each of the historical years of the target region, the impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value corresponding to that year; In step S002, for each of the target regions in the historical years, the weight coefficients corresponding to the predicted inflow population of each age group are calculated based on the actual inflow population of each age group and the predicted inflow population of each age group corresponding to that year; In step S003, for each year in the target area in history, the impact fusion value corresponding to that year is used as the independent variable, and the weight coefficient corresponding to the predicted inflow population of each age in that year is used as the dependent variable, to form a first data subset corresponding to each age in that year; In step S004, for each age in the historical years of the target area, a weight curve of inflow population corresponding to the age is constructed based on all first data subsets corresponding to the age in the historical years, so as to obtain a weight curve of inflow population corresponding to each age in the target area.

[0059] In step S001, the origins of the policy factor values, environmental factor values, economic factor values ​​and educational level values, and how to process the policy factor values, environmental factor values, economic factor values ​​and educational level values ​​to obtain a relevant principle that affects the fusion value can be found in the relevant records above and will not be elaborated here.

[0060] In step S002, the actual inflow population of each age corresponding to each year in the historical years of the target area can be obtained from the published census data, and the predicted inflow population of each age is obtained by the population prediction method provided by the embodiment of the present invention based on the initial weights corresponding to the inflow population of each age. The relevant principles have been recorded above, so they are not repeated here; in some examples, for the convenience of initial calculation, the initial weight corresponding to the inflow population of any age can be initialized to a value of 1. Thus, for each age in each year in the historical years of the target area, the corresponding weight coefficient can be obtained based on the ratio of the actual inflow population of the corresponding age to the predicted inflow population, that is, assuming that in 2019, the actual inflow population of 20 years old in the target area is 1 million, and the predicted inflow population is 1.1 million. Based on this, the obtained weight coefficient is 1 million / 1.1 million=0.909. At this time, the weight coefficient corresponding to the predicted inflow population of 20 years old will be adjusted from the initial value 1 to 0.909. Based on this principle, the weight coefficient corresponding to the predicted inflow population of each age in each year in the historical years of the target area can be obtained.

[0061] Then, in step S003, for each year, the impact fusion value corresponding to the year is used as the independent variable, and the weight coefficient corresponding to the predicted inflow population of each age in the year is used as the dependent variable to form the first data subset corresponding to each age in the year. The form of the first data subset can be expressed as ( , ),in, It represents the impact fusion value of the inflow population in year k (such as 2019) among the above historical years, represents the age in k years in the above historical years (e.g. 20 years old in 2019) The weight coefficient corresponding to the number of predicted inflow population, here See above for the meaning of It can be seen that for the same year, the impact fusion values ​​in the data subsets corresponding to different ages can be the same, because the policies, economy, environment and education level in the same year will not change much.

[0062] Thus, through step S003, the first data subset corresponding to each age in each year in the historical years can be obtained.

[0063] Subsequently, step S004 can be executed to classify all first data subsets in historical years by age and sort them by year, so as to obtain multiple first data subsets for each age sorted in chronological order. Then, for each age, all corresponding first data subsets are used for curve fitting. The relevant fitting principle can be found in the relevant technology, and the inflow population weight curve corresponding to each age can be obtained. That is, there is a corresponding inflow population weight curve for each age. After presenting the inflow population weight curve in a rectangular coordinate system, the values ​​along the horizontal axis represent the impact fusion value of each year, and the values ​​along the vertical axis represent the weight coefficient value corresponding to the predicted number of inflow population each year at the corresponding age.

[0064] Therefore, in subsequent applications, after knowing the impact fusion value of the current year, the impact fusion value can be input into the weight curve of the incoming population of the corresponding age to output the weight coefficient corresponding to the inflow population of the corresponding age in the year after the current year.

[0065] Based on the principle of obtaining the weight coefficients corresponding to the number of inflow population of each age, the process of obtaining the weight coefficients corresponding to the number of outflow population of each age includes: In step S401, according to the policy, environment, economy and education level of the target area in the next year, the policy factor value, environmental factor value, economic factor value and education level value of the target area are obtained from a pre-constructed factor value table; In step S402, an impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value of the target area; In step S403, for each age, the influence fusion value is input into the outflow population weight curve corresponding to the age, so as to obtain the weight coefficient corresponding to the outflow population of each age.

[0066] The implementation principles and related technical details of steps S401-S402 can be found in the related records of steps S410-S430 above, which will not be elaborated here.

[0067] Based on the construction principle of the inflow population weight curve, the construction process of the outflow population weight curve includes: In step S011, for each of the historical years of the target region, the impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value corresponding to that year; In step S012, for each of the target regions in the historical years, the weight coefficients corresponding to the predicted outflow population of each age group are calculated based on the actual outflow population of each age group and the predicted outflow population of each age group corresponding to that year; In step S013, for each year in the target area's history, the impact fusion value corresponding to that year is used as the independent variable, and the weight coefficient corresponding to the number of predicted outflow population of each age in that year is used as the dependent variable, to form a second data subset corresponding to different ages in that year; In step S014, for each age in the historical years of the target area, a weight curve of outflow population corresponding to the age is constructed based on all second data subsets corresponding to the age in the historical years, so as to obtain the weight curve of outflow population corresponding to each age in the target area.

[0068] The implementation principles and related technical details of steps S011 to S014 can be found in the related records of steps S001 to S004 above, and will not be elaborated here.

[0069] After calculating the total predicted inflow population of the target area and the total predicted outflow population of the target area in the next year through any embodiment of step S400, step S500 will be executed to further calculate the total predicted population of the target area in the next year based on the total predicted inflow population of the next year, the total predicted outflow population of the next year, the number of surviving people in the target area this year, and the total predicted newborn population of the next year. Among them, the total predicted population of the target area in the next year = the total predicted inflow population of the next year - the total predicted outflow population of the next year + the number of surviving people this year + the total predicted newborn population of the next year, wherein the number of surviving people this year and the total predicted newborn population of the next year can be obtained through relevant technologies, which will not be described in detail here.

[0070] Therefore, after obtaining the predicted total population of the target area in the next year through any of the above embodiments, the predicted total population of the target area in the next year can be output and displayed for subsequent application.

[0071] In addition, the population prediction result obtained by the population prediction method provided by the embodiment of the present invention is within 1% of the actual published data and has a high prediction accuracy. The relevant verification data can be found in Table 1 below.

[0072] Table 1 Schematic diagram of the error between the predicted results and the actual published data based on the population prediction method according to the embodiment of the present invention

[0073] It is worth noting that the technical features or technical solutions in any of the above embodiments of the present invention can be combined with each other as long as there is no combination contradiction.

[0074] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a population prediction device is given below. Optionally, the population prediction device can adopt the above Figure 1 For further information, please refer to Figure 3 , Figure 3 This is a functional module diagram of a population prediction device provided by an embodiment of the present invention. It should be noted that the basic principle and technical effects of the population prediction device provided by this embodiment are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The population prediction device 300 includes: The registered permanent residence determination module 310 is configured to: determine the registered permanent residence of each user according to the ID card information associated with the mobile device of each user in the target group in the target area and the location information of the designated holidays in multiple years; The permanent residence determination module 320 is configured to: determine the permanent residence of each user this year and the permanent residence of last year according to the registered residence of each user and the location information of the mobile device of each user; The floating population determination module 330 is configured to: determine the number of inflow population of each age and the number of outflow population of each age in the target area according to the permanent residence of each user this year and the permanent residence of the previous year; the number of inflow population of each age represents the total number of users of different ages in the target group that flow out of the target area, and the number of outflow population of each age represents the total number of users of different ages in the target group that flow into the target area; The floating population prediction module 340 is configured to: obtain the total predicted inflow population of the target area in the next year according to the number of inflow population of each age and their corresponding weight coefficients, and obtain the total predicted outflow population of the target area in the next year according to the number of outflow population of each age and their corresponding weight coefficients; wherein any weight coefficient is determined based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year; The total population prediction module 350 is configured to determine the predicted total population of the target area next year based on the predicted total inflow population next year, the predicted total outflow population next year, the number of surviving people in the target area this year and the predicted total number of newborns next year.

[0075] In some embodiments, the process of determining the registered permanent residence of each user by the registered permanent residence determination module 310 is configured as follows: Obtain the ID card registration location of each user based on the ID card information associated with the mobile device carried by each user in the target group; Determine the hometown of each user based on the location information of the mobile device carried by each user on a specified holiday over multiple years; For each user, if the registration place of his / her ID card matches the location of his / her hometown, his / her household registration place is determined to be the registration place of his / her ID card; if the registration place of his / her ID card does not match the location of his / her hometown, his / her household registration place is determined to be the location of his / her hometown.

[0076] In some embodiments, the process of determining the hometown location of each user by the household registration location determination module 310 is configured as follows: Determine the place where each user stayed the longest on the designated holiday each year according to the location information of the mobile device carried by each user on the designated holiday over multiple years; The number of times each user has stayed at the same place over the years is determined, and the place with the most stays is taken as the hometown location.

[0077] In some embodiments, the process of the permanent residence determination module 320 determining each user's permanent residence for the current year is configured as follows: Determine whether each user resides in their registered place of residence in that month based on the location information of each user's mobile device in the current month; When the current user does not live in the registered place of residence in the current month, determine whether the current user has been away from the registered place of residence for more than a preset time based on the location information of the current user's mobile device during the statistical period of the current year; When the current user has been away from his / her registered residence for more than a preset period of time, the place where the current user has stayed the longest other than his / her registered residence is determined as the permanent residence for the year based on the location information of the current user's mobile device during the statistical period of the year; When the current user has been away from his / her registered residence for less than a preset period of time, or when the current user resides in the registered residence that month, the current user's permanent residence for the year is determined to be the registered residence.

[0078] In some embodiments, the process of determining the permanent residence of each user last year by the permanent residence determination module 320 is configured as follows: Determine whether each user resided in their registered place of residence in the last month according to the location information of each user's mobile device in the last month of the statistical period last year; When the current user did not live in the registered place of residence in the last month, determining whether the current user has been away from the registered place of residence for more than a preset time period based on the location information of the current user's mobile device during the statistical period last year; When the current user has been away from his / her registered residence for more than a preset period of time, the place where the current user stayed the longest other than his / her registered residence is determined as the permanent residence last year based on the location information of the current user's mobile device during the statistical period last year; When the current user has been away from his / her registered residence for less than a preset period of time, or when the current user resides in the registered residence in the last month, the current user's permanent residence last year is determined to be the registered residence.

[0079] In some embodiments, the process of determining the number of inflow population of each age and the number of outflow population of each age in the target area by the floating population determination module 330 is configured as follows: For each user, determine whether the distance between his / her permanent residence this year and his / her permanent residence last year exceeds a set distance threshold; When the distance between the current user's permanent residence this year and the permanent residence last year exceeds the set distance threshold, the current user is determined to be a mobile user; When the distance between the current user's permanent residence this year and the permanent residence last year does not exceed the set distance threshold, the current user is determined to be a non-mobile user; Based on the current year’s and last year’s permanent residences of all mobile users, the number of inflows and outflows of each age group in the target area is determined.

[0080] In some embodiments, the process of the floating population determination module 330 determining the number of inflow population of each age and the number of outflow population of each age in the target area according to the permanent residence of all floating users this year and last year is configured as follows: For each mobile user, if the mobile user's permanent residence this year is the target area, and the permanent residence last year was not the target area, the mobile user is determined to be an inflow user of the target area; if the mobile user's permanent residence last year was the target area, and the permanent residence this year was not the target area, the mobile user is determined to be an outflow user of the target area; The number of incoming population of each age group and the number of outgoing population of each age group in the target area are determined based on the incoming users and the outgoing users.

[0081] In some embodiments, the population prediction device 300 further includes a weight acquisition module, and the weight acquisition module is configured to: According to the policy, environment, economy and education level of the target area in the next year, obtaining the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year from a pre-constructed factor value table; According to the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year, an impact fusion value is obtained by processing; For each age, the impact fusion value is input into the inflow population weight curve corresponding to the age, so as to obtain the weight coefficient corresponding to the inflow population of each age.

[0082] In some embodiments, the weight acquisition module is further configured to: According to the policy, environment, economy and education level of the target area in the next year, the policy factor value, environmental factor value, economic factor value and education level value of the target area are obtained from a pre-constructed factor value table; According to the policy factor value, environmental factor value, economic factor value and education level value of the target area, an impact fusion value is obtained by processing; For each age, the influence fusion value is input into the outflow population weight curve corresponding to the age, so as to obtain the weight coefficient corresponding to the outflow population of each age.

[0083] In some embodiments, the population prediction device 300 further includes a curve construction module, and the curve construction module is configured to: For each of the historical years of the target region, the impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value corresponding to that year; For each of the target areas in each of the historical years, the weight coefficients corresponding to the predicted inflow population of each age group are calculated based on the actual inflow population of each age group and the predicted inflow population of each age group corresponding to that year; For each of the target regions in the historical years, the impact fusion value corresponding to that year is used as the independent variable, and the weight coefficient corresponding to the predicted inflow population of each age in that year is used as the dependent variable, to form the first data subset corresponding to each age in that year; For each age in the historical years of the target area, a weight curve of the inflow population corresponding to the age is constructed based on all the first data subsets corresponding to the age number in the historical years, so as to obtain the weight curve of the inflow population corresponding to each age in the target area.

[0084] In some embodiments, the curve construction module is further configured to: For each of the historical years of the target region, the impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value corresponding to that year; For each of the target regions in the historical years, the weight coefficients corresponding to the predicted outflow population of each age group are calculated based on the actual outflow population of each age group and the predicted outflow population of each age group corresponding to that year; For each of the target regions in the historical years, the impact fusion value corresponding to that year is used as the independent variable, and the weight coefficient corresponding to the number of predicted outflow population of each age in that year is used as the dependent variable, to form a second data subset corresponding to different ages in that year; For each age in the historical years of the target area, a weight curve of the outflow population corresponding to the age is constructed based on all the second data subsets corresponding to the age in the historical years, so as to obtain the weight curve of the outflow population corresponding to each age in the target area.

[0085] Optionally, the above modules can be stored in the form of software or firmware. Figure 1The memory shown in the figure or solidified in the operating system (OS) of the electronic device, and can be Figure 1 Meanwhile, the data and program codes required for executing the above modules can be stored in the memory.

[0086] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0088] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A population forecasting method, It is characterized in that include: Determine the registered residence of each user in the target group in the target area based on the ID card information associated with the mobile device of each user and the location information of designated holidays over the years; Determine the permanent residence of each user this year and last year based on the registered residence of each user and the location information of each user's mobile device; According to the permanent residence of each user this year and last year, determine the number of inflows and outflows of each age in the target area; The number of inflow population of each age represents the total number of users of different ages in the target group that flow out of the target area, and the number of outflow population of each age represents the total number of users of different ages in the target group that flow into the target area; According to the number of inflow population of each age group and their corresponding weight coefficients, the total predicted inflow population of the target area in the next year is obtained, and according to the number of outflow population of each age group and their corresponding weight coefficients, the total predicted outflow population of the target area in the next year is obtained; wherein any weight coefficient is determined based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year; The predicted total population of the target area for the next year is determined based on the predicted total inflow population for the next year, the predicted total outflow population for the next year, the number of surviving people in the target area this year and the predicted total number of newborns for the next year.

2. The method according to claim 1, It is characterized in that The step of determining the registered residence of each user according to the ID card information associated with the mobile device of each user in the target group in the target area and the location information of the designated holidays in multiple years includes: Obtain the ID card registration location of each user based on the ID card information associated with the mobile device carried by each user in the target group; Determine the hometown of each user based on the location information of the mobile device carried by each user on a specified holiday over multiple years; For each user, if the registration place of his / her ID card matches the location of his / her hometown, his / her household registration place is determined to be the registration place of his / her ID card; if the registration place of his / her ID card does not match the location of his / her hometown, his / her household registration place is determined to be the location of his / her hometown.

3. The method according to claim 2, It is characterized in that The step of determining the hometown location of each user based on the location information of the mobile device carried by each user on designated holidays over multiple years includes: Determine the place where each user stayed the longest on the designated holiday each year according to the location information of the mobile device carried by each user on the designated holiday over multiple years; The number of times each user has stayed at the same place over the years is determined, and the place with the most stays is taken as the hometown location.

4. The method according to claim 1, It is characterized in that The steps of determining the permanent residence of each user this year according to the registered residence of each user and the positioning information of the mobile device of each user include: Determine whether each user resides in their registered place of residence in that month based on the location information of each user's mobile device in the current month; When the current user does not live in the registered place of residence in the current month, determine whether the current user has been away from the registered place of residence for more than a preset period of time based on the location information of the current user's mobile device during the statistical period of the current year; When the current user has been away from his / her registered residence for more than a preset period of time, the place where the current user has stayed the longest other than his / her registered residence is determined as the permanent residence for the year based on the location information of the current user's mobile device during the statistical period of the year; When the current user has been away from his / her registered residence for less than a preset period of time, or when the current user resides in the registered residence that month, the current user's permanent residence for the year is determined to be the registered residence.

5. The method according to claim 4, It is characterized in that The steps of determining the permanent residence of each user last year according to the registered residence of each user and the location information of the mobile device of each user include: Determine whether each user resided in their registered place of residence in the last month according to the location information of each user's mobile device in the last month of the statistical period last year; When the current user did not live in the registered place of residence in the last month, determining whether the current user has been away from the registered place of residence for more than a preset time period based on the location information of the current user's mobile device during the statistical period last year; When the current user has been away from his / her registered residence for more than a preset time, the place where the current user stayed the longest other than his / her registered residence is determined as the permanent residence last year based on the location information of the current user's mobile device during the statistical period last year; When the current user has been away from his / her registered residence for less than a preset period of time, or when the current user resides in the registered residence in the last month, the current user's permanent residence last year is determined to be the registered residence.

6. The method according to claim 1, It is characterized in that The step of determining the number of inflows and outflows of each age group in the target area according to the permanent residence of each user this year and the permanent residence of each user last year comprises: For each user, determine whether the distance between his / her permanent residence this year and his / her permanent residence last year exceeds a set distance threshold; When the distance between the current user's permanent residence this year and the permanent residence last year exceeds the set distance threshold, the current user is determined to be a mobile user; When the distance between the current user's permanent residence this year and the permanent residence last year does not exceed the set distance threshold, the current user is determined to be a non-mobile user; Based on the current year’s and last year’s permanent residences of all mobile users, the number of inflows and outflows of each age group in the target area is determined.

7. The method according to claim 6, It is characterized in that The step of determining the number of inflow population and outflow population of each age in the target area according to the permanent residence of all mobile users this year and last year includes: For each mobile user, if the mobile user's permanent residence this year is the target area, and the permanent residence last year was not the target area, the mobile user is determined to be an inflow user of the target area; if the mobile user's permanent residence last year was the target area, and the permanent residence this year was not the target area, the mobile user is determined to be an outflow user of the target area; The number of incoming population of each age group and the number of outgoing population of each age group in the target area are determined based on the incoming users and the outgoing users.

8. The method according to claim 1, It is characterized in that The process of obtaining the weight coefficients corresponding to the inflow population of different ages includes: According to the policy, environment, economy and education level of the target area in the next year, obtaining the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year from a pre-constructed factor value table; According to the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year, an impact fusion value is obtained by processing; For each age, the impact fusion value is input into the inflow population weight curve corresponding to the age, so as to obtain the weight coefficient corresponding to the inflow population of each age.

9. The method according to claim 8, It is characterized in that The process of constructing the inflow population weight curve includes: For each of the historical years of the target region, the impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value corresponding to that year; For each of the target areas in each of the historical years, the weight coefficients corresponding to the predicted inflow population of each age group are calculated based on the actual inflow population of each age group and the predicted inflow population of each age group corresponding to that year; For each of the target regions in the historical years, the impact fusion value corresponding to that year is used as the independent variable, and the weight coefficient corresponding to the predicted inflow population of each age in that year is used as the dependent variable, to form the first data subset corresponding to each age in that year; For each age in the historical years of the target area, a weight curve of the inflow population corresponding to the age is constructed based on all the first data subsets corresponding to the age number in the historical years, so as to obtain the weight curve of the inflow population corresponding to each age in the target area.

10. The method according to any one of claims 1 to 9, It is characterized in that The process of obtaining the weight coefficients corresponding to the outflow population of each age group includes: According to the policy, environment, economy and education level of the target area in the next year, the policy factor value, environmental factor value, economic factor value and education level value of the target area are obtained from a pre-constructed factor value table; According to the policy factor value, environmental factor value, economic factor value and education level value of the target area, an impact fusion value is obtained by processing; For each age, the influence fusion value is input into the outflow population weight curve corresponding to the age, so as to obtain the weight coefficient corresponding to the outflow population of each age.

11. The method according to claim 10, It is characterized in that The process of constructing the outflow population weight curve includes: For each of the historical years of the target region, the impact fusion value is obtained according to the policy factor value, environmental factor value, economic factor value and education level value corresponding to that year; For each of the target regions in the historical years, the weight coefficients corresponding to the predicted outflow population of each age group are calculated based on the actual outflow population of each age group and the predicted outflow population of each age group corresponding to that year; For each of the target regions in the historical years, the impact fusion value corresponding to that year is used as the independent variable, and the weight coefficient corresponding to the number of predicted outflow population of each age in that year is used as the dependent variable, to form a second data subset corresponding to different ages in that year; For each age in the historical years of the target area, a weight curve of the outflow population corresponding to the age is constructed based on all the second data subsets corresponding to the age in the historical years, so as to obtain the weight curve of the outflow population corresponding to each age in the target area.

12. A population prediction device, It is characterized in that include: The household registration location determination module is configured to: determine the household registration location of each user according to the identity card information associated with the mobile device of each user in the target group in the target area and the location information of the designated holidays in multiple years; The permanent residence determination module is configured to: determine the permanent residence of each user this year and the permanent residence of last year according to the registered residence of each user and the positioning information of the mobile device of each user; The floating population determination module is configured to: determine the number of inflows and outflows of each age in the target area according to the permanent residence of each user this year and the permanent residence of each user last year; The number of inflow population of each age represents the total number of users of different ages in the target group that flow out of the target area, and the number of outflow population of each age represents the total number of users of different ages in the target group that flow into the target area; The floating population prediction module is configured to: obtain the total predicted inflow population of the target area in the next year according to the number of inflow population of each age and their corresponding weight coefficients, and obtain the total predicted outflow population of the target area in the next year according to the number of outflow population of each age and their corresponding weight coefficients; wherein any weight coefficient is determined based on the policy factor value, environmental factor value, economic factor value and education level value of the target area in the next year; The total population prediction module is configured to determine the total population predicted for the target area next year based on the total inflow population predicted for the next year, the total outflow population predicted for the next year, the number of surviving people in the target area this year, and the total number of newborns predicted for the next year.

13. An electronic device, It is characterized in that The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Population flow simulation prediction method and device, equipment and medium

    CN112990613A

  • Work and residential population prediction method and system based on mobile phone signaling and storage medium

    CN115034524A

  • Population flow simulation method and device

    CN115081782A

  • KR20190104822A