A method, device and electronic device for generating digital land acquisition and relocation software

By establishing a middle platform for land digital relocation software on cloud servers and deploying a modular architecture on edge servers, the problem of difficult sharing and reusing models for various modules in the existing technology is solved, and development efficiency and model utilization are improved.

CN117389515BActive Publication Date: 2025-04-01ZHEJIANG ZHEN SHAN SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311317583.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2025-04-01
Estimated Expiration
2043-10-12

AI Technical Summary

Technical Problem

The existing technology of generating digital land acquisition software is difficult to share and reuse models for each module, resulting in low development efficiency and utilization of models.

Method used

By establishing a middle platform for land digital relocation software on cloud servers, designing a modular architecture, and deploying various modules on edge servers, the middle platform is used to centrally process data analysis and prediction tasks, so that each module can share and reuse the model.

Benefits of technology

It realizes efficient collaborative work between various modules, avoids repeated development of models, improves development efficiency and model utilization, and reduces the computing power requirements of edge servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117389515B_ABST
    Figure CN117389515B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and electronic device for generating digital land acquisition and relocation software, including the following steps: collecting and extracting the requirements of digital land acquisition and relocation software, dividing the requirements of the software into different types by analyzing the requirements of digital land acquisition and relocation software; establishing a data acquisition module for digital land acquisition and relocation software, collecting data of digital land acquisition and relocation, including geography, topography, land use distribution and population data, integrating the collected data with the requirements of digital land acquisition and relocation software, storing them in an edge server, and backing up the collected data of digital land acquisition and relocation to a database of a cloud server; analyzing the requirements type of digital land acquisition and relocation software and the data of digital land acquisition and relocation stored in the edge server; concentrating tasks such as data analysis and prediction in the middle platform, so that each module can share and reuse models. In this way, it is possible to avoid the work of repeating model development in each module, and improve development efficiency and model utilization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software technology, and in particular to a method, device and electronic equipment for generating digital land acquisition and relocation software. Background Art

[0002] Digital land acquisition and relocation software usually includes geographic information systems (GIS), database management systems, data mining and analysis, visualization technology, etc. Geographic information systems provide the ability to store, query, analyze and visualize land-related data; database management systems are used to store and manage land data, and provide efficient access and processing of data; data mining and analysis technology can help discover land laws and trends, make predictions and support decisions; visualization technology is used to display land data in a graphical way, helping users to understand and analyze land planning more intuitively.

[0003] The existing methods of generating digital land acquisition and relocation software mainly analyze the functions and requirements of digital land acquisition and relocation software in detail, including requirements in land use planning, land assessment, land analysis, etc. Collect basic data related to land. Process and analyze the collected data to provide it to planners for analysis and decision-making. According to the requirements of land planning, design corresponding algorithms and models, such as land use distribution model, land assessment model, etc., to support the decision-making process of land planning.

[0004] However, the existing technology for generating digital land acquisition and relocation software usually designs corresponding algorithms and models according to the requirements of land planning, which makes it difficult for various modules to share and reuse models, resulting in low development efficiency and utilization rate of the model. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device and electronic device for generating digital land acquisition and relocation software to solve the following technical problems:

[0006] The existing technology for generating digital land acquisition and relocation software makes it difficult for various modules to share and reuse models, resulting in low model development efficiency and utilization.

[0007] The purpose of the present invention can be achieved through the following technical solutions:

[0008] A method, device and electronic device for generating digital land acquisition and relocation software, comprising the following steps:

[0009] Collect and extract the needs of digital land acquisition and relocation software, and divide the software needs into different types by analyzing the needs of digital land acquisition and relocation software;

[0010] Establish a data collection module for the digital land acquisition and relocation software to collect data on digital land acquisition and relocation, including geographic, topographic, land use distribution and population data, integrate the collected data with the needs of the digital land acquisition and relocation software, store it on the edge server, and back up the collected data on digital land acquisition and relocation to the database of the cloud server;

