Data processing method and device

By displaying operation controls in the performance analysis tool, allowing users to manage files during file import, solving the problem of low operation efficiency in existing tools and achieving more efficient file management and ease of use.

CN120353690APending Publication Date: 2025-07-22STREAM COMPUTING INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410073370.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-17
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

Existing performance analysis tools do not support interrupt operations during file import, resulting in low efficiency and difficulty for users.

Method used

By displaying operation controls during file import, users are allowed to cancel, continue or delete file imports to achieve file management.

Benefits of technology

Improve user operation efficiency and ease of use, and simplifies file management process through file segmentation and control operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120353690A_ABST
    Figure CN120353690A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method and device. According to the method, target files needing to be imported are determined, a file import process is executed in response to a file import instruction, an operation window comprising operation controls corresponding to the target files is displayed, and the target files are operated by triggering the operation controls. Therefore, each file can be managed in the file import process, and the user operation efficiency and usability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to a data processing method and apparatus. Background Art

[0002] Performance is one of the important indicators of an application, which directly affects the user experience and the usability of the application. By performing performance analysis, performance problems of the application can be identified and solved, thereby improving the performance of the application, making it faster, more stable and reliable. Performance problems of an application are usually related to resource usage, such as CPU, memory, disk, network, etc. By performing performance analysis, the resource usage of the application can be understood, resource bottlenecks can be identified, and corresponding measures can be taken to optimize resource usage, thereby improving the performance of the application. Performance problems of an application are usually manifestations of potential problems. By performing performance analysis, potential problems, such as code defects, design problems, etc., can be discovered, and corresponding measures can be taken to solve these problems, thereby improving the performance and reliability of the application. For performance analysis, the best analysis method is to be able to quantify the analysis target and provide it to developers in a visual form.

[0003] Performance analysis tools obtain analysis results by importing files, and a large number of files need to be imported in many scenarios. However, currently, during the process of importing files, performance analysis tools do not support operations such as interrupting the file import process, and the efficiency of users in file management is low and the operation difficulty is great. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a data processing method and apparatus applicable to performance analysis tools, which can manage each file during the file import process, improving the operation efficiency and usability of users.

[0005] In a first aspect, an embodiment of the present invention provides a data processing method applicable to a performance analysis tool, the method comprising:

[0006] Determine a target file to be imported;

[0007] In response to a file import instruction, execute a file import process and open an operation window, the operation window displaying at least operation controls corresponding to each of the target files;

[0008] In response to the operation control being triggered, execute a corresponding operation instruction.

[0009] In some embodiments, the executing the file import process comprises:

[0010] Cut the target file according to a predetermined data size to obtain sub-files;

[0011] Import the sub-file into the performance analysis tool.

[0012] In some embodiments, the operation window further includes a file import status, a file name, a file path, and a file size;

[0013] Among them, the file import status is obtained by monitoring the import process of the target file.

[0014] In some embodiments, the operation control includes at least one of a cancel control, a continue control, and a delete control.

[0015] In some embodiments, the opening of the operation window includes:

[0016] Display a cancel control for a target file that is being imported but not yet fully imported;

[0017] Among them, executing the corresponding operation instruction specifically means canceling the import of the corresponding target file in response to the trigger of the cancel control.

[0018] In some embodiments, the opening of the operation window further includes:

[0019] In response to the trigger of the cancel control, display a corresponding continue control in the operation window;

[0020] Among them, executing the corresponding operation instruction specifically means resuming the import of the target file in response to the trigger of the continue control.

[0021] In some embodiments, the opening of the operation window includes:

[0022] Display a delete control for a target file that has been fully imported;

[0023] Among them, executing the corresponding operation instruction specifically means deleting the corresponding target file in response to the trigger of the delete control.

[0024] In some embodiments, the method further includes:

[0025] In response to all target files being fully imported, close the operation window.

[0026] In a second aspect, an embodiment of the present invention provides a data processing device applicable to a performance analysis tool. The device includes:

[0027] A file determination module for determining a target file to be imported;

[0028] A file processing module for executing a file import process and opening an operation window in response to a file import instruction. The operation window displays at least operation controls corresponding to each of the target files;

[0029] An operation execution module, configured to execute a corresponding operation instruction in response to the operation control being triggered.

[0030] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer program instructions, and wherein the one or more computer program instructions are executed by the processor to implement the method as described in the first aspect.

