Regional change status prediction method, device, medium and computer program product

By using satellite images and federated learning technology to predict regional changes in real time, it solves the problem of low accuracy in predicting urban changes and achieves forward-looking and privacy protection on a time scale.

CN112906524BActive Publication Date: 2024-10-15WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110160804.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-05
Publication Date
2024-10-15
Estimated Expiration
2041-02-05

AI Technical Summary

Technical Problem

The accuracy of the prediction of urban change conditions in the existing technology is not high, mainly due to the long time scale for statistical data on urban change factors, resulting in lagging prediction results.

Method used

Satellite images are used for real-time shooting, and a regional change prediction model is constructed based on federated learning. Satellite image feature information is combined to perform category prediction, and regional change prediction results are generated. Private data is protected through vertical or horizontal federated learning, and model construction samples are expanded.

Benefits of technology

It achieves real-time prediction of regional changes, improves prediction accuracy, overcomes the problem of data lag, and improves the accuracy of the prediction model while protecting privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112906524B_ABST
    Figure CN112906524B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, medium and computer program product for predicting regional transition conditions. The method comprises: obtaining a satellite image of a target area, and predicting the regional transition condition category of the target area based on a regional transition condition prediction model constructed by federated learning and the regional transition condition image feature information corresponding to the satellite image, and obtaining a regional transition condition category prediction result; based on the regional transition condition category prediction result, generating a regional transition condition prediction result corresponding to the target area. The present application solves the technical problem of low accuracy in predicting urban transition conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology in financial technology (Fintech), and in particular to a method, device, medium and computer program product for predicting regional change conditions. Background Art

[0002] With the continuous development of financial technology, especially Internet technology finance, more and more technologies (such as distributed, artificial intelligence, etc.) are applied in the financial field, but the financial industry also puts forward higher requirements on technology, such as higher requirements on the distribution of corresponding to-do items in the financial industry.

[0003] With the continuous development of computer technology, the application of artificial intelligence is becoming more and more extensive. At present, when policymakers are conducting urban planning, they usually need to predict the future changes of cities. For example, by statistically analyzing the data of urban change factors such as the city’s population, GDP, and industry types, they can predict the future changes of cities. However, since the statistical data of urban change factors are constantly changing, and the work of statistical data of urban change factors is usually long in time scale, the urban change factor data used for predicting urban change conditions are usually lagging in time scale, which makes the prediction results of urban change conditions lagging in time scale, and the accuracy of regional change condition prediction is not high. Summary of the invention

[0004] The main purpose of this application is to provide a method, device, medium and computer program product for predicting regional change conditions, aiming to solve the technical problem of low accuracy in predicting urban change conditions in the prior art.

[0005] To achieve the above-mentioned purpose, the present application provides a method for predicting regional change conditions, which is applied to a regional change condition prediction device, and the method for predicting regional change conditions includes:

[0006] Obtaining a satellite image of a target area, and based on a regional change status prediction model constructed by federated learning and regional change status image feature information corresponding to the satellite image, predicting a regional change status category of the target area, and obtaining a regional change status category prediction result;

[0007] Based on the regional change status category prediction result, a regional change status prediction result corresponding to the target area is generated.

[0008] The present application also provides a regional change status prediction device, which is a virtual device and is applied to a regional change status prediction device. The regional change status prediction device includes:

[0009] A category prediction module is used to obtain a satellite image of a target area, and based on a regional change status prediction model constructed by federated learning and regional change status image feature information corresponding to the satellite image, perform regional change status category prediction on the target area to obtain a regional change status category prediction result;

[0010] A generating module is used to generate a regional change status prediction result corresponding to the target area based on the regional change status category prediction result.

[0011] The present application also provides a regional change status prediction device, which is a physical device, and includes: a memory, a processor, and a program of the regional change status prediction method stored in the memory and executable on the processor. When the program of the regional change status prediction method is executed by the processor, the steps of the regional change status prediction method as described above can be implemented.

[0012] The present application also provides a medium, which is a readable storage medium, on which is stored a program for implementing a method for predicting regional change conditions. When the program for the method for predicting regional change conditions is executed by a processor, the steps of the method for predicting regional change conditions as described above are implemented.

[0013] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned regional transition status prediction method when executed by a processor.

