Earthquake processing program development method and device, equipment and storage medium

Through the earthquake processing program development method that integrates task editing and task operation functions, the cumbersome problem of the earthquake processing program development process is solved, efficient development and debugging processes are realized, and development efficiency is improved.

CN120010865APending Publication Date: 2025-05-16CHINA NAT PETROLEUM CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311518263.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The development process of earthquake processing programs is cumbersome and requires a lot of time and energy to be consumed by developers, resulting in inefficient development.

Method used

It provides a seismic processing program development method, integrating task editing and task operation functions, allowing tasks to be run directly in the development environment and obtain results without switching the operation environment; during the debugging process, there is no need to manually configure the debugging environment, and debugging is directly carried out in the development environment.

Benefits of technology

It greatly shortens the development and debugging time, improves the development efficiency of earthquake processing programs, simplifies the process, and reduces the steps of manual configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010865A_ABST
    Figure CN120010865A_ABST
Patent Text Reader

Abstract

The invention discloses an earthquake processing program development method and device, equipment and a storage medium, and belongs to the technical field of software development. The method comprises the steps of obtaining project information based on a project creation interface, displaying a menu interface based on the project information, and adding a program file into a task based on task editing options in the menu interface; running the task based on a task running option in the menu interface; and under the condition that the operation result does not meet the condition, debugging the seismic processing program based on the debugging function option in the menu interface. According to the method, the task editing function and the task running function are integrated, after the program file is added into the task, the task can be directly run, the running result is obtained, and switching and manual configuration of the running environment are not needed. Moreover, under the condition that the running result does not meet the condition, the program file can be directly debugged, the debugging environment does not need to be manually configured, the problem of complexity of traditional debugging is solved, the time is greatly shortened, and the publishing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software development technology, and in particular to a method, device, equipment and storage medium for developing a seismic processing program. Background Art

[0002] In the field of seismic exploration, after collecting seismic data, it is often necessary to process the seismic data through a seismic processing program, and obtain information about underground geological structures and stratum properties based on the processing results. The development of seismic processing programs is a complex process, mainly including demand analysis, outline design, detailed design, coding, debugging, and results release. These processes are cumbersome and require a lot of time and energy from developers. Therefore, how to improve the development efficiency of seismic processing programs has become an urgent problem to be solved. Summary of the invention

[0003] The embodiment of the present application provides a method, device, equipment and storage medium for developing a seismic processing program, which can improve the development efficiency of the seismic processing program. The technical solution is as follows:

[0004] In one aspect, a method for developing a seismic processing program is provided, the method comprising:

[0005] Displaying a project creation interface, and acquiring project information of a seismic processing program based on the project creation interface;

[0006] Based on the project information, a menu interface is displayed, wherein the menu interface includes a task editing option, a task running option, and a debugging function option;

[0007] In response to detecting a triggering operation on the task editing option, displaying a task editing interface;

[0008] Based on the task editing interface, a program file is added to the task; wherein the program file is a file after the seismic processing program is compiled;

[0009] In response to detecting a triggering operation on the task execution option, executing the task and obtaining an execution result;

[0010] In the case that the running result does not meet the condition, in response to detecting a triggering operation on the debugging function option, displaying a debugging setting interface, wherein the debugging setting interface includes a start debugging option;

[0011] Based on the debugging setting interface, obtaining a task file corresponding to the task and an executable file for running the task;

[0012] In response to detecting a triggering operation on the start debugging option, running the task file based on the executable file in a debugging environment, and debugging the program file during the running of the task file;

[0013] After debugging is completed, the seismic processing program is released, and the seismic processing program is used to process seismic data.

[0014] In another aspect, a seismic processing program development device is provided, the device comprising:

[0015] A first acquisition module, used for displaying a project creation interface, and acquiring project information of a seismic processing program based on the project creation interface;

[0016] A first display module, used to display a menu interface based on the project information, wherein the menu interface includes a task editing option, a task running option and a debugging function option;

[0017] A second display module, configured to display a task editing interface in response to detecting a triggering operation on the task editing option;

[0018] A first adding module is used to add a program file to a task based on the task editing interface; wherein the program file is a file after the seismic processing program is compiled;

[0019] An operation module, configured to execute the task and obtain an operation result in response to detecting a trigger operation on the task execution option;

[0020] A third display module is used for displaying a debugging setting interface in response to detecting a triggering operation on the debugging function option when the running result does not meet the condition, wherein the debugging setting interface includes a start debugging option;

[0021] A second acquisition module, used to acquire a task file corresponding to the task and an executable file for running the task based on the debugging setting interface;

