Remote sensing algorithm workflow organization method and device, electronic equipment and storage medium

By receiving parameters to be processed, determining candidate servers, performing algorithm dependency analysis and cost evaluation, and generating workflow description files, the problem of low execution efficiency of remote sensing algorithms is solved and efficient and accurate remote sensing data processing is achieved.

CN118535166APending Publication Date: 2024-08-23AEROSPACE INFORMATION RES INST CAS
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410633899.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The execution efficiency of current remote sensing algorithms is low, mainly due to inefficiency caused by complex multiple steps and dependencies.

Method used

By receiving parameters to be processed, including remote sensing algorithm selection information, data description information and execution environment requirement information, candidate servers are determined from the optional server pool, algorithm dependency analysis is performed, execution order is adjusted, and targets are selected based on cost evaluation. On the server side, a workflow description file is generated to improve algorithm execution efficiency.

Benefits of technology

It improves the execution efficiency of remote sensing algorithms, ensures efficient and accurate data processing, and is suitable for multiple remote sensing data processing fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535166A
    Figure CN118535166A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and provides a remote sensing algorithm workflow organization method and device, electronic equipment and a storage medium, and the method comprises the steps: receiving a to-be-processed parameter; the to-be-processed parameters comprise selection information of a remote sensing algorithm, data description information and requirement information of an execution environment; determining at least one candidate server from a selectable server set according to selection information of a remote sensing algorithm in the to-be-processed parameters, data description information and requirement information of an execution environment; performing algorithm dependency analysis based on selection information of a remote sensing algorithm in the to-be-processed parameters, and determining execution information of the remote sensing algorithm based on an analysis result; determining at least one target server from candidate servers based on the execution information; and generating a workflow description file according to the to-be-processed parameters and the execution information, and sending the workflow description file to each target server. The execution efficiency of the remote sensing algorithm can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a remote sensing algorithm workflow organization method, device, electronic device and storage medium. Background Art

[0002] With the development of remote sensing technology, a large amount of remote sensing data needs to be processed by efficient and accurate algorithms. However, the execution of remote sensing algorithms involves multiple steps and dependencies, which makes the current execution of remote sensing algorithms inefficient. Summary of the invention

[0003] The embodiments of the present application provide a remote sensing algorithm workflow organization method, device, electronic device and storage medium to solve the problem of low efficiency in the current execution of remote sensing algorithms.

[0004] In a first aspect, an embodiment of the present application provides a remote sensing algorithm workflow organization method, including:

[0005] Receive parameters to be processed; the parameters to be processed include selection information of remote sensing algorithms, data description information, and requirement information of execution environment;

[0006] Determine at least one candidate server from the optional server set according to selection information of the remote sensing algorithm, data description information, and requirement information of the execution environment in the parameters to be processed;

[0007] Performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis results;

[0008] Based on the execution information, determining at least one target server from each candidate server;

[0009] A workflow description file is generated according to the parameters to be processed and the execution information, and the workflow description file is sent to each target server.

[0010] In one embodiment, performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed and determining execution information of the remote sensing algorithm based on the analysis result includes:

[0011] Determining the execution order of the remote sensing algorithms according to the selection information of the remote sensing algorithms in the parameters to be processed;

[0012] Performing data dependency analysis between algorithms based on selection information of the remote sensing algorithm in the parameters to be processed to obtain analysis results;

[0013] The execution order is adjusted based on the analysis result to obtain execution information of the remote sensing algorithm.

[0014] In one embodiment, determining at least one target server from each candidate server based on the execution information includes:

[0015] Obtain the load information and network information of each candidate server respectively;

[0016] Based on the load information and network information of each candidate server, respectively, combined with the execution information, an execution cost evaluation is performed to obtain a cost evaluation value of the corresponding candidate server;

[0017] Based on each cost evaluation value, at least one target server is determined from each candidate server.

[0018] In one embodiment, the step of determining at least one target server from each candidate server based on each cost evaluation value includes:

[0019] Sort the cost assessment values;

[0020] Among the candidate servers, the candidate server whose cost evaluation value is within a preset range is determined as the target server.

[0021] In one embodiment, determining at least one candidate server from the optional server set according to the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameters to be processed includes:

[0022] Verifying the parameters to be processed to obtain verification results;

[0023] If the verification result is that the parameter to be processed passes the verification, at least one candidate server is determined from the optional server set according to the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameter to be processed.

[0024] In one embodiment, the verifying the parameters to be processed to obtain the verification results includes:

[0025] Performing data type verification, data range verification and algorithm availability verification on the parameters to be processed respectively;

[0026] If the parameter to be processed passes the data type verification, data range verification and algorithm availability verification, it is determined that the parameter to be processed passes the verification.

[0027] In one embodiment, the workflow description file includes the execution path of the remote sensing algorithm, the format and location of input and output data, required resources, and the execution information.

[0028] In a second aspect, an embodiment of the present application provides a remote sensing algorithm workflow organization device, including:

[0029] A receiving module, used for receiving parameters to be processed; the parameters to be processed include selection information of remote sensing algorithms, data description information and requirement information of execution environment;

[0030] A first determination module is used to determine at least one candidate server from the optional server set according to selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameters to be processed;

[0031] An analysis module, used for performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis results;

[0032] A second determination module, configured to determine at least one target server from the candidate servers based on the execution information;

[0033] A generation module is used to generate a workflow description file according to the parameters to be processed and the execution information, and send the workflow description file to each target server.

[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the remote sensing algorithm workflow organization method described in the first aspect is implemented.

[0035] In a fourth aspect, an embodiment of the present application provides a storage medium, which is a computer-readable storage medium and includes a computer program. When the computer program is executed by a processor, the remote sensing algorithm workflow organization method described in the first aspect is implemented.

[0036] The remote sensing algorithm workflow organization method, device, electronic device and storage medium provided in the embodiments of the present application, after receiving the parameters to be processed including the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment, centrally determine at least one candidate server from the optional server ends through the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameters to be processed; at the same time, perform algorithm dependency analysis through the selection information of the remote sensing algorithm in the parameters to be processed, and determine the execution information of the remote sensing algorithm based on the analysis results; thereby, at least one target server can be determined from each candidate server end based on the execution information, and then a workflow description file can be generated according to the parameters to be processed and the execution information, and the workflow description file can be sent to each target server end, so that the target server end can efficiently and accurately execute the corresponding remote sensing algorithm, thereby improving the execution efficiency of the remote sensing algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 It is a flowchart of a remote sensing algorithm workflow organization method provided in an embodiment of the present application;

[0039] Figure 2 It is a functional module diagram of an embodiment of a remote sensing algorithm workflow organization device of the present application;

[0040] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of mutual contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of this application.

[0042] The remote sensing algorithm workflow organization method, device, electronic device and storage medium provided by the present application are described in detail below in conjunction with the embodiments.

[0043] Figure 1 A flowchart of a remote sensing algorithm workflow organization method provided in an embodiment of the present application. Figure 1 , the embodiment of the present application provides a remote sensing algorithm workflow organization method, the method may include:

[0044] Step 100, receiving parameters to be processed;

[0045] It should be noted that the executor of the remote sensing algorithm workflow organization method provided in the embodiment of the present application can be a server, a computer device, such as a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc.

[0046] Furthermore, the execution subject of the present application may be provided with a software system or remote sensing data processing platform based on DataHub, which may include or be connected to a remote sensing algorithm workflow organization device, and then the remote sensing algorithm workflow organization method of the present application may be completed by controlling the remote sensing algorithm workflow organization device. Among them, DataHub is a data integration platform.

[0047] The remote sensing algorithm workflow organization method in this application can be applied to multiple fields such as remote sensing data processing, environmental monitoring, urban planning, etc., to provide users with efficient and accurate remote sensing data processing services.

[0048] In this application, the user can input parameters as the parameters to be processed through the remote sensing data processing platform or software system. The specific parameters that can be input include but are not limited to the selection information of the remote sensing algorithm, the data description information and the required information of the execution environment.

[0049] The selection information of the remote sensing algorithm is the remote sensing algorithm or model to be used specified by the user, such as image classification, target detection and change detection.

[0050] Data description information may include but is not limited to the following information:

[0051] Data type: describes the type of input data, such as remote sensing images, geographic information data, sensor data, etc.

[0052] Data Format: Specifies the format of the input data.

[0053] Data source: describes the source of input data, which may be a local file path, network address, database, etc.

[0054] Data size: Indicate the size of the input data in order to estimate the resources required for algorithm execution.

[0055] Data preprocessing requirements: Describes whether the input data needs to be preprocessed, such as data format conversion, coordinate system conversion, cropping, denoising, etc.

[0056] Data quality requirements: Describe the quality requirements for input data, such as precision, resolution, accuracy, etc.

[0057] Data time range: If the input data is time series data, specify the time range of the data so that the algorithm can process it correctly.

[0058] Data spatial extent: describes the spatial extent of the input data, that is, the geographical area covered by the data.

[0059] Requirements for the execution environment may include:

[0060] Hardware requirements: Specifies the hardware resources required for algorithm execution, such as central processing unit (CPU), graphics processing unit (GPU), memory, etc.

[0061] Software requirements: Specify the software environment required for algorithm execution, such as operating system, dependent libraries, versions, etc.

[0062] Parallel processing requirements: If the algorithm supports parallel processing, the user may need to specify the parallel processing configuration.

[0063] Therefore, when the user inputs the parameters to be processed, the present application can receive the parameters to be processed input by the user.

[0064] Step 200, determining at least one candidate server from the optional server set according to selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameters to be processed;

[0065] The software system or remote sensing data processing platform of the present application can be communicatively connected with multiple servers.

[0066] Therefore, after obtaining the parameters to be processed, the present application can determine the location of the remote sensing algorithm, the location of the data, and the resources required for the execution of the algorithm based on the selection information of the remote sensing algorithm, the data description information, and the requirement information of the execution environment in the parameters to be processed, and then determine the possible execution end as a candidate server from the set of optional servers consisting of all connected servers based on the location of the remote sensing algorithm, the location of the data, and the resources required for the execution of the algorithm.

[0067] Step 300, performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis result;

[0068] The present application may also first determine the execution order of each remote sensing algorithm selected by the user, and optimize the execution order according to the algorithm dependency relationship between the remote sensing algorithms to obtain the execution information of the remote sensing algorithms.

[0069] Step 400, determining at least one target server from each candidate server based on the execution information;

[0070] Therefore, the present application can further evaluate the cost of each candidate server when executing the remote sensing algorithm according to the above execution information, and determine at least one server from each candidate server as the target server based on the evaluated cost.

[0071] Step 500: Generate a workflow description file according to the parameters to be processed and the execution information, and send the workflow description file to each target server.

[0072] The present application can also generate a workflow description file based on the parameters to be processed and the execution information, and send the workflow description file to each target server.

[0073] The workflow description file includes the execution path of the remote sensing algorithm, the format and location of the input and output data, the required resources, and the execution information.

[0074] On the target server, the execution environment is configured according to the workflow description file, the execution of the algorithm is started, and after the algorithm execution is completed, the execution result is received from the target server.

[0075] The remote sensing algorithm workflow organization method provided in the embodiment of the present application, after receiving the parameters to be processed including the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment, determines at least one candidate server from the optional server ends through the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameters to be processed; at the same time, performs an algorithm dependency analysis through the selection information of the remote sensing algorithm in the parameters to be processed, and determines the execution information of the remote sensing algorithm based on the analysis results; thereby, at least one target server can be determined from each candidate server end based on the execution information, and then a workflow description file can be generated according to the parameters to be processed and the execution information, and the workflow description file can be sent to each target server end, so that the target server end can efficiently and accurately execute the corresponding remote sensing algorithm, thereby improving the execution efficiency of the remote sensing algorithm.

[0076] In one embodiment, at least one candidate server is determined from the optional server set according to the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameters to be processed, including:

[0077] Step 201, verify the parameters to be processed and obtain verification results;

[0078] Step 202: If the verification result is that the parameter to be processed passes the verification, then at least one candidate server is determined from the optional server set according to the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameter to be processed.

[0079] The present application can respectively perform data type verification, data range verification and algorithm availability verification on the parameters to be processed, thereby obtaining corresponding results.

[0080] Furthermore, if it is determined based on the results of each verification that the parameter to be processed passes the verification, at least one candidate server is determined from the optional server set according to selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameter to be processed.

[0081] Specifically, the location of the remote sensing algorithm can be determined based on the selection information of the remote sensing algorithm in the parameters to be processed, the location of the data can be determined based on the data range verification of the remote sensing algorithm in the parameters to be processed, and further at least one candidate server can be determined from the optional server set based on the location of the remote sensing algorithm, the location of the data, and the requirement information of the execution environment of the remote sensing algorithm in the parameters to be processed.

[0082] Specifically, remote sensing algorithms may be stored in different locations, including local servers, cloud servers, or distributed storage systems.

[0083] Remote sensing data may be stored in different locations, including local servers, cloud servers, distributed storage systems, or other data storage devices.

[0084] Consider the resources required for algorithm execution, including computing resources (CPU, GPU), storage resources (memory, hard disk), network bandwidth, etc.

[0085] Therefore, the location of the remote sensing algorithm, the location of the data, and the required information of the execution environment of the remote sensing algorithm in the parameters to be processed can be comprehensively considered to determine a corresponding number of server ends from various optional server ends as candidate server ends.

[0086] Furthermore, when determining the candidate servers, the performance, security and geographical location of each server can be analyzed, and the server with better performance, better security and suitable geographical location can be selected as the candidate server. The selection of geographical location can reduce the delay of data transmission and improve the efficiency of algorithm execution.

[0087] Furthermore, when determining the candidate server, the current load and network connectivity of the candidate server may also be considered to ensure that the remote sensing algorithm can be executed in the optimal environment.

[0088] Further, the parameters to be processed are verified to obtain verification results, including:

[0089] Step 211, respectively performing data type verification, data range verification and algorithm availability verification on the parameters to be processed;

[0090] Step 2012: If the parameter to be processed passes the data type verification, data range verification, and algorithm availability verification, it is determined that the parameter to be processed passes the verification.

[0091] This application can traverse each parameter in the parameters to be processed. For each parameter, check whether its data type meets expectations. Specifically, you can use the type checking function or method provided by the programming language, or write a custom checking logic. If the data type of the parameter does not meet expectations, you can return an error message and get the result that the parameter to be processed has not passed the data type verification.

[0092] In addition, each numeric parameter in the parameters to be processed can be traversed. For each numeric parameter, check whether its value is within a reasonable range. You can use the comparison operators or range check functions provided by the programming language, or write a custom range validation logic. If the value of the parameter exceeds the reasonable range, an error message can be returned, and the result that the parameter to be processed has not passed the data range validation can be obtained.

[0093] Furthermore, it is possible to check whether the algorithm specified in the parameters to be processed is available. For example, it is possible to check whether the algorithm exists, whether it has been correctly installed, whether it meets the requirements of the execution environment, etc. If the algorithm is not available or does not meet the requirements, an error message can be returned, indicating that the parameters to be processed have not passed the algorithm availability verification.

[0094] Further, after obtaining the results of each verification, if it is determined that the parameter to be processed passes the data type verification, the data range verification, and the algorithm availability verification at the same time, it is determined that the parameter to be processed passes the verification.

[0095] After receiving the parameters to be processed including selection information of the remote sensing algorithm, data description information and requirement information of the execution environment, the present application determines at least one candidate server from the optional server ends through the selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameters to be processed; after performing algorithm dependency analysis through the selection information of the remote sensing algorithm in the parameters to be processed and determining the execution information of the remote sensing algorithm based on the analysis results, at least one target server can be determined from each candidate server end based on the execution information; and then a workflow description file can be generated according to the parameters to be processed and the execution information, and the workflow description file can be sent to each target server end, so that the target server end can efficiently and accurately execute the corresponding remote sensing algorithm, thereby improving the execution efficiency of the remote sensing algorithm.

[0096] In one embodiment, performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed and determining execution information of the remote sensing algorithm based on the analysis result includes:

[0097] Step 301, determining the execution order of the remote sensing algorithm according to the selection information of the remote sensing algorithm in the parameters to be processed;

[0098] Step 302, analyzing the data dependency relationship between algorithms based on the selection information of the remote sensing algorithm in the parameters to be processed, and obtaining analysis results;

[0099] Step 303, adjusting the execution order based on the analysis result to obtain the execution information of the remote sensing algorithm.

[0100] This application can determine the initial execution order of each remote sensing algorithm based on the selection information of the remote sensing algorithm in the parameters to be processed. The initial execution order needs to ensure that each remote sensing algorithm is executed in a correct logical order.

[0101] Furthermore, since some algorithms may depend on the results of other algorithms, if there is a dependency, the algorithm that is dependent must be executed first, and then the algorithm that depends on its result is executed. Therefore, the present application can analyze the data dependency relationship between the selected remote sensing algorithms according to the selection information of the remote sensing algorithm in the parameters to be processed, thereby obtaining the analysis results.

[0102] Furthermore, the initial execution order of each remote sensing algorithm can be adjusted and the degree of parallelism can be optimized according to the analysis results, thereby obtaining the execution information of the remote sensing algorithm, wherein the execution information is the execution order information of each remote sensing algorithm.

[0103] After receiving the parameters to be processed including selection information of the remote sensing algorithm, data description information and requirement information of the execution environment, the present application determines at least one candidate server from the optional server sets through the selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameters to be processed; therefore, an algorithm dependency analysis is performed through the selection information of the remote sensing algorithm in the parameters to be processed, and the execution information of the remote sensing algorithm is determined based on the analysis results, so that at least one target server can be determined from each candidate server based on the execution information, and then a workflow description file can be generated according to the parameters to be processed and the execution information, and the workflow description file is sent to each target server, so that the target server efficiently and accurately executes the corresponding remote sensing algorithm, thereby improving the execution efficiency of the remote sensing algorithm.

[0104] In one embodiment, based on the execution information, determining at least one target server from each candidate server includes:

[0105] Step 401, respectively obtain the load information and network information of each candidate server;

[0106] Step 402, based on the load information and network information of each candidate server, respectively, combined with the execution information, an execution cost evaluation is performed to obtain a cost evaluation value of the corresponding candidate server;

[0107] Step 403: Determine at least one target server from the candidate servers based on the cost evaluation values.

[0108] The present application may collect load information (specifically, current load information) and network information (specifically, network connectivity information) of each candidate server.

[0109] Furthermore, for each candidate server, the cost of running the remote sensing algorithm according to the above execution information on the candidate server can be evaluated based on its current load information and network connectivity information, where the cost may include but is not limited to execution time, resource consumption, network cost, etc. The time, resource consumption, network cost, etc. can be converted into specific normalized values ​​according to pre-set rules. Thus, the cost evaluation value of the candidate server is obtained.

[0110] Based on the above process, the cost evaluation values ​​of all candidate servers can be obtained.

[0111] Furthermore, at least one target server may be determined from the candidate servers based on a comparison of the cost evaluation values.

[0112] Further, based on each cost evaluation value, at least one target server is determined from each candidate server, including:

[0113] Step 4031, sorting the cost evaluation values;

[0114] Step 4032: Determine, among the candidate servers, the candidate server whose cost evaluation value is within a preset range as the target server.

[0115] In this application, the cost evaluation values ​​can be sorted from largest to smallest or from smallest to largest.

[0116] It should be noted that the present application may also pre-set the number of required servers according to actual conditions, or determine the number of required servers based on the execution of the remote sensing algorithm.

[0117] According to the sorting method and the number of required servers, a range can be pre-set. If it is in ascending order, it can be the first n digits; if it is in descending order, it can be the last n digits. n is the same as the number of required servers.

[0118] Therefore, after completing the sorting, if the sorting method is from small to high, the candidate server ends with cost evaluation values ​​in the first n positions among the candidate server ends will be determined as the target server ends; if the sorting method is from large to small, the candidate server ends with cost evaluation values ​​in the last n positions among the candidate server ends will be determined as the target server ends.

[0119] After receiving the parameters to be processed including selection information of the remote sensing algorithm, data description information and requirement information of the execution environment, the present application determines at least one candidate server from the optional server sets through the selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameters to be processed; at the same time, an algorithm dependency analysis is performed through the selection information of the remote sensing algorithm in the parameters to be processed, and the execution information of the remote sensing algorithm is determined based on the analysis results; therefore, at least one target server can be further determined from each candidate server based on the execution information, and then a workflow description file can be generated according to the parameters to be processed and the execution information, and the workflow description file can be sent to each target server, so that the target server can efficiently and accurately execute the corresponding remote sensing algorithm, thereby improving the execution efficiency of the remote sensing algorithm.

[0120] In this application, parameter acquisition and verification ensure the accuracy, rationality and reliability of input parameters; the determination of candidate execution ends takes into account the algorithm location, data location, resource requirements, and execution end performance, security and geographical location; the analysis of algorithm dependencies optimizes the algorithm execution order and parallelism; workflow generation selects the optimal execution end based on cost evaluation and generates a workflow description file; the distribution of algorithm tasks and the reception of results realize the automatic configuration and execution of tasks at the target execution end.

[0121] In one embodiment, the shoreline change algorithm can be used to process data files distributed on three hosts, where the algorithm file is located on host 1, and the data files are stored in host 2 and host 3. During the task execution process, the workflow will be organized and generated according to the performance and resource conditions of each host.

[0122] This application scenario can be applied to a system consisting of a central processor (DataHub) and three hosts (Host 1, Host 2, Host 3). The central processor is responsible for task scheduling and monitoring; Host 1 stores algorithm files and serves as a coordination node for algorithm execution; Host 2 and Host 3 respectively store data files related to coastline changes and directly participate in data processing and calculation.

[0123] Specifically, the CPU is responsible for overall task scheduling and monitoring. It formulates task execution plans, organizes and generates workflows, assigns tasks to host 1, host 2, and host 3, and collects their processing results based on algorithm requirements and data file distribution. The CPU is also responsible for monitoring task execution and making adjustments as needed.

[0124] Host 1 (S1) acts as an algorithm server, storing files of the coastline change algorithm and responsible for algorithm execution and task coordination. It receives tasks assigned by the central processor and controls hosts 2 and 3 to perform corresponding data processing subtasks through instructions.

[0125] Host 2 (S2) is used for data file storage and as a computing server. Host 2 stores some data files related to coastline changes. It directly executes data processing subtasks locally according to the instructions of Host 1 and the task allocation of the central processor. Host 2 optimizes the data processing process according to its own performance and resource conditions to ensure efficient execution of tasks.

[0126] Host 3 (S3) is used for data file storage and as a computing server. The role of host 3 is similar to that of host 2. It also stores some data files related to coastline changes and performs data processing subtasks locally according to the instructions of host 1 and the task allocation of the central processor. Host 3 also optimizes the data processing process according to its own performance and resource conditions to ensure efficient execution of tasks.

[0127] Task execution process and host communication:

[0128] Task allocation and workflow organization (DataHub, S1, S2, S3):

[0129] DataHub requests the status of each host and formulates a task execution plan based on the returned results, algorithm requirements, and data file distribution. It divides the data processing task into multiple subtasks, generates a workflow, and assigns these subtasks to S1, S2, and S3. After each host receives the task, it performs initialization operations.

[0130] Algorithm execution and data processing (S1, S2, S3):

[0131] According to the organized workflow, host 1 sends data processing instructions to host 2 and host 3. Host 2 and host 3 execute data processing subtasks locally according to the received instructions. They use their own performance and resource advantages to optimize the data processing process and ensure efficient execution of tasks.

[0132] Result aggregation and data transmission (DataHub, S2, S3):

[0133] After completing the data processing subtask, Host 2 and Host 3 return the processing results to DataHub. DataHub receives the processing results from the two data servers and summarizes and integrates them.

[0134] Result output and feedback (DataHub):

[0135] DataHub monitors and analyzes the results after integration, and optimizes the scheduling of subsequent tasks based on the task execution status and user feedback. DataHub can also present the processing results to users in the form of visual reports, charts, etc., so that users can make decisions and analysis.

[0136] The above solution controls three hosts to perform parallel computing and collaboration through a central processor, thus realizing the processing of coastline change data without migrating data files.

[0137] This application has good scalability and flexibility, and is adaptable to different remote sensing algorithms and data processing scenarios.

[0138] Furthermore, the present application also provides a remote sensing algorithm workflow organization device.

[0139] Reference Figure 2 , Figure 2 This is a functional module diagram of an embodiment of a remote sensing algorithm workflow organization device of the present application.

[0140] The remote sensing algorithm workflow organizing device comprises:

[0141] The receiving module 210 is used to receive parameters to be processed; the parameters to be processed include selection information of the remote sensing algorithm, data description information and requirement information of the execution environment;

[0142] A first determination module 220 is used to determine at least one candidate server from the optional server set according to selection information of the remote sensing algorithm, data description information and requirement information of the execution environment in the parameters to be processed;

[0143] An analysis module 230, configured to perform algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determine execution information of the remote sensing algorithm based on the analysis result;

[0144] A second determination module 240, configured to determine at least one target server from the candidate servers based on the execution information;

[0145] The generating module 250 is used to generate a workflow description file according to the parameters to be processed and the execution information, and send the workflow description file to each target server.

[0146] The remote sensing algorithm workflow organization device provided in the embodiment of the present application, after receiving the parameters to be processed including the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment, determines at least one candidate server from the optional server ends through the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameters to be processed; at the same time, performs an algorithm dependency analysis through the selection information of the remote sensing algorithm in the parameters to be processed, and determines the execution information of the remote sensing algorithm based on the analysis results; thereby, at least one target server can be determined from each candidate server end based on the execution information, and then a workflow description file can be generated according to the parameters to be processed and the execution information, and the workflow description file can be sent to each target server end, so that the target server end can efficiently and accurately execute the corresponding remote sensing algorithm, thereby improving the execution efficiency of the remote sensing algorithm.

[0147] In one embodiment, the first determining module 220 is specifically configured to:

[0148] Verifying the parameters to be processed to obtain verification results;

[0149] If the verification result is that the parameter to be processed passes the verification, at least one candidate server is determined from the optional server set according to the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameter to be processed.

[0150] In one embodiment, the first determination module 220 includes a verification unit, wherein the verification unit is configured to:

[0151] Performing data type verification, data range verification and algorithm availability verification on the parameters to be processed respectively;

[0152] If the parameter to be processed passes the data type verification, data range verification and algorithm availability verification, it is determined that the parameter to be processed passes the verification.

[0153] In one embodiment, the analysis module 230 is specifically used to:

[0154] Determining the execution order of the remote sensing algorithms according to the selection information of the remote sensing algorithms in the parameters to be processed;

[0155] Performing data dependency analysis between algorithms based on selection information of the remote sensing algorithm in the parameters to be processed to obtain analysis results;

[0156] The execution order is adjusted based on the analysis result to obtain execution information of the remote sensing algorithm.

[0157] In one embodiment, the second determining module 240 is specifically configured to:

[0158] Obtain the load information and network information of each candidate server respectively;

[0159] Based on the load information and network information of each candidate server, respectively, combined with the execution information, an execution cost evaluation is performed to obtain a cost evaluation value of the corresponding candidate server;

[0160] Based on each cost evaluation value, at least one target server is determined from each candidate server.

[0161] In one embodiment, the second determining module 240 includes a determining unit, and the determining unit is configured to:

[0162] Sort the cost assessment values;

[0163] Among the candidate servers, the candidate server whose cost evaluation value is within a preset range is determined as the target server.

[0164] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call a computer program in the memory 330 to execute the steps of the remote sensing algorithm workflow organization method, for example, including:

[0165] Receive parameters to be processed; the parameters to be processed include selection information of remote sensing algorithms, data description information, and requirement information of execution environment;

[0166] Determine at least one candidate server from the optional server set according to selection information of the remote sensing algorithm, data description information, and requirement information of the execution environment in the parameters to be processed;

[0167] Performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis results;

[0168] Based on the execution information, determining at least one target server from each candidate server;

[0169] A workflow description file is generated according to the parameters to be processed and the execution information, and the workflow description file is sent to each target server.

[0170] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0171] On the other hand, an embodiment of the present application further provides a storage medium, wherein the storage medium is a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to enable a processor to execute the steps of the methods provided in the above embodiments, for example, including:

[0172] Receive parameters to be processed; the parameters to be processed include selection information of remote sensing algorithms, data description information, and requirement information of execution environment;

[0173] Determine at least one candidate server from the optional server set according to selection information of the remote sensing algorithm, data description information, and requirement information of the execution environment in the parameters to be processed;

[0174] Performing algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis results;

[0175] Based on the execution information, determining at least one target server from each candidate server;

[0176] A workflow description file is generated according to the parameters to be processed and the execution information, and the workflow description file is sent to each target server.

[0177] The computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0178] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0180] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A remote sensing algorithm workflow organization method, characterized in that: include: Receive parameters to be processed; The parameters to be processed include selection information of remote sensing algorithms, data description information and requirement information of execution environment; Determine at least one candidate server from the optional server set based on selection information of the remote sensing algorithm, data description information, and execution environment requirement information in the parameters to be processed; Performing an algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis results; Determining at least one target server from the candidate servers based on the execution information; A workflow description file is generated according to the parameters to be processed and the execution information, and the workflow description file is sent to each target server.

2. The remote sensing algorithm workflow organization method according to claim 1, characterized in that: The performing of algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determining execution information of the remote sensing algorithm based on the analysis result, includes: Determining the execution order of the remote sensing algorithms according to the selection information of the remote sensing algorithms in the parameters to be processed; Performing data dependency analysis between algorithms based on selection information of remote sensing algorithms in the parameters to be processed to obtain analysis results; The execution order is adjusted based on the analysis result to obtain execution information of the remote sensing algorithm.

