File management method and device, computer equipment, storage medium and program product

Automatically manage excel files through the file management interface, solving the problems of low manual management efficiency and errors, and realizing an efficient solution for bank host batch management.

CN118535535APending Publication Date: 2024-08-23CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the batch management and scheduling of bank hosts need to be imported into the management and control scheduling system through excel files. However, due to the large number of excel files and the large amount of data, manual management efficiency is low and there is a risk of human error.

Method used

Provide a file management method that responds to the triggering operation of the management control through the file management interface, displays candidate files to be managed, selects target files, and performs operations such as merging, splitting, and extracting reference workflows, automatically managing target files, and reducing manual sorting. and error probability.

Benefits of technology

It improves the efficiency of file management, reduces the probability of management errors, achieves efficient management of a large number of excel files, and avoids inefficiencies and errors in manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535535A
    Figure CN118535535A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and particularly discloses a file management method and device, computer equipment, a storage medium and a program product. The method comprises the steps of displaying candidate to-be-managed files in response to a trigger operation on a management control in a file management interface, determining a target file from the candidate to-be-managed files in response to a selection operation on the candidate to-be-managed files, and executing a management operation corresponding to the management control on the target file. By adopting the method, the file management efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a file management method, device, computer equipment, storage medium and program product. Background Art

[0002] Currently, if you want to manage and schedule bank hosts in batches, you need to import the configuration information of each host into the management and scheduling system through an Excel file. After importing, you need to manage the Excel file.

[0003] Currently, excel files are usually managed manually. However, there are many excel files, the amount of data in the excel files is large, and the efficiency of manual file management is low. Summary of the invention

[0004] Based on this, it is necessary to provide a file management method, apparatus, computer equipment, storage medium and program product that can improve file management efficiency in response to the above technical problems.

[0005] In a first aspect, the present application provides a file management method, comprising:

[0006] In response to a triggering operation on a management control in the file management interface, displaying candidate files to be managed;

[0007] In response to a selection operation on the candidate file to be managed, determining a target file from the candidate file to be managed;

[0008] Execute the management operation corresponding to the management control on the target file.

[0009] In one of the embodiments, in response to a triggering operation on a first control in the file management interface, a candidate template file is displayed;

[0010] In response to a selection operation on the candidate template file, determining a target template file from the candidate template files;

[0011] In response to a triggering operation on a second control in the file management interface, storing the target template file in a target path;

[0012] The file information obtained after executing the management operation corresponding to the management control is stored in the target template file under the target path.

[0013] In one embodiment, the target control is a full merge control, and the management operation corresponding to the management control is performed on the target file, including:

[0014] Perform the full merge operation corresponding to the full merge control on the data with the same column attributes in the target file.

[0015] In one embodiment, the target control is a first merge control, and the management operation corresponding to the management control is performed on the target file, including:

[0016] Get the file name corresponding to the target file;

[0017] According to the first preset position information in the file name, a first merging operation corresponding to the first merging control is performed on the target file.

[0018] In one embodiment, the target control is a second merge control, and the management operation corresponding to the management control is performed on the target file, including: obtaining a file name corresponding to the target file;

[0019] According to the second preset position information of the file name, a second merging operation corresponding to the second merging control is performed on the target file.

[0020] In one embodiment, the target control is a split control, and the management operation corresponding to the management control is performed on the target file, including:

[0021] According to the job flow relationship in the target file, a split operation corresponding to the split control is performed on the data in the target file.

[0022] In one embodiment, the target control is an extract reference workflow control, and the management operation corresponding to the management control is performed on the target file, including:

[0023] Get the job stream corresponding to the reference version of the file;

[0024] According to the workflow corresponding to the reference version, the operation of extracting the reference workflow corresponding to the extracting reference workflow control is performed on the target file.

[0025] In one embodiment, the method further comprises:

[0026] In response to a triggering operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on the target file.

[0027] In a second aspect, the present application also provides a file management device, including:

[0028] A first display module, used for displaying candidate files to be managed in response to a triggering operation on a management control in the file management interface;

[0029] A first determining module, configured to determine a target file from the candidate files to be managed in response to a selection operation on the candidate files to be managed;

[0030] The first execution module is used to execute the management operation corresponding to the management control on the target file.

[0031] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.

[0033] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the above methods when executed by a processor.

[0034] The above-mentioned file management method, device, computer equipment, storage medium and program product, in response to the triggering operation of the management control in the file management interface, display the candidate files to be managed, in response to the selection operation of the candidate files to be managed, determine the target file from the candidate files to be managed, and perform the management operation corresponding to the management control on the target file. At present, excel files are usually managed manually according to management needs. However, there are many excel files at present, and the amount of data in the excel files is large, and the efficiency of manual file management is low. In the embodiment of the present application, by triggering the management control on the file management interface, the operation corresponding to the management control can be completed, thereby realizing the management of the target file, and there is no need to manually organize the files, which improves the efficiency of file management. At the same time, compared with the problem of human error that may exist in manual management, the file management method provided in the embodiment of the present application reduces the probability of errors in file management. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] FIG1 is an application environment diagram of a file management method provided by an embodiment of the present application;