[0022] A debugging module, configured to, in response to detecting a triggering operation on the start debugging option, run the task file based on the executable file in a debugging environment, and debug the program file during the running of the task file;

[0023] The publishing module is used to publish the seismic processing program after debugging is completed, and the seismic processing program is used to process seismic data.

[0024] In one possible implementation, the running module is used to display a task running interface in response to detecting a trigger operation on the task running option, wherein the task running interface includes a start running option; based on the task running interface, obtain the task file corresponding to the task; in response to detecting a trigger operation on the start running option, start the task process, run the task file based on the task process, and obtain the running result; redirect the running result to be output to a console, and display the running result through the console.

[0025] In another possible implementation, the device further includes:

[0026] A creation module, used for creating a project file based on the project information;

[0027] A second adding module is used to obtain the operation log of the task file and add the operation log to the project file;

[0028] A fourth display module is used to display the operation log based on the project file.

[0029] In another possible implementation, the menu interface further includes: a configuration information editing option;

[0030] The device also includes:

[0031] a fifth display module, configured to display a configuration information editing interface in response to detecting a triggering operation on the configuration information editing option;

[0032] An editing module is used to edit the configuration information of the seismic processing program based on the configuration information editing interface.

[0033] In another possible implementation, the menu interface further includes: a publishing option;

[0034] The publishing module is used to display a directory publishing interface in response to detecting a trigger operation on the publishing option; based on the directory publishing interface, obtain the directory to be published by the seismic processing program; obtain a packaging resource script, and package the program file and configuration file based on the packaging resource script to obtain an installation package; wherein the configuration file is a file generated based on the edited configuration information; and publish the installation package to the directory.

[0035] In another possible implementation, the device further includes:

[0036] A generation module, used for generating update code based on the edited configuration information;

[0037] The update module is used to update the update code into the source code file.

[0038] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement any of the above-mentioned methods for developing seismic processing programs.

[0039] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement any of the above-mentioned methods for developing a seismic processing program.

[0040] On the other hand, a computer program product is provided, wherein at least one program code is stored in the computer program product, and the at least one program code is loaded and executed by a processor to implement any of the above-mentioned methods for developing a seismic processing program.

[0041] The embodiment of the present application provides a method for developing a seismic processing program, which integrates task editing and task running functions. After adding a program file to a task, the task can be directly run to obtain the running result without switching and manually configuring the running environment. Moreover, if the running result does not meet the conditions, the program file can be directly debugged without manually configuring the debugging environment, which solves the tediousness of traditional debugging, greatly shortens the time, and thus improves the publishing efficiency.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of an implementation environment of a seismic processing program development method provided in an embodiment of the present application;

[0044] Figure 2 is a flow chart of a method for developing a seismic processing program provided in an embodiment of the present application;

[0045] Figure 3 This is a schematic diagram of an electronic device obtaining an item type provided by an embodiment of the present application;

[0046] Figure 4 This is a schematic diagram of an electronic device obtaining a project name and a project path provided by an embodiment of the present application;

[0047] Figure 5 This is a schematic diagram of an electronic device acquiring program information provided by an embodiment of the present application;

[0048] Figure 6This is a schematic diagram of an electronic device obtaining a development kit provided by an embodiment of the present application;

[0049] Figure 7 is a schematic diagram of a file summary interface provided in an embodiment of the present application;

[0050] Figure 8 It is a schematic diagram of a project creation completion interface provided in an embodiment of the present application;

[0051] Fig. 9 is a schematic diagram of a PDL editing option selected according to an embodiment of the present application;

[0052] Fig.10 is a schematic diagram of a configuration information editing interface provided in an embodiment of the present application;

[0053] Fig.11 is a schematic diagram of an editing parameter provided in an embodiment of the present application;

[0054] Fig.12 It is a schematic diagram of a reference parameter list provided in an embodiment of the present application;

[0055] Fig.13 is a schematic diagram of a parameter preview interface provided in an embodiment of the present application;

[0056] Fig.14 is a schematic diagram of a task editing option selected according to an embodiment of the present application;

[0057] Fig.15 is a schematic diagram of a task execution option selected according to an embodiment of the present application;

[0058] Fig.16 This is a schematic diagram of displaying operation information through a console provided in an embodiment of the present application;

[0059] Fig.17 This is a schematic diagram of adding a log file to a project file provided in an embodiment of the present application;

[0060] Fig.18 is a schematic diagram of a debugging option provided in an embodiment of the present application being selected;

[0061] Fig.19 is a schematic diagram of a debugging parameter setting dialog box provided in an embodiment of the present application;

[0062] Fig. 20 is a schematic diagram of a debugging interface provided in an embodiment of the present application;

