Remote sensing image interpretation method, device, server and storage medium
Through the VRT virtual data set operation and partition cache technology of remote sensing images, the problem of time-consuming remote sensing image data processing is solved, and efficient remote sensing data interpretation is achieved, suitable for large-scale data processing and multi-field applications.
Patent Information
- Application Number
- CN202410008445.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-03
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-01-03
AI Technical Summary
In the prior art, the processing and analysis of remote sensing image data is time-consuming and occupies a large amount of computing resources, making it difficult to efficiently process large-scale remote sensing data.
Through the VRT virtual dataset operation of remote sensing images, partition cache and slice overlap parameters are used to divide the remote sensing image data into small pieces for processing, and the Socket connection between the JAVA server and the interpretation server is used to pass through the TCP network transmission protocol. Binary data and interpret it on the interpretation server.
It reduces data preprocessing and operation time, improves the efficiency of remote sensing data interpretation, and users can obtain interpretation results more quickly, suitable for scenarios where large amounts of data operations and repeated slice areas are read.
Smart Images

Figure CN118093940B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a remote sensing image interpretation method, device, server and storage medium. Background Art
[0002] Remote sensing interpretation is to extract useful information such as topography, landforms, vegetation, soil, etc. through a series of processing and analysis of remote sensing images. This information has important application value in agriculture, forestry, environmental protection and other fields. Through the high-performance reasoning and computing technology of remote sensing interpretation, information on different types of land objects such as cultivated land, buildings, and water bodies can be quickly obtained, providing a scientific basis for fields such as natural resources.
[0003] Since remote sensing image data usually have the characteristics of large number of pixels and high resolution, remote sensing image data need to be processed multiple times, including resampling, cropping and stitching. These steps require a lot of computing resources and time, which makes the processing and analysis of large-scale remote sensing data very time-consuming. Summary of the invention
[0004] To overcome the problems existing in the related art, the embodiments of the present application provide a remote sensing image interpretation method, device, server and storage medium.
[0005] This application is implemented through the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a remote sensing image interpretation method, which is applied to a server. The remote sensing image interpretation method includes:
[0007] Acquire the remote sensing image VRT data storage path and the type of interpretation algorithm sent by the client, and send the remote sensing image VRT data storage path and the type of interpretation algorithm to the server; wherein the remote sensing image VRT data storage path corresponds to a remote sensing image VRT data set, and the remote sensing image VRT data set is obtained by merging multiple different geographic space remote sensing data sets into a single virtual data set, or dividing a single remote sensing data set into multiple independent virtual subsets;
[0008] The target interpretation algorithm is called according to the interpretation algorithm type, the remote sensing image VRT data to be processed is obtained according to the remote sensing image VRT data storage path, the remote sensing image VRT data to be processed is interpreted and processed by the target interpretation algorithm, and the interpretation processing result is sent to the client, so that the client can display the interpretation processing result; wherein, in the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is partitioned and cached, and each cache area corresponds to storing a data block in the remote sensing image VRT data to be processed.
[0009] In combination with the first aspect, in some embodiments, the remote sensing image VRT data storage path and the interpretation algorithm type are stored in a Map collection in the form of key-value pairs.
[0010] In combination with the first aspect, in some embodiments, the server includes a JAVA server and an interpretation server;
[0011] The calling of the target interpretation algorithm according to the interpretation algorithm type, acquiring the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, and interpreting the remote sensing image VRT data to be processed by the target interpretation algorithm include:
[0012] The JAVA server converts the Map collection into binary data;
[0013] A Socket connection is established between the JAVA server and the interpretation server based on the TCP network transmission protocol, and the JAVA server transmits the binary data to the interpretation server through the Socket connection;
[0014] The interpretation server parses the binary data to obtain the remote sensing image VRT data storage path, obtains the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, calls the target interpretation algorithm according to the interpretation algorithm type, and interprets the remote sensing image VRT data to be processed through the target interpretation algorithm.
[0015] In combination with the first aspect, in some embodiments, interpreting the remote sensing image VRT data to be processed by using a target interpretation algorithm includes:
[0016] Establishing a cache space for storing data blocks, the cache space having multiple cache areas;
[0017] In the process of processing the remote sensing image VRT data to be processed, each data block of the remote sensing image VRT data to be processed is stored in a corresponding cache area, and a corresponding cache identifier is set for each data block;
[0018] When a data block in the remote sensing image VRT data to be processed needs to be processed, the target cache area is determined according to the cache identifier corresponding to the data block, and the data block is retrieved from the target cache area for interpretation processing using a target interpretation algorithm.
[0019] In combination with the first aspect, in some embodiments, the method for interpreting the sensed image further includes: obtaining a slice overlap parameter sent by the client;
[0020] Before storing each data block of the remote sensing image VRT data to be processed into a corresponding cache area, the interpreting and processing the remote sensing image VRT data to be processed further includes: dividing the remote sensing image VRT data to be processed into a plurality of data blocks according to the slice overlap parameter.
[0021] In combination with the first aspect, in some embodiments, the method for interpreting the sensed image further includes: obtaining an output data path sent by the client;
[0022] The method further includes calling a target interpretation algorithm according to the interpretation algorithm type, acquiring the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, and interpreting the remote sensing image VRT data to be processed by the target interpretation algorithm.
[0023] The interpretation server stores the interpretation processing result according to the output data path.
[0024] In combination with the first aspect, in some embodiments, sending the interpretation result to the client includes:
[0025] The JAVA server decodes the result obtained by the interpretation server to obtain the interpretation completion information, the output data path and the file data name of the interpretation processing result;
[0026] The JAVA server sends the interpretation completion information, the output data path and the file data name of the interpretation processing result to the client.
[0027] In a second aspect, an embodiment of the present application provides a remote sensing image interpretation device, comprising:
[0028] An acquisition module is used to acquire a remote sensing image VRT data storage path and a type of interpretation algorithm sent by a client, and send the remote sensing image VRT data storage path and the type of interpretation algorithm to a server; wherein the remote sensing image VRT data storage path corresponds to a remote sensing image VRT data set, and the remote sensing image VRT data set is obtained by merging multiple different geographic space remote sensing data sets into a single virtual data set, or dividing a single remote sensing data set into multiple independent virtual subsets;
[0029] The interpretation module is used to call the target interpretation algorithm according to the interpretation algorithm type, obtain the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, interpret the remote sensing image VRT data to be processed through the target interpretation algorithm, and send the interpretation processing result to the client so that the client can display the interpretation processing result; wherein, in the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is partitioned and cached, and each cache area corresponds to storing a data block in the remote sensing image VRT data to be processed.
[0030] In a third aspect, an embodiment of the present application provides a server comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the remote sensing image interpretation method as described in any one of the first aspects.
[0031] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the remote sensing image interpretation method as described in any one of the first aspects is implemented.
[0032] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0033] In the embodiment of the present application, the storage path and the type of interpretation algorithm of the remote sensing image VRT data sent by the client are obtained, the target interpretation algorithm is called according to the type of interpretation algorithm, the remote sensing image VRT data to be processed is obtained according to the storage path of the remote sensing image VRT data, the remote sensing image VRT data to be processed is interpreted by the target interpretation algorithm, and the interpretation result is sent to the client. The present application uses VRT virtual data set operations to replace the time-consuming operations on the original real data set. Since VRT is mainly based on XML text file operations, a large number of operations will reduce the input and output efficiency, reduce the time of data preprocessing and operation, and users can obtain the interpretation results of remote sensing data more quickly.
[0034] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 It is a flowchart of a remote sensing image interpretation method provided in an embodiment of the present application;
[0037] Figure 2 It is a structural schematic diagram of a remote sensing image interpretation device provided in an embodiment of the present application;
[0038] Figure 3 It is a schematic diagram of the structure of the server provided in the embodiment of the present application. DETAILED DESCRIPTION
[0039] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0040] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0041] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0042] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0043] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0044] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0045] Remote sensing image interpretation is to extract useful information such as topography, landforms, vegetation, soil, etc. through a series of processing and analysis of remote sensing images. This information has important application value in the fields of agriculture, forestry, environmental protection, etc. Through the high-performance reasoning and computing technology of remote sensing interpretation, information on different types of land objects such as cultivated land, buildings, and water bodies can be quickly obtained, providing a scientific basis for the fields of natural resources, etc.
[0046] Traditional remote sensing image interpretation usually completes the task by processing a single large remote sensing data or multiple scattered remote sensing data, which involves resampling, cropping, splicing and other processing of the original remote sensing data. These operations are time-consuming and occupy a large amount of memory, reducing the efficiency of remote sensing image interpretation.
[0047] The core goal of this application is to realize the intelligent interpretation function. The user inputs the remote sensing image data storage path and the interpretation method type through the client interface. Then the server reads the remote sensing data according to the remote sensing image data storage path, selects the corresponding interpretation method (i.e., machine learning model) according to the interpretation method type, and then uses the machine learning model to automatically classify and interpret the remote sensing image, and then sends the relevant information of the interpretation result to the client, and displays and analyzes it on the client interface. The remote sensing image interpretation method in the embodiment of this application can provide efficient and general remote sensing data interpretation services for map making, resource investigation, environmental monitoring, urban planning, agricultural generation and other fields.
[0048] Reference Figure 1 , the interpretation method of the remote sensing image is described as follows:
[0049] Step 101, obtaining the storage path and interpretation algorithm type of the remote sensing image VRT data sent by the client.
[0050] The remote sensing image VRT data storage path corresponds to a remote sensing image VRT dataset, and the remote sensing image VRT dataset is obtained by merging multiple different geospatial remote sensing datasets into a single virtual dataset, or dividing a single geospatial remote sensing dataset into multiple independent virtual subsets.
[0051] Specifically, the user can enter the remote sensing image VRT data storage path and select the interpretation algorithm type on the client interface.
[0052] In this application, GDAL-VRT data is a library for raster data operations, which can operate various raster geographic data formats, including image reading, writing, conversion, and processing of various raster data formats. VRT is a virtual data format supported by GDAL. It is an XML file itself. Through the description inside the file, multiple different geospatial remote sensing datasets can be merged into a single dataset, or a single geospatial remote sensing dataset can be divided into multiple independent virtual subsets.
[0053] Exemplarily, the remote sensing image VRT data storage path and the interpretation algorithm type are stored in a Map collection in the form of a key-value pair. In one scenario, the user can enter the remote sensing image VRT data storage path and the interpretation algorithm type on the client front-end page, and the client stores the remote sensing image VRT data storage path, the interpretation algorithm type and the Python module name in the Map collection in the form of a key-value pair. In this way, the user's needs can be associated with specific interpretation tasks.
[0054] In addition, step 101 may include: obtaining the remote sensing image VRT data storage path, model file storage path, slice overlap, output data path, result data name and interpretation algorithm type sent by the client. Among them, the remote sensing image VRT data storage path is used to represent the storage path of the remote sensing image VRT data to be processed, the model file storage path represents the model file storage path required for reasoning, the slice overlap represents the overlap value when reasoning slices, the output data path is the storage location after the interpretation processing in step 102 is completed, and the result data name is the file name generated after the interpretation processing in step 102 is completed.
[0055] In some scenarios, the user selects the corresponding interpretation algorithm tool on the client front-end page and enters the remote sensing image VRT data storage path, model file storage path, slice overlap, output data path, result data name and other parameters. The client stores the remote sensing image VRT data storage path, model file storage path, slice overlap, output data path, result data name and the python reasoning module name to be called in the Map collection in the form of key-value pairs. For example: the python reasoning module name parameter for the binary classification tool is "process_binary_classification". The python reasoning module name parameter determines which reasoning task to perform among the preset multiple reasoning tasks, and uses the calling interface of the task to load a series of parameters and execute.
[0056] Step 102: call the target interpretation algorithm according to the interpretation algorithm type, obtain the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, interpret the remote sensing image VRT data to be processed through the target interpretation algorithm, and send the interpretation result to the client so that the client can display the interpretation result.
[0057] In the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is cached in partitions, and each cache area stores a data block in the remote sensing image VRT data to be processed.
[0058] In some embodiments, the server may include a JAVA server and an interpretation server, and step 102 may specifically include:
[0059] The JAVA server converts the Map collection into binary data;
[0060] A Socket connection is established between the JAVA server and the interpretation server based on the TCP network transmission protocol, and the JAVA server transmits the binary data to the interpretation server through the Socket connection;
[0061] The interpretation server parses the binary data to obtain the remote sensing image VRT data storage path, obtains the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, calls the target interpretation algorithm according to the interpretation algorithm type, and interprets the remote sensing image VRT data to be processed through the target interpretation algorithm.
[0062] Specifically, the JAVA server can use JAVA serialization technology to convert the Map collection into binary data, and then pass the binary data to the interpretation server through a Socket connection established between the JAVA server and the interpretation server (such as the Python interpretation server) based on the TCP network transmission protocol.
[0063] In some embodiments, the above-mentioned remote sensing image interpretation method also includes: obtaining the slice overlap parameter sent by the client. Correspondingly, step 102 also includes: dividing the remote sensing image VRT data to be processed into multiple data blocks according to the slice overlap parameter. Specifically, the remote sensing image VRT data to be processed is read, and the entire remote sensing image VRT data is divided into fixed-size and overlapping reasoning blocks in the memory through the slice overlap parameter and the preset algorithm. The purpose of this is to reduce the size of the remote sensing image of a single reasoning to avoid video memory overflow, and in order to avoid poor reasoning effect at the junction of the blocks, the overlapping parameters are used to generate blocks with a certain overlap.
[0064] Exemplarily, the above-mentioned interpretation and processing of the remote sensing image VRT data to be processed by the target interpretation algorithm may include: establishing a cache space for storing data blocks, the cache space having multiple cache areas; in the process of processing the remote sensing image VRT data to be processed, storing each data block of the remote sensing image VRT data to be processed in the corresponding cache area, and setting a corresponding cache identifier for each data block; when it is necessary to process a data block in the remote sensing image VRT data to be processed, determining the target cache area according to the cache identifier corresponding to the data block, and retrieving the data block from the target cache area for interpretation and processing by the target interpretation algorithm.
[0065] Specifically, the interpretation server receives binary data and performs decoding and parameter analysis on the binary data, and calls the corresponding inference interface according to the parameter information. The interpretation server establishes a data cache in the memory to store the data blocks of the processed remote sensing image VRT data. After the interpretation server reads the remote sensing image VRT data into the memory, it determines the data of the divided sub-area according to the slice overlap parameter to avoid repeated reading of the same data. For example, when interpreting the remote sensing impact, it is necessary to read the remote sensing image based on a window sliding on the remote sensing image, and record the adjacent positions of the slices through the area numbers of the sub-areas divided by the slice overlap and put them into the cache. The cache records and points to the overlapping area of each slice. The next time the same area is read, the position in the cache is queried by the area number, thereby avoiding direct reading of data, so that subsequent repeated reading of the overlapping parts can be accelerated.
[0066] In this step, when the interpretation server performs image reasoning operations, if the data block of the remote sensing image VRT data that needs to be read exists in the data cache, the data block is directly read from the data cache and read and processed as a virtual image; if the data block of the remote sensing image VRT data that needs to be read does not exist in the data cache, the remote sensing image VRT data is read from the disk and image reasoning is performed, and finally the reasoning result storage path (i.e., the output data path) is passed back to the JAVA server as a parameter.
[0067] For example, in this application, iServer machine learning image reasoning automation tool can be used to reason about remote sensing data. iServer machine learning image reasoning automation tool is a tool for processing remote sensing image data, which can provide more accurate and efficient remote sensing application services. This technology can be widely used in map making, resource survey, environmental monitoring, urban planning, agricultural production and other fields.
[0068] In addition, in order to realize the intelligent interpretation function, the server contains a series of Python interpretation servers, including the code implementation of machine learning algorithms and interpretation models. Each Python interpretation server can correspond to a type of interpretation algorithm. By reading the models defined by these codes, the Python interpretation server can automatically classify and interpret remote sensing images.
[0069] In some embodiments, the above-mentioned image interpretation method further includes: obtaining an output data path sent by the client. Correspondingly, step 102 also includes: the interpretation server storing the interpretation processing result according to the output data path.
[0070] In some embodiments, the above-mentioned sending of the interpretation processing result to the client may include: the JAVA server decodes the result obtained by the interpretation server to obtain interpretation completion information, output data path and file data name of the interpretation processing result; the JAVA server sends the interpretation completion information, the output data path and the file data name of the interpretation processing result to the client.
[0071] The above remote sensing image interpretation method uses VRT virtual data set operations to replace time-consuming operations on the original real data set. By reducing the time for data preprocessing and operations, users can obtain the interpretation results of remote sensing data more quickly. Since VRT is mainly based on XML text file operations, a large number of operations will reduce input and output efficiency. This solution uses a cache mechanism to cache the image data in the reasoning process in small blocks, and uses virtual files to integrate and read multiple block areas when reading repeatedly, which improves the efficiency of VRT format processing and reading remote sensing data. It is particularly suitable for large-scale data operations and operation scenarios with repeated slice area reading.
[0072] In addition, through the VRT virtual data set, the embodiment of the present application realizes the integrated reading of multiple scattered images, making data operations more universal and consistent, which improves the consistency of reasoning service logic, simplifies the complexity of data processing, and can be applied to multiple fields.
[0073] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0074] Corresponding to the remote sensing image interpretation method described in the above embodiment, Figure X shows a structural block diagram of the remote sensing image interpretation device provided in the embodiment of the present application. For the sake of convenience, only the part related to the embodiment of the present application is shown.
[0075] See also Figure 2 The remote sensing image interpretation device in the embodiment of the present application may include an acquisition module 201 and an interpretation module 202.
[0076] The acquisition module 201 is used to acquire the remote sensing image VRT data storage path and the type of interpretation algorithm sent by the client, and send the remote sensing image VRT data storage path and the type of interpretation algorithm to the server. The remote sensing image VRT data storage path corresponds to a remote sensing image VRT dataset, which is obtained by merging multiple different geographic space remote sensing datasets into a single virtual dataset, or dividing a single remote sensing dataset into multiple independent virtual subsets.
[0077] The interpretation module 202 is used to call the target interpretation algorithm according to the interpretation algorithm type, obtain the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, interpret the remote sensing image VRT data to be processed through the target interpretation algorithm, and send the interpretation processing result to the client so that the client can display the interpretation processing result. In the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is partitioned and cached, and each cache area corresponds to storing a data block in the remote sensing image VRT data to be processed.
[0078] Optionally, the remote sensing image VRT data storage path and the interpretation algorithm type are stored in a Map collection in the form of key-value pairs.
[0079] Optionally, the server includes a JAVA server and an interpretation server, and the interpretation module 202 can be specifically used for:
[0080] Convert the Map collection into binary data through the JAVA server;
[0081] A Socket connection is established between the JAVA server and the interpretation server based on the TCP network transmission protocol, and the JAVA server transmits the binary data to the interpretation server through the Socket connection;
[0082] The binary data is parsed by the interpretation server to obtain the remote sensing image VRT data storage path, the remote sensing image VRT data to be processed is obtained according to the remote sensing image VRT data storage path, the target interpretation algorithm is called according to the interpretation algorithm type, and the remote sensing image VRT data to be processed is interpreted and processed by the target interpretation algorithm.
[0083] Optionally, the above-mentioned interpreting and processing the remote sensing image VRT data to be processed by using a target interpretation algorithm includes:
[0084] Establishing a cache space for storing data blocks, the cache space having multiple cache areas;
[0085] In the process of processing the remote sensing image VRT data to be processed, each data block of the remote sensing image VRT data to be processed is stored in a corresponding cache area, and a corresponding cache identifier is set for each data block;
[0086] When a data block in the remote sensing image VRT data to be processed needs to be processed, the target cache area is determined according to the cache identifier corresponding to the data block, and the data block is retrieved from the target cache area for interpretation processing using a target interpretation algorithm.
[0087] Optionally, the acquisition module 201 is also used to obtain the slice overlap parameters sent by the client, and the interpretation module 202 is also used to divide the remote sensing image VRT data to be processed into multiple data blocks according to the slice overlap parameters before storing each data block of the remote sensing image VRT data to be processed in the corresponding cache area.
[0088] Optionally, the acquisition module 201 is further used to acquire an output data path sent by the client, and the interpretation module 202 is further used to store the interpretation result according to the output data path.
[0089] Optionally, the interpretation module 202 sends the interpretation result to the client, specifically including:
[0090] Decode the result obtained by the interpretation server to obtain the interpretation completion information, output data path and file data name of the interpretation processing result;
[0091] The interpretation completion information, the output data path and the file data name of the interpretation processing result are sent to the client.
[0092] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0093] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0094] The present application also provides a server. Figure 3 The server 300 may include: at least one processor 310 and a memory 320, wherein the memory 320 stores a computer program that can be run on the at least one processor 310, and the processor 310 implements the steps in any of the above-mentioned method embodiments when executing the computer program, for example Figure 1 Step 101 to step 102 in the embodiment shown. Alternatively, when the processor 310 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 2 Functions of modules 201 to 202 are shown.
[0095] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 320, and executed by the processor 310 to complete the present application. The one or more modules / units may be a series of computer program segments capable of completing specific functions, and the program segments are used to describe the execution process of the computer program in the server 300.
[0096] Those skilled in the art will understand that Figure 3 This is only an example of a server and does not constitute a limitation on the server. The server may include more or fewer components than shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0097] The processor 310 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0098] The memory 320 may be an internal storage unit of the server or an external storage device of the server, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 320 is used to store the computer program and other programs and data required by the server. The memory 320 may also be used to temporarily store data that has been output or is to be output.
[0099] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0100] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each embodiment of the remote sensing image interpretation method can be implemented.
[0101] An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal, the mobile terminal implements the steps in each embodiment of the remote sensing image interpretation method when executing the computer program product.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the server, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0104] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0105] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0107] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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, and should all be included in the protection scope of the present application.
Claims
1. A remote sensing image interpretation method, characterized in that: Applied to the server, the remote sensing image interpretation method includes: Obtain the remote sensing image VRT data storage path and interpretation algorithm type sent by the client; wherein the remote sensing image VRT data storage path corresponds to a remote sensing image VRT dataset, and the remote sensing image VRT dataset is obtained by merging multiple different geographic space remote sensing datasets into a single virtual dataset, or dividing a single remote sensing dataset into multiple independent virtual subsets; The target interpretation algorithm is called according to the interpretation algorithm type, the remote sensing image VRT data to be processed is obtained according to the remote sensing image VRT data storage path, the remote sensing image VRT data to be processed is interpreted by the target interpretation algorithm, and the interpretation result is sent to the client, so that the client can display the interpretation result; wherein, in the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is partitioned and cached, and each cache area corresponds to storing a data block of the remote sensing image VRT data to be processed; The server includes a JAVA server and an interpretation server; The calling of the target interpretation algorithm according to the interpretation algorithm type, acquiring the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, and interpreting the remote sensing image VRT data to be processed by the target interpretation algorithm include: The JAVA server converts the Map collection into binary data; A Socket connection is established between the JAVA server and the interpretation server based on the TCP network transmission protocol, and the JAVA server transmits the binary data to the interpretation server through the Socket connection; The interpretation server parses the binary data to obtain the remote sensing image VRT data storage path, obtains the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, calls the target interpretation algorithm according to the interpretation algorithm type, and interprets the remote sensing image VRT data to be processed through the target interpretation algorithm.
2. The remote sensing image interpretation method according to claim 1, characterized in that: The remote sensing image VRT data storage path and the interpretation algorithm type are stored in a Map collection in the form of key-value pairs.
3. The remote sensing image interpretation method according to claim 1, characterized in that: The process of interpreting the remote sensing image VRT data to be processed by using a target interpretation algorithm includes: Establishing a cache space for storing data blocks, the cache space having multiple cache areas; In the process of processing the remote sensing image VRT data to be processed, each data block of the remote sensing image VRT data to be processed is stored in a corresponding cache area, and a corresponding cache identifier is set for each data block; When a data block in the remote sensing image VRT data to be processed needs to be processed, the target cache area is determined according to the cache identifier corresponding to the data block, and the data block is retrieved from the target cache area for interpretation processing using a target interpretation algorithm.
4. The remote sensing image interpretation method according to claim 1, characterized in that: The method for interpreting the sensed image further includes: obtaining a slice overlap parameter sent by the client; Before storing each data block of the remote sensing image VRT data to be processed into a corresponding cache area, the interpreting and processing of the remote sensing image VRT data to be processed further includes: dividing the remote sensing image VRT data to be processed into a plurality of data blocks according to the slice overlap parameter.
5. The remote sensing image interpretation method according to claim 1, characterized in that: The method for interpreting the sensed image further includes: obtaining an output data path sent by the client; The method further includes calling a target interpretation algorithm according to the interpretation algorithm type, obtaining the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, interpreting and processing the remote sensing image VRT data to be processed through the target interpretation algorithm, and storing the interpretation processing results at the interpretation server according to the output data path.
6. The remote sensing image interpretation method according to claim 5, characterized in that: The step of sending the interpretation result to the client comprises: The JAVA server decodes the result obtained by the interpretation server to obtain the interpretation completion information, the output data path and the file data name of the interpretation processing result; The JAVA server sends the interpretation completion information, the output data path and the file data name of the interpretation processing result to the client.
7. A remote sensing image interpretation device, characterized in that: include: An acquisition module is used to acquire a remote sensing image VRT data storage path and a type of interpretation algorithm sent by a client, and send the remote sensing image VRT data storage path and the type of interpretation algorithm to a server; wherein the remote sensing image VRT data storage path corresponds to a remote sensing image VRT data set, and the remote sensing image VRT data set is obtained by merging multiple different geographic space remote sensing data sets into a single virtual data set, or dividing a single remote sensing data set into multiple independent virtual subsets; The interpretation module is used to call the target interpretation algorithm according to the interpretation algorithm type, obtain the remote sensing image VRT data to be processed according to the storage path of the remote sensing image VRT data, interpret the remote sensing image VRT data to be processed through the target interpretation algorithm, and send the interpretation result to the client so that the client can display the interpretation result; wherein, in the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is partitioned and cached, and each cache area corresponds to storing a data block in the remote sensing image VRT data to be processed; the server includes a JAVA server and an interpretation server; the target interpretation algorithm is called according to the interpretation algorithm type, the remote sensing image VRT data is stored according to the storage path of the remote sensing image VRT data, and the target interpretation algorithm is interpreted and processed by the target interpretation algorithm, and the interpretation result is sent to the client so that the client can display the interpretation result; wherein, in the process of processing the remote sensing image VRT data to be processed, the remote sensing image VRT data to be processed is partitioned and cached, and each cache area corresponds to storing a data block in the remote sensing image VRT data to be processed; the server includes a JAVA server and an interpretation server; The remote sensing image VRT data to be processed is obtained according to the storage path, and the remote sensing image VRT data to be processed is interpreted and processed by the target interpretation algorithm, including: the JAVA server converts the Map set into binary data; a Socket connection is established between the JAVA server and the interpretation server based on the TCP network transmission protocol, and the JAVA server transmits the binary data to the interpretation server through the Socket connection; the interpretation server parses the binary data to obtain the remote sensing image VRT data storage path, obtains the remote sensing image VRT data to be processed according to the remote sensing image VRT data storage path, calls the target interpretation algorithm according to the interpretation algorithm type, and interprets and processes the remote sensing image VRT data to be processed by the target interpretation algorithm.
8. A server comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Mass raster data format conversion parallel method based on abstract data model
CN102567508A
Remote sensing image intelligent interpretation method
CN114299394A
Method and platform for dynamically monitoring typical ground features in mining on the basis of multi-source remote sensing data fusion and deep neural network
WO2021226977A1
Remote sensing data processing method and apparatus, device, storage medium, and computer program product
WO2023138029A1