[0014] The present application provides a method, device, medium and computer program product for predicting regional change conditions. Compared with the technical means used in the prior art to predict the future change conditions of a city based on urban change factor data, the present application first obtains a satellite image of the target area, wherein the satellite image can be taken by a satellite in real time, and then obtains the satellite image of the target area, and based on the regional change condition prediction model constructed by federated learning and the regional change condition image feature information corresponding to the satellite image, predicts the regional change condition category of the target area, obtains the regional change condition category prediction result, and then based on the regional change condition category prediction result, generates the regional change condition prediction result corresponding to the target area. Since the satellite image can be taken in real time, the purpose of real-time prediction of the regional change condition of the target area based on the satellite image is achieved, so that the regional change condition result will not lag on the time scale, thereby improving the prediction accuracy of the regional change condition. In other places, it should be noted that the image data between each satellite is usually private data, and thus model prediction and model construction can usually only be performed based on the satellite image of one satellite. However, since the regional change status prediction model in the present application is constructed by combining data from multiple parties through federated learning, while protecting the privacy of all parties, the sample during model construction is expanded, thereby achieving the purpose of combining satellite data from multiple parties to predict regional change status while protecting privacy, and further improving the accuracy of regional change status prediction. Therefore, it overcomes the problem in the prior art that the statistical data of urban change factors are constantly changing, and the work of statistical data of urban change factors is usually long on a time scale, which will lead to the urban change factor data used for urban change status prediction usually being lagging on a time scale, thereby causing the urban change status prediction results to have a lag on a time scale, and the technical defects of low accuracy in regional change status prediction, thereby improving the accuracy of regional change status prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0017] Figure 1 This is a flow chart of the first embodiment of the method for predicting regional change status of the present application;

[0018] Figure 2A schematic diagram of a process for predicting the category of regional change status of a target area in the regional change status prediction method of the present application;

[0019] Figure 3 This is a flow chart of the second embodiment of the method for predicting regional change status of the present application;

[0020] Figure 4 A schematic diagram of satellite images taken by each satellite when horizontal federated learning is performed in the regional change status prediction method of this application;

[0021] Figure 5 A schematic diagram of the device structure of the hardware operating environment involved in the method for predicting regional change status in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of the hardware architecture of federated learning involved in the embodiment of the present application.

[0023] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0024] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] The present application embodiment provides a method for predicting regional change conditions. In the first embodiment of the method for predicting regional change conditions of the present application, refer to Figure 1 , the regional change status prediction method includes:

[0026] Step S10, obtaining a satellite image of the target area, and based on the regional change status prediction model constructed by federated learning and the regional change status image feature information corresponding to the satellite image, predicting the regional change status category of the target area to obtain a regional change status category prediction result;

[0027] In this embodiment, it should be noted that the satellite image is a satellite image of the target area taken by a satellite, the target area is an area such as a city or a town, the regional change status prediction method is applied to a satellite, and the regional change status prediction model is a machine learning model constructed by federated learning between satellites, wherein the federated learning includes vertical federated learning and horizontal federated learning, and the regional change status image feature information is image feature information with regional change status characteristics, wherein the regional change status characteristics include features such as building density, number of streets and greening rate, and the image feature information can be represented by a high-dimensional matrix output by a feature extractor in the regional change status prediction model.

[0028] In addition, it should be noted that when the federated learning is longitudinal federated learning, the regional change status prediction model is constructed by longitudinal federated learning combined with satellite images taken by each satellite at different shooting angles. At this time, each satellite shoots the target area, but the shooting angles are different. Therefore, the samples obtained are the same, but the sample characteristics are different, and then longitudinal federated learning can be performed between each satellite; when the federated learning is horizontal federated learning, the regional change status prediction model is constructed by horizontal federated learning combined with satellite images taken by each satellite in different shooting areas. At this time, each satellite shoots different areas at the same shooting angle, so the samples obtained are different, but the sample characteristics are the same, and then horizontal federated learning can be performed between each satellite.

[0029] A satellite image of a target area is obtained, and based on a regional change status prediction model constructed by federated learning and regional change status image feature information corresponding to the satellite image, a regional change status category prediction is performed on the target area to obtain a regional change status category prediction result. Specifically, a satellite image of the target area taken in real time is obtained, and based on a feature extractor in the regional change status prediction model constructed by federated learning, regional change status image feature information in the satellite image is extracted, and then, based on the regional change status image feature information and a classifier in the regional change status prediction model, a regional change status classification is performed on the satellite image to obtain a regional change status category prediction result.

[0030] In another embodiment, the regional change status prediction model is a recurrent neural network model, and the regional change status prediction model constructed based on federated learning and the regional change status image feature information corresponding to the satellite image predicts the regional change status category of the target area, and the step of obtaining the regional change status category prediction result includes:

[0031] The model output result of the regional change status prediction model at the previous time step is obtained, and then the model output result of the previous time step and the satellite image of the target area at the current time step are input into the regional change status prediction model constructed based on federated learning, and then the model prediction after a preset number of time steps is cyclically executed in the regional change status prediction model, and the regional change status category prediction result is output, wherein the model input of each time step is the model output of the previous time step and the satellite image of the current time step, wherein the satellite image of the target area is an image with time series information, for example, all satellite images of the target area cyclically taken by the satellite within one year, etc.