[0063] Fig.21 is a schematic diagram of a publishing option selected provided by an embodiment of the present application;

[0064] Fig. 22 is a schematic diagram of an installation package installation interface provided in an embodiment of the present application;

[0065] Fig.23 It is a structural schematic diagram of a seismic processing program development device provided in an embodiment of the present application;

[0066] Fig.24 It is a structural block diagram of a terminal provided in an embodiment of the present application;

[0067] Fig.25 It is a structural block diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the technical solutions and advantages of the present application clearer, the implementation methods of the present application are described in further detail below.

[0069] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0070] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the project information and configuration information involved in this application are all obtained with full authorization.

[0071] Figure 1 is a schematic diagram of an implementation environment of a seismic processing program development method provided in an embodiment of the present application, see Figure 1 The method includes: an electronic device, which can be provided as a terminal 101 and a server 102, and the terminal 101 and the server 102 are connected via a wireless or wired network.

[0072] An integrated development environment application is installed on the terminal 101. The terminal 101 can install an extension plug-in in the application. The extension plug-in is used to achieve one-stop support for all aspects of the seismic processing program, including project creation, editing, configuration, debugging, and release.

[0073] The application can be QtCreator or other applications corresponding to integrated development environments, which is not specifically limited. The earthquake processing program in this application can be an application or a subroutine or processing module in an application to realize the function of processing earthquake data. For example, the earthquake processing program is a processing module in the GeoEast application.

[0074] The server 102 can provide background services. The server 102 can undertake the main computing work, and the terminal 101 can undertake the secondary computing work; or the server 102 can undertake the secondary computing work, and the terminal 101 can undertake the main computing work; or the server 102 and the terminal 101 can use a distributed computing architecture to perform collaborative computing.

[0075] The terminal 101 is at least one of a mobile phone, a tablet computer, a PC (Personal Computer), an intelligent voice interaction device, a vehicle-mounted terminal, etc. The server 102 can be at least one of a server, a server cluster consisting of multiple servers, a cloud server, a cloud computing platform, and a virtualization center.

[0076] Figure 2 is a flowchart of a method for developing a seismic processing program provided in an embodiment of the present application, which is executed by an electronic device, see Figure 2 , the method comprising:

[0077] Step 201: The electronic device displays a project creation interface, and obtains project information of a seismic processing program based on the project creation interface.

[0078] The electronic device logs into the application of the integrated development environment and displays the main interface of the application. The main interface includes a project creation option. In response to detecting a trigger operation on the project creation option, the electronic device displays the project creation interface.

[0079] Based on the project creation interface, the electronic device can obtain project information of the seismic processing program. The project information includes one or more of the project type, project name, project path, program information, development kit, code management tool, etc. The program information may include interface type, module type, data transmission method, version number, creation date, development author, program description, project template type, input channel and output channel, etc.

[0080] See also Figures 3 to 6 , Figure 3 The interface displayed when obtaining the item type for an electronic device. Figure 4 The interface displayed when obtaining the project name and project path for the electronic device. Figure 5The interface displayed when the electronic device obtains program information. Figure 6 The screen that appears when you acquire a development kit for an electronic device.

[0081] It should be noted that the IDE application itself does not include Figure 3 The "GeoEast" project shown in the figure is displayed because an extension plug-in is installed in the application, and the functions provided by the extension plug-in support the development of seismic processing programs. Because of this, electronic devices can develop seismic processing programs based on the integrated development environment.

[0082] Traditional processing program or processing module development requires manual writing of makefile files (a text file). When developers write this file, it is easy to encounter situations where the file format is not standardized or compilation and linking errors occur. The embodiment of the present application provides interactive project creation, which can help developers automatically create configured projects, not only avoiding the tediousness of manually writing makefile files, but also avoiding the compilation or linking problems introduced by manually writing makefile files, effectively improving development efficiency.

[0083] Step 202: The electronic device displays a menu interface based on the project information.

[0084] The electronic device creates a project file based on the acquired project information. In response to detecting a trigger operation on the project file, the electronic device displays a menu interface.

[0085] In this implementation, the electronic device displays a file summary interface based on the acquired project information, the file summary interface including the project path, the file type and the creation completion option. In response to detecting a trigger operation of the creation completion option, the electronic device creates a project file.

[0086] The file summary interface can be found in Figure 7 , Figure 7 The "Finish" option in the project is the creation completion option. The interface after the project is created can be seen in Figure 8 , Figure 8 The right side of the figure shows part of the code.

[0087] In the embodiment of the present application, the triggering operation of the project file can be a right-clicking operation, a double-clicking operation, or a sliding operation, etc., which is not specifically limited. The triggering operation of other options, such as the configuration information editing option, the task editing option, the task running option, etc., can also be a right-clicking operation, a double-clicking operation, or a sliding operation, etc., which will not be described in detail later.