[0037] FIG2 is a flowchart of a file management method provided in an embodiment of the present application;

[0038] 3 is a flow chart of a method for determining a resource transfer permission time period provided in an embodiment of the present application;

[0039] FIG4 is a flowchart of a method for executing a management operation provided in an embodiment of the present application;

[0040] FIG5 is a second flow chart of a management operation execution method provided in an embodiment of the present application;

[0041] FIG6 is a third flow chart of a management operation execution method provided in an embodiment of the present application;

[0042] FIG7 is a flow chart of another file management method provided in an embodiment of the present application;

[0043] FIG8 is a system interface diagram provided in an embodiment of the present application;

[0044] FIG9 is a structural block diagram of a file management device provided in an embodiment of the present application;

[0045] FIG. 10 is an internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The file management method provided by the embodiment of the present application can be applied in an application environment as shown in Figure 1, which is an application environment diagram of a file management method provided by the embodiment of the present application. Among them, the terminal 102 communicates with the server 104 through a network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 can respond to the trigger operation of the management control in the file management interface, display the candidate files to be managed, and can also respond to the selection operation of the candidate files to be managed, and determine the target file from the candidate files to be managed to perform the management operation corresponding to the management control on the target file. It is understandable that the method can also be applied to the server 104, and can also be applied to a system including the terminal 102 and the server 104, and is implemented by the interaction between the terminal 102 and the server 104. Among them, the terminal 102 can be, but not limited to, various personal computers, laptops, smart phones, and tablet computers. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0048] In one embodiment, as shown in FIG. 2 , FIG. 2 is a flow chart of a file management method provided in an embodiment of the present application, which provides a file management method, and takes the method applied to the terminal 102 in FIG. 1 as an example for explanation, and the method includes the following steps S201-S203:

[0049] S201: In response to a triggering operation on a management control in a file management interface, candidate files to be managed are displayed.

[0050] The file management interface may be the main interface of the file management tool. The management control may include one of a full merge control, a first merge control, a second merge control, a split control, and an extract reference workflow control. The file management interface may also include a verification control.

[0051] In a possible implementation, a user logs in to a file management tool, and after identity authentication is passed, the terminal displays a file management interface. The user can use an external control device of the terminal to click a management control in the file management interface, or touch a management control in the file management interface displayed by the terminal, so that the terminal can respond to the triggering operation of the management control in the file management interface, pop up a candidate file selection window to be managed, and display the candidate files to be managed in the candidate file selection window.

[0052] In another possible implementation, the user logs in to the file management tool, and after the identity authentication is passed, the terminal displays the file management interface. The user uses an external control device to click or directly touch the first control in the file management interface, so that the terminal responds to the triggering operation of the first control in the file management interface and displays the candidate template file. After the user uses the external control device to click or directly touch a candidate template file, the terminal responds to the selection operation of the candidate template file and determines the target template file from the candidate template file. After the user uses the external control device to click or directly touch the second control in the file management interface, the terminal responds to the triggering operation of the second control in the file management interface and stores the target template file in the target path. After the above operation is performed, the user uses the external control device of the terminal to click a management control in the file management interface, or touches a management control in the file management interface displayed by the terminal, and the terminal can respond to the triggering operation of the management control in the file management interface, pop up the candidate to be managed file selection window, and display the candidate to be managed files in the candidate to be managed file selection window.

[0053] S202: In response to a selection operation on a candidate file to be managed, determine a target file from the candidate files to be managed.

[0054] In a possible implementation, the terminal may display the candidate files to be managed through a candidate file selection window in response to a trigger operation on the management control. The user uses an external control device to click or directly touch the candidate files to be managed in the candidate file selection window as the target files.

[0055] In another possible implementation, the terminal may display the candidate files to be managed through the candidate files to be managed selection window in response to the triggering operation of the management control. A folder corresponding to the candidate files to be managed is obtained. The user uses an external control device to click or directly touch the folder in the candidate files to be managed selection window as the target folder, and all files in the root directory and subdirectories of the target folder are the target files.

[0056] S203: Execute a management operation corresponding to the management control on the target file.

[0057] In the embodiment of the present application, since the management control includes one of a full merge control, a first merge control, a second merge control, a split control, and an extract reference workflow control, the management operation corresponding to the management control can be performed on the target file.

[0058] Exemplarily, if the target control is the first merged control, the file name of the target file may be obtained from the memory of the terminal, and the target files with the same first preset position information may be merged together.

[0059] Exemplarily, if the target control is the second merged control, the file name corresponding to the target file can be obtained, and the target files with the same second preset position information are merged together.

[0060] Exemplarily, if the target control is a full merge control, a full merge operation corresponding to the full merge control is performed on the data of the same column attributes of each table in the target file.

[0061] Exemplarily, if the target control is a split control, a split operation may be performed on the data in the target file according to the workflow relationship.

[0062] Exemplarily, if the target control is an extract reference workflow control, the extract reference workflow operation corresponding to the extract reference workflow control can be performed on the target file according to the workflow corresponding to the reference version, thereby extracting the workflow corresponding to the workflow corresponding to the reference version in the target file.