[0011] Analyze the demand types and data of digital land acquisition and relocation software stored in the edge server. According to the analysis results of the demand for digital land acquisition and relocation software, design the overall architecture of the digital land acquisition and relocation software. The overall architecture of the digital land acquisition and relocation software adopts a modular architecture, and deploys each module in the modular architecture in the edge server.

[0012] A land digital acquisition and relocation software middle platform is established on the cloud server. The model established in the land digital acquisition and relocation software middle platform is used to process the tasks of each module in the modular architecture of the land digital acquisition and relocation software, and return the processing results to the corresponding module.

[0013] As a further solution of the present invention: different types of software requirements are resident management requirements, land division requirements, land management requirements and expropriation and relocation management requirements; the modular architecture adopted by the digital land expropriation and relocation software includes: resident management module, land division module, land management module and expropriation and relocation management module;

[0014] Among them, a resident management module is set according to the analysis results of resident management needs, a land division module is set according to the analysis results of land division needs, a land management module is set according to the analysis results of land management needs, and a resettlement management module is set according to the analysis results of resettlement management needs.

[0015] As a further solution of the present invention: the middle platform of the land digital acquisition and relocation software includes: a database, a data processing module, an API interface management module, a thread pool, a GIS geographic information model, a DTM digital terrain model, a land use distribution model and a population model.

[0016] Data processing module: captures and stores geographic, topographic, land use distribution and population data in the database in real time, and compares the data format and data structure of the captured data with the original data in the database; based on the data differences obtained by the difference comparison, designs a data conversion module to convert the data stored in the database in real time into the target data format and data structure;

[0017] API interface management module: used to specify the integration method and interface specifications of the middle platform and other systems;

[0018] GIS geographic information model: used to obtain and integrate geographic, topographic, land use distribution and population data, and combine topographic, land use distribution and population data with geographic data to display the corresponding topographic, land use distribution and population information in the geographic area;

[0019] DTM digital terrain model: used to simulate and display the height and shape changes of the ground based on geographical and terrain data, and to visualize the terrain in three dimensions;

[0020] Land use distribution model: used to classify and predict the distribution of different types of land use based on the land use distribution data in the database;

[0021] Population model: used to simulate and predict population distribution and changes based on population data in the database.

[0022] As a further solution of the present invention: the GIS geographic information model processes the tasks of the land management module and the resident management module;

[0023] The DTM digital terrain model handles the tasks of the land management module;

[0024] The land use distribution model handles the tasks of the land division module and the land acquisition and resettlement management module;

[0025] The population model handles the tasks of the resident management module and the resettlement management module.

[0026] As a further solution of the present invention: processing the tasks of each module in the modular architecture of the digital land acquisition and relocation software through the model established in the platform of the digital land acquisition and relocation software, and returning the processing results to the corresponding module, including the following steps:

[0027] The main thread pool is deployed on the edge server, and the auxiliary thread pool is deployed on the cloud server. The main thread pool sends the corresponding task request to the auxiliary thread pool. The function of the auxiliary thread pool to execute the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server.

[0028] As a further solution of the present invention: deploying a main thread pool on the edge server and deploying an auxiliary thread pool on the cloud server, the main thread pool sends the corresponding task request to the auxiliary thread pool, the function of the auxiliary thread pool executing the task calls the corresponding model for processing according to the specific requirements of the task object, and returns the processing result of the model to the corresponding module of the edge server, including the following steps:

[0029] Determine the size of the main thread pool based on the hardware resources and performance requirements of the edge server, and set the minimum and maximum number of threads in the main thread pool based on the size of the main thread pool;

[0030] Create a thread pool object through the thread pool library function provided by the programming language or framework;

[0031] Create task queues in the main thread pool and auxiliary thread pool to store pending tasks. When the module issues a request, encapsulate the main thread pool request into a task object and put it into the task queue.

[0032] The task request in the task queue of the main thread pool is sent to the cloud server. The task queue of the auxiliary thread pool receives the task request and encapsulates the task request into a task object. The task queue of the auxiliary thread pool submits the task object to the auxiliary thread pool in turn.