[0032] The regional change status prediction model includes a feature extractor and a classifier.

[0033] The step of classifying the regional change status of the target area based on the regional change status prediction model constructed by federated learning and the regional change status image feature information corresponding to the satellite image to obtain the regional change status category prediction result includes:

[0034] Step S11, based on the feature extractor, extracting features from the satellite image to obtain feature information of the regional change status image;

[0035] In this embodiment, it should be noted that the feature extractor is composed of a preset number of convolutional layers and pooling layers arranged alternately, wherein the convolutional layers are used to perform convolution operations, and the pooling layers are used to perform pooling operations.

[0036] Based on the feature extractor, feature extraction is performed on the satellite image to obtain the regional change status image feature information. Specifically, an image representation matrix corresponding to the satellite image is input into the feature extractor, and a preset number of convolution and pooling alternating processes are performed on the image representation matrix to map the image representation matrix into a regional change status feature representation matrix, and the regional change status feature representation matrix is ​​used as the regional change status image feature information, wherein the image representation matrix is ​​a coding matrix representing the satellite image, and is used to represent the satellite image through a numerical matrix. For example, the image representation matrix may be a pixel matrix, wherein the pixel matrix is ​​composed of pixel values ​​of the satellite image, and the regional change status feature representation matrix is ​​a high-dimensional matrix associated with the regional change status feature, that is, the regional change status feature representation matrix has the associated information of the regional change status feature, wherein the regional change status feature representation matrices corresponding to satellite images having the same regional change status feature values ​​should have a high degree of similarity.

[0037] Step S12: predicting the regional change status category of the target area based on the regional change status image feature information and the classifier, and obtaining the regional change status category prediction result.

[0038] In this embodiment, it should be noted that the classifier is composed of a fully connected layer, which is used to map the regional change status feature representation matrix into a one-dimensional vector.

[0039] According to the regional change status image feature information and the classifier, the regional change status category of the target area is predicted to obtain the regional change status category prediction result. Specifically, the regional change status feature representation matrix is ​​input into the classifier, and the regional change status feature representation matrix is ​​fully connected to map the regional change status feature representation matrix into a one-dimensional vector to obtain a classification probability vector, and the classification probability vector is used as the regional change status category prediction result, wherein the classification probability vector is a vector composed of probabilities that the satellite image belongs to different preset image categories. For example, assuming that the classification probability vector is (a, b, c), a is the probability that the satellite image belongs to category A, b is the probability that the satellite image belongs to category B, and c is the probability that the satellite image belongs to category C. Figure 2 The figure is a schematic diagram of the process of predicting the regional change status category of the target area in an embodiment of the present application, wherein G is the regional change status prediction model, the left box is the feature extractor, the right box is the classifier, and high-speed development, stable development and lagging development are all the regional change status prediction categories.

[0040] Step S20: generating a regional change status prediction result corresponding to the target region based on the regional change status category prediction result.

[0041] In this embodiment, based on the regional change status category prediction result, the regional change status prediction result corresponding to the target area is generated. Specifically, if the regional change status prediction model is constructed based on horizontal federated learning, the image classification category label corresponding to the largest classification probability value in the classification probability vector is determined, and the regional change status category corresponding to the image classification category label is used as the regional change status prediction result, wherein the regional change status category includes a high-speed development category, a stable development category, and a lagging development category, etc. If the regional change status prediction model is constructed based on vertical federated learning, based on the regional change status category prediction result, the regional change status prediction result is generated by performing federated interaction with other participants in the vertical federated learning.

[0042] The method for predicting regional change status is applied to a first device participating in vertical federated learning.

[0043] The step of generating the regional change status prediction result corresponding to the target area based on the regional change status category prediction result comprises:

[0044] Step S21, encrypting the regional change status category prediction result to obtain a first encrypted classification result;

[0045] In this embodiment, it should be noted that the encryption method is homomorphic encryption, the regional change status prediction model is constructed based on vertical federated learning, and the first device is a participant in the vertical federated learning.

[0046] Step S22, sending the first encrypted classification result to the vertical federation server, so that the vertical federation server aggregates the first encrypted classification result and the second encrypted classification results sent by each second device to obtain an encrypted aggregation result;

[0047] In this embodiment, it should be noted that the vertical federation server is the coordinator of vertical federated learning, which is used to coordinate the participants to carry out federated cooperation based on vertical federated learning, wherein the federated cooperation includes federated model construction and federated model prediction.