[0063] It should be noted that since the file management interface may also include verification controls, the terminal's external control device can be used to click or directly touch the verification controls in the file management interface, so that the terminal can respond to the trigger operation of the verification control and perform the verification operation corresponding to the verification control on the target file according to the previous and next key dependencies of the job flow.

[0064] In an embodiment of the present application, in response to a trigger operation on a management control in a file management interface, candidate files to be managed are displayed, in response to a selection operation on the candidate files to be managed, a target file is determined from the candidate files to be managed, and a management operation corresponding to the management control is performed on the target file. At present, excel files are usually managed manually according to management needs. However, there are currently many excel files, and the amount of data in the excel files is large, and the efficiency of manual file management is low. In an embodiment of the present application, by triggering the management control on the file management interface, the operation corresponding to the management control can be completed, thereby achieving management of the target file, and there is no need to manually organize the files, which improves the efficiency of file management. At the same time, compared with the problem of human error that may exist in manual management, the file management method provided in the embodiment of the present application reduces the probability of errors in file management.

[0065] In one embodiment, as shown in FIG3 , FIG3 is a flow chart of a method for determining a resource transfer permission time period provided in an embodiment of the present application. Based on the above embodiment, the method further includes the following steps S301-S304:

[0066] S301: In response to a triggering operation on a first control in a file management interface, display candidate template files.

[0067] The candidate template file may be a blank template file for managing and configuring Excel. The candidate template file may be stored in the same directory as the file management tool. The first control may be a "select template file" control.

[0068] In a possible implementation, the user can use an external control device of the terminal to click on the first control in the file management interface, so that the terminal can display candidate template files in the template file interface in response to the user's triggering operation on the first control in the file management interface. The displayed candidate template file is at least one.

[0069] In another possible implementation, the user may touch the first control in the file management interface, so that the terminal may display the candidate template files in the template file interface in response to the user's triggering operation on the first control in the file management interface.

[0070] S302: In response to a selection operation on a candidate template file, determine a target template file from the candidate template files.

[0071] In the embodiment of the present application, the user can use the external control device of the terminal to click on a candidate template file in the template file interface, or touch a candidate template file in the template file interface to complete the selection of the target template file. The terminal can respond to the selection operation of the candidate template file and use the candidate template file selected by the user as the target template file.

[0072] S303: In response to a triggering operation on a second control in the file management interface, the target template file is stored in a target path.

[0073] The second control may be a "generate target file" control. The target path may be a path where the file management tool is located.

[0074] In the embodiment of the present application, the user can use the external control device of the terminal to click the second control in the file management interface, or touch the second control in the template file interface. Thus, the terminal can store a copy of the target template file previously selected by the user in the target path in response to the triggering operation of the second control in the file management interface.

[0075] Optionally, after responding to the triggering operation on the second control in the file management interface, the original template file under the target path may be deleted, and a copy of the target template file may be stored in the target path.

[0076] S304: Store the file information obtained after executing the management operation corresponding to the management control in the target template file under the target path.

[0077] In a possible implementation, the management control is a full merge control, and the file information obtained after executing the full merge operation corresponding to the full merge control can be stored in the target template file under the target path.

[0078] In another possible implementation, the management control is a first merge control, and the file information obtained after executing the first merge operation corresponding to the first merge control can be stored in the target template file under the target path.

[0079] In the embodiment of the present application, by responding to the trigger operation of the first control in the file management interface, the candidate template file is displayed, the target template file is determined from the candidate template file in response to the selection operation of the candidate template file, and the target template file is stored in the target path in response to the trigger operation of the second control in the file management interface, so that the file information obtained after executing the management operation corresponding to the management control is stored in the target template file under the target path. Storing the target template file in the target path and storing the file in the target template file under the target path after performing the management operation is equivalent to copying a file from the first path to the second path, and using the file under the other path when using it can avoid the target template file under the first path from being modified, thereby affecting the subsequent use of the target template file.

[0080] In one embodiment, this embodiment relates to a possible implementation method of how to perform a management operation corresponding to a management control on a target file when the target control is a full merge control. Based on the above embodiment, the above S203 includes:

[0081] Perform the full merge operation corresponding to the full merge control on the data with the same column attributes in the target file.

[0082] In a possible implementation, the user can use the external control device of the terminal to click the full merge control in the file management interface, or touch the full merge control in the template file interface. Thus, the terminal can display the candidate files to be managed through the candidate files to be managed selection window in response to the triggering operation of the full merge control. The user uses the external control device to click or directly touch the candidate files to be managed in the candidate files to be managed selection window as the target file, thereby performing the full merge operation corresponding to the full merge control on the data of the same column attributes of each table in the target file. And the file information obtained after performing the full merge operation is stored in the target template file under the target path.