[0033] The function of the auxiliary thread pool executing the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server.

[0034] As a further solution of the present invention: according to the hardware resources and performance requirements of the edge server, the size of the main thread pool is determined and calculated by the following formula:

[0035]

[0036] Among them, N t The number of threads in the main thread pool, N cpu is the number of CPUs; U cpu is the utilization of the target CPU, 0≤U cpu ≤1; is the ratio of waiting time W to computing time C.

[0037] As a further solution of the present invention: according to the size of the main thread pool, the minimum number of threads and the maximum number of threads of the main thread pool are set, including the following steps:

[0038] According to formula (1), when the target CPU utilization U cpu When the value is 50%, the number of threads in the main thread pool is N t The value is the minimum number of threads in the main thread pool; when the utilization rate of the target CPU is U cpu When the value is 90%, the number of threads in the main thread pool is N t The value is the maximum number of threads in the main thread pool.

[0039] A device for generating digital land acquisition and relocation software, comprising:

[0040] Demand analysis module: used to collect and extract the requirements of digital land acquisition and relocation software. By analyzing the requirements of digital land acquisition and relocation software, the software requirements are divided into different types;

[0041] Data collection module: used to collect data on digital land acquisition and relocation, including geography, topography, land use distribution and population data, integrate the collected data with the needs of digital land acquisition and relocation software, store it on the edge server, and back up the collected data on digital land acquisition and relocation to the database of the cloud server;

[0042] Architecture design module: used to analyze the demand type and data of digital land acquisition and relocation software stored in the edge server, and design the overall architecture of digital land acquisition and relocation software according to the analysis results of the demand of digital land acquisition and relocation software;

[0043] Land digital acquisition and relocation software middle platform: used to process the tasks of each module in the modular architecture of land digital acquisition and relocation software through the established model, and return the processing results to the corresponding module.

[0044] An electronic device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for generating digital land acquisition and relocation software as described in the above scheme is implemented.

[0045] Beneficial effects of the present invention:

[0046] The present invention establishes a land digital relocation software middle platform through a cloud server, and the model established in the land digital relocation software middle platform processes the tasks of each module in the modular architecture of the land digital relocation software through the model established in the land digital relocation software middle platform, and returns the processing results to the corresponding module; tasks such as data analysis and prediction can be concentrated in the middle platform, so that each module can share and reuse the model. In this way, it can avoid the work of each module repeating the development of the model, and improve the development efficiency and model utilization. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The present invention will be further described below in conjunction with the accompanying drawings.

[0048] Figure 1 It is a schematic flow chart of the method of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] See also Figure 1 As shown, the present invention is a method, device and electronic device for generating digital land acquisition and relocation software, comprising the following steps:

[0051] Collect and extract the needs of digital land acquisition and relocation software, and divide the software needs into different types by analyzing the needs of digital land acquisition and relocation software;

[0052] Establish a data collection module for the digital land acquisition and relocation software to collect data on digital land acquisition and relocation, including geographic, topographic, land use distribution and population data, integrate the collected data with the needs of the digital land acquisition and relocation software, store it on the edge server, and back up the collected data on digital land acquisition and relocation to the database of the cloud server;

[0053] Analyze the demand types and data of digital land acquisition and relocation software stored in the edge server. According to the analysis results of the demand for digital land acquisition and relocation software, design the overall architecture of the digital land acquisition and relocation software. The overall architecture of the digital land acquisition and relocation software adopts a modular architecture, and deploys each module in the modular architecture in the edge server.

[0054] A land digital acquisition and relocation software middle platform is established on the cloud server. The model established in the land digital acquisition and relocation software middle platform is used to process the tasks of each module in the modular architecture of the land digital acquisition and relocation software, and return the processing results to the corresponding module.

[0055] Specifically, by establishing a data collection module for digital land acquisition and relocation software, data on digital land acquisition and relocation, including geography, topography, land use distribution and population data, is collected and integrated with the needs of the digital land acquisition and relocation software, and stored on the edge server, the speed of edge server data call can be accelerated. At the same time, the collected data on digital land acquisition and relocation is backed up to the database of the cloud server, so that the cloud server can perform task processing at the same time, thereby speeding up the system's task processing speed.