[0088] The menu interface also includes a configuration information editing option. In response to detecting a trigger operation on the configuration information editing option, the electronic device displays the configuration information editing interface. The configuration information editing interface includes options corresponding to program information, parameters, parameter lists, etc., through which developers can view configuration information or edit configuration information. Accordingly, the electronic device displays or edits the configuration information of the seismic processing program based on the configuration information editing interface.

[0089] See also Fig. 9 The menu interface includes a "PDL edit" option, that is, a configuration information edit option. In response to detecting a trigger operation on the "PDL edit" option, the electronic device displays a configuration information edit interface, such as Fig.10 shown. Fig.10 The options such as program information, parameters, parameter list, parameter preview, etc. are displayed in the program. Developers can trigger the corresponding options of program information to edit program information. Developers can also trigger the corresponding options of parameters to edit parameters, such as Fig.11 As shown. Among them, p1 and p2 are parameters. Fig.11 As can be seen from the figure, developers can also group parameters, add or delete groups, add or delete parameters. Developers can also trigger the corresponding options of the parameter list to view the parameter list, such as Fig.12 Developers can trigger the corresponding option of parameter preview to view the current parameter value, such as Fig.13 As shown in the figure, the current parameter value is the edited parameter value or the unedited parameter value.

[0090] In the embodiment of the present application, if the configuration information has changed, the electronic device regenerates the configuration file based on the edited configuration information, and performs subsequent task operation and debugging processes based on the regenerated configuration file. If the configuration information has not changed, the electronic device generates a configuration file based on the default configuration information, and performs subsequent task operation and debugging processes based on the configuration file.

[0091] If the configuration information is changed, the electronic device can also generate an update code based on the edited configuration information, and update the update code into the source code file, thereby achieving automatic synchronization of the configuration information and the code.

[0092] Step 203: In response to detecting a triggering operation on the task editing option, the electronic device displays a task editing interface.

[0093] Developers write and compile codes according to their own needs to obtain the program files corresponding to the seismic processing program. The menu interface also includes a task editing option, which can be triggered to add program files to the task.

[0094] See also Fig.14The menu interface also includes a "job editing" option, that is, a task editing option. In response to detecting a trigger operation on the "job editing" option, the electronic device jumps from the current interface to the task editing interface.

[0095] Step 204: The electronic device adds the program file to the task based on the task editing interface.

[0096] A file selection option is displayed in the task editing interface. In response to detecting a trigger operation on the file selection option, the electronic device displays a file selection interface including a plurality of files.

[0097] In a possible implementation, the electronic device obtains at least one other file in advance and adds the at least one other file to the task. In this implementation, the electronic device obtains the selected program file based on the file selection interface, adds the selected program file to the task, and edits the positions of the program file and the at least one other file in the task through the task editor.

[0098] In another possible implementation, the file selection interface includes multiple files, the electronic device obtains a selected program file and at least one other file, edits the locations of the program file and at least one other file through a task editor, and writes the program file and at least one other file as a task based on the edited locations of the program file and at least one other file.

[0099] The program file includes a configuration file, and the configuration file is a regenerated configuration file or a default configuration file.

[0100] The program files are located in different positions in the task and have different running orders. Different running orders constitute different job processes. For example, if a task includes multiple other files, if the program file is in the first position, then in the subsequent runs, the program file is run first, and then the other files in the second and subsequent positions are run. If the program file is in the second position, then in the subsequent runs, the other files in the first position are run first, then the program file, and then the other files in the third and subsequent positions are run. The other files included in the task are also files corresponding to the programs or modules used to process seismic data.

[0101] In the embodiment of the present application, developers can select corresponding file writing tasks according to the application scenario of the seismic processing program, without switching to other environments to open the task editor. Moreover, after the writing is completed, there is no need to switch and configure the operating environment, and the task can be run directly in the integrated development environment, thereby improving the development efficiency to a certain extent.

[0102] Step 205: In response to detecting a triggering operation on a task execution option, the electronic device executes the task and obtains an execution result.

[0103] This step can be achieved by following the steps (1) to (4), including:

[0104] (1) In response to detecting a trigger operation on a task execution option, the electronic device displays a task execution interface.

[0105] The menu interface also includes the "Job Run" option, such as Fig.15 As shown, in response to detecting a trigger operation on the "job running" option, ie, the task running option, the electronic device jumps from the current interface to the task running interface.

[0106] (2) The electronic device obtains the task file corresponding to the task based on the task running interface.