[0031] The technical solution of the embodiment of the present invention determines a target file to be imported, executes a file import process in response to a file import instruction, and displays an operation window including operation controls corresponding to each target file, and operates on each target file by triggering the operation control. Thus, each file can be managed during the file import process, improving the user operation efficiency and usability. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Through the following description of the embodiments of the present invention with reference to the drawings, the above and other objects, features, and advantages of the present invention will become clearer. In the drawings:

[0033] Figure 1 is a flowchart of the data processing method according to an embodiment of the present invention;

[0034] Figure 2 is a flowchart of the file import according to an embodiment of the present invention;

[0035] Figure 3 is a schematic diagram of a first example of the operation window according to an embodiment of the present invention;

[0036] Figure 4 is a schematic diagram of a second example of the operation window according to an embodiment of the present invention;

[0037] Figure 5 is a schematic diagram of a third example of the operation window according to an embodiment of the present invention;

[0038] Figure 6 is a schematic diagram of a fourth example of the operation window according to an embodiment of the present invention;

[0039] Figure 7 is a schematic diagram of a fifth example of the operation window according to an embodiment of the present invention;

[0040] Figure 8 is a schematic diagram of a sixth example of the operation window according to an embodiment of the present invention;

[0041] Figure 9 is a schematic diagram of a seventh example of the operation window according to an embodiment of the present invention;

[0042] Figure 10It is a schematic diagram of the eighth example of the operation window of the embodiment of the present invention;

[0043] Figure 11 It is a schematic diagram of the data processing device of the embodiment of the present invention;

[0044] Figure 12 It is a schematic diagram of the electronic device of the embodiment of the present invention. Detailed implementation manners

[0045] The present invention will be described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. Those skilled in the art can fully understand the present invention without the description of these details. In order to avoid obscuring the essence of the present invention, well-known methods, processes, procedures, elements and circuits are not described in detail.

[0046] In addition, those of ordinary skill in the art should understand that the drawings provided herein are for illustrative purposes only, and the drawings are not necessarily drawn to scale.

[0047] Unless the context clearly requires otherwise, words such as "including", "comprising" and the like throughout the application document shall be construed in an inclusive sense rather than an exclusive or exhaustive sense; that is, the meaning of "including but not limited to".

[0048] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0049] A performance analysis tool is a tool used to monitor and analyze the performance status of an application, which can help developers identify performance bottlenecks and problems in the application and provide optimization suggestions. When common performance analysis tools are used, they can perform performance analysis on various types of files or programs. They can also provide various performance analysis and debugging functions, such as memory analysis and system analysis functions. Developers can identify performance bottlenecks and problems in the application, CPU (Central Processing Unit), and GPU (Graphics Processing Unit) based on the above functions. Through the analysis and optimization of the performance analysis tool, developers can optimize the performance of the application, improve the running efficiency of the application and the user experience. Using a performance analysis tool requires steps such as selecting a suitable tool, configuring the tool, collecting performance data, analyzing performance data, and optimizing the application. Common performance analysis tools include Linux performance tools, Windows performance tools, Java performance tools, NET performance tools, and GPU performance tools, etc.

[0050] However, when existing performance analysis tools load external data, they do not support interruption cancellation and can only be closed after the file import is completed, resulting in low efficiency and high operation difficulty for users in file management.

[0051] Therefore, the embodiments of the present invention provide a data processing method to manage each file during the file import process, improving user operation efficiency and usability.

[0052] Specifically, Figure 1 is a flowchart of the data processing method of the embodiments of the present invention. Figure 1 The data processing method shown is executed by a data processing terminal carrying a performance analysis tool, and the data processing terminal can be implemented by a desktop computer, a laptop computer, a tablet computer, a mobile phone, or other dedicated data terminals. As Figure 1 shown, the data processing method of the embodiments of the present invention includes the following steps:

[0053] Step S100, determine the target file to be imported.

[0054] In this embodiment, a performance analysis tool is installed on the data processing terminal, the performance tool is run, and the files to be used are selected as the target files through the configuration interface of the performance analysis tool. That is to say, the target files are the files required by the performance analysis tool, and the user can determine the target files according to the type of the performance analysis tool and the specific actual test requirements.

[0055] In some embodiments, the target file includes, but is not limited to, CUPTI (CUDA Profiling Tools Interface) files, ETL (Event Trace Log) files, Perf (Performance Counters for Linux) files, Trace (Trace File Format) files, and CSV (Comma-Separated Values) files.