[0056] The overall architecture of the digital land acquisition and relocation software is designed based on the analysis results of the land digital acquisition and relocation software requirements. The overall architecture of the digital land acquisition and relocation software adopts a modular architecture, and each module in the modular architecture is deployed in the edge server. Deploying the model on the edge server can avoid transmitting all data to the cloud for processing, thereby reducing processing delays. Data can be processed on the edge server, greatly improving real-time performance and response speed.

[0057] The digital land acquisition and relocation software platform is established through the cloud server. The model established in the digital land acquisition and relocation software platform is used to process the tasks of each module in the modular architecture of the digital land acquisition and relocation software, and the processing results are returned to the corresponding module; tasks such as data analysis and prediction can be concentrated in the platform, so that each module can share and reuse the model. This can avoid the work of duplicating model development in each module, improve development efficiency and model utilization. At the same time, since the model has high requirements for computing power, deploying the model on the cloud server can effectively save the computing power of the edge server.

[0058] Through the land digital relocation software platform, the software is split into multiple independent modules, each of which is responsible for a specific task. This can improve the maintainability and scalability of the software. When adding or modifying functions, only specific modules need to be developed or adjusted without affecting the normal operation of other modules.

[0059] The digital land acquisition and relocation software platform provides a unified data and service interface. Each module can interact and collaborate with the platform, which can achieve efficient communication and collaborative work between modules and avoid data silos and functional duplication. At the same time, by establishing a platform on the cloud server, elastic scaling can be automatically achieved according to demand. When the task volume is large, server resources can be increased to provide higher computing and storage capabilities to cope with peak demand. During off-peak periods, resources can be automatically released to reduce costs and improve resource utilization efficiency.

[0060] In one embodiment of the present invention, the different types of software requirements are resident management requirements, land division requirements, land management requirements and expropriation and relocation management requirements; the modular architecture adopted by the digital land expropriation and relocation software includes: resident management module, land division module, land management module and expropriation and relocation management module;

[0061] Among them, a resident management module is set according to the analysis results of resident management needs, a land division module is set according to the analysis results of land division needs, a land management module is set according to the analysis results of land management needs, and a resettlement management module is set according to the analysis results of resettlement management needs.

[0062] Specifically, different processing modules are set up based on the analysis results of resident management needs, land division needs, land management needs and relocation management needs. Different types of needs can be classified and the software can be split into multiple independent modules. Each module is responsible for a specific task, so that the generated software can better handle different types of tasks.

[0063] In one embodiment of the present invention, the middle platform of the land digital relocation software includes: a database, a data processing module, an API interface management module, a thread pool, a GIS geographic information model, a DTM digital terrain model, a land use distribution model and a population model.

[0064] Data processing module: captures and stores geographic, topographic, land use distribution and population data in the database in real time, and compares the data format and data structure of the captured data with the original data in the database; based on the data differences obtained by the difference comparison, designs a data conversion module to convert the data stored in the database in real time into the target data format and data structure;

[0065] API interface management module: used to specify the integration method and interface specifications of the middle platform and other systems;

[0066] GIS geographic information model: used to obtain and integrate geographic, topographic, land use distribution and population data, and combine topographic, land use distribution and population data with geographic data to display the corresponding topographic, land use distribution and population information in the geographic area;

[0067] DTM digital terrain model: used to simulate and display the height and shape changes of the ground according to geographical and terrain data, and to visualize the terrain in three dimensions. With these terrain data, three-dimensional visualization and profile analysis of the terrain can be performed, helping planners to fully understand the terrain characteristics and consider terrain factors in land planning.

[0068] Land use distribution model: used to classify and predict the distribution of different types of land use based on the land use distribution data in the database;