[0083] In another possible implementation, the user can use the external control device of the terminal to click the full merge control in the file management interface, or touch the full merge control in the template file interface. Thus, the terminal can respond to the triggering operation of the full merge control and display the candidate files to be managed and the folders corresponding to the candidate management files through the candidate files to be managed selection window. The user uses the external control device to click or directly touch the folder in the candidate files to be managed selection window as the target folder, then all the files in the root directory and subdirectories of the target folder are the target files. Thus, the full merge operation corresponding to the full merge control is performed on the data of the same column attributes of each table in the target file. And the file information obtained after the full merge operation is performed is stored in the target template file under the target path.

[0084] It should be noted that after performing a full merge, not only can the file information obtained after the full merge operation be obtained, but also the control configuration text file corresponding to the table can be obtained, which is used to record the control configuration information of the table. Among them, the number of control configuration text files is the same as the number of tables before the merge. The control configuration text file can be in a fixed format.

[0085] In the embodiment of the present application, the full merge operation corresponding to the full merge control can be performed on the data with the same column attribute in the target file. Since the terminal can directly complete the full merge operation according to the trigger operation of the full merge control, the full merge operation is a kind of file management, and therefore, compared with the traditional manual management method, the efficiency of file management can be improved.

[0086] In one embodiment, as shown in FIG. 4 , FIG. 4 is one of the flow diagrams of a management operation execution method provided in an embodiment of the present application. This embodiment relates to a possible implementation method of how to execute a management operation corresponding to a management control on a target file when the target control is a first merged control. On the basis of the above embodiment, the above S203 includes S401-S402:

[0087] S401, obtaining the file name corresponding to the target file.

[0088] The file name may include numbers or characters, etc. In this embodiment, the format of the file name is not limited.

[0089] In an embodiment of the present application, in a possible implementation, a user can use an external control device of a terminal to click on a first merge control in a file management interface, or touch a first merge control in the template file interface. Thus, the terminal can display candidate files to be managed through a candidate file selection window in response to a triggering operation on the first merge control. The user uses an external control device to click on or directly touch a candidate file to be managed in the candidate file selection window as a target file. Thus, the file name of the target file can be obtained from the memory of the terminal.

[0090] In another possible implementation, the user can use the external control device of the terminal to click the first merge control in the file management interface, or touch the first merge control in the template file interface. Thus, the terminal can display the candidate files to be managed and the folders corresponding to the candidate files through the candidate files to be managed selection window in response to the triggering operation of the first merge control. The user uses the external control device to click or directly touch the folder in the candidate files to be managed selection window as the target folder, and all the files in the root directory of the target folder are the target files. Thus, the file name of the target file can be obtained from the memory of the terminal.

[0091] S402: Execute a first merging operation corresponding to a first merging control on a target file according to first preset position information in the file name.

[0092] The first preset position may be the first two digits of the file name. The first preset position information is information corresponding to the first two digits of the file name.

[0093] In a possible implementation, after the first preset position information in the file name is obtained, the target files may be merged according to the first preset position information. Exemplarily, the target files with the same first preset position information may be merged together.

[0094] In another possible implementation, after obtaining the first preset information in the file name, the orphan file can be determined according to the first preset information, and the target files other than the orphan file can be merged according to the first preset information. If there are multiple orphan files, all the orphan files are merged. The orphan file can be: there are multiple target files, and the first preset information of one or more target files may be different from the first preset information of other target files, and the target file is regarded as an orphan file.

[0095] It should be noted that the file information obtained by executing the first merging operation corresponding to the first merging control may be stored in the target template file under the target path.

[0096] Alternatively, after determining the target file, the output file selection window may be used to display candidate output files, and the terminal may store the file information obtained by the first merging operation in one of the candidate output files selected by the user.

[0097] In an embodiment of the present application, by obtaining the file name corresponding to the target file, the first merge operation corresponding to the first merge control is performed on the target file according to the first preset position information in the file name. Since the first merge operation can be completed directly by the terminal according to the first preset position information, and the first merge operation is a type of file management, the efficiency of file management can be improved compared to the traditional manual management method. In addition, when merging files in large quantities, there may be unstable factors caused by the memory consumption of the file management tool. Therefore, by performing the merge operation according to the first preset position information of the file name, the stability of the operation of the file management tool is improved, thereby improving the accuracy of the files obtained after file management.

[0098] In one embodiment, as shown in FIG. 5 , FIG. 5 is a second flow chart of a management operation execution method provided in an embodiment of the present application. This embodiment relates to a possible implementation method of how to execute a management operation corresponding to a management control on a target file when the target control is a second merged control. On the basis of the above embodiment, the above S203 includes S501-S502:

[0099] S501. Obtain the file name corresponding to the target file.

[0100] In a possible implementation, the user can use an external control device of the terminal to click the second merge control in the file management interface, or touch the second merge control in the template file interface. Thus, the terminal can display the candidate files to be managed through the candidate files to be managed selection window in response to the triggering operation of the second merge control. The user uses the external control device to click or directly touch the candidate files to be managed in the candidate files to be managed selection window as the target file. Thus, the file name of the target file can be obtained from the memory of the terminal.