[0056] Among them, CUPTI files can help developers analyze the usage of GPUs. The CUPTI file format is a binary file format used to store information such as GPU usage and memory usage.

[0057] ETL files are the extensions of Windows event trace log files. The ETL file format is a binary file format used to store event trace logs of the Windows operating system. ETL files can be used to analyze the performance of the Windows operating system.

[0058] Perf files are a performance analysis tool provided by the Linux operating system. It can help developers analyze information such as CPU usage and memory usage. The Perf file format is a binary file format used to store information such as CPU usage and memory usage.

[0059] Trace files are a general performance analysis file. It can be used to store performance data of CPUs, GPUs, memory, etc. The Trace file format is usually a text file format and can be used to share data between different performance analysis tools.

[0060] CSV files are a general data file. It can be used to store various types of data, including performance data of programs, etc. The CSV file format is usually a text file format and can be used to share data between different performance analysis tools.

[0061] It should be noted that the file import formats supported by the performance analysis tool are not limited to the above file formats. Developers need to select the appropriate format according to specific situations. When selecting a file import format, factors such as the requirements of the performance analysis tool, data type, and data volume need to be considered.

[0062] Step S200, in response to the file import instruction, execute the file import process and open the operation window.

[0063] In this embodiment, the operation window display at least includes operation controls corresponding to each of the target files. When the user selects a target file, it triggers the file import control to generate the file import instruction, executes the file import process based on the file import instruction, and opens the operation window, where the operation window includes one or more of information such as file name, status, file path, file size, and operation controls for each file.

[0064] Among them, Figure 2 is the flowchart of file import in the embodiment of the present invention. In Figure 2 the embodiment shown, the execution of the file import process includes the following steps:

[0065] Step S210, split the target file to obtain sub-files.

[0066] Since the target file may be relatively large, directly importing it may cause problems such as memory overflow. Therefore, by splitting the target file into multiple sub-files and then importing each sub-file, the import efficiency can be improved, memory overflow can be avoided, and data management and processing can be facilitated. It should be understood that the embodiment of the present invention does not limit the method of file splitting, and a suitable file splitting method can be selected according to actual needs to facilitate subsequent data processing and management.

[0067] In an alternative implementation, the target file is split according to a predetermined sub-file data size. The size of the sub-file is set by the user, and the number of splits required is calculated based on the size of the target file and the sub-file. The target file is split into fixed-size parts. For each sub-file, operations such as transmission, storage, or processing can be performed. If the data segment at the end of the split target file is less than the data value size of the predetermined sub-file, the insufficient part is filled with data; the filling data can be any data.

[0068] The above splitting method has the properties of simplicity and ease of use. Splitting the target file into multiple sub-files facilitates import, transmission, storage, or processing. At the same time, fixed-size splitting can also avoid the problem of memory overflow because the size of each sub-file is relatively small, which can prevent the entire target file from being loaded into memory.

[0069] In another alternative implementation, the file is hashed and split according to a hash function suitable for the data type. The hash function is set by the user to map the data to a hash value of a fixed length. For each data item, its hash value is calculated using the hash function. Data items with the same hash value are assigned to the same partition. Usually, each partition is responsible for processing by a node or a group of nodes. Each node is responsible for processing the data partition assigned to it. When processing the data, the node can use any suitable algorithm or technology.

[0070] The above splitting method can distribute data to multiple nodes for processing, thereby improving the performance and scalability of the system. At the same time, hash splitting can also improve the fault tolerance of the system because if a node fails, other nodes can take over the data partitions assigned to it. However, there are also some disadvantages in hash splitting, such as uneven data distribution and the selection of hash functions. These problems need to be considered and solved in practical applications.

[0071] In another alternative implementation, the target file is cut according to a predetermined time period length. The target file can be a file that needs to be divided by time, such as real-time data acquisition and log recording. The predetermined time period length can be determined by the user. The file is split according to the predetermined time period length, and each sub-file contains data within the predetermined time period length.

[0072] The above splitting method can split data according to a fixed time period length, and the split sub-files can be sorted according to time, which is more convenient for merging sub-files.

[0073] It should be noted that the file splitting methods supported by the performance analysis tool are not limited to the above splitting methods. Developers need to select a suitable method according to specific situations. When selecting a file splitting method, factors such as the requirements of the performance analysis tool and the file format need to be considered.

[0074] Step S220, import the sub-file into the performance analysis tool.

[0075] In this embodiment, after the target file is cut into sub-files, the sub-files are imported into the performance analysis tool.