[0107] The task selection option is displayed in the task running interface, and in response to detecting a trigger operation on the task selection option, the electronic device displays multiple task files. The developer can select a task file to be run from the multiple task files, and accordingly, the electronic device obtains the selected task file.

[0108] (3) In response to detecting a trigger operation on the start-run option, the electronic device starts the task process, runs the task file based on the task process, and obtains the run result.

[0109] After the electronic device obtains the selected task file, it returns to the task running interface. The task running interface includes a start running option. In response to detecting a trigger operation on the start running option, the electronic device obtains the pre-configured task running environment variables, working directory and running parameters, and then starts the task process, runs the task file through the task process, and obtains the running result.

[0110] (4) The electronic device redirects the operation result to the console and displays the operation result through the console.

[0111] The electronic device redirects the running results to the console of the integrated development environment, and displays the running results through the console, so that developers can view the running information of the task. Fig.16 , Fig.16 This is a schematic diagram showing operation information through the console.

[0112] In an embodiment of the present application, during the task execution process, the electronic device can obtain the execution log of the task file, add the execution log to the project file, and display the execution log based on the project file.

[0113] In this implementation, after the task is completed, the electronic device obtains the operation log, adds the operation log to the project file, and then updates the project file, so that the developer can view the operation log in the project file.

[0114] from Figure 8 It can be seen that after the project is created, there is no log file under the project file. Fig.17 After the task is completed, a log file corresponding to the running log is added to the project file.

[0115] In the embodiment of the present application, the electronic device can directly publish the earthquake processing program, or first determine whether the operation result meets the condition. If the operation result does not meet the condition, the electronic device debugs the earthquake processing program, and accordingly, the electronic device executes step 206.

[0116] Step 206: When the running result does not satisfy the condition, in response to detecting a triggering operation on the debugging function option, the electronic device displays a debugging setting interface.

[0117] The menu interface also includes debugging options, that is, Fig.18 In the "debug" option, when the running result does not meet the condition, in response to detecting a triggering operation on the "debug" option, the electronic device jumps from the current interface to the debugging setting interface.

[0118] Step 207: The electronic device obtains the task file corresponding to the task and the executable file for running the task based on the debugging setting interface.

[0119] The debugging setting interface includes a debugging parameter setting option. In response to detecting a triggering operation on the debugging parameter option, the electronic device displays a debugging parameter setting dialog box, and the electronic device obtains a task file and an executable file for running the task based on the dialog box.

[0120] See also Fig.19 , Fig.19 A dialog box is provided for debugging parameter settings, based on which the developer can select the task file and the executable file to run the task.

[0121] Step 208: In response to detecting a triggering operation for starting the debugging option, the electronic device runs the task file based on the executable file in the debugging environment, and debugs the program file during the process of running the task file.

[0122] The debugging setting interface includes a start debugging option. In response to detecting a trigger operation for the start debugging option, the electronic device obtains the pre-configured debugging environment variables, debugging parameters, and the working directory for debugging operation, and then automatically starts the debugger to enter the debugging environment. In the debugging environment, the task file is run based on the executable file, and the program file is debugged during the running of the task file. The debugging interface can be found in Fig. 20 .

[0123] Traditional processing program or processing module development requires manual configuration of debugging environment variables and manual startup of debugger for debugging, which results in a cumbersome debugging process. However, the embodiment of the present application can pre-configure debugging environment variables and automatically start the debugger, without the need for manual configuration and manual startup, and after the task is completed, debugging can be performed directly in the integrated development environment without switching, thereby improving development efficiency.

[0124] Step 209: After debugging is completed, the electronic device releases the earthquake processing program.

[0125] See also Fig.21 , the menu interface also includes: a publishing option. In response to detecting a trigger operation on the publishing option, the electronic device displays a directory publishing interface; based on the directory publishing interface, the directory to be published by the seismic processing program is obtained; a packaged resource script is obtained, and the program file and the configuration file are packaged based on the packaged resource script to obtain an installation package; and the installation package is published to the directory. If the configuration information has changed, the configuration file is a file generated based on the edited configuration information, and if the configuration information has not changed, the configuration file is a default file.

[0126] In this implementation, the developer can select the directory to be published for the seismic processing program from the directory publishing interface, and accordingly, the electronic device obtains the selected directory. The electronic device also obtains a packaging resource script, packages the program file and the configuration file through the packaging resource script to obtain an installation package, and then publishes the seismic processing program to the selected directory in the form of an installation package.

[0127] The program file may be a file in so (shared object) format or other formats, and the configuration file may be a file in pdl (perl data language file) format or other formats, which are not specifically limited.