[0101] In another possible implementation, the user can use the external control device of the terminal to click the second merge control in the file management interface, or touch the second merge control in the template file interface. Thus, the terminal can display the candidate files to be managed and the folders corresponding to the candidate files through the candidate files to be managed selection window in response to the triggering operation of the second merge control. The user uses the external control device to click or directly touch the folder in the candidate files to be managed selection window as the target folder, and all the files in the root directory of the target folder are the target files. Thus, the file name of the target file can be obtained from the memory of the terminal.

[0102] S502: Execute a second merging operation corresponding to a second merging control on the target file according to the second preset position information of the file name.

[0103] The second preset position may be the first four digits of the file name. The second preset position information is the information corresponding to the first four digits of the file name. Usually, the third and fourth digits of the file name contain the function information corresponding to the file.

[0104] In a possible implementation, after the second preset positioning information in the file name is obtained, the target files may be merged according to the second preset positioning information. Exemplarily, the target files with the same second preset positioning information may be merged together.

[0105] In another possible implementation, after obtaining the second preset information in the file name, the orphan file can be determined according to the second preset information, and the target files other than the orphan file can be merged according to the second preset information. If there are multiple orphan files, all the orphan files are merged. The orphan file can be: there are multiple target files, and the second preset information of one or more target files may be different from the second preset information of other target files, and the target file is regarded as an orphan file.

[0106] Alternatively, after determining the target file, the output file selection window may be used to display candidate output files, and the terminal may store the file information obtained by the second merging operation in one of the candidate output files selected by the user.

[0107] In the embodiment of the present application, by obtaining the file name corresponding to the target file, according to the second preset position information of the file name, the second merge operation corresponding to the second merge control is performed on the target file. Since the second merge operation can be completed directly by the terminal according to the second preset position information, and the second merge operation is a type of file management, compared with the traditional manual management method, the efficiency of file management can be improved. In addition, when merging files in large quantities, there may be unstable factors due to the memory consumption of the file management tool. Therefore, by performing the merge operation according to the second preset position information of the file name, the stability of the operation of the file management tool is improved, thereby improving the accuracy of the files obtained after file management.

[0108] In one embodiment, this embodiment relates to a possible implementation of how to perform a management operation corresponding to a management control on a target file when the target control is a split control. Based on the above embodiment, the above S203 includes:

[0109] According to the job flow relationship in the target file, the split operation corresponding to the split control is performed on the data in the target file.

[0110] In a possible implementation, the user can use an external control device of the terminal to click or directly touch the split control in the file management interface, so that the terminal can respond to the triggering operation of the split control and display the candidate files to be managed through the candidate files to be managed selection window. The user uses an external control device to click or directly touch the candidate files to be managed in the candidate files to be managed selection window as the target file. And obtain the operation flow relationship in the target file, and according to the operation flow relationship, perform the split operation on the data in the target file according to the operation flow relationship. For example, the target file can also be the file after the full amount is merged in the above embodiment.

[0111] In another possible implementation, the user can use the external control device of the terminal to click or directly touch the split control in the file management interface, so that the terminal can respond to the triggering operation of the split control and display the folder corresponding to the candidate to-be-managed file through the candidate to-be-managed file selection window. The user uses the external control device to click or directly touch the folder in the candidate to-be-managed file selection window as the target folder, and all files in the root directory of the target folder are the target files. And the job flow relationship in the target file is obtained, and according to the job flow relationship, the data in the target file is split according to the job flow relationship.

[0112] It should be noted that the file information obtained by executing the split operation corresponding to the split control can be stored in the target template file under the target path.

[0113] Alternatively, after determining the target file, the output file selection window may be used to display candidate output files, and the terminal may store the file information obtained by the splitting operation in one of the candidate output files selected by the user.

[0114] In this embodiment, the split operation corresponding to the split control is performed on the data in the target file according to the job flow relationship in the target file. Since the split operation can be completed directly by the terminal according to the job flow relationship, and the split operation is a type of file management, compared with the traditional manual management method, the efficiency of file management can be improved.

[0115] In one embodiment, as shown in FIG. 6 , FIG. 6 is a flowchart of a management operation execution method provided by an embodiment of the present application. This embodiment relates to a possible implementation method of how to execute a management operation corresponding to a management control on a target file when the target control is an extraction reference workflow control. On the basis of the above embodiment, the above S203 includes S601-S602:

[0116] S601: Obtain a job flow corresponding to a reference version of a file.

[0117] The reference version may be an original file version without any operation performed.

[0118] In the embodiment of the present application, the reference version file can be determined from the candidate version file, and the operation flow corresponding to the reference version can be obtained from the reference version file. The operation flow corresponding to the reference version of the obtained file can be stored in the target path.

[0119] Therefore, the method for determining the reference version file from the candidate version file may be: in response to a selection operation on the candidate version file, determining the reference version file from the candidate version file.

[0120] S602: According to the workflow corresponding to the reference version, an extract reference workflow operation corresponding to the extract reference workflow control is performed on the target file.