[0076] When executing the file import process, an operation window is opened, and the operation window displays at least operation controls corresponding to each of the target files. Among them, the present invention embodiment does not limit the opening timing of the operation window. For example, the operation window is opened simultaneously at the moment of starting to execute the file import process, or for example, the operation window is opened after the moment of starting to execute the file import, or for example, the operation window is opened before the moment of starting to execute the file import.

[0077] Figure 3 is a schematic diagram of the first example of the operation window of the present invention embodiment. As Figure 3 shown, the operation window includes the file name, status, file path, file size, and operation controls corresponding to each file.

[0078] Among them, the "name" is the file name corresponding to each target file, such as Figure 3 the files F1, F2, F3, and F4 in

[0079] The "status" refers to the import status of each file, such as "importing" and "completed". Among them, "importing" means that the file has not been imported or has not been fully imported. Since the import of each file is generally executed sequentially, assuming that a certain file is currently being imported, the corresponding status is "importing". Assuming that a certain file has not been imported yet, that is to say, the file is waiting for the import process, the corresponding status is also "importing". Assuming that a certain file is fully imported, the corresponding status is "completed". Among them, the import status can be obtained by monitoring the file import process.

[0080] It should be understood that the classification of the import status in the embodiments of the present invention is not limited to Figure 3 the manner shown. For example, the status can also be divided into Figure 4 the manner of the second example shown, specifically including "importing", "waiting to import" and "completed". In the Figure 4 embodiment shown, assuming that file F1 is currently being imported, the corresponding status is "importing". Assuming that files F2 and F3 have not been imported yet, that is to say, files F2 and F3 are in the waiting process, the corresponding status is also "waiting to import". Assuming that file F4 is fully imported, the corresponding status is "completed".

[0081] The "file path" is the location where each file is stored.

[0082] The file size is the occupied space of each file. It should be noted that in the embodiments of the present invention, the file is imported by means of file splitting, but the file splitting and import are executed in the background, and only the file size is displayed in the operation window, and the relevant information of the sub-files is not displayed.

[0083] The operation control is the operation control corresponding to each file. The display of the operation control can be determined according to the status of the file. For example, for a file with the status of "importing", the displayed operation control is "cancel". For a file with the status of "completed", the displayed operation control is also "cancel", but at this time the "cancel" control cannot be triggered. At the same time, it can be distinguished from the triggerable "cancel" control by means of shadow filling, color filling, pattern filling, etc., so as to facilitate user operation.

[0084] It should be understood that the classification of the operation control in the embodiments of the present invention is not limited to Figure 4 and Figure 5 the manner shown. For example, the operation control can also be the third example shown in Figure 5 For a file with the status of "importing", the displayed operation control is "cancel". For a file with the status of "completed", the displayed operation control is "delete". The imported file can be deleted by clicking the delete control.

[0085] Step S300, in response to the operation control being triggered, execute the corresponding operation instruction.

[0086] Wherein, the operation control includes at least one of a cancellation control, a continue control, and a deletion control.

[0087] In some embodiments, a cancellation control is displayed for a target file that is being imported but has not been completely imported. In response to the cancellation control being triggered, the corresponding target file list is deleted in the operation window, or, in response to the cancellation control being triggered, the corresponding continue control is displayed in the operation window.

[0088] Take Figure 3 the operation window shown as an example. If the user needs to cancel the import of a certain file, the "Cancel" control can be triggered. For example, assume the user needs to cancel the import of file F1, then the cancellation control corresponding to file F1 can be triggered. The operation window after triggering can be as shown in the fourth example of Figure 6 . In the embodiment shown in Figure 6 , in response to the cancellation control being triggered, the corresponding target file list is deleted in the operation window. That is to say, when the cancellation control of file F1 is triggered, the import process of file F1 is cancelled and file F1 is deleted in the operation window.

[0089] It should be understood that for triggering the cancellation control, the processing method of the file whose import is cancelled in the embodiments of the present invention is not limited to Figure 6 the method shown in Figure 3 . For example, also take the operation window shown in Figure 7 as an example. If the user triggers the cancellation control corresponding to file F1, the operation window after triggering can also be as shown in the fifth example of Figure 7 . In the embodiment shown in

[0090] , in response to the cancellation control being triggered, the corresponding continue control is displayed in the operation window. That is to say, when the cancellation control of file F1 is triggered, the import process of file F1 is interrupted and the control corresponding to file F1 is changed to a continue control. Correspondingly, the status of file F1 can also be changed accordingly, for example, the status is updated to paused import.