[0128] The released installation package is a separate executable file, and the user can selectively install the installation package into a specified environment. Accordingly, in response to detecting an installation operation on the installation package, the electronic device installs the installation package into a specified directory. Fig. 22 , Fig. 22 Installation interface for the installation package.

[0129] It should be noted that the drawings of this application are only schematic diagrams, and some content may not be shown in the drawings. The specific content shall be subject to the actual interface display.

[0130] After debugging is completed, the embodiment of the present application supports automated packaging, which saves developers time in manually copying and making installation packages, thereby improving development efficiency.

[0131] The embodiment of the present application provides a method for developing a seismic processing program, which integrates task editing and task running functions. After adding a program file to a task, the task can be directly run to obtain the running result without switching and manually configuring the running environment. Moreover, if the running result does not meet the conditions, the program file can be directly debugged without manually configuring the debugging environment, which solves the tediousness of traditional debugging, greatly shortens the time, and thus improves the publishing efficiency.

[0132] Fig.23 is a schematic diagram of a seismic processing program development device provided in an embodiment of the present application, see Fig.23 , the device comprises:

[0133] The first acquisition module 2301 is used to display a project creation interface and acquire project information of a seismic processing program based on the project creation interface;

[0134] The first display module 2302 is used to display a menu interface based on the project information, where the menu interface includes a task editing option, a task running option, and a debugging function option;

[0135] The second display module 2303 is used to display the task editing interface in response to detecting a triggering operation on the task editing option;

[0136] The first adding module 2304 is used to add a program file to the task based on the task editing interface; wherein the program file is a file after the seismic processing program is compiled;

[0137] The running module 2305 is used to run the task and obtain the running result in response to detecting the triggering operation of the task running option;

[0138] The third display module 2306 is used to display a debugging setting interface in response to detecting a triggering operation on a debugging function option when the running result does not meet the condition, and the debugging setting interface includes a start debugging option;

[0139] The second acquisition module 2307 is used to acquire the task file corresponding to the task and the executable file for running the task based on the debugging setting interface;

[0140] The debugging module 2308 is used to run the task file based on the executable file in the debugging environment in response to detecting a trigger operation for starting the debugging option, and debug the program file during the running of the task file;

[0141] The publishing module 2309 is used to publish the seismic processing program after debugging is completed, and the seismic processing program is used to process seismic data.

[0142] In one possible implementation, the running module 2305 is used to display a task running interface in response to detecting a trigger operation on a task running option, the task running interface including a start running option; based on the task running interface, obtain the task file corresponding to the task; in response to detecting a trigger operation on the start running option, start the task process, run the task file based on the task process, and obtain the running result; redirect the running result to the console and display the running result through the console.

[0143] In another possible implementation, the device further includes:

[0144] Create module, used to create project files based on project information;

[0145] The second adding module is used to obtain the running log of the task file and add the running log to the project file;

[0146] The fourth display module is used to display the operation log based on the project file.

[0147] In another possible implementation, the menu interface further includes: a configuration information editing option;

[0148] The device also includes:

[0149] a fifth display module, configured to display a configuration information editing interface in response to detecting a triggering operation on a configuration information editing option;

[0150] The editing module is used to edit the configuration information of the seismic processing program based on the configuration information editing interface.

[0151] In another possible implementation, the menu interface further includes: a publishing option;

[0152] The publishing module 2309 is used to display a directory publishing interface in response to detecting a trigger operation on the publishing option; based on the directory publishing interface, obtain the directory to be published by the seismic processing program; obtain the packaging resource script, and package the program file and the configuration file based on the packaging resource script to obtain an installation package; wherein the configuration file is a file generated based on the edited configuration information; and publish the installation package to the directory.

[0153] In another possible implementation, the device further includes:

[0154] A generation module, used for generating update code based on the edited configuration information;

[0155] Update module, used to update the update code into the source code file.

[0156] The embodiment of the present application provides a seismic processing program development device, which integrates task editing and task running functions. After adding a program file to a task, the task can be directly run to obtain the running result without switching and manually configuring the running environment. Moreover, if the running result does not meet the conditions, the program file can be directly debugged without manually configuring the debugging environment, which solves the tediousness of traditional debugging, greatly shortens the time, and thus improves the publishing efficiency.

[0157] refer to Fig.24 , Fig.24 The structure block diagram of a terminal 2400 provided by an exemplary embodiment of the present application is shown. The terminal 2400 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 2400 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0158] Typically, the terminal 2400 includes: a processor 2401 and a memory 2402 .

[0159] The processor 2401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0160] The memory 2402 may include one or more computer-readable storage media, which may be non-transitory. The memory 2402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2402 is used to store at least one program code, which is used to be executed by the processor 2401 to implement the operation performed by the terminal in the seismic processing program development method provided in the method embodiment of the present application.