[0121] In a possible implementation, the user can use the external control device of the terminal to click or directly touch the Extract Reference Workflow control in the file management interface, so that the terminal can respond to the triggering operation of the Extract Reference Workflow control and display the candidate files to be managed through the candidate files to be managed selection window. The user uses the external control device to click or directly touch the candidate files to be managed in the candidate files to be managed selection window as the target file. The target file can be the file after the second merge operation in the above embodiment. According to the workflow corresponding to the reference version, the Extract Reference Workflow operation corresponding to the Extract Reference Workflow control can be performed on the target file, thereby extracting the workflow corresponding to the workflow corresponding to the reference version in the target file.

[0122] In another possible implementation, the user can use the external control device of the terminal to click or directly touch the Extract Reference Job Flow control in the file management interface, so that the terminal can respond to the triggering operation of the Extract Reference Job Flow control and display the folder corresponding to the candidate to-be-managed file through the candidate to-be-managed file selection window. The user uses the external control device to click or directly touch the folder in the candidate to-be-managed file selection window as the target folder, and all files in the root directory of the target folder are the target files. The target file can be the file after the second merge operation in the above embodiment. According to the job flow corresponding to the reference version, the Extract Reference Job Flow operation corresponding to the Extract Reference Job Flow control can be performed on the target file, thereby extracting the job flow corresponding to the job flow corresponding to the reference version in the target file.

[0123] It should be noted that the file information obtained by executing the extract reference workflow operation corresponding to the extract reference workflow control may be stored in the target template file under the target path.

[0124] Alternatively, after determining the target file, the output file selection window displays candidate output files, and the terminal can store the file information obtained by extracting the reference workflow operation in one of the candidate output files selected by the user.

[0125] Alternatively, the file information obtained by executing the extract reference workflow operation corresponding to the extract reference workflow control may be stored in a newly created file under the target path.

[0126] In the embodiment of the present application, by obtaining the workflow corresponding to the reference version of the file, the operation of extracting the reference workflow control corresponding to the workflow corresponding to the reference version can be performed on the target file. Since the terminal can directly perform the operation of extracting the reference workflow according to the workflow corresponding to the reference version, the operation of extracting the reference workflow is a kind of file management, which can improve the efficiency of file management compared with the traditional manual management method. In addition, the extraction operation based on the workflow corresponding to the reference version is convenient for comparing the data before the change (reference version) and after the change.

[0127] In one embodiment, based on the above embodiment, the method further includes:

[0128] In response to a triggering operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on a target file.

[0129] In an embodiment of the present application, a user can use an external control device of the terminal to click, or directly touch the verification control in the file management interface, so that the terminal can respond to the trigger operation of the verification control and perform the verification operation corresponding to the verification control on the target file according to the previous and next key dependencies of the job flow.

[0130] Optionally, the verification operation corresponding to the verification control may be performed on the target file according to a preset standard file.

[0131] It should be noted that when the verification operation corresponding to the verification control is performed on the target file, a text file can be output to display the error results.

[0132] In the embodiment of the present application, by responding to the triggering operation of the verification control in the file management interface, the verification operation corresponding to the verification control is performed on the target file, and the accuracy of the target file is improved because the target file is verified. In addition, since manual verification is not required, the verification operation corresponding to the verification control can be performed on the target file by triggering the verification control, thereby improving the efficiency of file verification.

[0133] In order to introduce the embodiment of the present application more clearly, it is described here in conjunction with Figures 7 and 8. As shown in Figure 7, Figure 7 is a flow chart of another file management method provided by the embodiment of the present application. Figure 8 is a system interface diagram provided by the embodiment of the present application. The method includes the following steps S701-S712:

[0134] S701: In response to a triggering operation on a first control in a file management interface, display candidate template files.

[0135] S702: In response to a selection operation on a candidate template file, determine a target template file from the candidate template files.

[0136] S703: In response to a triggering operation on a second control in the file management interface, storing a target template file in a target path.

[0137] S704: Store the file information obtained after executing the management operation corresponding to the management control in the target template file under the target path.

[0138] S705: In response to a triggering operation on a management control in the file management interface, display candidate files to be managed.

[0139] S706: In response to the selection operation of the candidate files to be managed, determine the target file from the candidate files to be managed.

[0140] Any one of the following steps S707-S712 may be performed.

[0141] S707: The target control is a full merge control, and a full merge operation corresponding to the full merge control is performed on the data with the same column attributes in the target file.

[0142] S708: The target control is the first merge control, and according to the first preset position information in the file name, a first merge operation corresponding to the first merge control is performed on the target file.

[0143] S709: The target control is the second merge control, and according to the second preset position information of the file name, a second merge operation corresponding to the second merge control is performed on the target file.

[0144] S710: The target control is a split control. According to the job flow relationship in the target file, a split operation corresponding to the split control is performed on the data in the target file.

[0145] S711. According to the workflow corresponding to the reference version, perform an extract reference workflow operation corresponding to the extract reference workflow control on the target file.

[0146] S712: In response to a trigger operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on the target file.

[0147] In the embodiment of the present application, by triggering the management control on the file management interface, the operation corresponding to the management control can be completed, thereby achieving the management of the target file, and no manual sorting of the files is required, thereby improving the efficiency of file management. At the same time, compared with the human error problem that may exist in manual management, the file management method provided in the embodiment of the present application reduces the probability of file management errors.