[0048] The first encrypted classification result is sent to the vertical federation server so that the vertical federation server can aggregate the first encrypted classification result and the second encrypted classification results sent by each second device to obtain an encrypted aggregation result. Specifically, the first encrypted classification result is sent to the vertical federation server so that the vertical federation server can receive the first encrypted classification result sent by the first device and the second encrypted classification results sent by each second device, wherein the second encrypted classification result is obtained by homomorphically encrypting the regional change status category prediction result generated locally by the second device, and then the vertical federation server aggregates the first encrypted classification result and each of the second encrypted classification results based on a preset federation aggregation rule to obtain an encrypted aggregation result, wherein the preset federation aggregation rule includes weighted average and summation, etc.

[0049] Step S23, receiving the encrypted aggregation result, and generating the regional change status prediction result based on the encrypted aggregation result.

[0050] In this embodiment, it should be noted that the regional change status category prediction result is a classification probability vector.

[0051] Receive the encrypted aggregation result, and generate the regional change status prediction result based on the encrypted aggregation result. Specifically, decrypt the encrypted aggregation result to obtain the aggregation classification probability vector, and determine the image classification category label corresponding to the largest classification probability value in the aggregation classification probability vector, and use the regional change status category corresponding to the image classification category label as the regional change status prediction result.

[0052] The embodiment of the present application provides a method for predicting regional change conditions. Compared with the technical means used in the prior art to predict the future change conditions of a city based on urban change factor data, the embodiment of the present application first obtains a satellite image of the target area, wherein the satellite image can be taken by a satellite in real time, and then obtains the satellite image of the target area, and based on the regional change condition prediction model constructed by federated learning and the regional change condition image feature information corresponding to the satellite image, performs regional change condition category prediction on the target area, obtains the regional change condition category prediction result, and then based on the regional change condition category prediction result, generates the regional change condition prediction result corresponding to the target area. Since the satellite image can be taken in real time, the purpose of real-time prediction of the regional change condition of the target area based on the satellite image is achieved, so that the regional change condition result will not lag on the time scale, thereby improving the prediction accuracy of the regional change condition. In addition, it should be said that It is obvious that the image data between each satellite is usually private data, and thus model prediction and model construction can usually only be performed based on the satellite image of one satellite. However, since the regional change status prediction model in the embodiment of the present application is constructed by combining data from multiple parties through federated learning, while protecting the privacy of all parties, the sample during model construction is expanded, thereby achieving the purpose of combining satellite data from multiple parties to predict regional change status while protecting privacy, and further improving the accuracy of regional change status prediction. Therefore, the existing technology overcomes the problem that the statistical urban change factor data is constantly changing, and the work of statistical urban change factor data is usually long in time scale, which will lead to the urban change factor data used for urban change status prediction usually being lagging in time scale, thereby causing the urban change status prediction results to have a lag in time scale, and the technical defects of low accuracy of regional change status prediction, thereby improving the accuracy of regional change status prediction.

[0053] Further, refer to Figure 3 Based on the first embodiment of the present application, in another embodiment of the present application, the regional transition status prediction method is applied to a first device participating in federated learning.

[0054] Before the step of predicting the regional change status category of the target area based on the regional change status prediction model constructed based on federated learning and the regional change status image feature information corresponding to the satellite image, and obtaining the regional change status category prediction result, the regional change status prediction method further includes:

[0055] Step A10, obtaining satellite image training data, and labeling the satellite image training data with labels for regional change status characteristics to obtain regional change status label data;

[0056] In this embodiment, it should be noted that the satellite image training data is composed of satellite images taken by satellites, and when the federated learning is vertical federated learning, each satellite participating in the vertical federated learning takes satellite images of the target area at different shooting angles as their respective satellite image training data; when the federated learning is horizontal federated learning, each satellite participating in the horizontal federated learning takes satellite images at the same shooting angle in different shooting areas as satellite image training data, such as Figure 4 Shown is a schematic diagram of satellite images taken by each satellite during horizontal federated learning.

[0057] Acquire satellite image training data, and label the satellite image training data with labels for regional change status characteristics to obtain regional change status label data. Specifically, acquire satellite image training data, wherein the satellite image training data includes at least one training satellite image, and then perform the following steps on each of the training satellite images:

[0058] Extracting each regional change status representation value in the training satellite image, wherein the regional change status representation value is a regional change status characteristic value representing the regional change status, such as greening rate, building density, and number of streets, and then matching the corresponding regional change status label for the training satellite image based on each regional change status representation value, thereby obtaining regional change status label data, wherein the regional change status label data at least includes one regional change status label.

[0059] The satellite image training data includes at least one training satellite image, and the regional change status label data includes at least one regional change status label.

[0060] The step of labeling the satellite image training data with respect to the regional change status characteristics to obtain the regional change status label data comprises:

[0061] Step A11, extracting regional change status feature data from the training satellite image;

[0062] In this embodiment, regional change status feature data in the training satellite image is extracted. Specifically, the training satellite image is semantically segmented to obtain a green area semantic image, a building area semantic image and a street area semantic image. Then, based on the area ratio of the green area semantic image in the training satellite image, the greening rate of the shooting area corresponding to the training satellite image is calculated. Based on the area ratio of the building area semantic image in the training satellite image, the building density of the shooting area corresponding to the training satellite image is calculated. The number of streets in the street area semantic image is counted. For example, each horizontal line or vertical line in the street area semantic image is regarded as a street. Then, the regional change status vector composed of the greening rate, the building density and the number of streets is taken together as the regional change status feature data. For example, assuming that the greening rate is 40%, the building density is 20%, and the number of streets is 100, the regional change status feature data is a vector (0.4, 0.2, 100).

[0063] Step A12: label the training satellite image based on the regional change status characteristic data to obtain the regional change status label.

[0064] In this embodiment, based on the regional change status characteristic data, the training satellite image is labeled to obtain the regional change status label. Specifically, the regional change status vector is mapped to a regional change status characteristic representation value, for example, a softmax function is used to map the vector to a value, and then the regional change status characteristic representation value is normalized to a preset label value range to obtain the regional change status label, and the regional change status label is assigned to the corresponding training satellite image.

[0065] The regional change status characteristic data at least includes building density characteristic data, street quantity characteristic data and greening rate characteristic data.

[0066] The step of labeling the training satellite image based on the regional change status characteristic data to obtain the regional change status label comprises:

[0067] Step A121, aggregating the building density feature data, street quantity feature data and greening rate feature data to obtain aggregated feature data;

[0068] In this embodiment, the building density characteristic data, the street quantity characteristic data and the greening rate characteristic data are aggregated to obtain aggregated characteristic data. Specifically, based on a preset aggregation rule, the building density characteristic data, the street quantity characteristic data and the greening rate characteristic data are aggregated to obtain aggregated characteristic data, wherein the preset aggregation rule includes weighted summation and weighted average, etc. For example, assuming that the characteristic value corresponding to the building density characteristic data is 0.2, the characteristic value corresponding to the street quantity characteristic data is 200, and the characteristic value corresponding to the greening rate characteristic data is 0.6, the preset aggregation rule is weighted summation, and then the characteristic value corresponding to the aggregated characteristic data is 0.2+200*0.01+0.6=0.9, and then normalized to 1.

[0069] Step A122, matching the image label corresponding to the aggregated feature data to obtain the region change status label.

[0070] In this embodiment, the image label corresponding to the aggregated feature data is matched to obtain the regional change status label. Specifically, the aggregated feature value in the aggregated feature data is used as an index to query the image label of the training satellite image to obtain the regional change status label.

[0071] Step A20, based on the satellite image training data and the regional change status label data, construct the regional change status prediction model by performing federated learning with the second device.

[0072] In this embodiment, it should be noted that when performing federated learning, the number of the second device is at least 1, the regional change status label data includes at least one regional change status label, and the satellite image training data includes at least one training satellite image.

[0073] Based on the satellite image training data and the regional transition status label data, the regional transition status prediction model is constructed by performing federated learning with the second device. Specifically, the prediction model to be trained is obtained, and training sample data is selected from the satellite image training data and the regional transition status label data, wherein the training sample data at least includes a training sample, and the training sample includes a training satellite image and a regional transition status label corresponding to the training satellite image. Then, based on the training sample data, the prediction model to be trained is iteratively trained and updated to a preset number of iterations, and the first encrypted model parameters of the prediction model to be trained after the iterative training update are obtained, and the first encrypted model parameters are sent to the federal server, so that the federal server can perform iterative training on the first encrypted model parameters and The second encrypted model parameters sent by each second device are aggregated to generate encrypted aggregate model parameters, and the encrypted aggregate model parameters are fed back to the first device and each second device, and then the first device receives the encrypted aggregate model parameters sent by the federal server, and decrypts the encrypted aggregate model parameters into aggregate model parameters, and then based on the aggregate model parameters, updates the prediction model to be trained, and determines whether the updated prediction model to be trained meets the preset federal termination conditions. If so, the prediction model to be trained is used as the regional change status prediction model. If not, return to the step of selecting training sample data from the satellite image training data and the regional change status label data, wherein the preset federal termination conditions include the convergence of the loss function and reaching the maximum number of iterations threshold.

[0074] The step of constructing the regional change status prediction model based on the satellite image training data and the regional change status label data by performing federated learning with a second device includes:

[0075] Step A21, obtaining a prediction model to be trained, and selecting training sample data from the satellite image training data and the regional change status label data;