[0069] Population model: It is used to simulate and predict the distribution and changes of population based on the population data in the database. This can be achieved through census data, statistical data, population migration data, etc. The population model simulates the changing trends of population in different regions by analyzing the population size, age structure, occupational distribution, and migration trend data factors in the population data; through the population model, reasonable population forecasts can be provided for land planning, thereby scientifically evaluating the demand for land.

[0070] In one embodiment of the present invention, the GIS geographic information model handles the tasks of the land management module and the resident management module;

[0071] The DTM digital terrain model handles the tasks of the land management module;

[0072] The land use distribution model handles the tasks of the land division module and the land acquisition and resettlement management module;

[0073] The population model handles the tasks of the resident management module and the resettlement management module.

[0074] Specifically, the GIS geographic information model is used to process the tasks of the land management module and the resident management module; the DTM digital terrain model is used to process the tasks of the land management module; the land use distribution model is used to process the tasks of the land division module and the expropriation and relocation management module; the population model is used to process the tasks of the resident management module and the expropriation and relocation management module. The model established in the land digital expropriation and relocation software center processes the tasks of each module in the modular architecture of the land digital expropriation and relocation software, and returns the processing results to the corresponding module; tasks such as data analysis and prediction can be concentrated in the center, so that each module can share and reuse the model. This can avoid the work of repeated model development in each module and improve development efficiency and model utilization.

[0075] In one embodiment of the present invention, the model established in the land digital relocation software processes the tasks of each module in the modular architecture of the land digital relocation software, and returns the processing results to the corresponding module, including the following steps:

[0076] The main thread pool is deployed on the edge server, and the auxiliary thread pool is deployed on the cloud server. The main thread pool sends the corresponding task request to the auxiliary thread pool. The function of the auxiliary thread pool to execute the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server.

[0077] Specifically, by deploying the main thread pool on the edge server and the auxiliary thread pool on the cloud server, the main thread pool sends the corresponding task request to the auxiliary thread pool, and the function of the auxiliary thread pool to execute the task calls the corresponding model for processing according to the specific needs of the task object; by using the distributed architecture of the main thread pool and the auxiliary thread pool, the number of threads and server deployment can be dynamically adjusted according to demand. When higher processing power is required during peak hours, the number of servers in the auxiliary thread pool can be increased to improve parallel processing capabilities. During off-peak hours or when the amount of tasks decreases, the number of servers can be reduced to reduce costs and resource waste.

[0078] In one embodiment of the present invention, a main thread pool is deployed on an edge server, and an auxiliary thread pool is deployed on a cloud server. The main thread pool sends a corresponding task request to the auxiliary thread pool. The function of the auxiliary thread pool executing the task calls the corresponding model for processing according to the specific requirements of the task object, and returns the processing result of the model to the corresponding module of the edge server, including the following steps:

[0079] Determine the thread pool size: Determine the size of the main thread pool based on the hardware resources and performance requirements of the edge server. Set the minimum and maximum number of threads in the main thread pool based on the size of the main thread pool. The size of the main thread pool should be able to meet the needs of concurrently processing multiple modules.

[0080] Create a thread pool object through the thread pool library function provided by the programming language or framework.

[0081] Create task queues in the main thread pool and auxiliary thread pool to store pending tasks. When the module issues a request, encapsulate the main thread pool request into a task object and put it into the task queue.

[0082] The task request in the task queue of the main thread pool is sent to the cloud server. The task queue of the auxiliary thread pool receives the task request and encapsulates the task request into a task object. The task queue of the auxiliary thread pool submits the task object to the auxiliary thread pool in turn.

[0083] The function of the auxiliary thread pool executing the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server.

[0084] In one embodiment of the present invention, the size of the main thread pool is determined according to the hardware resources and performance requirements of the edge server and is calculated by the following formula:

[0085]

[0086] Among them, N t The number of threads in the main thread pool, N cpu is the number of CPUs; U cpu is the utilization of the target CPU, 0≤U cpu ≤1; is the ratio of waiting time W to computing time C.