[0148] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0149] Based on the same inventive concept, the embodiment of the present application also provides a file management device for implementing the file management method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more file management device embodiments provided below can refer to the limitations on the file management method above, and will not be repeated here.

[0150] In one embodiment, as shown in FIG. 9 , FIG. 9 is a structural block diagram of a file management device provided in an embodiment of the present application. The file management device 900 includes:

[0151] The first display module 901 is used to display candidate files to be managed in response to a triggering operation on a management control in the file management interface.

[0152] The first determining module 902 is configured to determine a target file from the candidate files to be managed in response to a selection operation on the candidate files to be managed.

[0153] The first execution module 903 is used to execute the management operation corresponding to the management control on the target file.

[0154] In one embodiment, the file management device 900 further includes:

[0155] The second display module is used to display the candidate template files in response to the triggering operation of the first control in the file management interface.

[0156] The second determining module is used to determine a target template file from the candidate template files in response to a selection operation on the candidate template file.

[0157] The first storage module is used to store the target template file in the target path in response to a triggering operation on the second control in the file management interface.

[0158] The second storage module is used to store the file information obtained after executing the management operation corresponding to the management control in the target template file under the target path.

[0159] In one embodiment, the target control is a full merge control, and the first execution module 903 includes:

[0160] The first execution unit is used to perform a full merge operation corresponding to the full merge control on the data with the same column attribute in the target file.

[0161] In one embodiment, the target control is a first merged control, and the first execution module 903 includes:

[0162] The first acquisition unit is used to acquire the file name corresponding to the target file.

[0163] The second execution unit is used to perform a first merging operation corresponding to the first merging control on the target file according to the first preset position information in the file name.

[0164] In one embodiment, the target control is the second merged control, and the first execution module 903 includes:

[0165] The second acquisition unit is used to acquire the file name corresponding to the target file.

[0166] The third execution unit is used to perform a second merging operation corresponding to the second merging control on the target file according to the second preset position information of the file name.

[0167] In one embodiment, the target control is a split control, and the first execution module 903 includes:

[0168] The fourth execution unit is used to execute the split operation corresponding to the split control on the data in the target file according to the job flow relationship in the target file.

[0169] In one embodiment, the target control is an extraction reference workflow control, and the first execution module 903 includes:

[0170] The third acquisition unit is used to acquire the job flow corresponding to the reference version of the file.

[0171] The fifth execution unit is used to execute the extraction reference workflow operation corresponding to the extraction reference workflow control on the target file according to the workflow corresponding to the reference version.

[0172] In one embodiment, the file management device 900 further includes:

[0173] The second execution module is used to respond to the triggering operation of the verification control in the file management interface and execute the verification operation corresponding to the verification control on the target file.

[0174] Each module in the above-mentioned file management device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0175] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG10, which is an internal structure diagram of a computer device provided in an embodiment of the present application. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a file management method is implemented. The display unit of the computer device is used to form a visually visible picture, and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball, or touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.

[0176] Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0177] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0178] In response to a triggering operation on a management control in the file management interface, displaying candidate files to be managed;

[0179] In response to a selection operation on a candidate file to be managed, determining a target file from the candidate files to be managed;

[0180] Execute the management operation corresponding to the management control on the target file.

[0181] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0182] In response to a triggering operation on a first control in the file management interface, displaying a candidate template file;

[0183] In response to a selection operation on a candidate template file, determining a target template file from the candidate template files;

[0184] In response to a triggering operation on a second control in the file management interface, storing a target template file in a target path;

[0185] The file information obtained after executing the management operation corresponding to the management control is stored in the target template file under the target path.

[0186] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0187] Perform the full merge operation corresponding to the full merge control on the data with the same column attributes in the target file.

[0188] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0189] Get the file name corresponding to the target file;

[0190] According to the first preset position information in the file name, a first merging operation corresponding to the first merging control is performed on the target file.

[0191] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0192] Get the file name corresponding to the target file;

[0193] According to the second preset position information of the file name, a second merging operation corresponding to the second merging control is performed on the target file.

[0194] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0195] According to the job flow relationship in the target file, the split operation corresponding to the split control is performed on the data in the target file.

[0196] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0197] Get the job stream corresponding to the reference version of the file;

[0198] According to the job flow corresponding to the reference version, an extract reference job flow operation corresponding to the extract reference job flow control is performed on the target file.

[0199] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0200] In response to a triggering operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on a target file.

[0201] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0202] In response to a triggering operation on a management control in the file management interface, displaying candidate files to be managed;

[0203] In response to a selection operation on a candidate file to be managed, determining a target file from the candidate files to be managed;

[0204] Execute the management operation corresponding to the management control on the target file.

[0205] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0206] In response to a triggering operation on a first control in the file management interface, displaying a candidate template file;

[0207] In response to a selection operation on a candidate template file, determining a target template file from the candidate template files;

[0208] In response to a triggering operation on a second control in the file management interface, storing a target template file in a target path;

[0209] The file information obtained after executing the management operation corresponding to the management control is stored in the target template file under the target path.