[0090] In some embodiments, a deletion control is displayed for a target file that has been completely imported. In response to the deletion control being triggered, the corresponding target file is deleted.

[0091] Take Figure 5 the operation window shown as an example. Assume the user needs to delete file F4, just trigger the deletion control corresponding to file F4. The operation window after triggering can be as shown in Figure 8In the sixth example shown, the imported file is deleted in the performance analysis tool, and the display information of the file corresponding to the deletion control is deleted in the operation window. That is, when the deletion control of file F4 is triggered, file F4 is deleted in the performance analysis tool, and the information of file F4 displayed in the operation window is deleted.

[0092] In some embodiments, in response to the continue control being triggered, the import of the target file is resumed.

[0093] Take Figure 7 as an example for illustration. As described above, after the cancel control of file F1 is triggered, the import of file F1 is interrupted and the continue control is displayed. If the user needs to continue importing file F1, just click the continue control. When the continue control is triggered, the operation window returns to Figure 3 the operation window shown.

[0094] Further, when all the target files have been imported, the operation window is closed.

[0095] In an alternative implementation, when all the files displayed in the operation window are imported, the performance analysis tool automatically closes the operation window.

[0096] In another alternative implementation, when all the files displayed in the operation window are imported, a management pop-up window of the operation window is displayed in the operation window, specifically as Figure 9 shown in the seventh example. The operation window pops up the management pop-up window of the operation window. The user can select "OK" to trigger the closing of the operation window, or select "Cancel" to continue displaying the operation window, and then manage the files.

[0097] That is, if the user hopes to save all the imported files and no longer needs to operate on the files, then trigger the "OK" control to close the operation window.

[0098] If the user hopes to continue deleting the imported files, then select the "Cancel" control to close the management pop-up window. At this time, only the operation window is displayed, specifically as Figure 10 shown in the eighth example. At this time Figure 10 the deletion controls corresponding to the file flow displayed in it can all be triggered, and the user can also delete the corresponding target files.

[0099] It should be noted that the management pop-up window should pop up when all the files have been imported. It can be triggered when all the files have been imported, or can be triggered after all the files have been imported and the user has not operated within a predetermined time. The predetermined time can be set according to the actual situation, such as 5s, 10s, etc.

[0100] It should be noted that in any of the above optional implementation manners, for the file import process in the same state, the corresponding operation control can be triggered in a batch selection manner to execute the same operation instruction on the selected multiple file import processes.

[0101] Among them, in the embodiments of the present invention, some examples when up to four file processes execute the import instruction simultaneously are listed, but the number of file processes that can support simultaneous import is not limited.

[0102] The embodiments of the present invention determine the target files to be imported, execute the file import process in response to the file import instruction, and display an operation window including the operation controls corresponding to each target file, and operate on each target file by triggering the operation control. Thus, each file can be managed during the file import process, improving the user operation efficiency and usability.

[0103] Figure 11 It is a schematic diagram of the data processing device according to the embodiments of the present invention. As Figure 11 shown, the data processing device according to the embodiments of the present invention includes a file determination module 111, a file processing module 112, and an operation execution module 113. The file determination module 111 is used to determine the target files to be imported. The file processing module 112 is used to execute the file import process and open the operation window in response to the file import instruction, and the operation window displays at least the operation controls corresponding to each of the target files. The operation execution module 113 is used to execute the corresponding operation instruction in response to the operation control being triggered.

[0104] In some embodiments, the file processing module includes:

[0105] A sub-file acquisition sub-module, configured to cut the target file according to a predetermined data size to obtain sub-files;

[0106] A file import sub-module, configured to import the sub-files into the performance analysis tool.

[0107] In some embodiments, the operation window further includes a file import status, a file name, a file path, and a file size;

[0108] Among them, the file import status is obtained by monitoring the import process of the target file.

[0109] In some embodiments, the operation control includes at least one of a cancel control, a continue control, and a delete control.

[0110] In some embodiments, the file processing module includes:

[0111] The first cancellation control display sub-module is used to display a cancellation control for a target file that is being imported but has not been completely imported;

[0112] Among them, the operation execution module is specifically configured to cancel the import of the corresponding target file in response to the triggering of the cancellation control.

[0113] In some embodiments, the file processing module includes:

[0114] The resume control display sub-module is used to display a resume control for a target file whose import has been paused;