[0087] Specifically, during the execution of tasks by the main thread pool, the blocking time of the main thread pool is calculated as the ratio of the waiting time W and the computing time C, and the ratio of the waiting time W to the computing time C is set to 2 through testing.

[0088] In one embodiment of the present invention, according to the size of the main thread pool, setting the minimum number of threads and the maximum number of threads of the main thread pool includes the following steps:

[0089] According to formula (1), when the target CPU utilization U cpu When the value is 50%, the number of threads in the main thread pool is N t The value is the minimum number of threads in the main thread pool; when the utilization rate of the target CPU is U cpu When the value is 90%, the number of threads in the main thread pool is N t The value is the maximum number of threads in the main thread pool.

[0090] Based on the above embodiments, the present invention provides a device for generating digital land acquisition and relocation software, comprising:

[0091] Demand analysis module: used to collect and extract the requirements of digital land acquisition and relocation software. By analyzing the requirements of digital land acquisition and relocation software, the software requirements are divided into different types;

[0092] Data collection module: used to collect data on digital land acquisition and relocation, including geography, topography, land use distribution and population data, integrate the collected data with the needs of digital land acquisition and relocation software, store it on the edge server, and back up the collected data on digital land acquisition and relocation to the database of the cloud server;

[0093] Architecture design module: used to analyze the demand type and data of digital land acquisition and relocation software stored in the edge server, and design the overall architecture of digital land acquisition and relocation software according to the analysis results of the demand of digital land acquisition and relocation software;

[0094] Land digital acquisition and relocation software middle platform: used to process the tasks of each module in the modular architecture of land digital acquisition and relocation software through the established model, and return the processing results to the corresponding module.

[0095] Based on the above embodiments, the present invention provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the method for generating digital land acquisition and relocation software as described in the above embodiments.

[0096] In the description of the present invention, it should be understood that the terms "upper", "lower", "left", "right", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, and a specific direction structure and operation, and therefore, cannot be understood as a limitation on the present invention. In addition, "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0097] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0098] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A method for generating digital land acquisition and relocation software, characterized in that: The following steps are involved: Collect and extract the requirements of digital relocation software, and classify the software requirements into different types by analyzing the requirements of digital relocation software; Establish a data collection module for the digital relocation software to collect data on digital relocation, including geographic, topographic, land use distribution and population data, integrate the collected data with the needs of the digital relocation software, store it on the edge server, and back up the collected digital relocation data to the database of the cloud server; Analyze the demand types and data of digital migration software stored in the edge server, and design the overall architecture of the digital migration software according to the analysis results of the digital migration software demand. The overall architecture of the digital migration software adopts a modular architecture, and deploys each module in the modular architecture in the edge server; Establish a digital relocation software platform on the cloud server, and use the model established in the digital relocation software platform to process the tasks of each module in the modular architecture of the digital relocation software, and return the processing results to the corresponding module; The model established in the digital relocation software processes the tasks of each module in the modular architecture of the digital relocation software, and returns the processing results to the corresponding module, including the following steps: The main thread pool is deployed on the edge server, and the auxiliary thread pool is deployed on the cloud server. The main thread pool sends the corresponding task request to the auxiliary thread pool. The function of the auxiliary thread pool to execute the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server; The main thread pool is deployed on the edge server, and the auxiliary thread pool is deployed on the cloud server. The main thread pool sends the corresponding task request to the auxiliary thread pool. The function of the auxiliary thread pool to execute the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server, including the following steps: Determine the size of the main thread pool based on the hardware resources and performance requirements of the edge server, and set the minimum and maximum number of threads in the main thread pool based on the size of the main thread pool; Create a thread pool object through the thread pool library function provided by the programming language or framework; Create task queues in the main thread pool and auxiliary thread pool to store pending tasks. When the module issues a request, encapsulate the main thread pool request into a task object and put it into the task queue. The task request in the task queue of the main thread pool is sent to the cloud server. The task queue of the auxiliary thread pool receives the task request and encapsulates the task request into a task object. The task queue of the auxiliary thread pool submits the task object to the auxiliary thread pool in turn. The function of the auxiliary thread pool executing the task calls the corresponding model for processing according to the specific needs of the task object, and returns the processing result of the model to the corresponding module of the edge server; Determine the size of the main thread pool based on the hardware resources and performance requirements of the edge server and calculate it using the following formula: Among them, N t The number of threads in the main thread pool, N cpu is the number of CPUs; U cpu is the utilization of the target CPU, 0≤U cpu ≤1; is the ratio of waiting time W to computing time C; According to the size of the main thread pool, set the minimum and maximum number of threads in the main thread pool, including the following steps: According to formula (1), when the target CPU utilization U cpu When the value is 50%, the number of threads in the main thread pool is N t The value is the minimum number of threads in the main thread pool; when the utilization rate of the target CPU is U cpu When the value is 90%, the number of threads in the main thread pool is N t The value is the maximum number of threads in the main thread pool.