[0210] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0211] Perform the full merge operation corresponding to the full merge control on the data with the same column attributes in the target file.

[0212] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0213] Get the file name corresponding to the target file;

[0214] According to the first preset position information in the file name, a first merging operation corresponding to the first merging control is performed on the target file.

[0215] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0216] Get the file name corresponding to the target file;

[0217] According to the second preset position information of the file name, a second merging operation corresponding to the second merging control is performed on the target file.

[0218] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0219] According to the job flow relationship in the target file, the split operation corresponding to the split control is performed on the data in the target file.

[0220] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0221] Get the job stream corresponding to the reference version of the file;

[0222] According to the job flow corresponding to the reference version, an extract reference job flow operation corresponding to the extract reference job flow control is performed on the target file.

[0223] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0224] In response to a triggering operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on a target file.

[0225] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0226] In response to a triggering operation on a management control in the file management interface, displaying candidate files to be managed;

[0227] In response to a selection operation on a candidate file to be managed, determining a target file from the candidate files to be managed;

[0228] Execute the management operation corresponding to the management control on the target file.

[0229] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0230] In response to a triggering operation on a first control in the file management interface, displaying a candidate template file;

[0231] In response to a selection operation on a candidate template file, determining a target template file from the candidate template files;

[0232] In response to a triggering operation on a second control in the file management interface, storing a target template file in a target path;

[0233] The file information obtained after executing the management operation corresponding to the management control is stored in the target template file under the target path.

[0234] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0235] Perform the full merge operation corresponding to the full merge control on the data with the same column attributes in the target file.

[0236] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0237] Get the file name corresponding to the target file;

[0238] According to the first preset position information in the file name, a first merging operation corresponding to the first merging control is performed on the target file.

[0239] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0240] Get the file name corresponding to the target file;

[0241] According to the second preset position information of the file name, a second merging operation corresponding to the second merging control is performed on the target file.

[0242] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0243] According to the job flow relationship in the target file, the split operation corresponding to the split control is performed on the data in the target file.

[0244] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0245] Get the job stream corresponding to the reference version of the file;

[0246] According to the job flow corresponding to the reference version, an extract reference job flow operation corresponding to the extract reference job flow control is performed on the target file.

[0247] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0248] In response to a triggering operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on a target file.

[0249] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0250] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0251] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the possibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0252] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0253] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A file management method, characterized in that: The method comprises: In response to a triggering operation on a management control in the file management interface, displaying candidate files to be managed; In response to a selection operation on the candidate files to be managed, determining a target file from the candidate files to be managed; The management operation corresponding to the management control is executed on the target file.

2. The method according to claim 1, characterized in that The method further comprises: In response to a triggering operation on a first control in the file management interface, displaying a candidate template file; In response to a selection operation on the candidate template file, determining a target template file from the candidate template files; In response to a triggering operation on a second control in the file management interface, storing the target template file in a target path; The file information obtained after executing the management operation corresponding to the management control is stored in the target template file under the target path.

3. The method according to claim 1 or 2, characterized in that: The target control is a full merge control, and the performing of the management operation corresponding to the management control on the target file includes: A full merge operation corresponding to the full merge control is performed on the data with the same column attributes in the target file.

4. The method according to claim 1 or 2, characterized in that: The target control is a first merged control, and the performing of a management operation corresponding to the management control on the target file includes: Get the file name corresponding to the target file; According to the first preset position information in the file name, a first merging operation corresponding to the first merging control is performed on the target file.

5. The method according to claim 1 or 2, characterized in that: The target control is a second merged control, and the performing of the management operation corresponding to the management control on the target file includes: Get the file name corresponding to the target file; According to the second preset position information of the file name, a second merging operation corresponding to the second merging control is performed on the target file.

6. The method according to claim 1 or 2, characterized in that: The target control is a split control, and the performing of the management operation corresponding to the management control on the target file includes: According to the job flow relationship in the target file, a split operation corresponding to the split control is performed on the data in the target file.

7. The method according to claim 1 or 2, characterized in that: The target control is an extraction reference workflow control, and the performing of a management operation corresponding to the management control on the target file includes: Get the job stream corresponding to the reference version of the file; According to the workflow corresponding to the reference version, the operation of extracting the reference workflow corresponding to the extracting the reference workflow control is performed on the target file.

8. The method according to claim 1, characterized in that The method further comprises: In response to a triggering operation on a verification control in the file management interface, a verification operation corresponding to the verification control is performed on the target file.

9. A file management device, characterized in that: The device comprises: A first display module, used for displaying candidate files to be managed in response to a triggering operation on a management control in the file management interface; A first determining module, configured to determine a target file from the candidate files to be managed in response to a selection operation on the candidate files to be managed; The first execution module is used to execute the management operation corresponding to the management control on the target file.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • A project table generation method and device

    CN109829141A

  • Data importing method and device, computer equipment and storage medium

    CN110046334A

  • Data exporting method, data exporting device, storage medium and electronic device

    CN111177243A

  • Excel data processing method and tool based on template and file appending writing

    CN112818655A

  • Data exporting method and device and storage medium

    CN113822030A