[0115] Among them, the operation execution module is specifically configured to resume the import of the target file in response to the triggering of the resume control.

[0116] In some embodiments, the file processing module includes:

[0117] The deletion control display sub-module is used to display a deletion control for a target file that has been completely imported;

[0118] Among them, the execution of the corresponding operation instruction is specifically to delete the corresponding target file in response to the triggering of the deletion control. In some embodiments, the device further includes:

[0119] The operation window closing module is used to close the operation window in response to all the target files being completely imported.

[0120] In the embodiments of the present invention, by determining the target files to be imported, executing the file import process in response to the file import instruction, and displaying an operation window including operation controls corresponding to each target file, and operating on each target file by triggering the operation controls. Thus, each file can be managed during the file import process, improving the user operation efficiency and usability.

[0121] Figure 12 is a schematic diagram of the electronic device according to the embodiments of the present invention. As Figure 12 shown, Figure 12The electronic device shown is a general address query device, which includes a general computer hardware structure, and at least includes a processor 121 and a memory 122. The processor 121 and the memory 122 are connected through a bus 123. The memory 122 is adapted to store instructions or programs executable by the processor 121. The processor 121 can be an independent microprocessor or a set of one or more microprocessors. Thus, by executing the instructions stored in the memory 122, the processor 121 implements the method flow of the embodiment of the present invention as described above to process data and control other devices. The bus 123 connects the above-mentioned multiple components together and also connects the above-mentioned components to a display controller 124, a display device, and an input / output (I / O) device 125. The input / output (I / O) device 125 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a body sensing input device, a printer, and other devices well-known in the art. Typically, the input / output device 125 is connected to the system through an input / output (I / O) controller 126.

[0122] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device (equipment), or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0123] The present application is described with reference to the flowcharts of methods, devices (equipment), and computer program products according to the embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.

[0124] These computer program instructions can be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, and the instruction device implements the process Figure 1 the functions specified in one process or multiple processes.

[0125] These computer program instructions can also be provided to the processor of a general computer, a special computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices produce a device for implementing the functions specified in Figure 1 one process or multiple processes.

[0126] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, which is used for a computer to execute the above-mentioned partial or all method embodiments.

[0127] That is, those skilled in the art can understand that all or part of the steps in implementing the above-mentioned method embodiments can be completed by specifying relevant hardware through a program. The program is stored in a storage medium, including several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0128] The foregoing are only the preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A data processing method, applicable to a performance analysis tool, characterized in that, The method includes: Determine the target file to be imported; In response to a file import instruction, execute a file import process and open an operation window, where the operation window displays at least operation controls corresponding to each of the target files; In response to the operation control being triggered, execute the corresponding operation instruction.

2. The method according to claim 1, wherein The execution of the file import process includes: Cut the target file according to a predetermined data size to obtain sub-files; Import the sub-files into the performance analysis tool.

3. The method according to claim 1, characterized in that The operation window further includes a file import status, a file name, a file path, and a file size; Among them, the file import status is obtained by monitoring the import process of the target file.

4. The method according to claim 1, characterized in that The operation control includes at least one of a cancel control, a continue control, and a delete control.

5. The method according to claim 4, characterized in that, The opening of the operation window includes: Display a cancel control for a target file that is being imported but has not been fully imported; Among them, the execution of the corresponding operation instruction is specifically to cancel the import of the corresponding target file in response to the cancel control being triggered.

6. The method according to claim 5, wherein The opening of the operation window further includes: In response to the cancel control being triggered, display a corresponding continue control in the operation window; Among them, the execution of the corresponding operation instruction is specifically to resume the import of the target file in response to the continue control being triggered.

7. The method according to claim 4, wherein The opening of the operation window includes: Display a delete control for a target file that has been fully imported; Among them, the execution of the corresponding operation instruction is specifically to delete the corresponding target file in response to the delete control being triggered.

8. The method according to claim 1, wherein The method further includes: In response to all the target files being fully imported, close the operation window.

9. A data processing device, applicable to a performance analysis tool, characterized in that, The device includes: A file determination module for determining the target file to be imported; A file processing module for executing a file import process and opening an operation window in response to a file import instruction, where the operation window displays at least operation controls corresponding to each of the target files; An operation execution module for executing the corresponding operation instruction in response to the operation control being triggered.

10. An electronic device, comprising a memory and a processor, characterized in that, The memory is used to store one or more computer program instructions, where the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-8.