[0161] In some embodiments, the terminal 2400 may also optionally include: a peripheral device interface 2403 and at least one peripheral device. The processor 2401, the memory 2402 and the peripheral device interface 2403 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2403 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2404, a display screen 2405, a camera assembly 2406, an audio circuit 2407 and a power supply 2408.

[0162] The peripheral device interface 2403 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2401 and the memory 2402. In some embodiments, the processor 2401, the memory 2402, and the peripheral device interface 2403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2401, the memory 2402, and the peripheral device interface 2403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0163] The radio frequency circuit 2404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2404 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2404 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 2404 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2404 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0164] The display screen 2405 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2405 is a touch display screen, the display screen 2405 also has the ability to collect touch signals on the surface or above the surface of the display screen 2405. The touch signal can be input to the processor 2401 as a control signal for processing. At this time, the display screen 2405 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 2405 can be one, set on the front panel of the terminal 2400; in other embodiments, the display screen 2405 can be at least two, respectively set on different surfaces of the terminal 2400 or in a folding design; in other embodiments, the display screen 2405 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 2400. Even, the display screen 2405 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 2405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0165] The camera assembly 2406 is used to capture images or videos. Optionally, the camera assembly 2406 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2406 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0166] The audio circuit 2407 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 2401 for processing, or input them into the radio frequency circuit 2404 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 2400. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 2401 or the radio frequency circuit 2404 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2407 may also include a headphone jack.

[0167] The power supply 2408 is used to power various components in the terminal 2400. The power supply 2408 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2408 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0168] In some embodiments, the terminal 2400 further includes one or more sensors 2409 , including but not limited to: an acceleration sensor 2410 , a gyroscope sensor 2411 , a pressure sensor 2412 , an optical sensor 2413 , and a proximity sensor 2414 .

[0169] The acceleration sensor 2410 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 2400. For example, the acceleration sensor 2410 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 2401 can control the display screen 2405 to display the user interface in a horizontal view or a vertical view based on the gravity acceleration signal collected by the acceleration sensor 2410. The acceleration sensor 2410 can also be used to collect game or user motion data.

[0170] The gyro sensor 2411 can detect the body direction and rotation angle of the terminal 2400, and the gyro sensor 2411 can cooperate with the acceleration sensor 2410 to collect the user's 3D actions on the terminal 2400. Based on the data collected by the gyro sensor 2411, the processor 2401 can implement the following functions: motion sensing (such as changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0171] The pressure sensor 2412 can be set on the side frame of the terminal 2400 and / or the lower layer of the display screen 2405. When the pressure sensor 2412 is set on the side frame of the terminal 2400, the user's holding signal of the terminal 2400 can be detected, and the processor 2401 performs left and right hand recognition or shortcut operations based on the holding signal collected by the pressure sensor 2412. When the pressure sensor 2412 is set on the lower layer of the display screen 2405, the processor 2401 controls the operability controls on the UI interface based on the user's pressure operation on the display screen 2405. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0172] The optical sensor 2413 is used to collect the ambient light intensity. In one embodiment, the processor 2401 can control the display brightness of the display screen 2405 based on the ambient light intensity collected by the optical sensor 2413. Specifically, when the ambient light intensity is high, the display brightness of the display screen 2405 is increased; when the ambient light intensity is low, the display brightness of the display screen 2405 is reduced. In another embodiment, the processor 2401 can also dynamically adjust the shooting parameters of the camera component 2406 based on the ambient light intensity collected by the optical sensor 2413.

[0173] The proximity sensor 2414, also called a distance sensor, is usually arranged on the front panel of the terminal 2400. The proximity sensor 2414 is used to collect the distance between the user and the front of the terminal 2400. In one embodiment, when the proximity sensor 2414 detects that the distance between the user and the front of the terminal 2400 is gradually decreasing, the processor 2401 controls the display screen 2405 to switch from the screen-on state to the screen-off state; when the proximity sensor 2414 detects that the distance between the user and the front of the terminal 2400 is gradually increasing, the processor 2401 controls the display screen 2405 to switch from the screen-off state to the screen-on state.

[0174] Those skilled in the art will understand that Fig.24 The structure shown in the figure does not constitute a limitation on the terminal 2400, and the terminal 2400 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0175] The server structure diagram can be found in Fig.25 The server 2500 may have relatively large differences due to different configurations or performances, and may include a processor (Central Processing Units, CPU) 2501 and a memory 2502, wherein the memory 2502 stores at least one program code, which is loaded and executed by the processor 2501 to implement the operations performed by the server in the above-mentioned seismic processing program development method. Of course, the server 2500 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server 2500 may also include other components for implementing device functions, which will not be described in detail here.