3. The remote sensing algorithm workflow organization method according to claim 1, characterized in that: The determining at least one target server from the candidate servers based on the execution information includes: Obtain the load information and network information of each candidate server respectively; Based on the load information and network information of each candidate server, respectively, combined with the execution information, an execution cost evaluation is performed to obtain a cost evaluation value of the corresponding candidate server; At least one target server is determined from the candidate servers based on the cost evaluation values.

4. The remote sensing algorithm workflow organization method according to claim 3, characterized in that: The step of determining at least one target server from each candidate server based on each cost evaluation value includes: Sort the cost assessment values; Among the candidate servers, the candidate server whose cost evaluation value is within a preset range is determined as the target server.

5. The remote sensing algorithm workflow organization method according to claim 1, characterized in that: The step of determining at least one candidate server from a set of optional servers based on selection information of the remote sensing algorithm, data description information, and execution environment requirement information in the parameters to be processed includes: Verifying the parameters to be processed to obtain a verification result; If the verification result is that the parameters to be processed pass the verification, at least one candidate server is determined from the optional server set based on the selection information of the remote sensing algorithm, the data description information and the requirement information of the execution environment in the parameters to be processed.

6. The remote sensing algorithm workflow organization method according to claim 5, characterized in that: The verifying the parameters to be processed to obtain a verification result includes: Performing data type verification, data range verification, and algorithm availability verification on the parameters to be processed respectively; If the parameter to be processed passes the data type verification, data range verification, and algorithm availability verification, it is determined that the parameter to be processed passes the verification.

7. The remote sensing algorithm workflow organization method according to any one of claims 1 to 6, characterized in that: The workflow description file includes the execution path of the remote sensing algorithm, the format and location of input and output data, required resources, and the execution information.

8. A remote sensing algorithm workflow organization device, characterized in that: include: A receiving module, used for receiving parameters to be processed; The parameters to be processed include selection information of remote sensing algorithms, data description information and requirement information of execution environment; A first determining module is configured to determine at least one candidate server from a set of optional servers based on selection information of a remote sensing algorithm, data description information, and execution environment requirement information in the parameters to be processed; An analysis module, configured to perform algorithm dependency analysis based on selection information of the remote sensing algorithm in the parameters to be processed, and determine execution information of the remote sensing algorithm based on the analysis results; A second determining module is configured to determine at least one target server from the candidate servers based on the execution information; A generating module is used to generate a workflow description file according to the parameters to be processed and the execution information, and send the workflow description file to each target server.

9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the remote sensing algorithm workflow organization method according to any one of claims 1 to 7 is implemented.

10. A storage medium, which is a computer-readable storage medium and includes a computer program, characterized in that: When the computer program is executed by a processor, the remote sensing algorithm workflow organization method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Scheduling method and device, electronic equipment and storage medium

    CN121411903A