[0076] In this embodiment, it should be noted that the training sample data includes at least one training sample, and the training sample includes a training satellite image from the satellite image training data and a regional change status label from the regional change status label data.

[0077] Step A22, based on the training sample data, iteratively training the prediction model to be trained and updating it to a preset number of iterations to obtain a first encrypted model parameter of the prediction model to be trained;

[0078] In this embodiment, based on the training sample data, the prediction model to be trained is iteratively trained and updated to a preset number of iterations to obtain the first encrypted model parameters of the prediction model to be trained. Specifically, a training sample is selected from the training sample data, and the training satellite image corresponding to the training sample is input into the prediction model to be trained, model prediction is performed, and a model output label is obtained, and then the difference between the model output label and the regional change status label corresponding to the training sample is calculated to obtain the model loss, and then based on the model loss, the prediction model to be trained is updated, and it is determined whether the updated prediction model to be trained meets the preset federal termination condition. If so, the prediction model to be trained is used as the regional change status prediction model. If not, the step of selecting a training sample from the training sample data is returned until the number of iterations of the prediction model to be trained reaches the preset number of iterations, the first model parameter of the prediction model to be trained is obtained, and the first model parameter is encrypted to obtain the first encrypted model parameter.

[0079] Step A23: sending the first encryption model parameter to a federal server, so that the federal server aggregates the first encryption model parameter and the second encryption model parameter sent by each second device to obtain an encryption aggregate model parameter;

[0080] In this embodiment, the first encryption model parameters are sent to a federal server so that the federal server can aggregate the first encryption model parameters and the second encryption model parameters sent by each second device to obtain encrypted aggregated model parameters. Specifically, the first encryption model parameters are sent to a federal server so that the federal server can encrypt and aggregate the first encryption model parameters and the second encryption model parameters sent by each second device based on preset federal aggregation rules to obtain encrypted aggregated model parameters, wherein the preset federal aggregation rules include weighted average and weighted sum, etc. The steps for the second device to generate the second encryption model parameters are the same as the steps for the first device to generate the first encryption model parameters, which will not be repeated here. For details, please refer to the contents of steps A21 to A22.

[0081] Step A24, based on the encrypted aggregation model parameters, updating the prediction model to be trained, and determining whether the updated prediction model to be trained meets the preset federation termination condition;

[0082] In this embodiment, based on the encrypted aggregate model parameters, the prediction model to be trained is updated, and it is determined whether the updated prediction model to be trained meets the preset federal termination conditions. Specifically, the encrypted aggregate model parameters are decrypted to generate aggregate model parameters, and the model parameters of the prediction model to be trained are replaced and updated with the aggregate model parameters, and it is determined whether the replaced and updated prediction model to be trained meets the preset federal termination conditions, wherein the preset federal termination conditions include convergence of the loss function and reaching the maximum number of iterations threshold, etc.

[0083] Step A25: if the conditions are met, the prediction model to be trained is used as the regional change status prediction model;

[0084] Step A26: If not satisfied, return to the step of selecting training sample data from the satellite image training data and the regional change status label data.

[0085] In this embodiment, if it is satisfied, it proves that the model performance of the prediction model to be trained meets expectations, and the prediction model to be trained is used as the regional change status prediction model. If it is not satisfied, it proves that the model performance of the prediction model to be trained fails to meet expectations, and then returns to the step of selecting training sample data from the satellite image training data and the regional change status label data to continue federated learning until the updated prediction model to be trained meets the preset federation end condition.

[0086] The embodiment of the present application provides a method for constructing a regional change status prediction model based on federated learning, that is, obtaining satellite image training data, and labeling the satellite image training data with respect to regional change status features to obtain regional change status label data, and then based on the satellite image training data and the regional change status label data, the regional change status prediction model is constructed by performing federated learning with a second device, thereby achieving the purpose of constructing the regional change status prediction model by combining the satellite image training data of multiple satellites under the premise of protecting the privacy of each satellite from being leaked, expanding the samples during model construction, and improving the prediction accuracy of the regional change status prediction model. Then, after obtaining the satellite image of the target area, the regional change status prediction model constructed based on the federated learning and the regional change status image features corresponding to the satellite image can be used to predict the regional change status of the target area. The information is collected, and the regional change status category is predicted for the target area to obtain the regional change status category prediction result, and then based on the regional change status category prediction result, the regional change status prediction result corresponding to the target area is generated, thereby achieving the purpose of real-time regional change status prediction and regional change status prediction based on a more accurate regional change status prediction model. Therefore, the accuracy of regional change status prediction is improved, which lays a foundation for overcoming the technical defects in the prior art that the statistical urban change factor data is constantly changing, and the statistical urban change factor data is usually long in time scale, which will lead to the urban change factor data used for urban change status prediction usually being lagging in time scale, thereby making the urban change status prediction result have a lag in time scale, and the accuracy of regional change status prediction is not high.