[0176] In an exemplary embodiment, a computer-readable storage medium is also provided. The computer-readable medium stores at least one program code. The at least one program code is loaded and executed by a processor to implement the seismic processing program development method in the above embodiment.

[0177] In an exemplary embodiment, a computer program product is further provided. The computer program product stores at least one program code. The at least one program code is loaded and executed by a processor to implement the seismic processing program development method in the above embodiment.

[0178] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0179] The above description is only for the purpose of facilitating those skilled in the art to understand the technical solution of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for developing a seismic processing program, characterized in that: The method comprises: Displaying a project creation interface, and acquiring project information of a seismic processing program based on the project creation interface; Based on the project information, a menu interface is displayed, wherein the menu interface includes a task editing option, a task running option, and a debugging function option; In response to detecting a triggering operation on the task editing option, displaying a task editing interface; Based on the task editing interface, a program file is added to the task; wherein the program file is a file after the seismic processing program is compiled; In response to detecting a triggering operation on the task execution option, executing the task and obtaining an execution result; In the case that the running result does not meet the condition, in response to detecting a triggering operation on the debugging function option, displaying a debugging setting interface, wherein the debugging setting interface includes a start debugging option; Based on the debugging setting interface, obtaining a task file corresponding to the task and an executable file for running the task; In response to detecting a triggering operation on the start debugging option, running the task file based on the executable file in a debugging environment, and debugging the program file during the running of the task file; After debugging is completed, the seismic processing program is released, and the seismic processing program is used to process seismic data.

2. The method according to claim 1, characterized in that The step of executing the task in response to detecting a triggering operation on the task execution option and obtaining an execution result includes: In response to detecting a triggering operation on the task execution option, displaying a task execution interface, wherein the task execution interface includes a start execution option; Based on the task running interface, obtaining the task file corresponding to the task; In response to detecting a triggering operation on the start-run option, starting a task process, running the task file based on the task process, and obtaining the running result; The operation result is redirected and output to a console, and the operation result is displayed through the console.

3. The method according to claim 2, characterized in that The method further comprises: Based on the project information, create a project file; Obtaining the running log of the task file, and adding the running log to the project file; The operation log is displayed based on the project file.

4. The method according to claim 1, characterized in that: The menu interface also includes: configuration information editing options; The method further comprises: In response to detecting a triggering operation on the configuration information editing option, displaying a configuration information editing interface; Based on the configuration information editing interface, the configuration information of the seismic processing program is edited.

5. The method according to claim 4, characterized in that The menu interface also includes: a publishing option; The issuing of the seismic processing program comprises: In response to detecting a triggering operation on the publishing option, displaying a catalog publishing interface; Based on the directory publishing interface, obtaining the directory to be published by the seismic processing program; Obtain a packaging resource script, and package the program file and the configuration file based on the packaging resource script to obtain an installation package; wherein the configuration file is a file generated based on the edited configuration information; Publish the installation package to the directory.

6. The method according to claim 4, characterized in that The method further comprises: Generate update code based on the edited configuration information; Update the update code into the source code file.

7. A seismic processing program development device, characterized in that: The device comprises: A first acquisition module, used for displaying a project creation interface, and acquiring project information of a seismic processing program based on the project creation interface; A first display module, used to display a menu interface based on the project information, wherein the menu interface includes a task editing option, a task running option and a debugging function option; A second display module, configured to display a task editing interface in response to detecting a triggering operation on the task editing option; An adding module, used to add a program file to a task based on the task editing interface; wherein the program file is a file after the seismic processing program is compiled; An operation module, configured to execute the task and obtain an operation result in response to detecting a trigger operation on the task execution option; A third display module is used for displaying a debugging setting interface in response to detecting a triggering operation on the debugging function option when the running result does not meet the condition, wherein the debugging setting interface includes a start debugging option; A second acquisition module, used to acquire a task file corresponding to the task and an executable file for running the task based on the debugging setting interface; A debugging module, configured to, in response to detecting a triggering operation on the start debugging option, run the task file based on the executable file in a debugging environment, and debug the program file during the running of the task file; The publishing module is used to publish the seismic processing program after debugging is completed, and the seismic processing program is used to process seismic data.

8. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the seismic processing program development method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: At least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by the processor to implement the seismic processing program development method according to any one of claims 1 to 6.

10. A computer program product, characterized in that At least one program code is stored in the computer program product, and the at least one program code is loaded and executed by a processor to implement the seismic processing program development method according to any one of claims 1 to 6.