File processing method and device, equipment, medium and product
By real-time verification and generation of prompt information in the file list, the problem of insufficient timeliness of audit prompts when batch processing of files is solved, and the processing efficiency and user experience are improved.
Patent Information
- Application Number
- CN202310554626.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2024-11-22
AI Technical Summary
When existing batch processing of files, the timeliness of auditable prompt feedback of files is poor, resulting in low batch processing efficiency.
When performing batch selection operations in the file list, the verification results of the target file are obtained in real time and prompt information is generated based on the verification results, and the batch processing process is optimized.
Improves the efficiency of batch processing of files, ensures real-time checksum feedback, and improves user experience.
Smart Images

Figure CN119005931A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a file processing method, device, equipment, medium and product. Background Art
[0002] At present, when there are too many files to be reviewed, the batch processing function can be used to perform unified batch operations on the multiple files. For example, the aforementioned files may refer to leave records submitted by company employees, and the reviewers can conduct batch review of the leave records. In existing applications, when batch processing files, usually after selecting and initiating a batch processing request for multiple files, the auditability of the multiple files is prompted. However, in this way, the feedback timeliness of the file auditability prompt is poor, which makes the process of batch processing files cumbersome and leads to low efficiency of batch processing files. Therefore, how to optimize the process of batch processing files and the processing efficiency of files has become a problem that needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a file processing method, apparatus, device, medium and product, which can optimize the processing efficiency of files in the process of batch processing files.
[0004] On the one hand, an embodiment of the present application provides a file processing method, which is applied to a client and includes:
[0005] Display the file list; the file list contains N files to be reviewed, where N is a positive integer;
[0006] According to the operation of batch selecting files in the file list, N files are displayed in a batch selected state;
[0007] When a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file is obtained; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0008] If the verification result is used to indicate that the target file is not in a pending review state, a prompt message indicating that the target file cannot be batch reviewed is generated and the prompt message is output.
[0009] On the one hand, an embodiment of the present application provides a file processing method, which is applied to a verification server, and the method includes:
[0010] Get the verification request sent by the client; the verification request is used to request verification of the audit status of the target file. The target file belongs to the file list. The verification request is sent by the client when the target file is triggered to select during the batch selection of files in the file list.
[0011] Obtaining a verification result of the target file based on the verification request; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0012] The verification result is returned to the client, so that when the client detects that the verification result is used to indicate that the target file is not in a pending review state, it generates a prompt message that the target file cannot be batch reviewed and outputs the prompt message.
[0013] On the one hand, an embodiment of the present application provides a file processing device, which is applied to a client, and includes:
[0014] A display module is used to display a file list; the file list contains N files to be reviewed, where N is a positive integer;
[0015] The display module is further used to display N files in a batch selection state according to the batch selection operation of the files in the file list;
[0016] A processing module, for obtaining a verification result of the target file when a selection operation is obtained for the target file displayed in a batch selection state in the file list; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0017] The processing module is further used to generate a prompt message indicating that the target file cannot be batch reviewed if the verification result indicates that the target file is not in a pending review state, and output the prompt message.
[0018] On the one hand, an embodiment of the present application provides a file processing device, which is applied to a verification server, and the device includes:
[0019] The acquisition module is used to acquire the verification request sent by the client; the verification request is used to request verification of the audit status of the target file, the target file belongs to the file in the file list, and the verification request is sent by the client when the target file is triggered to select in batches during the selection of files in the file list;
[0020] The acquisition module is further used to obtain the verification result of the target file based on the verification request; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0021] The return module is used to return the verification result to the client, so that when the client detects that the verification result is used to indicate that the target file is not in a pending review state, it generates a prompt message that the target file cannot be batch reviewed and outputs the prompt message.
[0022] On the one hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute some or all of the steps in the above method.
[0023] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, are used to execute some or all of the steps in the above method.
[0024] Accordingly, according to one aspect of the present application, a computer program product or a computer program is provided, wherein the computer program product or the computer program comprises computer instructions, and when the computer instructions are executed by a processor, some or all of the steps in the above method can be implemented.
[0025] In an embodiment of the present application, a file list can be displayed, and N files can be displayed in a batch selection state according to an operation of batch selecting files in the file list. When a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file is obtained. If the verification result is used to indicate that the target file is not in a pending review state, a prompt message indicating that the target file cannot be batch reviewed is generated, and the prompt message is output. Through the above method, the executableness of the target file can be verified every time a selection operation is detected for the target file, that is, it is determined whether the target file can be batch processed, and a real-time verification result is obtained, and the corresponding prompt message is generated in time based on the verification result, so that the process of batch processing files in the file list can be optimized, and the efficiency of batch processing files can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0027] Figure 1 This is a schematic diagram of a network architecture provided by an embodiment of the present application;
[0028] Figure 2 A schematic diagram of a file processing process provided in an embodiment of the present application
[0029] Figure 3 A flowchart of a file processing method provided in an embodiment of the present application;
[0030] Figure 4 An example diagram of a scenario for selecting files in batches provided in an embodiment of the present application;
[0031] Figure 5 An example diagram of a scenario for selecting files in batches provided in an embodiment of the present application;
[0032] Figure 6 An example diagram of a file editing scenario provided in an embodiment of the present application;
[0033] Figure 7a An example diagram of a file editing scenario provided in an embodiment of the present application;
[0034] Figure 7b An example diagram of a file editing scenario provided in an embodiment of the present application;
[0035] Figure 7c An example diagram of a file editing scenario provided in an embodiment of the present application;
[0036] Figure 8a An example diagram of a scene for displaying prompt information provided in an embodiment of the present application;
[0037] Figure 8b An example diagram of a scene for displaying prompt information provided in an embodiment of the present application;
[0038] Figure 8c An example diagram of a scene for displaying prompt information provided in an embodiment of the present application;
[0039] Fig. 9 A flowchart of a file processing method provided in an embodiment of the present application;
[0040] Fig.10 A schematic diagram of an interactive process of a file processing method provided in an embodiment of the present application;
[0041] Fig.11 A schematic diagram of a scenario for obtaining file information provided in an embodiment of the present application;
[0042] Fig.12 A schematic diagram of a scenario for obtaining file information provided in an embodiment of the present application;
[0043] Fig.13 A schematic diagram of an interactive process of a file processing method provided in an embodiment of the present application;
[0044] Fig.14 A schematic diagram of the structure of a file processing device provided in an embodiment of the present application;
[0045] Fig.15 A schematic diagram of the structure of a file processing device provided in an embodiment of the present application;
[0046] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] See also Figure 1 , Figure 1 Schematic diagram of a network architecture provided by an embodiment of the present application. Figure 1 As shown, the network architecture may include a service server 100 and a service terminal cluster, wherein the service terminal cluster may include one or more service terminals (such as user terminals), and the number of service terminals in the service terminal cluster is not limited. Figure 1 As shown, the multiple service terminals in the service terminal cluster may specifically include: service terminal 200a, service terminal 200b, ..., service terminal 200n, wherein there may be a communication connection between the service terminal clusters, for example, there is a communication connection between service terminal 200a and service terminal 200b, and there is a communication connection between service terminal 200a and service terminal 200n. At the same time, any service terminal in the service terminal cluster may have a communication connection with the service server 100, so that each service terminal in the service terminal cluster may exchange data with the service server 100 through the communication connection, for example, there is a communication connection between service terminal 200a and service server 100. The above-mentioned communication connection does not limit the connection method, and may be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, which are not limited in this application.
[0049] It should be understood that Figure 1 Each service terminal in the service terminal cluster shown in FIG. 1 may be installed with a client for batch file processing. When the client runs in each service terminal, it may be respectively connected to the above-mentioned Figure 1The client can be any type of client, such as a social client, a file processing client, an instant messaging client (e.g., a conference client), an entertainment client (e.g., a game client, a live broadcast client), a multimedia client (e.g., a video client), an information client (e.g., a news client), a shopping client, a car client, a smart home client, etc., which have the function of displaying data information such as text, images, audio, and video.
[0050] For example, in some embodiments, the client is a file processing client, and the files in the file list can be batch processed by the file processing client, etc. The file processing client can perform batch processing of files according to the file processing method proposed in the embodiment of the present application. The specific type of the client is not limited here. Among them, the client can be an independent client or an embedded sub-client integrated in a client (such as a social client, etc.), which is not limited here. In addition, the client can be a software client or a web client.
[0051] It can be understood that the business server 100 can be a collection of multiple servers such as a backend server and a data processing server corresponding to the client, for example, it can be an application server associated with the client. In this case, the application server can also be called a verification server. Therefore, each business terminal can communicate and interact with the business server 100 through the client. For example, the target object is associated with the business terminal 200a, and the business terminal 200a can display a list of files to be processed by the target object on the client, and when obtaining a selection operation for the target file in the file list, generate a verification request for the target file, and the business terminal 200a can send the verification request to the business server 100, and the business server 100 obtains the verification result of the target file based on the verification request, and returns the verification result to the business terminal 200a. Alternatively, the business terminal 200a can obtain the file list and the file configuration information of each file in the file list from the business server 100, and when the business terminal 200a detects the verification request for the target file, it obtains the verification result of the target file based on the verification request and the file configuration information of the target file.
[0052] It can be understood that the electronic device involved in the embodiment of the present application may be a server (for example, Figure 1 The service server 100 shown is a verification server), or a terminal (for example, Figure 1Any one of the business terminals in the business terminal cluster shown, that is, a business terminal configured with a client). Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, car terminal, etc., but is not limited to this.
[0053] Understandably, Figure 1 The possible network architecture of the technical solution of the present application is merely exemplified and does not limit the specific architecture of the technical solution of the present application. That is, the technical solution of the present application can also provide other forms of network architecture.
[0054] For further information, see Figure 2 , Figure 2 A schematic diagram of a file processing process provided by an embodiment of the present application. Figure 2 The electronic device 20 shown may be the above Figure 1 The corresponding embodiment is a service server 100 or any service terminal in a service terminal cluster (eg, service terminal 200a), which is not limited here. The process of file processing is used to characterize the file processing method proposed in the present application. Among them, a business terminal configured with a client displays a file list 20, which includes N files to be reviewed (file 1, file 2, ..., file N), where N is a positive integer. According to an operation of batch selecting the files in the file list 20, the N files are displayed in a batch selection state, and the files in the batch selection state in the file list 20 can be selected in batches (for example, a single file is selected or multiple files are selected). When a selection operation is obtained for a target file (such as file 1) displayed in a batch selection state, a verification result 21 of the target file is obtained, and the verification result 21 can indicate that the target file is in a pending review state or not in a pending review state; wherein, when the target file is in a pending review state, it indicates that the target file can be batch processed (i.e., batch reviewed), and when the target file is not in a pending review state, it indicates that the target file cannot be batch processed; therefore, if the verification result 21 is used to indicate that the target file is not in a pending review state, a prompt information 22 for the target file is generated and output, and the prompt information 22 is used to indicate that the target file cannot be batch reviewed.
[0055] Among them, obtaining the verification result of the target file can be to generate a verification request for the target file, and send the verification request to the verification server, so that the verification server performs file verification on the target file based on the verification request, obtains the verification result of the target file, and the verification server returns the verification result to the business terminal configured with the client.
[0056] It is understood that the files involved in the embodiments of the present application can be files in any audit scenario, such as submitted application records (such as leave applications, regularization applications), etc. It is understood that the object to which the client belongs here refers to the target object that has batch processing permissions for the file list. For example, the file can be a leave application, and the target object is the reviewer who approves the leave application. The file type of the file to be audited is not limited here.
[0057] It should be noted that when the electronic device in the embodiment of the present application acquires relevant data, such as the object identification of the target object (such as a user), a prompt interface or pop-up window may be displayed. The prompt interface or pop-up window is used to prompt the user that the object identification and other relevant data are currently being acquired. Only after the user issues a confirmation operation on the prompt interface or pop-up window, the relevant steps of data acquisition are started, otherwise the process ends. It can be understood that in the specific implementation of the present application, user data (for example, object identification, etc.) may be involved. When the above embodiments of the present application are applied to specific products or technologies, the user's permission or consent needs to be obtained, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0058] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0059] For further information, see Figure 3 , Figure 3 This is a file processing method provided by an embodiment of the present application, such as Figure 3 As shown, the method can be executed by the electronic device mentioned above. Figure 1 The service terminal shown in FIG. 1 is a service terminal configured with a client. The method may specifically include the following steps S101 to S104:
[0060] S101. Display a file list.
[0061] The file list includes N files to be reviewed, where N is a positive integer.
[0062] It is understandable that the files in the file list can be files to be reviewed in any business scenario. For example, in an application approval scenario, the above files can be application documents (such as leave applications, regularization applications, etc.) submitted by different objects (such as company employees). For another example, in an information approval scenario, the above files can be object information files collaboratively edited by multiple people (such as work progress information files that can be filled in by multiple people). The specific types of files are not limited here. It is understandable that the N files in the file list can be files of the same type or files of different types. For example, the N files in the file list are all leave applications, or the N files in the file list include leave applications, regularization applications, etc. There is no limitation here.
[0063] The client for displaying the file list is a client corresponding to the target object with the audit identity, and the target object can view one or more files that need to be audited by the target object in the file list through the client.
[0064] S102: According to the operation of batch selecting the files in the file list, N files are displayed in a batch selected state.
[0065] Among them, the interface where the file list is located may display a batch selection control, so the batch selection operation of the files may be a trigger operation of the batch selection control. Alternatively, the batch selection operation of the files may be a sliding operation, a double-click operation, etc. on the interface where the file list is located. The specific type of the batch selection operation is not limited here. It can be understood that the technical solution of the present application is aimed at optimizing the batch review process of files in the batch review scenario, thereby improving the efficiency of the batch review of files.
[0066] The files in the batch selection state refer to the files with the associated selection controls displayed. The files in the batch selection state can be selected by the target object through the associated selection controls, and at this time, a single selection operation or multiple selection operations can be performed on the files in the batch selection state. It can be understood that the selected files can be batch reviewed (i.e., batch processed, such as batch review passed operations or batch review failed operations).
[0067] For example, Figure 4 As shown, Figure 4A scenario example diagram for batch selecting files provided in an embodiment of the present application; an audit interface 40 is displayed on the client, and a file list 41 that needs to be audited by the target object is displayed in the audit interface, and the file list includes multiple N files to be audited (file 1, file 2, ..., file N), and a batch selection control 42 is displayed on the audit interface; the target object can trigger the batch selection control 42 to trigger the operation of batch selecting the files in the file list, and the client can display the N files in a batch selection state, that is, the N files are displayed in association with their respective corresponding selection controls 43, and file selection can be performed by triggering the selection control 43, for example, the selection operation of file 1 can be implemented by clicking the selection control associated with file 1.
[0068] Optionally, the N files displayed in the file list may refer to all files that need to be reviewed by the target object, or may refer to files that have been conditionally screened among all files that need to be reviewed by the target object. For example, when displaying the file list, a screening component for files may also be displayed, each of which is bound to a file screening condition (such as file type, file creation time, etc., and the file screening condition is not limited here and can be determined according to the specific type of the file). The file screening condition indicated by the selected screening component can be determined by selecting the screening component. At this time, the N files to be reviewed displayed in the file list are files that meet the file screening condition.
[0069] For example, Figure 5 As shown, Figure 5 An example diagram of a scenario for batch selecting files provided in an embodiment of the present application; an audit interface 50 is displayed on the client, in which a file list 51 that needs to be audited by a target object is displayed, and a filtering component 52 for files (such as a filtering component for file type) is displayed. By selecting the filtering component 52 (such as selecting the filtering component corresponding to the first type for the filtering component of the file type), it is determined that the file filtering condition indicated by the selected filtering component 52 is to display files of the first file type, so that the file type of the multiple N files to be audited (file 1, file 2, ..., file N) included in the file list are all of the first type; at the same time, the audit interface displays a batch selection control 53; the target object can trigger the batch selection control 53 to trigger the operation of batch selecting the files in the file list, and the client can display the N files in a batch selection state, that is, when the N files are displayed in association with the corresponding selection controls 54, the file selection can be performed by triggering the selection control 54, such as by clicking the selection control associated with file 1 to achieve the selection operation of file 1.
[0070] S103: When a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file is obtained; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state.
[0071] The target file may be one or more files. When there is one target file, the selection operation for the target file may be a single selection operation for the target file. When there are multiple target files, the selection operation for the target file may be a full selection operation for all files in the file list.
[0072] It can be understood that each time a selection operation on a target file is obtained, the verification result of the target file indicated by the selection operation can be obtained.
[0073] In some embodiments, obtaining the verification result of the target file may be to generate a verification request for the target file, send the verification request to a verification server, and cause the verification server to verify the audit status of the target file based on the verification request to obtain the verification result, and receive the verification result returned by the verification server. Wherein, when verifying the audit status of the target file, the verification server may obtain the file information of the target file and verify the target file based on the file information of the target file. Alternatively, the audit may be performed by the client, for example, the verification server obtains the file information of the target file based on the verification request, and sends the obtained file information to the client, and the client verifies the target file based on the file information of the target file.
[0074] Among them, the file configuration information of the target file includes K information editing items that need to be edited in the target file, and the K information editing items include R information editing items that the client has the audit authority, K and R are both positive integers, and R is less than or equal to K. The way to verify the target file can be: if the R information editing items of the target file all have edited file information, the target file is in a pending state; if at least one of the R information editing items of the target file does not have edited file information, the target file is not in a pending state. It can be understood that the file configuration information is used for K information editing items that need to be filled in the target file, and each information editing item can be filled in the target file, that is, an editing operation is performed on each information editing item to obtain the file information of the information editing item based on the editing operation.
[0075] Among them, a target file can be configured with one or more information editing items, the specific type of the information editing items is determined based on the type of the target file, and the information editing items configured by the target file can be filled in by one or more objects. For example, when the target file is a submitted leave application, the information editing items of the target file may include: leave start time, leave end time, leave type, etc. At this time, the information editing items can be filled in by the object submitting the request application. For another example, when the target file is a multi-person collaborative file (such as a work schedule), the information editing items of the target file may include: expected work task volume, work completion task volume, etc. At this time, the information editing items can be filled in by multiple objects associated with the work schedule (such as employees of a certain part). Optionally, the information editing items can also include information editing items that need to be filled in by the target object, such as approval opinions. At this time, the review opinions can be filled in by the review object (i.e., the above-mentioned target object), that is, the information editing items configured by the target file can include information editing items that the target object has editing authority. In addition, the editing interface of the target file displays the K information editing items, and any information editing item can be viewed or edited in the editing interface of the target file.
[0076] Therefore, the R information editing items that the client has the audit authority for, that is, the R information editing items that the target object to which the client belongs has the audit authority for, may refer to the information editing items among the K information editing items that the target object has the editing authority for. Alternatively, it may also be the information editing items among the K information editing items that can be audited by the target object, that is, the K information editing items. This can be configured by relevant business personnel. In other words, the file configuration information records the information editing items among the K information editing items that the client has the audit authority for, and records which information editing items among the K information editing items need to be edited by which objects.
[0077] It can be understood that the verification of the R information editing items in the target file is to determine whether the R information editing items have been edited with file information, that is, whether the object that needs to fill in the R information editing items has filled in the R information editing items. Correspondingly, it can also be understood that the verification of the target file is to determine whether the R information editing items are in a vacant state. If at least one of the R information editing items is in a vacant state, it is determined that the target file is not in a pending state, that is, the relevant batch processing operations can be performed; if none of the R information editing items are in a vacant state, it is determined that the target file is in a pending state, that is, the relevant batch processing operations cannot be performed.
[0078] For example, the R information editing items that the client has the review authority for can include approval opinions, signature information, etc. For some types of files, batch review can only be performed after approval or signature by the target object. Optionally, the target object can also set a default filling function for such information editing items, that is, the last editing information of the target object for such information editing items can be used, thereby realizing automatic filling of information editing items and rapid review of files. Figure 6 As shown, Figure 6 A diagram showing an example of a file editing scenario provided in an embodiment of the present application; wherein the client displays a file editing interface 60, which displays detailed information of the target file (such as various information editing items and the edited file information). When the target object edits an information editing item for which it has editing authority (such as approval opinions 61 and signature information 62), a default fill function can be set for the signature information 62, i.e., related controls (such as a control 63 displaying "The next approval will use this signature information") are triggered to realize automatic editing of the signature information.
[0079] It can be understood that different specific types of target files have different corresponding file configuration information, that is, different templates to be edited corresponding to the target files. Figure 7a-7c As shown, Figure 7a-7c A scenario example diagram of file editing provided in an embodiment of the present application; wherein, taking the target file as a leave application as an example, the editing interface 70 of the target file can be determined by the file configuration information of the target file (i.e., the template to be edited), such as Figure 7a As shown, the editing interface includes an approval process and multiple information editing items to be edited, such as approval opinion 71, leave start time 72, leave end time 73, leave type 74, etc.; through the file configuration information, it can be determined which information editing items in the multiple information editing items need to be edited by which objects, such as the leave start time, leave end time, and leave type are edited by the object submitting the leave application, and the approval opinion is edited by the target object to which the client belongs. For example, the target object can fill in, confirm or cancel the approval opinion by triggering the relevant controls of the approval opinion, such as Figure 7b shown.
[0080] In addition, the file configuration information of different types of files can be configured by relevant business personnel to determine which types of files' file configuration information can contain information editing items that need to be edited by the target object. Figure 7cAs shown, relevant business personnel can configure the batch review process of the file (such as applicant filling in, applicant selecting reviewer to submit, reviewer filling in, reviewer approval), which information editing items are included in the file configuration information, whether the information editing items are filled in by the target object (reviewer) (i.e., reviewer's permission setting), and whether the information editing items are filled in by the object (applicant) who submits the file (i.e., applicant's permission setting). For example, the file configuration information can include approval comments, leave start time, leave end time, and leave type, and the approval comments are filled in by the target object (reviewer) (i.e., the target object's permission to the approval comments is set to editable; the permission to the leave start time, leave end time, and leave type is set to view only), and the leave start time, leave end time, and leave type are filled in by the object (applicant) who submits the application (i.e., the target object's permission to the leave start time, leave end time, and leave type is set to editable; the permission to the approval comments is set to view only).
[0081] Optionally, when it is determined based on the verification result that the target file is not in a pending review state, object information associated with an information editing item in the target file that has not been edited (such as an information editing item represented as unedited) is output, and the object information is used to indicate information about an object that needs to edit the unedited information editing item (such as an object to be edited, which may refer to a target object or other object that can perform editing operations on the target file), and an edit prompt control is generated. In response to a trigger operation of the edit prompt control by the target object, unedited prompt information is generated, and the unedited prompt information is sent to the object to be edited, so as to automatically prompt the object to be edited to perform an editing operation on the unedited information editing item. When the background server corresponding to the client (such as the verification server) detects that the object to be edited has performed an editing operation on the unedited information editing item, that is, the unedited information editing item has edited file information, it generates edited prompt information for the object to be edited, and sends the edited prompt information to the client of the target object to prompt the target object that the object to be edited has performed an editing operation on the unedited information editing item, and the target object triggers the verification process of the target file through the client, that is, determines again whether the target file is in the pending review state, and when the target file is in the pending review state, batch processes the target file.
[0082] S104: If the verification result indicates that the target file is not in a pending review state, a prompt message indicating that the target file cannot be reviewed in batches is generated and the prompt message is output.
[0083] The audit status of the target file is used to indicate whether the target file can be audited in batches, that is, whether it can be operated in batches, such as operations that have passed the batch audit or operations that have failed the batch audit. When the target file is in the pending audit state, it means that the target file can be audited in batches, and when the target file is not in the pending audit state, it means that the target file cannot be audited in batches.
[0084] Therefore, the technical solution of the present application can obtain the verification result of the target file indicated by the selection operation every time a selection operation is obtained for the target file, and prompt the audit status of the target file based on the verification result in real time. It can be understood that compared with the existing method (the target object needs to select files in sequence, and after clicking the batch review control, it can determine which files cannot be batch reviewed), the batch review efficiency of the target object can be greatly improved, and the verification of the selected files (that is, the real-time verification interaction of a single or multiple files) and the fast feedback of the executableness of the selected files can be realized in the scene of batch selection of files (such as data, records, etc.), which can improve the timeliness of feedback and user experience. At the same time, when performing file verification, it can be a single file indicated by a single selection operation, or it can be a full amount of files indicated by a full selection operation. The verification logic of a single file and the verification logic (interface logic) of the full amount of files can be aggregated, so that each selected file will be verified in real time and a pop-up window reminder is performed, which improves the overall efficiency of the batch processing process (that is, optimizes the processing efficiency of the batch processing file process to the file), and ensures the high cohesion of the verification logic inside the verification server.
[0085] Among them, it can be understood that if the target file selected by the client is one (for example, the selection operation at this time is a single selection operation for the files in the file list), the prompt information is used to indicate that the target file cannot be reviewed in batches. For example, a matching pop-up window is generated to indicate the target object, such as the pop-up window displays "This file requires the target object to fill in the approval opinion, and batch review is not supported yet". Alternatively, if there are multiple target files selected by the client, and multiple target files contain all the files in the file list (for example, the selection operation at this time is a full selection operation for the files in the file list), then one target file has a verification result, and the prompt information is used to indicate that the pending files in the target file cannot be reviewed in batches. The pending files refer to the verification results in multiple target files used to indicate target files that cannot be reviewed in batches. For example, a matching pop-up window is generated to indicate the target object, such as the pop-up window displays "The pending files in the target file require the target object to fill in the approval opinion, and batch review is not supported yet". Optionally, a batch review control can also be displayed in the pop-up window to indicate that a batch review operation can be performed on the files in the target file except the pending files. For example, a batch review pass control is used to indicate that a batch review operation is performed on the files in the target file except the pending files; for example, a batch review fail control is used to indicate that a batch review operation is performed on the files in the target file except the pending files.
[0086] For example, Figure 8a-8c As shown, Figure 8a-8c An example diagram of a scenario for displaying prompt information provided in an embodiment of the present application; wherein a file list is displayed on a batch processing interface, and N files in the file list (file 1, file 2, ..., file N) are displayed in a batch selection state, and when a single selection operation of a target file (such as file 1) among the N files is detected by the target object, a verification result of the target file is obtained, and if the verification result is used to indicate that the target file is not in a pending review state, the generated prompt information is used to indicate that the target file cannot be batch reviewed, such as generating a first type of pop-up window, and the first type of pop-up window displays "The target object needs to fill in the approval opinion for this file, and batch review is not supported yet", such as Figure 8a ; When it is detected that the target object has performed a select-all operation on N files (for example, a select-all control is displayed on the interface, and the select-all operation on the N files is performed by triggering the select-all control), the target file is the N files at this time, and the verification result of each file in the N files is obtained. The pending files in the N files that are not in a pending review state are determined through the verification results of each of the N files, and prompt information is generated to indicate that the pending files cannot be reviewed in batches, such as generating a second type of pop-up window, which displays "X files (pending files) out of the N files require the target object to fill in approval opinions, and batch review is not supported yet", such as Figure 8b; Further, on the basis of generating the second type of pop-up window, a batch processing control for files other than the pending files among the N files can be generated, for example, a third type of pop-up window can be generated, and at this time, the third type of pop-up window displays "X files among the N files (pending files) require the target object to fill in the approval opinion, and batch review is not supported yet, and the files other than X files among the N files will be subject to batch review", and at this time, the third type of pop-up window can display a batch review pass control and a batch review fail control, such as Figure 8c shown.
[0087] Subsequently, after completing the selection operation of N files, batch processing can be performed on the selected files in the N files. For example, a batch review operation is performed on the M files selected in batches in the file list, and the review results of the M files are displayed; M is a positive integer and M is less than or equal to N; wherein, if the batch review operation is an operation that passes the review, the review result includes the results that the M files are reviewed and passed; if the batch review operation is an operation that fails the review, the review result includes the results that the M files are not reviewed and passed.
[0088] In an embodiment of the present application, a file list can be displayed, and N files can be displayed in a batch selection state according to an operation of batch selecting files in the file list. When a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file is obtained. If the verification result is used to indicate that the target file is not in a pending review state, a prompt message indicating that the target file cannot be batch reviewed is generated, and the prompt message is output. Through the above method, the executableness of the target file can be verified every time a selection operation is detected for the target file, that is, it is determined whether the target file can be batch processed, and a real-time verification result is obtained, and the corresponding prompt message is generated in time based on the verification result, so that the process of batch processing files in the file list can be optimized, and the efficiency of batch processing files can be improved.
[0089] For further information, see Fig. 9 , Fig. 9 This is a file processing method provided by an embodiment of the present application, such as Fig. 9 As shown, the method can be executed by the electronic device mentioned above. Figure 1 The service server shown in the figure is the verification server, and the method may specifically include the following steps S201 to S203:
[0090] S201. Obtain a verification request sent by a client.
[0091] The verification request is used to request verification of the audit status of the target file, the target file belongs to the files in the file list, and the verification request is sent by the client when the target file is triggered to be selected during batch selection of files in the file list.
[0092] S202: Obtain a verification result of the target file based on the verification request.
[0093] The verification result is used to indicate whether the target file is in a pending review state or not in a pending review state.
[0094] Wherein, obtaining the verification result of the target file may be, obtaining the file configuration information of the target file, the file configuration information includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has the audit authority; K and R are both positive integers, and R is less than or equal to K; obtaining the file information edited in the R information editing items of the target file, if there is at least one information editing item in the R information editing items that does not have the edited file information, then determining the verification result of the target file is used to indicate that the target file is not in a pending audit state, and if the R information editing items all have the edited file information, then determining the verification result of the target file is used to indicate that the target file is in a pending audit state. Wherein, the specific description related to the information editing items can refer to the relevant description of the above embodiment.
[0095] It can be understood that if the target file selected by the client is one, the verification request includes the file identifier of the target file; if the target file selected by the client includes all the files in the file list, the verification request includes the mark information that the file is selected in full; wherein, if the target file selected by the client is one, the verification server is used to determine the target file to be verified based on the file identifier; if the target file selected by the client includes all the files in the file list, the verification server is used to obtain the full file for which the client has the review authority based on the mark information, as the target file to be verified.
[0096] That is to say, when the target file is determined through a single-select operation, the verification request carries the file identifier of the selected target file, and the verification server obtains the file information edited separately in the R information editing items of the target file and the file configuration information of the target file through the file identifier; when the target file is determined through a full-select operation, the verification request carries mark information for indicating that the files in the file list are fully selected, and the verification server obtains the file identifier of the file in the file list through the mark information, and obtains the file information edited separately in the R information editing items of each file in the file list and the file configuration information of the target file through the obtained file identifier.
[0097] Among them, Fig.10As shown, Fig.10 A schematic diagram of an interactive process of a file processing method provided in an embodiment of the present application; wherein, S11, the client displays a file list; S12, the client performs a batch selection operation on the files in the file list according to the target object, and displays N files in a batch selection state;
[0098] S13. When the client obtains a selection operation (such as a single selection or full selection operation) for a target file displayed in a batch selection state in a file list, a verification request for the target file is generated; S14. The client sends the verification request to the verification server; S15. The verification server determines the target file to be verified based on the file identifier carried in the verification request, or determines the target file to be verified based on the marking information carried in the verification request; S16. The verification server obtains the file configuration information of the target file; S17. The verification server obtains the file information edited in R information editing items of the target file, and verifies the target file based on the file information edited in the R information editing items to obtain a verification result; S18. The verification server returns the verification result to the client; S19. The client generates prompt information related to the target file based on the verification result, and outputs the prompt information.
[0099] Among them, the verification server may include a request verification module (for example, called an svr end), a logic processing module (for example, called a logic end), a database (for example, called a database end), and a file verification module (for example, called a checksvr end); wherein the aforementioned multiple modules may be integrated into one verification server or into multiple verification servers. The request verification module is used to verify the parameters in the verification request to determine the integrity of the verification request. The logic processing module is used to obtain the edited file information of the R information editing items of the target file from the database according to the parameters in the verification request. The file verification module is used to obtain the file configuration information of the target file from the database and the file information of the R information editing items of the target file from the logic processing module, and verify the edited file information of the R information editing items of the target file based on the file configuration information of the target file to obtain the verification result. The logic processing module is used to aggregate the verification results determined by the file verification module and return the aggregated verification results to the client.
[0100] It can be understood that when the client detects the selection operation of the target object on the target file, it generates a verification request and sends it to the request verification module, that is, the CGI (Common Gateway Interface) interface of the request verification module sends the verification request. The request verification module can perform a non-empty check on the verification request, and after the verification is correct, the verification request is sent to the logic processing module through the transparent transmission method. Among them, the parameters in the verification request may include one or more of the following: enterprise identification (for example, expressed as corpid, it can be understood that multiple enterprises can be registered in the client, and the file data recorded by different enterprises are different), client version number (for example, expressed as app_version), batch operation type (that is, the operation type of the target object, such as single-select operation or multiple-select operation), target object identification (for example, expressed as vid, when the batch operation type is a multiple-select operation, the parameter in the verification request can carry the target object identification, which can make the verification request not include the file identification of the full file, which can save the amount of transmission information and transmission efficiency), file identification of the target file (that is, the identification of the selected file, when the batch operation type is a single-select operation, the parameter in the verification request can carry the target object identification), file type, file screening conditions (for example, it can be a file type used for screening), associated object of the target file (that is, the object identification of the object that needs to fill in the target file), submission date (when the batch operation type is a single-select operation, the parameter in the verification request can carry the submission date of the selected file. The specific type of parameters carried in the verification request can be configured by relevant business personnel.
[0101] When the logic processing module receives the verification request, it parses the parameters carried in the verification request, first determines the batch operation type, and obtains the edited file information of the target file in a file acquisition method matching the batch operation type.
[0102] For example, taking the batch operation type as a single-select operation, the file identifier is parsed from the verification request, and the edited file information of the file associated with the file identifier is taken out from the file information table stored in the database. The file associated with the file identifier is the target file to be verified determined according to the file identifier. Optionally, the edited file information of different files can be stored in separate tables according to the submission date, such as files generated in January are stored in file information table 1, files generated in February are stored in file information table 2, and so on.
[0103] Therefore, obtaining the edited file information of the target file can also be as follows Fig.11 As shown, Fig.11A schematic diagram of a file information acquisition scenario provided in an embodiment of the present application; wherein a plurality of file information tables (such as file information table 1, file information table 2, and file information table 3) are stored in a database, the file information table is associated with an enterprise identifier and a submission date, and a plurality of file identifiers and edited file information of files corresponding to the file identifiers are stored in the file information table; the logic processing end parses the enterprise identifier, submission date, and file identifier from the verification request, and the database can determine the file information table storing the edited file information of the target file according to the enterprise identifier and submission date, that is, using the enterprise identifier and submission date as key information (key), determining the value information (value) associated with the enterprise identifier and submission date, the value information is the corresponding file information table (such as file information table 1), and taking out the edited file information of the file associated with the file identifier from the determined file information table 1, in addition, the acquired file information can be serialized file information (such as 010101...), because the acquired file information can be deserialized to obtain the edited file information of the target file (that is, the detailed information of the file).
[0104] For example, taking the batch operation type of the full selection operation as an example, the target object identifier is parsed from the verification request (the target object identifier can be regarded as the marking information that the file is fully selected), and the personal information table associated with the target object identifier is obtained from the database. The personal information table can store the file identifiers of the files that need to be reviewed by the target object. Therefore, the file identifiers of all the files to be processed under the name of the target object (that is, the full amount of files in the file list) can be obtained from the personal information table, and the file identifiers of all the files to be processed are used as indexes to obtain the corresponding edited file information of the target file from the file information table (that is, based on the marking information, the full amount of files that the client has the right to review are obtained). Further, the edited file information of different files is stored in separate tables according to the submission date, such as files generated in January are stored in file information table 1, and files generated in February are stored in file information table 2, etc. Therefore, when obtaining the file identifiers of all the files to be processed from the personal information table, the submission date of each file to be processed can also be obtained from the personal information table at the same time, and the edited file information of the full amount of files in the file list can be obtained according to the file identifiers, submission dates of all the files to be processed and the enterprise identifier parsed from the verification request.
[0105] It can be understood that the files to be processed determined here are all the files that the target object needs to review. When the files in the file list are files that meet the file screening conditions, the verification request can carry the file screening conditions. Optionally, the personal information table is stored in separate tables according to the date. For example, the file identifiers of files generated in January are stored in personal information table 1, and the file identifiers of files generated in February are stored in personal information table 2, etc. Therefore, when obtaining the edited file information of the target file, it can also be as follows Fig.12 As shown, Fig.12 A schematic diagram of a file information acquisition scenario provided in an embodiment of the present application; wherein, a database stores multiple personal information tables (such as personal information table 1, personal information table 2, and personal information table 3), and the personal information tables are associated with different object identifiers, such as personal information table 1 is associated with object identifier 1 of object 1, personal information table 2 is associated with object identifier 2 of object 2, and personal information table 3 is associated with object identifier 3 of object 3, and multiple file identifiers are stored in the file information table; the logic processing end parses the target object identifier from the verification request, and obtains the personal information table associated with the target object identifier, that is, uses the target object identifier as key information (key) to determine value information (value) associated with the target object identifier. e), the value information is the corresponding personal information table (for example, file information table 1), the file identifiers of the files that meet the file screening conditions and are waiting for review are filtered out in file information table 1 (that is, the file identifiers of the N files in the file list), and the submission date associated with the file identifier is obtained at the same time, and the edited file information of the file associated with the file identifier (that is, the edited file information of the target file, that is, the edited file information of all the files in the file list) is obtained from the corresponding file information table based on the file identifier and the submission date taken out from the personal information table 1. The process of obtaining the edited file information of the target file through the file identifier and the submission date can be referred to above Fig.11 Related description of the example, in addition, the acquired file information can be serialized file information (such as 010101...), because the acquired file information can be deserialized to obtain the edited file information of the target file (that is, detailed information of the file).
[0106] S203: Return the verification result to the client.
[0107] When the client detects that the verification result indicates that the target file is not in a pending review state, it can generate a prompt message that the target file cannot be reviewed in batches and output the prompt message.
[0108] For example, Fig.13 As shown, Fig.13A schematic diagram of an interactive process of a file processing method provided by an embodiment of the present application; wherein, S21, the client displays a file list; S22, the client generates a verification request according to an operation of a target object (the operation of the target object may be an operation of batch selection of a file list and an operation of selecting a target file, that is, a batch review process is executed by the target object, for example, the client may perform a batch selection operation on files in a file list according to the target object, display N files in a batch selection state, and obtain a selection operation (such as a single selection or a full selection operation) of the target object on the target files displayed in a batch selection state in the file list, and generate a verification request for the target file Request); S23, the client sends the verification request to the request verification module; S24, the request verification module performs a non-empty verification on the verification request; S25, after successfully performing the non-empty verification on the verification request, the request verification module transparently transmits the verification request to the logic processing end; S26, when the logic processing end determines that the batch operation type is a single-select operation through the verification request, the logic processing end obtains the edited file information of the target file from the database according to the file acquisition method matching the single-select operation (for example, obtaining it according to the file identifier), or, when the batch operation type is determined to be a full-select operation through the verification request, the logic processing end obtains the edited file information of the target file from the database according to the file acquisition method matching the full-select operation. The edited file information (for example, acquired and aggregated according to the tag information, and can be filtered by the file screening condition when acquired); S27, the logic processing end sends the acquired edited file information of the target file to the file verification end; S28, the file verification end acquires the file configuration information of the target file from the database according to the file type of the target file (for example, the file type is sent by the logic processing end, or the logic processing end sends the verification request to the file verification end, and the file verification end acquires it from the verification request); S29, the file verification end verifies the target file to obtain the verification result, for example, it can be to determine N information editing items of the target file according to the file configuration information of the target file The client has R information editing items for which it has audit authority, and obtains the file information of the R information editing items from the edited file information of the target file, and verifies the file information of the R information editing items, such as determining whether the R information editing items all have edited file information (i.e., whether they are in a blank state), to obtain the verification result; S210, the file verification end returns the verification result to the logic processing end; S211, the logic processing end integrates the verification result and returns the verification result to the requesting verification end; S212, the requesting verification end returns the verification result to the client; S213, the client generates and outputs prompt information based on the verification result.
[0109] In the embodiment of the present application, the verification request sent by the client can be obtained, the verification result of the target file can be obtained based on the verification request, and the verification result can be returned to the client. Through the above method, the executableness of the target file can be verified by the verification server every time a selection operation on the target file is detected, that is, whether the target file can be processed in batches can be determined, and real-time verification results can be obtained, and the client can generate corresponding prompt information in time based on the verification results, so that the process of batch processing files in the file list can be optimized, and the efficiency of batch processing files can be improved.
[0110] For further information, see Fig.14 , Fig.14 Schematic diagram of a file processing device provided in an embodiment of the present application. Fig.14 As shown, the file processing device 1 can be applied to an electronic device, for example, the electronic device can be the above-mentioned Figure 1 The corresponding service terminal in the embodiment. It should be understood that the file processing device 1 can be a computer program (including program code) running in an electronic device, for example, the file processing device 1 can be an application software; it can be understood that the file processing device 1 can be used to execute the corresponding steps in the method provided in the embodiment of the present application. Fig.14 As shown, the file processing device 1 may include: a display module 11 and a processing module 12; wherein:
[0111] Display module 11, used to display a file list; the file list includes N files to be reviewed, where N is a positive integer;
[0112] The display module 11 is also used to display N files in a batch selection state according to the operation of batch selecting the files in the file list;
[0113] The processing module 12 is used to obtain the verification result of the target file when a selection operation is obtained for the target file displayed in a batch selection state in the file list; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0114] The processing module 12 is further configured to generate a prompt message indicating that the target file cannot be batch-checked if the verification result indicates that the target file is not in a pending-check state, and output the prompt message.
[0115] Wherein, when the processing module 12 is used to obtain the verification result of the target file, it is specifically used to:
[0116] Generate a verification request for the target file;
[0117] Sending the verification request to the verification server, so that the verification server verifies the audit status of the target file based on the verification request to obtain the verification result;
[0118] Receive the verification result returned by the verification server.
[0119] The file configuration information of the target file includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has the review authority; K and R are both positive integers, and R is less than or equal to K;
[0120] If all R information editing items of the target file have edited file information, the target file is in a pending review state; if at least one of the R information editing items of the target file does not have edited file information, the target file is not in a pending review state.
[0121] If the target file selected by the client is one, the prompt information is used to indicate that the target file cannot be reviewed in batches;
[0122] If the client selects multiple target files, and the multiple target files include all the files in the file list, then one target file has one verification result, and the prompt information is used to indicate that the pending files cannot be reviewed in batches. The pending files refer to the target files among the multiple target files whose verification results are used to indicate that they cannot be reviewed in batches.
[0123] The processing module 12 is further used for:
[0124] Perform batch review operations on M files selected in batches in the file list, and display the review results of the M files; M is a positive integer and M is less than or equal to N;
[0125] Among them, if the batch review operation is an operation that passes the review, the review result includes the result that M files are reviewed and passed; if the batch review operation is an operation that fails the review, the review result includes the result that M files are not reviewed and passed.
[0126] According to one embodiment of the present application, Fig.14 The various modules in the file processing device shown can be separately or completely combined into one or several other modules to constitute, or one (some) of the modules can be further divided into multiple smaller modules in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above modules are divided based on logical functions. In practical applications, the functions of one module can also be implemented by multiple modules, or the functions of multiple modules can be implemented by one module. In other embodiments of the present application, the data processing device of the blockchain network may also include other modules. In practical applications, these functions can also be implemented with the assistance of other modules, and can be implemented by the collaboration of multiple modules.
[0127] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM) and other processing elements and storage elements. Figure 3 A computer program (including program code) for each step involved in the corresponding method shown in FIG. Fig.14 The file processing device shown in the embodiment of the present application is implemented by the file processing method. The computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.
[0128] In the embodiment of the present application, the display module displays a file list; the display module displays N files in a batch selection state according to the operation of batch selecting the files in the file list; when the processing module obtains the selection operation for the target file displayed in the batch selection state in the file list, it obtains the verification result of the target file; if the verification result is used to indicate that the target file is not in a pending review state, the processing module generates a prompt message that the target file cannot be batch reviewed, and outputs the prompt message. Through the above method, the executableness of the target file can be verified every time the selection operation of the target file is detected, that is, it is determined whether the target file can be batch processed, and a real-time verification result is obtained, and the corresponding prompt message is generated in time based on the verification result, so that the process of batch processing files in the file list can be optimized, and the efficiency of batch processing files can be improved.
[0129] Each functional module in each embodiment of the present application can be integrated into one module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules, which is not limited in the present application.
[0130] For further information, see Fig.15 , Fig.15 Schematic diagram of a file processing device provided in an embodiment of the present application. Fig.15 As shown, the file processing device 2 can be applied to an electronic device, for example, the electronic device can be the above-mentioned Figure 1 It should be understood that the file processing device 2 can be a computer program (including program code) running in an electronic device, for example, the file processing device 2 can be an application software; it can be understood that the file processing device 2 can be used to execute the corresponding steps of the method provided in the embodiment of the present application. Fig.15 As shown, the file processing device 2 may include: an acquisition module 21 and a return module 22; wherein:
[0131] The acquisition module 21 is used to acquire a verification request sent by the client; the verification request is used to request verification of the audit status of the target file, the target file belongs to the file in the file list, and the verification request is sent by the client when the target file is triggered to select in batches during the selection of files in the file list;
[0132] The acquisition module 21 is further used to obtain the verification result of the target file based on the verification request; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0133] The return module 22 is used to return the verification result to the client, so that when the client detects that the verification result indicates that the target file is not in a pending review state, it generates a prompt message that the target file cannot be batch reviewed and outputs the prompt message.
[0134] The acquisition module 21 is used to obtain the verification result of the target file based on the verification request, including:
[0135] Obtain file configuration information of the target file; the file configuration information includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has review authority; K and R are both positive integers, and R is less than or equal to K;
[0136] Obtain the file information edited in the R information editing items of the target file respectively;
[0137] If at least one of the R information editing items does not have the edited file information, then determining the verification result of the target file is used to indicate that the target file is not in a pending review state;
[0138] If all R information editing items have edited file information, then the verification result of the target file is determined to indicate that the target file is in a pending review state.
[0139] If the target file selected by the client is one, the verification request includes the file identifier of the target file; if the target file selected by the client includes all the files in the file list, the verification request includes the marking information that the files are all selected;
[0140] Among them, if the target file selected by the client is one, the verification server is used to determine the target file to be verified based on the file identifier; if the target file selected by the client includes all the files in the file list, the verification server is used to obtain the full amount of files that the client has review authority for based on the marking information, as the target file to be verified.
[0141] According to one embodiment of the present application, Fig.15The various modules in the file processing device shown can be separately or completely combined into one or several other modules to constitute, or one (some) of the modules can be further divided into multiple smaller modules in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above modules are divided based on logical functions. In practical applications, the functions of one module can also be implemented by multiple modules, or the functions of multiple modules can be implemented by one module. In other embodiments of the present application, the data processing device of the blockchain network may also include other modules. In practical applications, these functions can also be implemented with the assistance of other modules, and can be implemented by the collaboration of multiple modules.
[0142] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM) and other processing elements and storage elements. Fig. 9 A computer program (including program code) for each step involved in the corresponding method shown in FIG. Fig.15 The file processing device shown in the embodiment of the present application is implemented by the file processing method. The computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.
[0143] In the embodiment of the present application, the acquisition module acquires the verification request sent by the client; the acquisition module acquires the verification result of the target file based on the verification request; and the return module returns the verification result to the client. Through the above method, each time a selection operation on a target file is detected, the executableness of the target file can be verified by the verification server, that is, whether the target file can be processed in batches can be determined, and real-time verification results can be obtained, and the client can generate corresponding prompt information in time based on the verification results, so that the process of batch processing files in the file list can be optimized, and the efficiency of batch processing files can be improved.
[0144] Each functional module in each embodiment of the present application can be integrated into one module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules, which is not limited in the present application.
[0145] For further information, see Fig.16 , Fig.16 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.16As shown, the electronic device 1600 can be a user terminal or a server, which will not be limited here. It is understandable that the electronic device can be the above-mentioned management node. For ease of understanding, this application takes the electronic device as a server as an example, and the electronic device 1600 may include: a processor 1601, a network interface 1604 and a memory 1605. In addition, the electronic device 1600 may also include: a user interface 1603, and at least one communication bus 1602. Among them, the communication bus 1602 is used to realize the connection communication between these components.
[0146] Among them, the user interface 1603 may also include a standard wired interface and a wireless interface. The network interface 1604 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1605 may include a volatile memory, such as a random-access memory (RAM); the memory 1602 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the memory 1605 may also include a combination of two or more of the above-mentioned types of memory. The memory 1605 may optionally be at least one storage device located away from the aforementioned processor 1601. The memory 1605 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application. The processor 1601 may be a central processing unit (CPU). In one embodiment, the processor 1601 may also be a graphics processing unit (GPU). The processor 1601 may also be a combination of a CPU and a GPU.
[0147] The network interface 1604 in the electronic device 1600 can also provide a network communication function. Fig.16 In the electronic device 1600 shown, the network interface 1604 can provide a network communication function; the user interface 1603 is mainly used to provide an input interface for the user; and the processor 1601 can be used to call the device control application stored in the memory 1605 to execute the above Figure 3 and Fig. 9 The description of the file processing method in the corresponding embodiment can also be performed as described above. Fig.14 and Fig.15The description of the file processing device (ie, the file processing device 1 and the file processing device 2) in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0148] In some embodiments, the memory 1605 is used to store program instructions, and the processor 1601 can call the program instructions to perform the following steps:
[0149] Display the file list; the file list contains N files to be reviewed, where N is a positive integer;
[0150] According to the operation of batch selecting files in the file list, N files are displayed in a batch selected state;
[0151] When a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file is obtained; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0152] If the verification result is used to indicate that the target file is not in a pending review state, a prompt message indicating that the target file cannot be batch reviewed is generated and the prompt message is output.
[0153] The processor 1601, when used to obtain the verification result of the target file, is specifically used to:
[0154] Generate a verification request for the target file;
[0155] Sending the verification request to the verification server, so that the verification server verifies the audit status of the target file based on the verification request to obtain the verification result;
[0156] Receive the verification result returned by the verification server.
[0157] The file configuration information of the target file includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has the review authority; K and R are both positive integers, and R is less than or equal to K;
[0158] If all R information editing items of the target file have edited file information, the target file is in a pending review state; if at least one of the R information editing items of the target file does not have edited file information, the target file is not in a pending review state.
[0159] If the target file selected by the client is one, the prompt information is used to indicate that the target file cannot be reviewed in batches;
[0160] If the client selects multiple target files, and the multiple target files include all the files in the file list, then one target file has one verification result, and the prompt information is used to indicate that the pending files cannot be reviewed in batches. The pending files refer to the target files among the multiple target files whose verification results are used to indicate that they cannot be reviewed in batches.
[0161] The processor 1601 is further configured to:
[0162] Perform batch review operations on M files selected in batches in the file list, and display the review results of the M files; M is a positive integer and M is less than or equal to N;
[0163] Among them, if the batch review operation is an operation that passes the review, the review result includes the result that M files are reviewed and passed; if the batch review operation is an operation that fails the review, the review result includes the result that M files are not reviewed and passed.
[0164] In some embodiments, the memory 1605 is used to store program instructions, and the processor 1601 can call the program instructions to perform the following steps:
[0165] Get the verification request sent by the client; the verification request is used to request verification of the audit status of the target file. The target file belongs to the file list. The verification request is sent by the client when the target file is triggered to select during the batch selection of files in the file list.
[0166] Obtaining a verification result of the target file based on the verification request; the verification result is used to indicate whether the target file is in a pending review state or not in a pending review state;
[0167] The verification result is returned to the client, so that when the client detects that the verification result is used to indicate that the target file is not in a pending review state, it generates a prompt message that the target file cannot be batch reviewed and outputs the prompt message.
[0168] The processor 1601, when used to obtain the verification result of the target file based on the verification request, is specifically used to:
[0169] Obtain file configuration information of the target file; the file configuration information includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has review authority; K and R are both positive integers, and R is less than or equal to K;
[0170] Obtain the file information edited in the R information editing items of the target file respectively;
[0171] If at least one of the R information editing items does not have the edited file information, then determining the verification result of the target file is used to indicate that the target file is not in a pending review state;
[0172] If all R information editing items have edited file information, then the verification result of the target file is determined to indicate that the target file is in a pending review state.
[0173] If the target file selected by the client is one, the verification request includes the file identifier of the target file; if the target file selected by the client includes all the files in the file list, the verification request includes the marking information that the files are all selected;
[0174] Among them, if the target file selected by the client is one, the verification server is used to determine the target file to be verified based on the file identifier; if the target file selected by the client includes all the files in the file list, the verification server is used to obtain the full amount of files that the client has review authority for based on the marking information, as the target file to be verified.
[0175] In addition, it should be pointed out that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the file processing device 1 and the file processing device 2 mentioned above, and the computer program includes computer instructions. When the processor executes the computer instructions, it can execute the above-mentioned Figure 3 and Fig. 9 The description of the file processing method in the corresponding embodiment will therefore not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, computer instructions may be deployed on a computing device for execution, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network. Multiple computing devices distributed at multiple locations and interconnected by a communication network can constitute a blockchain system.
[0176] In addition, it should be noted that: the embodiment of the present application also provides a computer program product or a computer program, which may include computer instructions, and the computer instructions may be stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor may execute the computer instructions so that the electronic device performs the above Figure 3 or Fig. 9The description of the file processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer program product or computer program embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0177] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0178] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0179] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0180] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in accordance with the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted via a computer-readable storage medium.
[0181] Computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer-readable storage media can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
[0182] 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 by the present invention, 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.
Claims
1. A file processing method, It is characterized in that The method is applied to a client, and the method comprises: Display a file list; the file list contains N files to be reviewed, where N is a positive integer; According to an operation of batch selecting the files in the file list, the N files are displayed in a batch selected state; When a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file is obtained; the verification result is used to indicate whether the target file is in a pending review state or not in the pending review state; If the verification result is used to indicate that the target file is not in the pending review state, a prompt message indicating that the target file cannot be batch reviewed is generated and the prompt message is output.
2. The method according to claim 1, It is characterized in that The obtaining the verification result of the target file includes: Generate a verification request for the target file; Sending the verification request to a verification server, so that the verification server verifies the audit status of the target file based on the verification request to obtain the verification result; Receive the verification result returned by the verification server.
3. The method according to claim 1, It is characterized in that The file configuration information of the target file includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has the review authority; K and R are both positive integers, and R is less than or equal to K; If the R information editing items of the target file all have edited file information, the target file is in the pending review state; If at least one of the R information editing items of the target file does not have edited file information, the target file is not in the pending review state.
4. The method according to claim 1, It is characterized in that If the target file selected by the client is one, the prompt information is used to indicate that the target file cannot be reviewed in batches; If the client selects multiple target files, and the multiple target files include all the files in the file list, then one target file has one verification result, and the prompt information is used to indicate that the pending files cannot be reviewed in batches. The pending files refer to the target files among the multiple target files whose verification results indicate that they cannot be reviewed in batches.
5. The method according to claim 1, It is characterized in that The method further comprises: Performing a batch review operation on M files selected in batches in the file list, and displaying the review results of the M files; M is a positive integer and M is less than or equal to N; Among them, if the batch review operation is an operation that has passed the review, the review result includes the result that the M files have passed the review; if the batch review operation is an operation that has not passed the review, the review result includes the result that the M files have not passed the review.
6. A file processing method, It is characterized in that The method is applied to a verification server, and the method comprises: Obtaining a verification request sent by a client; the verification request is used to request verification of the audit status of a target file, the target file being a file in a file list, and the verification request is sent by the client when a selection operation is triggered for the target file during batch selection of files in the file list; Acquire a verification result of the target file based on the verification request; the verification result is used to indicate whether the target file is in a pending review state or not in the pending review state; The verification result is returned to the client, so that when the client detects that the verification result is used to indicate that the target file is not in the pending review state, it generates prompt information that the target file cannot be batch reviewed and outputs the prompt information.
7. The method according to claim 6, It is characterized in that The obtaining the verification result of the target file based on the verification request includes: Obtain file configuration information of the target file; the file configuration information includes K information editing items configured to be edited in the target file; the K information editing items include R information editing items for which the client has review authority; K and R are both positive integers, and R is less than or equal to K; Acquire the file information respectively edited in the R information editing items of the target file; If at least one of the R information editing items does not have the edited file information, determining that the verification result of the target file is used to indicate that the target file is not in the pending review state; If the R information editing items all have edited file information, then determining the verification result of the target file is used to indicate that the target file is in the pending review state.
8. The method according to claim 7, It is characterized in that If the target file selected by the client is one, the verification request includes the file identifier of the target file; if the target file selected by the client includes all the files in the file list, the verification request includes the marking information that all the files are selected; Among them, if the target file selected by the client is one, the verification server is used to determine the target file to be verified based on the file identifier; if the target file selected by the client includes all the files in the file list, the verification server is used to obtain the full amount of files that the client has the review authority for based on the marking information, as the target file to be verified.
9. A file processing device, It is characterized in that The device is applied to a client, and comprises: A display module, used to display a file list; the file list includes N files to be reviewed, where N is a positive integer; The display module is further used to display the N files in a batch selection state according to an operation of batch selecting the files in the file list; A processing module, configured to obtain, when a selection operation is obtained for a target file displayed in a batch selection state in the file list, a verification result of the target file; the verification result is used to indicate whether the target file is in a pending review state or not in the pending review state; The processing module is further configured to generate a prompt message indicating that the target file cannot be batch reviewed if the verification result indicates that the target file is not in the pending review state, and output the prompt message.
10. A file processing device, It is characterized in that The device is applied to a verification server, and the device comprises: an acquisition module, used for acquiring a verification request sent by a client; the verification request is used for requesting verification of the audit status of a target file, the target file being a file in a file list, and the verification request is sent by the client when a selection operation is triggered for the target file in a process of batch selecting files in the file list; The acquisition module is further used to acquire a verification result of the target file based on the verification request; the verification result is used to indicate whether the target file is in a pending review state or not in the pending review state; The return module is used to return the verification result to the client, so that when the client detects that the verification result is used to indicate that the target file is not in the pending review state, it generates a prompt message that the target file cannot be batch reviewed and outputs the prompt message.
11. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 8.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.
13. A computer program product, It is characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Batch operation method based on SaaS system and storage medium
CN120704569A