[0087] Reference Figure 5 , Figure 5 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0088] like Figure 5 As shown, the regional change status prediction device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0089] Optionally, the regional change status prediction device may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0090] Those skilled in the art will understand that Figure 5 The structure of the regional transition condition prediction device shown in the figure does not constitute a limitation on the regional transition condition prediction device, and may include more or less components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0091] like Figure 5 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, and a regional change status prediction program. The operating system is a program that manages and controls the hardware and software resources of the regional change status prediction device, and supports the operation of the regional change status prediction program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the regional change status prediction system.

[0092] exist Figure 5 In the regional change status prediction device shown, the processor 1001 is used to execute the regional change status prediction program stored in the memory 1005 to implement the steps of any of the above-mentioned regional change status prediction methods.

[0093] The specific implementation of the regional change status prediction device of the present application is basically the same as the various embodiments of the regional change status prediction method described above, and will not be repeated here.

[0094] The embodiment of the present application further provides a regional change status prediction device, the regional change status prediction device is applied to a regional change status prediction device, and the regional change status prediction device includes:

[0095] A category prediction module is used to obtain a satellite image of a target area, and based on a regional change status prediction model constructed by federated learning and regional change status image feature information corresponding to the satellite image, perform regional change status category prediction on the target area to obtain a regional change status category prediction result;

[0096] A generating module is used to generate a regional change status prediction result corresponding to the target area based on the regional change status category prediction result.

[0097] Optionally, the category prediction module is further used for:

[0098] Based on the feature extractor, feature extraction is performed on the satellite image to obtain feature information of the regional change status image;

[0099] The regional change status category of the target area is predicted based on the regional change status image feature information and the classifier to obtain the regional change status category prediction result.

[0100] Optionally, the generating module is further used for:

[0101] Encrypting the regional change status category prediction result to obtain a first encrypted classification result;

[0102] Sending the first encrypted classification result to a vertical federation server, so that the vertical federation server aggregates the first encrypted classification result and the second encrypted classification results sent by each second device to obtain an encrypted aggregation result;

[0103] The encrypted aggregation result is received, and the regional change status prediction result is generated according to the encrypted aggregation result.

[0104] Optionally, the regional change status prediction device is further used for:

[0105] Acquire satellite image training data, and annotate the satellite image training data with labels specific to regional change status characteristics to obtain regional change status label data;

[0106] Based on the satellite image training data and the regional change status label data, the regional change status prediction model is constructed by performing federated learning with a second device.

[0107] Optionally, the regional change status prediction device is further used for:

[0108] Acquire a prediction model to be trained, and select training sample data from the satellite image training data and the regional change status label data;

[0109] Based on the training sample data, iteratively train the prediction model to be trained to update it to a preset number of iterations to obtain a first encrypted model parameter of the prediction model to be trained;

[0110] Sending the first encryption model parameter to a federal server, so that the federal server aggregates the first encryption model parameter and the second encryption model parameter sent by each second device to obtain an encryption aggregate model parameter;

[0111] Based on the encrypted aggregation model parameters, updating the prediction model to be trained, and determining whether the updated prediction model to be trained meets the preset federation termination condition;

[0112] If satisfied, the prediction model to be trained is used as the regional change status prediction model;

[0113] If not satisfied, return to the step of selecting training sample data from the satellite image training data and the regional change status label data.

[0114] Optionally, the regional change status prediction device is further used for:

[0115] Extracting regional change status feature data from the training satellite image;

[0116] Based on the regional change status characteristic data, the training satellite image is labeled to obtain the regional change status label.

[0117] Optionally, the regional change status prediction device is further used for:

[0118] Aggregating the building density characteristic data, the street quantity characteristic data and the greening rate characteristic data to obtain aggregated characteristic data;

[0119] The image label corresponding to the aggregated feature data is matched to obtain the region change status label.

[0120] The specific implementation of the regional change status prediction device of the present application is basically the same as the various embodiments of the regional change status prediction method described above, and will not be repeated here.

[0121] An embodiment of the present application provides a medium, which is a readable storage medium, and the readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of the regional change status prediction method described in any one of the above items.

[0122] The specific implementation of the readable storage medium of the present application is basically the same as the various embodiments of the above-mentioned regional change status prediction method, and will not be repeated here.

[0123] An embodiment of the present application provides a computer program product, and the computer program product includes one or more computer programs, and the one or more computer programs can also be executed by one or more processors to implement the steps of any of the above-mentioned regional change status prediction methods.

