Image material processing method and device, equipment and storage medium
By displaying cached materials in the work board and responding to function switching operations, the data synchronization problem between functional modules in the image material processing method is solved, and the effect of flexible switching and fast synchronization is achieved.
Patent Information
- Application Number
- CN202411361148.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-14
AI Technical Summary
The existing image material processing methods rely on files to achieve data synchronization between modules, resulting in the inability to flexibly switch functions.
Display cache materials in the work board, and respond to function switching operations, display the functional module interface and target materials corresponding to the function module after the switching, so as to achieve rapid data synchronization between various functional modules.
The cache realizes rapid data synchronization between modules, overcomes the defects of data synchronization between file implementation modules, and realizes flexible switching between functional modules.
Smart Images

Figure CN119311437A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image material processing method, device, equipment and storage medium. Background Art
[0002] At present, the relevant image material processing method is to develop different analysis software for users with different processing needs. For example, software A is provided for users who mainly use analysis functions; software B is provided for users who mainly output thermal imaging reports; when using software A, users must work in the order of material management->material analysis->export report; when using software B, users must work in the order of material management->export report->material analysis. In the above processing, each functional module analyzes independently, that is, after the functional module completes the processing, it must save the processing results to the material file, and then pass the saved material file to the next functional module for processing, and so on, until all functional modules complete the processing. However, the above processing process relies on files to achieve data synchronization between modules, and the functions cannot be flexibly switched. Summary of the invention
[0003] The main purpose of the present application is to provide an image material processing method, device, equipment and storage medium, aiming to solve the technical problem that the related image material processing method relies on files to achieve data synchronization between modules and the functions cannot be flexibly switched.
[0004] To achieve the above object, the present application provides an image material processing method, the image material processing method comprising:
[0005] Displaying cached materials in the work board, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the function module before switching;
[0006] In response to the function switching operation, displaying a function module interface and a target material corresponding to the switched function module, wherein the switched function module is a function module selected from the plurality of function modules according to the function switching operation, and the target material is a material selected from the cached materials according to the function switching operation;
[0007] After the post-switching functional module completes processing of the target material, the processing result of the post-switching functional module is displayed.
[0008] Optionally, before displaying the cached material on the work board, the method further includes:
[0009] Displaying the material to be processed in the work board, wherein the material to be processed is an image material pre-added to the work board;
[0010] In response to the function selection operation, displaying the function module interface and the selected material corresponding to the selected function module, wherein the selected function module is a function module selected from the plurality of function modules according to the function selection operation, and the selected material is a material selected from the materials to be processed according to the material selection operation;
[0011] After the selected function module completes processing of the selected material, the processed material is cached in the work board.
[0012] Optionally, after the selected functional module completes processing of the selected material, caching the processed material in the work board includes:
[0013] After the selected function module completes processing of the selected material, obtaining the material size of the processed material;
[0014] Selecting a target storage space according to the size of the material, wherein the target storage space includes a memory or a disk;
[0015] The processed material is cached in the work board based on the target storage space.
[0016] Optionally, before displaying the to-be-processed material on the work board, the method further includes:
[0017] Responding to a material adding operation, and determining a to-be-processed material according to the material adding operation;
[0018] Obtaining the uniform resource locator of the material to be processed;
[0019] The uniform resource locator of the material to be processed is added to the work board.
[0020] Optionally, after displaying the function module interface corresponding to the selected function module and the selected material in response to the function selection operation, the method further includes:
[0021] Obtaining the uniform resource locator of the selected material;
[0022] Loading the selected material according to the uniform resource locator of the selected material;
[0023] The loaded selected material is processed by the selected functional module.
[0024] Optionally, the pre-switching functional module is a functional module for performing secondary analysis on the material, and the post-switching functional module is a functional module for exporting a report corresponding to the material.
[0025] Optionally, before displaying the function module interface and target material corresponding to the switched function module in response to the function switching operation, the method further includes:
[0026] In response to a material management operation, wherein the material management operation includes at least one of a deletion operation, an order adjustment operation, and a grouping operation;
[0027] Edit the cached material according to the material management operation to obtain edited material;
[0028] In response to the function switching operation, displaying the function module interface and target material corresponding to the switched function module includes:
[0029] In response to the function switching operation, the function module interface corresponding to the switched function module and the edited material are displayed.
[0030] Optionally, after displaying the cached material on the work board, the method further includes:
[0031] In response to a file saving operation, selecting a material to be saved from the cached material according to the file saving operation;
[0032] The material to be saved is written into an original file corresponding to the material to be saved, a target file is obtained, and the target file is output.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an image material processing device, the image material processing device comprising:
[0034] A material display module, used to display cached materials in the work board, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the function module before switching;
[0035] An operation response module, configured to display a function module interface and a target material corresponding to the switched function module in response to the function switching operation, wherein the switched function module is a function module selected from the plurality of function modules according to the function switching operation, and the target material is a material selected from the cached materials according to the function switching operation;
[0036] A result display module is used to display the processing result of the post-switching function module after the post-switching function module completes processing of the target material.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes an image material processing device, which includes a memory, a processor, and an image material processing program stored in the memory and executable on the processor, and the image material processing program is configured to implement the image material processing method described above.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which an image material processing program is stored, and when the image material processing program is executed by a processor, the image material processing method as described above is implemented.
[0039] One or more technical solutions proposed in this application have at least the following technical effects:
[0040] In the present application, the display of cached materials in a work board is disclosed, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the pre-switching functional module. In response to a function switching operation, the post-switching functional module and the target material corresponding to the post-switching functional module are displayed, wherein the post-switching functional module is a functional module selected from multiple functional modules according to the function switching operation, and the target material is a material selected from the cached materials according to the function switching operation. After the post-switching functional module completes processing of the target material, the processing result of the post-switching functional module is displayed. Since the present application caches the results of each functional module to the work board and realizes fast data synchronization between modules through caching, it overcomes the defect that the related technology needs to rely on files to realize data synchronization between modules, thereby realizing flexible switching between various functional modules. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 This is a flowchart of a first embodiment of the image material processing method of the present application;
[0044] Figure 2 A schematic diagram of a software interaction interface of an embodiment of the image material processing method of the present application;
[0045] Figure 3 Another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application;
[0046] Figure 4 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application;
[0047] Figure 5This is a flow chart of a second embodiment of the image material processing method of the present application;
[0048] Figure 6 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application;
[0049] Figure 7 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application;
[0050] Figure 8 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application;
[0051] Fig. 9 This is a flowchart of a third embodiment of the image material processing method of the present application;
[0052] Fig.10 This is a schematic diagram of the module structure of the image material processing device according to an embodiment of the present application;
[0053] Fig.11 Schematic diagram of the device structure of the hardware operating environment involved in the image material processing method in the embodiment of the present application.
[0054] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0056] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0057] At present, the relevant image material processing method is to develop different analysis software for users with different processing needs. For example, software A is provided for users who mainly use analysis functions; software B is provided for users who mainly output thermal imaging reports; when using software A, users must work in the order of material management->material analysis->export report; when using software B, users must work in the order of material management->export report->material analysis. In the above processing, each functional module analyzes independently, that is, after the functional module completes the processing, it must save the processing results to the material file, and then pass the saved material file to the next functional module for processing, and so on, until all functional modules complete the processing. However, the above processing process relies on files to achieve data synchronization between modules, and the functions cannot be flexibly switched.
[0058] Therefore, in order to overcome the above-mentioned defects, the present application provides a solution, which includes: displaying cached materials in a work board, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the functional module before switching; in response to a function switching operation, displaying the functional module after switching and the target material corresponding to the functional module after switching, wherein the functional module after switching is a functional module selected from multiple functional modules according to the function switching operation, and the target material is a material selected from the cached material according to the function switching operation; after the functional module after switching completes processing the target material, displaying the processing result of the functional module after switching; since the present application caches the results of each functional module to the work board and realizes fast data synchronization between modules through caching, it overcomes the defect that the related technology needs to rely on files to realize data synchronization between modules, thereby realizing flexible switching between each functional module.
[0059] It should be noted that the execution subject of the embodiment of the present application can be an image material processing device with data processing, network communication and program running functions, such as a computer, or other electronic devices that can achieve the same or similar functions, and this embodiment does not impose any restrictions on this.
[0060] Based on this, the present application embodiment provides an image material processing method, referring to Figure 1 , Figure 1 This is a flowchart diagram of the first embodiment of the image material processing method of the present application.
[0061] In a first embodiment, the image material processing method includes:
[0062] Step S10: displaying cached materials in the work board, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the function module before switching.
[0063] It should be understood that the application scenario of the embodiment of the present application can be to analyze and process image materials through software, wherein the material can be an object for software to edit, process and read data, and the material can include JPEG files, thermal radiation pictures, audio-visual pictures, and thermal radiation videos, etc., which are not limited in this embodiment. A thermal radiation picture can be a picture file in which thermal radiation data and all data required for secondary analysis (such as content data and metadata) are attached to a JPEG file. The content data is the actual data content. In a specific implementation, the content data can be text data (such as articles), image data (such as illustrations), audio data (such as recordings), video data (such as continuous frames), and sensor data (such as temperature, radiation, pressure), etc. In a thermal radiation picture, the core content data can include thermal radiation data and thermal imaging screenshots (JPEG). In an audio-visual picture, the core content data can include audio data and cloud picture screenshots. Metadata is data that provides background information required to understand other data, that is, data that describes data. Metadata can include structured metadata and descriptive metadata, which are used to describe the structure, data elements, relationships and other characteristics of the data. Without metadata, such as the unit gram, the number 8 is meaningless. In a specific implementation, metadata may include file system date information, processing parameters, sequence files, audit trails, or data required to reconstruct analysis activities.
[0064] It should be noted that the work board can be a display window that visualizes the data (which can exist in memory or disk) during the material processing process, or it can be an operation window that temporarily manages multiple data objects, including sorting and grouping of materials. This implementation does not limit this. In a specific implementation, the navigation area of the software interaction interface includes multiple functional modules (such as material management, material analysis, and report export functional modules). The cached material is the processed material cached in the work board, and the processed material is the material processed by the functional module before switching, wherein the functional module before switching is at least one or more combinations of multiple functional modules. Among them, material analysis can refer to secondary analysis materials, and secondary analysis materials can include audio-visual secondary analysis and thermal imaging secondary analysis. Taking thermal imaging secondary analysis as an example, thermal imaging secondary analysis includes secondary temperature measurement and secondary thermal imaging. Secondary temperature measurement depends on thermal radiation data, temperature measurement parameters, etc.; secondary thermal imaging depends on thermal radiation data, image parameters, etc.
[0065] It can be understood that, in a specific implementation, the pre-switching function module is a function module for performing secondary analysis on the material, and the post-switching function module is a function module for exporting reports corresponding to the material. For example, the pre-switching function module may be a material analysis function module, and the post-switching function module may be a report export function module, which is not limited in this embodiment.
[0066] For ease of understanding, refer to Figure 2 and Figure 3 This invention is provided for illustration, but is not intended to limit the present application. Figure 2 This is a schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application. In the figure, as an example, it is assumed that the execution subject is a computer, and a software interaction interface is displayed on the computer. The software interaction interface includes a navigation area, a functional module interface and a work board. The navigation area of the software interaction interface includes multiple functional modules (such as material management, material analysis, and report export functional modules), and cached materials are displayed in the work board. The cached materials are processed materials cached in the work board, and the processed materials are materials processed by the functional modules before switching.
[0067] Figure 3 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application. In the figure, as an example, it is assumed that the execution subject is a computer, and a software interaction interface is displayed on the computer. The software interaction interface includes a navigation area, a functional module interface and a work board. The functional modules in the navigation area include material management, material analysis and report export. The functional module before switching is the material analysis function module, and material A' is displayed in the work board. Material A' is the material pre-processed by the material analysis function module. Material B can also be displayed in the work board. Material B is the image material pre-added to the work board.
[0068] It can be understood that, in this embodiment, the cached material is visualized so that the user can directly understand the current status of the material used for secondary analysis or exporting reports.
[0069] Step S20: In response to a function switching operation, display a function module interface and target material corresponding to the switched function module, wherein the switched function module is a function module selected from the multiple function modules according to the function switching operation, and the target material is a material selected from the cached material according to the function switching operation.
[0070] It should be understood that this embodiment achieves flexible switching between various functional modules by caching the results of various functional modules to the work board and realizing fast data synchronization between modules through caching. Therefore, in this embodiment, the cached material can be processed in response to the function switching operation and according to the function switching operation, wherein the function switching operation can be an operation of switching from one functional module to another functional module (such as switching from the material analysis functional module to the report export functional module).
[0071] For ease of understanding, refer to Figure 4 This invention is provided for illustration, but is not intended to limit the present application. Figure 4This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application. In the figure, as an example, it is assumed that the execution subject is a computer, and a software interaction interface is displayed on the computer. The software interaction interface includes a navigation area, a function module interface and a work panel. The function modules in the navigation area include material management, material analysis and report export. The function module before switching is the material analysis function module, and the function module after switching is the report export function module. The function switching operation is to switch from secondary analysis of material A' to report export of material A' (the underline in the figure indicates that it is selected), then the function module interface is switched from the material analysis interface to the report output interface, and material A' is displayed in the report output interface. The report output interface also includes multiple report output components, and the user can click the report output component to process material A'.
[0072] Furthermore, in order to facilitate users to manage materials, in this embodiment, the ability to edit materials in the work board is provided to users through material visualization. Before step S20, it also includes: responding to a material management operation, wherein the material management operation includes at least one of a deletion operation, a sequence adjustment operation, and a grouping operation; editing the cached material according to the material management operation to obtain the edited material; accordingly, responding to the function switching operation, displaying the function module interface corresponding to the switched function module and the target material, including: responding to the function switching operation, displaying the function module interface corresponding to the switched function module and the edited material.
[0073] In order to realize the cleaning of cache, in this embodiment, the work board supports the delete operation, that is, the user can delete the cached materials in the work board through the delete operation; in order to facilitate the subsequent material analysis, in this embodiment, the work board also supports the order adjustment operation, that is, the user can adjust the order of the cached materials in the work board through the order adjustment operation; in order to realize material group analysis and material switching by group and improve the analysis efficiency, in this embodiment, the work board also supports the grouping function, that is, the user can group the cached materials in the work board through the grouping operation. Of course, in addition to the above three material management operations, the work board can also support other material management operations, which are not limited in this embodiment.
[0074] Step S30: After the post-switching functional module completes processing of the target material, the processing result of the post-switching functional module is displayed.
[0075] It should be understood that after the switched functional module completes processing of the target material, the processing result of the switched functional module may be displayed on the report export interface, or may be output, and this embodiment does not impose any limitation on this.
[0076] Compared with the related art that requires two software to realize the analysis function and the output report function respectively, in this embodiment, the results of each functional module are cached to the work board, and the data between modules are quickly synchronized through the cache, so that only one software is needed to realize the combination of multiple functional modules.
[0077] This embodiment caches the results of each functional module to the work board, and achieves fast data synchronization between modules through caching, thereby overcoming the defect that related technologies need to rely on files to achieve data synchronization between modules, and further achieving flexible switching between various functional modules.
[0078] Reference Figure 5 , Figure 5 This is a flow chart of the second embodiment of the image material processing method of the present application. Figure 1 The first embodiment shown provides a second embodiment of the image material processing method of the present application.
[0079] In the second embodiment, before step S10, the method further includes:
[0080] Step S01: displaying the material to be processed in the work board, wherein the material to be processed is an image material pre-added to the work board.
[0081] It should be understood that, in this embodiment, the image materials pre-added to the work board are visually displayed in the work board, so as to facilitate the subsequent function selection operation.
[0082] Displaying the material to be processed in the work board may be generating thumbnails of the image material in the favorites and / or attribute information of the thumbnails according to the target data stored in the favorites, and this embodiment does not impose any limitation on this.
[0083] For ease of understanding, refer to Figure 6 This invention is provided for illustration, but is not intended to limit the present application. Figure 6This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application. In the figure, as an example, it is assumed that the execution subject is a computer, and a software interaction interface is displayed on the computer. The software interaction interface includes a navigation area, a function module interface and a work board. The function modules in the navigation area include material management, material analysis and report export. Then the user can click the material management function module to initiate a material addition request (the underline in the figure indicates that it is selected). After the computer receives the material addition request, it can display the material management interface in the function module interface. The material management interface includes a favorite and an add material to edit component. The favorite is used to display the materials that the user has collected in advance. The user can select materials from the favorites and add them to the work board; the user can also click the material to edit component to add the material to the work board. For example, if the materials added to the work board are material A and material B, then material A and material B are displayed in the work board. Of course, the user can also import image materials into the favorites. As an example, the user's material import operation can be to click the import material component in the favorites interface to import the image material into the favorites.
[0084] Furthermore, in order to reduce the initial loading time, in this embodiment, when adding materials to the work board, only the uniform resource locator can be loaded first, and there is no need to immediately cache data. Before step S01, it also includes: responding to the material adding operation, and determining the material to be processed according to the material adding operation; obtaining the uniform resource locator of the material to be processed; and adding the uniform resource locator of the material to be processed to the work board.
[0085] It should be noted that the material adding operation can be to select the material to be edited from the favorites through the material management function module and add the material to be edited to the work board; or to add the material to be edited through the material management function module and add the material to be edited to the work board, which is not limited in this embodiment. Among them, the material to be processed can be the material to be edited selected from the favorites or the material to be edited added through the material management function module, which is not limited in this embodiment.
[0086] It should be understood that URL (Uniform Resource Locator) can be a string used to identify and locate resources. In order to improve the software response speed, in this embodiment, when adding materials to the work board, only the URL can be loaded (that is, only the URL of the material is cached in the work board), and there is no need to cache data immediately. Only when the content is actually accessed or modified, the data is loaded and cached through the URL, thereby reducing unnecessary consumption of storage space.
[0087] Of course, in order to achieve a quick response, in this embodiment, the material can also be directly loaded when adding the material to the work board, that is, the material can be directly cached in the work board. Since the material has been downloaded locally during the initial loading, the user can get an immediate response when accessing the content, thereby reducing waiting time.
[0088] Step S02: In response to a function selection operation, display a function module interface and selected material corresponding to the selected function module, wherein the selected function module is a function module selected from the multiple function modules according to the function selection operation, and the selected material is a material selected from the material to be processed according to the material selection operation.
[0089] It should be noted that the function selection operation may be an operation of selecting any function module from multiple function modules to process the material to be processed (such as selecting a material analysis function module from multiple function modules to perform secondary analysis on the material to be processed). The function module interface corresponding to the selected function module may be an operation interface corresponding to the selected function module.
[0090] For ease of understanding, refer to Figure 7 This invention is provided for illustration, but is not intended to limit the present application. Figure 7 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application. In the figure, as an example, it is assumed that the execution subject is a computer, and a software interaction interface is displayed on the computer. The software interaction interface includes a navigation area, a function module interface and a work panel. The function modules in the navigation area include material management, material analysis and report export. The function selection operation is to select the material analysis function module to perform a secondary analysis on material A (the underline in the figure indicates that it is selected), then the function module interface is switched to the material analysis interface, and material A is displayed in the material analysis interface. The material analysis interface also includes multiple material analysis components (such as area selection, secondary temperature measurement and secondary thermal imaging, etc., not shown in the figure), and the user can click on the material analysis component to perform a secondary analysis on material A.
[0091] Furthermore, since only the uniform resource locator is loaded and no data is cached during the initial loading, when the content is actually accessed or modified, data needs to be loaded and cached through the URL, and the step S02 includes: obtaining the uniform resource locator of the selected material; loading the selected material according to the uniform resource locator of the selected material; and processing the loaded selected material through the selected function module.
[0092] Step S03: After the selected functional module completes processing of the selected material, the processed material is cached in the work board.
[0093] In a specific implementation, after the selected functional module completes processing of the selected material, caching the processed material into the work board may be storing data of the processed material in a memory.
[0094] For ease of understanding, refer to Figure 8 This invention is provided for illustration, but is not intended to limit the present application. Figure 8 This is another schematic diagram of the software interaction interface of an embodiment of the image material processing method of the present application. In the figure, as an example, it is assumed that the execution subject is a computer, and a software interaction interface is displayed on the computer. The software interaction interface includes a navigation area, a function module interface and a work board. The function modules in the navigation area include material management, material analysis and report export. The function selection operation is to select the material analysis function module to perform a secondary analysis on material A (the underline in the figure indicates that it is selected). After the material analysis function module completes the secondary analysis of material A, the material A' obtained by the secondary analysis is displayed in the material analysis interface. At the same time, material A' is also displayed on the work board.
[0095] Furthermore, in order to avoid memory explosion caused by the increase in the amount of materials, the step S03 includes: after the selected functional module completes processing of the selected material, obtaining the material size of the processed material; selecting a target storage space according to the material size, wherein the target storage space includes memory or disk; and caching the processed material into the work board based on the target storage space.
[0096] It should be understood that in order to avoid memory explosion caused by the increase in the amount of material, in this embodiment, when the memory space is insufficient, part of the data can also be stored in the disk. In the specific implementation, the material size of the processed material is obtained, and it is determined whether the material size of the processed material is smaller than the free space size of the memory space. If so, the memory is selected as the target storage space, and the processed material is cached in the work board, which is essentially storing the data of the processed material in the memory; if not, the disk is selected as the target storage space, and the processed material is cached in the work board, which is essentially storing the data of the processed material in the disk; of course, in order to further increase the storage space, in this embodiment, the data of the processed material can also be stored in the server, and this embodiment does not limit this.
[0097] This embodiment visually displays the image materials pre-added to the work board in the work board, thereby facilitating subsequent function selection operations.
[0098] Reference Fig. 9 , Fig. 9 This is a flow chart of the third embodiment of the image material processing method of the present application. Based on the above embodiments, the third embodiment of the image material processing method of the present application is proposed.
[0099] In the third embodiment, after step S10, the method further includes:
[0100] Step S20': in response to a file saving operation, selecting a material to be saved from the cached material according to the file saving operation.
[0101] It should be understood that, considering that the processing method of related image materials relies on files to achieve data synchronization between modules, the erroneous operation of saving files is irreversible, and users need to back up. Therefore, in order to overcome the above defects, in this embodiment, cache is used to quickly synchronize data between modules (rather than relying on files), and only when a file save operation is received, the original file will be saved according to the file save operation, so there is no need to worry about dirtying the original file (such as inspection or scientific research materials, which have high storage value and can be used as evidence, can be used as historical data to predict the future, etc.).
[0102] Step S30': writing the material to be saved into the original file corresponding to the material to be saved, obtaining a target file, and outputting the target file.
[0103] It can be understood that writing the material to be saved into the original file corresponding to the material to be saved may be writing the material to be saved into the storage space corresponding to the original file.
[0104] This embodiment uses the cache to quickly synchronize data between modules. Only when a file saving operation is received, the original file is saved according to the file saving operation, so there is no need to worry about dirtying the original file.
[0105] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the image material processing method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0106] This application also provides an image material processing device, please refer to Fig.10 , the image material processing device comprises:
[0107] The material display module 10 is used to display the cached material in the work board, wherein the cached material is the processed material cached in the work board, and the processed material is the material processed by the function module before switching;
[0108] The operation response module 20 is used to display the function module interface and target material corresponding to the switched function module in response to the function switching operation, wherein the switched function module is the function module selected from the plurality of function modules according to the function switching operation, and the target material is the material selected from the cache material according to the function switching operation;
[0109] The result display module 30 is used to display the processing result of the post-switching function module after the post-switching function module completes processing the target material.
[0110] The image material processing device provided by the present application adopts the image material processing method in the above embodiment, which can solve the technical problem that the related image material processing method relies on files to realize data synchronization between modules and the functions cannot be flexibly switched. Compared with the prior art, the beneficial effects of the image material processing device provided by the present application are the same as the beneficial effects of the image material processing method provided by the above embodiment, and the other technical features in the image material processing device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0111] The present application provides an image material processing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the image material processing method in the above-mentioned embodiment one.
[0112] Reference below Fig.11 , which shows a schematic diagram of the structure of an image material processing device suitable for implementing the embodiment of the present application. The image material processing device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The image material processing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0113] like Fig.11As shown, the image material processing device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a ROM (Read Only Memory) 1002 or a program loaded from a storage device 1003 to a RAM (Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the image material processing device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, an LCD (Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the image material processing device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an image material processing device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0114] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0115] The image material processing device provided by the present application adopts the image material processing method in the above embodiment, which can solve the technical problem that the related image material processing method relies on files to realize data synchronization between modules and the functions cannot be flexibly switched. Compared with the prior art, the beneficial effects of the image material processing device provided by the present application are the same as the beneficial effects of the image material processing method provided by the above embodiment, and the other technical features in the image material processing device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0116] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0117] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0118] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the image material processing method in the above-mentioned embodiment.
[0119] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory), optical fiber, CD-ROM (CD-Read Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0120] The computer-readable storage medium may be included in the image material processing device; or may exist independently without being assembled into the image material processing device.
[0121] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the image material processing device, the image material processing device executes the image material processing method described above.
[0122] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a LAN (Local Area Network) or a WAN (Wide Area Network), or it can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0123] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0124] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0125] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned image material processing method, and can solve the technical problem that the related image material processing method relies on files to realize data synchronization between modules and the functions cannot be flexibly switched. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the image material processing method provided by the above-mentioned embodiment, and will not be repeated here.
[0126] The above descriptions are only some embodiments of the present application, and are not intended to limit the protection scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the protection scope of the present application.
Claims
1. A method for processing image material, characterized in that: The image material processing method comprises: Displaying cached materials in the work board, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the function module before switching; In response to the function switching operation, displaying a function module interface and a target material corresponding to the switched function module, wherein the switched function module is a function module selected from the plurality of function modules according to the function switching operation, and the target material is a material selected from the cached materials according to the function switching operation; After the post-switching functional module completes processing of the target material, the processing result of the post-switching functional module is displayed.
2. The image material processing method according to claim 1, characterized in that: Before displaying the cached material in the work board, the method further includes: Displaying the material to be processed in the work board, wherein the material to be processed is an image material pre-added to the work board; In response to the function selection operation, displaying the function module interface and the selected material corresponding to the selected function module, wherein the selected function module is a function module selected from the plurality of function modules according to the function selection operation, and the selected material is a material selected from the materials to be processed according to the material selection operation; After the selected function module completes processing of the selected material, the processed material is cached in the work board.
3. The image material processing method according to claim 2, characterized in that: After the selected function module completes processing the selected material, caching the processed material into the work board includes: After the selected function module completes processing of the selected material, obtaining the material size of the processed material; Selecting a target storage space according to the size of the material, wherein the target storage space includes a memory or a disk; The processed material is cached in the work board based on the target storage space.
4. The image material processing method according to claim 2, characterized in that: Before displaying the material to be processed in the work board, the process further includes: Responding to a material adding operation, and determining a to-be-processed material according to the material adding operation; Obtaining the uniform resource locator of the material to be processed; The uniform resource locator of the material to be processed is added to the work board.
5. The image material processing method according to claim 4, characterized in that: After the function module interface and the selected material corresponding to the selected function module are displayed in response to the function selection operation, the method further includes: Obtaining the uniform resource locator of the selected material; Loading the selected material according to the uniform resource locator of the selected material; The loaded selected material is processed by the selected functional module.
6. The image material processing method according to any one of claims 1 to 5, characterized in that: The pre-switching functional module is a functional module for performing secondary analysis on the material, and the post-switching functional module is a functional module for exporting a report corresponding to the material.
7. The image material processing method according to any one of claims 1 to 5, characterized in that: In response to the function switching operation, before displaying the function module interface and target material corresponding to the switched function module, the method further includes: In response to a material management operation, wherein the material management operation includes at least one of a deletion operation, an order adjustment operation, and a grouping operation; Edit the cached material according to the material management operation to obtain edited material; In response to the function switching operation, displaying the function module interface and target material corresponding to the switched function module includes: In response to the function switching operation, the function module interface corresponding to the switched function module and the edited material are displayed.
8. The image material processing method according to any one of claims 1 to 5, characterized in that: After displaying the cached material in the work board, the method further includes: In response to a file saving operation, selecting a material to be saved from the cached material according to the file saving operation; The material to be saved is written into an original file corresponding to the material to be saved, a target file is obtained, and the target file is output.
9. An image material processing device, characterized in that: The image material processing device comprises: A material display module, used to display cached materials in the work board, wherein the cached materials are processed materials cached in the work board, and the processed materials are materials processed by the function module before switching; An operation response module, configured to display a function module interface and a target material corresponding to the switched function module in response to the function switching operation, wherein the switched function module is a function module selected from the plurality of function modules according to the function switching operation, and the target material is a material selected from the cached materials according to the function switching operation; A result display module is used to display the processing result of the post-switching function module after the post-switching function module completes processing of the target material.
10. An image material processing device, characterized in that: The image material processing device comprises: a memory, a processor, and an image material processing program stored in the memory and executable on the processor, wherein the image material processing program implements the image material processing method according to any one of claims 1 to 8 when executed by the processor.
11. A storage medium, characterized in that: The storage medium stores an image material processing program, and when the image material processing program is executed by the processor, the image material processing method according to any one of claims 1 to 8 is implemented.