2. The method for generating digital land acquisition and relocation software according to claim 1, characterized in that: The different types of software requirements are resident management requirements, land division requirements, land management requirements, and relocation management requirements; The modular architecture adopted by the digital migration software includes: resident management module, land division module, land management module and expropriation and relocation management module; Among them, a resident management module is set according to the analysis results of resident management needs, a land division module is set according to the analysis results of land division needs, a land management module is set according to the analysis results of land management needs, and a resettlement management module is set according to the analysis results of resettlement management needs.

3. The method for generating digital land acquisition and relocation software according to claim 1, characterized in that: The middle platform of the digital relocation software includes: database, data processing module, API interface management module, thread pool, GIS geographic information model, DTM digital terrain model, land use distribution model and population model. Data processing module: captures and stores geographic, topographic, land use distribution and population data in the database in real time, and compares the data format and data structure of the captured data with the original data in the database; based on the data differences obtained by the difference comparison, designs a data conversion module to convert the data stored in the database in real time into the target data format and data structure; API interface management module: used to specify the integration method and interface specifications of the middle platform and other systems; GIS geographic information model: used to obtain and integrate geographic, topographic, land use distribution and population data, and combine topographic, land use distribution and population data with geographic data to display the corresponding topographic, land use distribution and population information in the geographic area; DTM digital terrain model: used to simulate and display the height and shape changes of the ground based on geographical and terrain data, and to visualize the terrain in three dimensions; Land use distribution model: used to classify and predict the distribution of different types of land use based on the land use distribution data in the database; Population model: used to simulate and predict population distribution and changes based on population data in the database.

4. The method for generating digital land acquisition and relocation software according to claim 3 is characterized in that: The GIS geographic information model handles the tasks of the land management module and the resident management module; The DTM digital terrain model handles the tasks of the land management module; The land use distribution model handles the tasks of the land division module and the land acquisition and resettlement management module; The population model handles the tasks of the resident management module and the resettlement management module.

5. A device for generating digital land acquisition and relocation software according to the method for generating digital land acquisition and relocation software as claimed in any one of claims 1 to 4, characterized in that: include: Demand analysis module: used to collect and extract the requirements of digital relocation software, and divide the software requirements into different types by analyzing the requirements of digital relocation software; Data collection module: used to collect digital relocation data, including geography, topography, land use distribution and population data, integrate the collected data with the needs of the digital relocation software, store it on the edge server, and back up the collected digital relocation data to the database of the cloud server; Architecture design module: used to analyze the demand type and digital relocation data of the digital relocation software stored in the edge server, and design the overall architecture of the digital relocation software based on the analysis results of the digital relocation software requirements; Digital Land Resettlement Software Middle Platform: It is used to process the tasks of each module in the modular architecture of the digital land acquisition and relocation software through the established model, and return the processing results to the corresponding module.

6. An electronic device, characterized in that: The device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the method for generating land digital acquisition and relocation software as described in any one of claims 1-4.

Citation Information

Patent Citations

  • House and land characterization and migration integrated system based on consensus method

    CN114186962A

  • Road sign and migration management system and method based on BIM + GIS and storage medium

    CN115239281A