[0124] The specific implementation methods of the computer program product of the present application are basically the same as the various embodiments of the above-mentioned regional change status prediction method, and will not be repeated here.

[0125] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for predicting regional change conditions, characterized in that: The regional change status prediction method comprises: Obtaining a satellite image of a target area, and based on a regional change status prediction model constructed by federated learning and regional change status image feature information corresponding to the satellite image, predicting a regional change status category of the target area, and obtaining a regional change status category prediction result, wherein the regional change status category includes a high-speed development category, a stable development category, and a development lag category, and the regional change status prediction model includes a feature extractor and a classifier; The step of performing regional change status classification prediction on the target area based on the regional change status prediction model constructed based on federated learning and the regional change status image feature information corresponding to the satellite image to obtain the regional change status classification prediction result comprises: performing feature extraction on the satellite image based on the feature extractor to obtain the regional change status image feature information, wherein the feature extractor is composed of a preset number of convolutional layers and pooling layers arranged alternately; Predicting the regional change status category of the target area based on the regional change status image feature information and the classifier, and obtaining the regional change status category prediction result; Wherein, the regional change status prediction method is applied to a first device participating in vertical federated learning; Based on the regional change status category prediction result, a regional change status prediction result corresponding to the target area is generated, Wherein, the step of generating the regional change status prediction result corresponding to the target area based on the regional change status category prediction result comprises: Encrypting the regional change status category prediction result to obtain a first encrypted classification result; Sending the first encrypted classification result to a vertical federation server, so that the vertical federation server aggregates the first encrypted classification result and the second encrypted classification results sent by each second device to obtain an encrypted aggregation result; Receiving the encrypted aggregation result, and generating the regional change status prediction result according to the encrypted aggregation result; The method for predicting regional change status is applied to a first device participating in federated learning. Before the step of predicting the regional change status category of the target area based on the regional change status prediction model constructed based on federated learning and the regional change status image feature information corresponding to the satellite image, and obtaining the regional change status category prediction result, the regional change status prediction method further includes: Acquire satellite image training data, and annotate the satellite image training data with labels specific to regional change status characteristics to obtain regional change status label data; Based on the satellite image training data and the regional change status label data, the regional change status prediction model is constructed by performing federated learning with a second device, wherein the satellite image training data includes at least one training satellite image, and the regional change status label data includes at least one regional change status label, The step of labeling the satellite image training data with respect to the regional change status characteristics to obtain the regional change status label data comprises: Extracting regional change status feature data from the training satellite image; Based on the regional change status characteristic data, the training satellite image is labeled to obtain the regional change status label.

2. The method for predicting regional change conditions according to claim 1, characterized in that: The step of constructing the regional change status prediction model based on the satellite image training data and the regional change status label data by performing federated learning with a second device includes: Acquire a prediction model to be trained, and select training sample data from the satellite image training data and the regional change status label data; Based on the training sample data, iteratively train the prediction model to be trained to update it to a preset number of iterations to obtain a first encrypted model parameter of the prediction model to be trained; Sending the first encryption model parameter to a federal server, so that the federal server aggregates the first encryption model parameter and the second encryption model parameter sent by each second device to obtain an encryption aggregate model parameter; Based on the encrypted aggregation model parameters, updating the prediction model to be trained, and determining whether the updated prediction model to be trained meets the preset federation termination condition; If satisfied, the prediction model to be trained is used as the regional change status prediction model; If not satisfied, return to the step of selecting training sample data from the satellite image training data and the regional change status label data.

3. The method for predicting regional change conditions according to claim 1, characterized in that: The regional change status characteristic data at least includes building density characteristic data, street quantity characteristic data and greening rate characteristic data. The step of labeling the training satellite image based on the regional change status characteristic data to obtain the regional change status label comprises: Aggregating the building density characteristic data, the street quantity characteristic data and the greening rate characteristic data to obtain aggregated characteristic data; The image label corresponding to the aggregated feature data is matched to obtain the region change status label.

4. A regional change status prediction device, characterized in that: The regional change status prediction device includes: a memory, a processor, and a program stored in the memory for implementing the regional change status prediction method. The memory is used to store a program for implementing a method for predicting regional change conditions; The processor is used to execute a program for implementing the method for predicting regional transition conditions, so as to implement the steps of the method for predicting regional transition conditions as claimed in any one of claims 1 to 3.

5. A medium, the medium being a readable storage medium, characterized in that: The readable storage medium stores a program for implementing the method for predicting regional transition conditions, and the program for implementing the method for predicting regional transition conditions is executed by a processor to implement the steps of the method for predicting regional transition conditions as claimed in any one of claims 1 to 3.

6. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for predicting regional transition conditions as claimed in any one of claims 1 to 3 are implemented.