Parallel approval method, device and computer-readable storage medium

By judging the relevance of the approval nodes in the approval process and conducting parallel approval, the problem of inefficiency of the existing approval process is solved, and a more efficient approval process is achieved.

CN112329418BActive Publication Date: 2025-02-18PING AN TRUST CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011214542.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-03
Publication Date
2025-02-18
Estimated Expiration
2040-11-03

AI Technical Summary

Technical Problem

In the existing approval process methods, the approval nodes are connected serially, which leads to the cumbersome execution of the approval process, the waiting time is too long, and the efficiency is inefficient.

Method used

By obtaining the approval label and approval information in the report file, we can determine whether the approval node is related. If it is not related, the approval content will be sent to the corresponding approval terminal for parallel approval, and the approval results will be fed back to the editing terminal until the approval result is not approved. Until the approval is approved.

Benefits of technology

It improves the approval efficiency, shortens the processing time of each link, clarifies the tasks of the operators, highlights the focus of the approval process, and solves the problem of inefficiency of the existing approval process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112329418B_ABST
    Figure CN112329418B_ABST
Patent Text Reader

Abstract

The present invention relates to the optimization of transaction processing process, and provides a parallel approval method, device and readable storage medium. The present invention determines whether the approval nodes corresponding to the approval tags are associated, and when the approval nodes are not associated, the corresponding approval information in the report file is sent to the corresponding approval terminal, so that the approver only needs to approve the part of the report file that he is responsible for approving, without having to find the part that needs to be approved from the entire report file, thereby greatly improving the approval efficiency; by separately feeding back the content that has not passed the approval to the editor of the report file, the editor can edit and modify this part of the content separately, without having to find and modify the content that has not passed the approval from the entire report file, and the tasks of each operator are clearer and the focus is more prominent, thereby greatly improving the approval and release efficiency. In addition, the present invention also relates to blockchain technology, and the above-mentioned report file can be stored in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a parallel approval method, device and computer-readable storage medium. Background Art

[0002] In order to improve product development efficiency, it is becoming more and more common for multiple departments and multiple participants to collaborate on a development task. Especially in the process of large-scale product project development, product development work is broken down into well-defined tasks, which are executed according to certain rules and processes, and monitored to achieve the purpose of improving work efficiency and better controlling the process.

[0003] In daily work, a participant (initiator) selects a defined process, fills in development-related data, and starts the process. The process engine executes the process and transfers the process to each participant (approver), who fills in business data. Then the process is submitted for approval. The approval process method in the prior art has the following defects: During the execution of the approval process, the approval nodes are serially connected, that is, only after the previous approval node is completed can it flow to the next approval node and be executed, resulting in a cumbersome approval process and a long waiting time until the report is approved and released. Summary of the invention

[0004] The main purpose of the present invention is to provide a parallel approval method, device and computer-readable storage medium, aiming to solve the technical problem of low execution efficiency of the existing approval and release process.

[0005] To achieve the above object, the present invention provides a parallel approval method, which comprises:

[0006] Acquire the approval tag in the report file and the approval information corresponding to the approval tag, and determine whether the approval node corresponding to the approval tag is associated according to the approval information;

[0007] If the approval node corresponding to the approval tag is not associated, the approval content corresponding to the approval tag in the report file is sent to the corresponding approval terminal according to the approval information for parallel approval;

[0008] When receiving the failed approval result sent by the approval terminal, the returned approval content corresponding to the failed approval result is fed back to the editing terminal of the report file, and the report file is released when the returned approval content is approved.

[0009] Optionally, the report file comprises a text report file,

[0010] The approval tag in the acquisition report file and the approval information corresponding to the approval tag include:

[0011] Acquire the text report file, and convert the text report file into an outline mode;

[0012] In the outline mode, the approval tags and their corresponding chapters in the text report file are obtained, and the chapter titles of the chapters carrying the approval tags are used as the approval information.

[0013] Optionally, the text report file includes a plurality of chapters, and judging whether the approval node corresponding to the approval tag is associated according to the approval information includes:

[0014] Constructing a chapter tree diagram according to each chapter in the text report file, and determining whether there is a subordinate relationship between each chapter in the chapter tree diagram;

[0015] If there is a subordinate relationship between the chapters in the chapter tree diagram, it is determined that the approval nodes corresponding to the approval tags are associated;

[0016] If there is no subordinate relationship between the chapters in the chapter tree diagram, it is determined that the approval node corresponding to the approval tag has no association.

[0017] Optionally, before obtaining the text report file, the method further includes:

[0018] When it is detected that the text report file is generated, parsing the text report file to obtain the chapter type of each chapter in the text report file;

[0019] Whether each chapter needs approval is determined according to the chapter type of each chapter in the text report file, and if approval is required, the approval tag is added to the chapter that needs approval.

[0020] Optionally, the report file includes a picture report file,

[0021] The approval tag in the acquisition report file and the approval information corresponding to the approval tag include:

[0022] When detecting that the image report file is generated, using optical character recognition (OCR) to identify a text area in the image report file, and to identify character information in the text area;

[0023] An approval tag is searched from the character information in the text area, and the character information in the text area corresponding to the approval tag is used as the approval information.

[0024] Optionally, the approval information includes an approver's identification.

[0025] When receiving the failed approval result sent by the approval terminal, feeding back the returned approval content corresponding to the failed approval result to the editing terminal of the report file until the returned approval content is approved, publishing the report file includes:

[0026] Receiving the approval result sent by the approval terminal, and determining whether the approval result is a failed approval result;

[0027] If the approval result is determined to be a failed approval result, the returned approval content corresponding to the failed approval result is fed back to the editing terminal of the report file;

[0028] Until the returned approval content is approved, the approver identifier of the approval node of the report file is digitally signed according to a preset encryption algorithm;

[0029] The digitally signed report file is uploaded to the shared disk to complete the release of the report file.

[0030] Optionally, before the step of obtaining the approval tag in the report file, the step further includes:

[0031] receiving a report creation request, generating an initial report template including different elements based on the report creation request, and outputting a report configuration prompt to prompt a user to edit report information in the initial report template;

[0032] receiving an editing operation triggered based on the initial report template, obtaining an operation user identification set corresponding to the editing operation, and determining whether the initial report template needs to be edited in parallel according to the number of operation user identifications in the operation user identification set;

[0033] When the initial report template needs to be edited in parallel, the report information corresponding to each of the operating user identifiers is obtained and summarized to generate an operation file of the initial report template;

[0034] Extracting the operation tag in the operation file, and adding the operation tag to the initial report template to generate the report file, wherein the report file is stored in the blockchain.

[0035] Optionally, after determining whether the approval node corresponding to the approval tag is associated according to the approval information, the method further includes:

[0036] If the approval nodes corresponding to the approval tags are associated, the approval contents corresponding to the approval tags in the report file are sent in sequence to the approval terminals corresponding to the approver identifiers for serial approval.

[0037] In addition, to achieve the above-mentioned purpose, the present invention further provides a parallel approval device, the parallel approval device comprising:

[0038] An association judgment module is used to obtain the approval tag in the report file and the approval information corresponding to the approval tag, and judge whether the approval node corresponding to the approval tag is associated according to the approval information;

[0039] A parallel approval module, for sending the approval contents corresponding to the approval tags in the report file to the corresponding approval terminals respectively according to the approval information for parallel approval if the approval nodes corresponding to the approval tags are not associated with each other;

[0040] The report publishing module is used to feed back the returned approval content corresponding to the failed approval result to the editing terminal of the report file when receiving the failed approval result sent by the approval terminal, and publish the report file until the returned approval content is approved.

[0041] Optionally, the report file comprises a text report file,

[0042] The association judgment module includes:

[0043] A mode conversion unit, used for acquiring the text report file and converting the text report file into an outline mode;

[0044] The chapter determination unit is used to obtain the approval tags and their corresponding chapters in the text report file in the outline mode, and use the chapter title of the chapter carrying the approval tag as the approval information.

[0045] Optionally, the text report file includes multiple chapters, and the association determination module further includes:

[0046] A subordination judgment unit, used for constructing a chapter tree diagram according to each chapter in the text report file, and judging whether there is a subordination relationship between each chapter in the chapter tree diagram;

[0047] A first determination unit, configured to determine that the approval nodes corresponding to the approval tags are associated if there is a subordinate relationship between the chapters on the chapter tree diagram;

[0048] The second determination unit is configured to determine that the approval node corresponding to the approval tag has no association if there is no subordinate relationship between the chapters on the chapter tree diagram.

[0049] Optionally, the parallel approval device further includes:

[0050] A type parsing module, used for parsing the text report file to obtain the chapter type of each chapter in the text report file when detecting that the text report file is generated;

[0051] The first label module is used to determine whether each chapter in the text report file needs approval according to the chapter type of each chapter, and if approval is required, add the approval label to the chapter that needs approval.

[0052] Optionally, the report file includes a picture report file,

[0053] The association judgment module also includes:

[0054] A character recognition unit, configured to, when detecting that the image report file is generated, use optical character recognition (OCR) to recognize a text area in the image report file and recognize character information in the text area;

[0055] The label search unit is used to search for an approval label from the character information in the text area, and use the character information in the text area corresponding to the approval label as the approval information.

[0056] Optionally, the approval information includes an approver's identification.

[0057] The report publishing module includes:

[0058] A result judgment unit, used for receiving the approval result sent by the approval terminal, and judging whether the approval result is a failed approval result;

[0059] A return feedback unit, for feeding back the return approval content corresponding to the failed approval result to the editing terminal of the report file if the approval result is determined to be a failed approval result;

[0060] An identification encryption unit, used to digitally sign the approver identification of the approval node of the report file according to a preset encryption algorithm until the returned approval content is approved;

[0061] The report uploading unit is used to upload the digitally signed report file to the shared disk to complete the release of the report file.

[0062] Optionally, the parallel approval device further includes:

[0063] A template generation module, configured to receive a report creation request, generate an initial report template containing different elements based on the report creation request, and output a report configuration prompt to prompt a user to edit the report information in the initial report template;

[0064] An editing determination module, configured to receive an editing operation triggered based on the initial report template, obtain an operation user identification set corresponding to the editing operation, and determine whether the initial report template needs to be edited in parallel according to the number of operation user identifications in the operation user identification set;

[0065] An information aggregation module, used for acquiring and aggregating the report information corresponding to each of the operating user identifiers to generate a running file of the initial report template when the initial report template needs to be edited in parallel;

[0066] A report generation module is used to extract the operation tag in the operation file and add the operation tag to the initial report template to generate the report file, wherein the report file is stored in the blockchain.

[0067] Optionally, the parallel approval device further includes:

[0068] The serial approval module is used to send the approval contents corresponding to the approval tags in the report file to the approval terminals corresponding to the approver identifiers in sequence if the approval nodes corresponding to the approval tags are associated, so as to perform serial approval.

[0069] In addition, to achieve the above-mentioned purpose, the present invention also provides a parallel approval device, which includes a processor, a memory, and a parallel approval program stored in the memory and executable by the processor, wherein when the parallel approval program is executed by the processor, the steps of the parallel approval method as described above are implemented.

[0070] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a parallel approval program is stored, wherein when the parallel approval program is executed by a processor, the steps of the above-mentioned parallel approval method are implemented.

[0071] The present invention provides a parallel approval method, device and computer-readable storage medium. The parallel approval method can accurately analyze whether the current report file has the conditions for parallel approval by judging whether the approval nodes corresponding to the approval tags are associated; by sending the corresponding approval information in the report file to the corresponding approval terminals respectively when the approval nodes are not associated, the approvers only need to approve the parts of the report file that they are responsible for approving, without having to search for the parts that need to be approved from the entire report file as in the past, thereby greatly improving the approval efficiency; by separately feeding back the unapproved contents to the editors of the report file, the editors can edit and modify this part of the contents separately until it is approved and released, without having to search and modify the unapproved contents from the entire report file, the tasks of each operator are clear, the focus of the entire approval execution process is more prominent, the processing time of each link is greatly shortened, and the approval efficiency is further improved, thereby solving the technical problem of low execution efficiency of the existing approval and release process. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A schematic diagram of the hardware structure of a parallel approval device involved in an embodiment of the present invention;

[0073] Figure 2 It is a flowchart of the first embodiment of the parallel approval method of the present invention;

[0074] Figure 3 It is a schematic diagram of the functional modules of the parallel approval device of the present invention.

[0075] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0076] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0077] The parallel approval method involved in the embodiment of the present invention is mainly applied to a parallel approval device, which may be a device with display and processing functions such as a PC, a portable computer, or a mobile terminal.

[0078] Reference Figure 1 , Figure 1The hardware structure diagram of the parallel approval device involved in the embodiment of the present invention is shown in FIG. In the embodiment of the present invention, the parallel approval device may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface); the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0079] Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation on the parallel approval device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0080] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, and a parallel approval program.

[0081] exist Figure 1 In the embodiment, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the parallel approval program stored in the memory 1005 and execute the parallel approval method provided by the embodiment of the present invention.

[0082] Based on the above hardware structure, various embodiments of the parallel approval method of the present invention are proposed.

[0083] In order to improve product development efficiency, it is becoming more and more common for multiple departments and multiple participants to collaborate on a development task. Especially in the process of large-scale product project development, product development work is broken down into well-defined tasks, which are executed according to certain rules and processes, and monitored to achieve the purpose of improving work efficiency and better controlling the process.

[0084] In daily work, a participant (initiator) selects a defined process, fills in development-related data, and starts the process. The process engine executes the process and transfers the process to each participant (approver), who fills in business data. Then the process is submitted for approval. The approval process method in the prior art has the following defects: During the execution of the approval process, the approval nodes are serially connected, that is, only after the previous approval node is completed can it flow to the next approval node and be executed, resulting in cumbersome approval process execution and too long execution time.

[0085] In order to solve the above problems, the present invention provides a parallel approval method, that is, by judging whether the approval nodes corresponding to the approval tags are associated, it is possible to accurately analyze whether the current report file has the conditions for parallel approval; by sending the corresponding approval information in the report file to the corresponding approval terminals when the approval nodes are not associated, the approvers only need to approve the part of the report file that they are responsible for approving, without having to search for the part that needs to be approved from the entire report file as before, thereby greatly improving the approval efficiency; by separately feeding back the content that has not passed the approval to the editor of the report file, the editor can edit and modify this part of the content separately until it is approved, without having to search and modify the content that has not passed the approval from the entire report file. The tasks of each operator are clear, the focus of the entire approval execution process is more prominent, the processing time of each link is greatly shortened, and the approval efficiency is further improved, thereby solving the technical problem of low execution efficiency of the existing approval and release process.

[0086] Reference Figure 2 , Figure 2 It is a flowchart of the first embodiment of the parallel approval method of the present invention.

[0087] A first embodiment of the present invention provides a parallel approval method, which includes the following steps:

[0088] Step S10, obtaining the approval tag in the report file and the approval information corresponding to the approval tag, and judging whether the approval node corresponding to the approval tag is associated according to the approval information;

[0089] In this embodiment, the method is applied to a terminal. The approval tag is a tag that indicates that a certain part of the content in the report file needs to be approved. The approval information includes the approval content, the approval chapter, the approver identification, etc. Each approval tag corresponds to a part of the approval content.

[0090] The method of determining the approval tag in the report file and the approval information corresponding to the approval tag can be: determining the file format type of the report file, when the file format is similar to the image format and / or PDF format, identifying the report file in the image format and PDF format by optical character recognition (OCR) or a neural network model, determining the text area and non-text area of ​​the report file, identifying the characters in the text area, determining whether there is tag information in the text area, and if there is tag information in the text area, using the character information corresponding to the tag information as the approval information. When the text format is text format, converting the report file in text format to outline mode, determining whether each chapter carries an approval tag in the outline mode, and if the chapter carries an approval tag, using the information under the chapter as the approval information.

[0091] The judgment method of node association can be: construct a chapter tree diagram according to each chapter in the report file, and judge whether there is a subordinate relationship between each chapter in the chapter tree diagram; if there is a subordinate relationship between each chapter in the chapter tree diagram, then judge that the approval nodes corresponding to each approval tag are associated; if there is no subordinate relationship between each chapter in the chapter tree diagram, then judge that the approval nodes corresponding to each approval tag are not associated. It can also be: obtain the approver ID corresponding to the approval tag and the key data to be approved corresponding to each approver ID, and judge whether there is an associated relationship between each approver ID and the key data to be approved; if there is no associated relationship between each approver ID and the key data to be approved, then judge that there is no associated relationship between the approval nodes corresponding to each approval tag; if there is an associated relationship between each approver ID and the key data to be approved, then judge that there is an associated relationship between the approval nodes corresponding to each approval tag; if there is an associated relationship between each approver ID and the key data to be approved, then judge that there is an associated relationship between the approval nodes corresponding to each approval tag.

[0092] It is understandable that the terminal can judge whether there is a correlation between the approval nodes corresponding to the approval tags from different dimensions, which can not only improve the efficiency of approval, but also effectively avoid the problem of approval conflicts.

[0093] Step S20, if the approval node corresponding to the approval tag is not associated, the approval content corresponding to the approval tag in the report file is sent to the corresponding approval terminal according to the approval information for parallel approval;

[0094] In this embodiment, if there is no association between the approval nodes corresponding to each approval tag, the terminal will send the approval content corresponding to each approval tag to the approval terminal corresponding to each approver's identification for parallel approval. That is, parallel approval means splitting up the unrelated approval nodes in the overall approval process, and then sending each approval node to the approver corresponding to the approval node. In this way, each approval node in the overall approval process is approved in parallel. In this proposal point, the approval content is determined according to the approval tag, and then the different approval contents are analyzed. When it is determined that parallel approval is possible, parallel approval is performed, thereby improving approval efficiency.

[0095] It should be noted that the approval nodes corresponding to the approval tags may be each node not associated with other nodes, or some nodes may be associated and other nodes may be not associated with other nodes. This method only sends the approval information corresponding to the unassociated approval nodes to the corresponding approval terminals separately, while the approval information corresponding to the associated approval nodes still needs to adopt the conventional serial connection method.

[0096] Step S30, when receiving the failed approval result sent by the approval terminal, feeding back the returned approval content corresponding to the failed approval result to the editing terminal of the report file, until the returned approval content is approved, the report file is published.

[0097] In this embodiment, take the report file as a text type file as an example. When the reviewer approves some chapters and returns some chapters, the editor can only edit and modify the chapters that have been returned and not approved, and is prohibited from changing the chapters that have been approved, so as to ensure that when the report reviewer reviews the report again, there is no need to pay attention to the chapters that have been approved. When the editor corrects the approval information that has not been passed, and sends it to the corresponding approval terminal again for review by the reviewer, and when the review is passed, the terminal detects this result, confirms that each approval node of the report file has passed, and then the report file can be released, that is, when the approval result is approved, the approver identification in each approval node is digitally signed according to the preset encryption algorithm, and the digitally signed report file is uploaded to the shared disk to complete the report file release. In the technical solution of the present invention, the tasks of various operators are clear, and they can directly hit the key points; only the operations that are required by you can be performed, and the key points are highlighted, so there is no need to search for the places that need to be modified in the entire report, thereby saving a lot of time, improving efficiency, and getting twice the result with half the effort; the report maker can only modify the chapters that have been returned or not approved, and the approved chapters cannot be modified, ensuring the accuracy of the report.

[0098] In the technical solution of the present invention, the tasks of each operator are clear and the key points are highlighted. There is no need to search the entire report for the places that need to be modified, thereby saving a lot of time, improving efficiency, and getting twice the result with half the effort. The report maker can only modify the chapters that have been returned or not approved, and the approved chapters cannot be modified, ensuring the accuracy of the report.

[0099] In this embodiment, the present invention obtains the approval tag in the report file and the approval information corresponding to the approval tag, and determines whether the approval node corresponding to the approval tag is associated according to the approval information; if the approval node corresponding to the approval tag is not associated, the approval content corresponding to the approval tag in the report file is sent to the corresponding approval terminal according to the approval information for parallel approval; when receiving the failed approval result sent by the approval terminal, the returned approval content corresponding to the failed approval result is fed back to the editing terminal of the report file, until the returned approval content is approved, the report file is released. Through the above-mentioned manner, the present invention can accurately analyze whether the current report file has the conditions for parallel approval by judging whether the approval nodes corresponding to the approval tags are associated; by sending the corresponding approval information in the report file to the corresponding approval terminals respectively when the approval nodes are not associated, the approvers only need to approve the parts of the report file that they are responsible for approving, without having to search for the parts that need to be approved from the entire report file as before, thereby greatly improving the approval efficiency; by separately feeding back the content that has not passed the approval to the editor of the report file, the editor can edit and modify this part of the content separately until it is approved and released, without having to search and modify the content that has not passed the approval from the entire report file, the tasks of each operator are clear, the focus of the entire approval execution process is more prominent, the processing time of each link is greatly shortened, and the approval efficiency is further improved, thereby solving the technical problem of low execution efficiency of the existing approval and release process.

[0100] Furthermore, based on the above Figure 2 The first embodiment shown in the figure proposes a second embodiment of the parallel approval method of the present invention. In this embodiment, the report file includes a text report file of a text type, and the approval tag in the obtained report file and the approval information corresponding to the approval tag include:

[0101] Acquire the text report file, and convert the text report file into an outline mode;

[0102] In the outline mode, the approval tags and their corresponding chapters in the text report file are obtained, and the chapter titles of the chapters carrying the approval tags are used as the approval information.

[0103] In this embodiment, the text report file is a report file whose file format is text. When the terminal detects that the current report file is a text format file, for example, the current report file is a word document, the terminal first converts the text format report file into an outline mode to divide it into multiple chapters, and then detects whether each chapter carries an approval tag. The chapters carrying approval tags are the chapters that need to be approved, and the chapters without approval tags are the chapters that do not need to be approved. The terminal uses the chapter titles of the chapters carrying approval tags as approval information.

[0104] Furthermore, the text report file includes a plurality of chapters, and judging whether the approval node corresponding to the approval tag is associated according to the approval information includes:

[0105] Constructing a chapter tree diagram according to each chapter in the text report file, and determining whether there is a subordinate relationship between each chapter in the chapter tree diagram;

[0106] If there is a subordinate relationship between the chapters in the chapter tree diagram, it is determined that the approval nodes corresponding to the approval tags are associated;

[0107] If there is no subordinate relationship between the chapters in the chapter tree diagram, it is determined that the approval node corresponding to the approval tag has no association.

[0108] In this embodiment, the terminal obtains the approval chapter corresponding to the approval tag, and determines whether there is a connection between different approval chapters, that is, a tree diagram formed by each chapter of the report file is constructed, and the tree diagram is queried to determine whether there is a subordinate relationship between the approval chapters on the tree diagram. If there is a subordinate relationship between the approval chapters on the tree diagram, then there is a connection between the approval chapters. If there is no subordinate relationship between the approval chapters on the tree diagram, then there is no connection between the approval chapters.

[0109] It should be noted that, among all the chapters of the text report file, each chapter may have no subordinate relationship with other chapters, or some chapters may have subordinate relationships while other chapters have no subordinate relationship with other chapters.

[0110] Furthermore, before obtaining the text report file, the method further includes:

[0111] When it is detected that the text report file is generated, parsing the text report file to obtain the chapter type of each chapter in the text report file;

[0112] Whether each chapter needs approval is determined according to the chapter type of each chapter in the text report file, and if approval is required, the first approval tag is added to the chapter that needs approval.

[0113] In this embodiment, the terminal parses the text report file to obtain the chapter type of each chapter in the report file. The terminal determines whether approval is required based on the chapter type of each chapter, and adds an approval tag if approval is required. In addition, the terminal can also set the content that needs to be reviewed as a bookmark, and the bookmark and the chapter are set to correspond, and the chapter and the reviewer are set to correspond (a chapter can contain multiple bookmarks, and a reviewer can review multiple chapters).

[0114] Furthermore, by providing a method for determining whether approval nodes are associated for a text-type report file, the method can perform parallel approval processing on the text-type report file, thereby improving the approval processing efficiency of the text-type report file.

[0115] Furthermore, based on the above Figure 2 The first embodiment shown in the figure proposes a third embodiment of the parallel approval method of the present invention. In this embodiment, the report file includes a picture report file of a picture type, and the approval tag in the obtained report file and the approval information corresponding to the approval tag include:

[0116] When detecting that the image report file is generated, using optical character recognition (OCR) to identify a text area in the image report file, and to identify character information in the text area;

[0117] An approval tag is searched from the character information in the text area, and the character information in the text area corresponding to the approval tag is used as the approval information.

[0118] In this embodiment, the image report file is a report file in the file format of an image. The terminal recognizes the report file in the image format through OCR, determines the text area and non-text area of ​​the report file, recognizes the characters in the text area, determines whether there is label information in the text area, and if there is label information in the text area, uses the character information corresponding to the label information as approval information.

[0119] Furthermore, the approval information includes an approver identification.

[0120] Step S30 includes:

[0121] Receiving the approval result sent by the approval terminal, and determining whether the approval result is a failed approval result;

[0122] If the approval result is determined to be a failed approval result, the returned approval content corresponding to the failed approval result is fed back to the editing terminal of the report file;

[0123] Until the returned approval content is approved, the approver identifier of the approval node of the report file is digitally signed according to a preset encryption algorithm;

[0124] The digitally signed report file is uploaded to the shared disk to complete the release of the report file.

[0125] In this embodiment, when the terminal receives the approval result sent by the approval terminal, the approval result usually has two types: approval passed and approval failed. Therefore, the terminal also needs to determine whether the currently received approval result is of the failed type. If the terminal determines that the current approval result is of the failed type, the returned approval content corresponding to the failed type of approval result is fed back to the editing terminal of the report file, so that the editing terminal can correct it and then send it to the corresponding approval terminal for approval. Until the terminal detects that the approval result is approved, the approver identifier in each approval node is digitally signed according to the preset encryption algorithm, and the digitally signed report file is uploaded to the shared disk to complete the report file release.

[0126] Furthermore, before the step of obtaining the approval tag in the report file, the step further includes:

[0127] receiving a report creation request, generating an initial report template including different elements based on the report creation request, and outputting a report configuration prompt to prompt a user to edit report information in the initial report template;

[0128] receiving an editing operation triggered based on the initial report template, obtaining an operation user identification set corresponding to the editing operation, and determining whether the initial report template needs to be edited in parallel according to the number of operation user identifications in the operation user identification set;

[0129] When the initial report template needs to be edited in parallel, the report information corresponding to each of the operating user identifiers is obtained and summarized to generate an operation file of the initial report template;

[0130] Extracting the operation tag in the operation file, and adding the operation tag to the initial report template to generate the report file, wherein the report file is stored in the blockchain.

[0131] In this embodiment, take the report file as a product report as an example. The terminal obtains the report type in the report creation request, where the report type includes a product requirement report, a product test report, etc. The terminal selects the elements corresponding to the report type and creates an initial report template. For example, the product requirement report includes the following elements: product introduction elements, product feature elements, product process elements, product function elements, etc. The terminal typeset each element and generates an initial report template containing different elements. The initial report template can be understood as a file outline. The format of the initial report template is not specifically limited. The initial report template can be in word format. All editable areas in the initial report template are set to corresponding elements, where the elements include chapter elements, image elements, table elements, page theme elements, and the like.

[0132] When the terminal detects that the initial report template has been generated, it outputs a report configuration prompt to prompt the user to edit the report information in the initial report template. The report information includes data from various stages of the product, verification rules, update rules, etc. That is, the user can set labels for each element in the initial report template, such as editable labels, which record the editor ID and the editable content corresponding to the editor ID.

[0133] The terminal receives an editing operation triggered based on the initial report template, obtains the operating user ID corresponding to the editing operation, determines whether it is parallel editing based on the operating user ID, and if it is parallel editing, generates a corresponding initial report template copy, receives the report information entered by each operating user in the initial report template copy, summarizes the report information entered by each operating user ID, and generates a running file corresponding to the initial report template.

[0134] If it is not parallel editing, the preset mapping table is queried to obtain the editing permission corresponding to the user ID and the editable elements corresponding to the editing permission, the report information entered by the user for the editable elements is received, the report information is verified, and it is determined whether the report information is correct. When the report information verification passes, the report information is summarized to generate a running file. The user adds tags to each element of the initial report template and sets tag attributes for each tag. The terminal receives the tags set by the user and the tag attributes of different tags. The terminal associates the tags set by the user with the elements as report information. The terminal summarizes the report information entered by the user to generate an ftl (FreeMarker Template Language) format file containing the report information.

[0135] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned report files, the above-mentioned report files can also be stored in a node of a blockchain.

[0136] Furthermore, after determining whether the approval node corresponding to the approval tag is associated according to the approval information, the method further includes:

[0137] If the approval nodes corresponding to the approval tags are associated, the approval contents corresponding to the approval tags in the report file are sent in sequence to the approval terminals corresponding to the approver identifiers for serial approval.

[0138] In this embodiment, if the approval nodes corresponding to the approval tags are associated, the terminal determines the order of the associated approval nodes, and then sends the approval contents corresponding to the approval tags to the approval terminals corresponding to the approver identifiers in sequence according to the approval information, so that the approvers corresponding to the approval terminals perform serial approval, that is, the association relationship between the approval nodes is determined in an overall approval process, the associated approval nodes are assembled to form an approval sub-process, and the unrelated approval nodes are split, so that the approval nodes in the approval sub-process are serially approved, and other unrelated approval nodes are sent to the approvers corresponding to the approval nodes, so that the approval nodes in the overall approval process are approved in parallel.

[0139] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0140] Furthermore, by providing a way to determine whether approval nodes are associated for image-type report files, the method can perform parallel approval processing on image-type report files, thereby improving the approval processing efficiency of image-type report files; by digitally signing the approver's identification after the approval is completed and then publishing the report file, data security is guaranteed; by pre-generating a report template suitable for parallel approval, the efficiency of report file generation from the previous preparation stage is improved.

[0141] In addition, if Figure 3 To achieve the above purpose, the present invention further provides a parallel approval device, which includes:

[0142] The association judgment module 10 is used to obtain the approval tag in the report file and the approval information corresponding to the approval tag, and judge whether the approval node corresponding to the approval tag is associated according to the approval information;

[0143] A parallel approval module 20 is used to send the approval contents corresponding to the approval tags in the report file to the corresponding approval terminals according to the approval information respectively for parallel approval if the approval nodes corresponding to the approval tags are not associated with each other;

[0144] The report publishing module 30 is used to feed back the returned approval content corresponding to the failed approval result to the editing terminal of the report file when receiving the failed approval result sent by the approval terminal, and publish the report file until the returned approval content is approved.

[0145] Optionally, the report file comprises a text report file of a text type, and the approval tag comprises a first approval tag.

[0146] The association determination module 10 comprises:

[0147] A mode conversion unit, used for acquiring the text report file and converting the text report file into an outline mode;

[0148] The chapter determination unit is used to obtain the approval tags and their corresponding chapters in the text report file in the outline mode, and use the chapter title of the chapter carrying the approval tag as the approval information.

[0149] Optionally, the text report file includes multiple chapters, and the association determination module 10 further includes:

[0150] A subordination judgment unit, used for constructing a chapter tree diagram according to each chapter in the text report file, and judging whether there is a subordination relationship between each chapter in the chapter tree diagram;

[0151] A first determination unit, configured to determine that the approval nodes corresponding to the approval tags are associated if there is a subordinate relationship between the chapters on the chapter tree diagram;

[0152] The second determination unit is configured to determine that the approval node corresponding to the approval tag has no association if there is no subordinate relationship between the chapters on the chapter tree diagram.

[0153] Optionally, the parallel approval device further includes:

[0154] A type parsing module, used for parsing the text report file to obtain the chapter type of each chapter in the text report file when detecting that the text report file is generated;

[0155] The first label module is used to determine whether each chapter in the text report file needs approval according to the chapter type of each chapter, and if approval is required, add the approval label to the chapter that needs approval.

[0156] Optionally, the report file includes a picture report file of picture type,

[0157] The association determination module 10 further includes:

[0158] A character recognition unit, configured to, when detecting that the image report file is generated, use optical character recognition (OCR) to recognize a text area in the image report file and recognize character information in the text area;

[0159] The label search unit is used to search for an approval label from the character information in the text area, and use the character information in the text area corresponding to the approval label as the approval information.

[0160] Optionally, the approval information includes an approver's identification.

[0161] The report publishing module 30 includes:

[0162] A result judgment unit, used for receiving the approval result sent by the approval terminal, and judging whether the approval result is a failed approval result;

[0163] A return feedback unit, for feeding back the return approval content corresponding to the failed approval result to the editing terminal of the report file if the approval result is determined to be a failed approval result;

[0164] An identification encryption unit, used to digitally sign the approver identification of the approval node of the report file according to a preset encryption algorithm until the returned approval content is approved;

[0165] The report uploading unit is used to upload the digitally signed report file to the shared disk to complete the release of the report file.

[0166] Optionally, the parallel approval device further includes:

[0167] A template generation module, configured to receive a report creation request, generate an initial report template containing different elements based on the report creation request, and output a report configuration prompt to prompt a user to edit the report information in the initial report template;

[0168] An editing determination module, configured to receive an editing operation triggered based on the initial report template, obtain an operation user identification set corresponding to the editing operation, and determine whether the initial report template needs to be edited in parallel according to the number of operation user identifications in the operation user identification set;

[0169] An information aggregation module, used for acquiring and aggregating the report information corresponding to each of the operating user identifiers to generate a running file of the initial report template when the initial report template needs to be edited in parallel;

[0170] A report generation module is used to extract the operation tag in the operation file and add the operation tag to the initial report template to generate the report file, wherein the report file is stored in the blockchain.

[0171] Optionally, the parallel approval device further includes:

[0172] The serial approval module is used to send the approval contents corresponding to the approval tags in the report file to the approval terminals corresponding to the approver identifiers in sequence if the approval nodes corresponding to the approval tags are associated, so as to perform serial approval.

[0173] The invention also provides a parallel approval device.

[0174] The parallel approval device includes a processor, a memory, and a parallel approval program stored in the memory and executable on the processor, wherein when the parallel approval program is executed by the processor, the steps of the parallel approval method described above are implemented.

[0175] Among them, the method implemented when the parallel approval procedure is executed can refer to the various embodiments of the parallel approval method of the present invention, and will not be repeated here.

[0176] In addition, an embodiment of the present invention further provides a computer-readable storage medium.

[0177] The computer-readable storage medium of the present invention stores a parallel approval program, wherein when the parallel approval program is executed by a processor, the steps of the above-mentioned parallel approval method are implemented.

[0178] Among them, the method implemented when the parallel approval procedure is executed can refer to the various embodiments of the parallel approval method of the present invention, and will not be repeated here.

[0179] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0180] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0181] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0182] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A parallel approval method, characterized in that: The method comprises: Acquire the approval tag in the report file and the approval information corresponding to the approval tag, and determine whether the approval node corresponding to the approval tag is associated according to the approval information; If the approval node corresponding to the approval tag is not associated, the approval content corresponding to the approval tag in the report file is sent to the corresponding approval terminal according to the approval information for parallel approval; When receiving the unapproved result sent by the approval terminal, feeding back the returned approval content corresponding to the unapproved result to the editing terminal of the report file, until the returned approval content is approved, the report file is published; The report file includes a text report file, the text report file includes multiple chapters, the step of obtaining the approval tag in the report file and the approval information corresponding to the approval tag, and judging whether the approval node corresponding to the approval tag is associated according to the approval information includes: Acquire the text report file, and convert the text report file into an outline mode; Acquire the approval tag and its corresponding chapter in the text report file in the outline mode, and use the chapter title of the chapter carrying the approval tag as the approval information; Constructing a chapter tree diagram according to each chapter in the text report file, and determining whether there is a subordinate relationship between each chapter in the chapter tree diagram; If there is a subordinate relationship between the chapters in the chapter tree diagram, it is determined that the approval nodes corresponding to the approval tags are associated; If there is no subordinate relationship between the chapters in the chapter tree diagram, it is determined that the approval node corresponding to the approval tag has no association.

2. The method according to claim 1, characterized in that Before obtaining the text report file, the method further includes: When it is detected that the text report file is generated, parsing the text report file to obtain the chapter type of each chapter in the text report file; Whether each chapter needs approval is determined according to the chapter type of each chapter in the text report file, and if approval is required, the approval tag is added to the chapter that needs approval.

3. The method according to claim 1, characterized in that The report file includes a picture report file, and the approval tag in the acquisition report file and the approval information corresponding to the approval tag include: When detecting that the image report file is generated, using optical character recognition (OCR) to identify a text area in the image report file, and to identify character information in the text area; An approval tag is searched from the character information in the text area, and the character information in the text area corresponding to the approval tag is used as the approval information.

4. The method according to claim 1, characterized in that The approval information includes an approver identifier. When receiving the unapproved approval result sent by the approval terminal, the returned approval content corresponding to the unapproved approval result is fed back to the editing terminal of the report file until the returned approval content is approved. Publishing the report file includes: Receiving the approval result sent by the approval terminal, and determining whether the approval result is a failed approval result; If the approval result is determined to be a failed approval result, the returned approval content corresponding to the failed approval result is fed back to the editing terminal of the report file; Until the returned approval content is approved, the approver identifier of the approval node of the report file is digitally signed according to a preset encryption algorithm; The digitally signed report file is uploaded to the shared disk to complete the release of the report file.

5. The method according to claim 1, characterized in that Before the step of obtaining the approval tag in the report file, the method further includes: receiving a report creation request, generating an initial report template including different elements based on the report creation request, and outputting a report configuration prompt to prompt a user to edit report information in the initial report template; receiving an editing operation triggered based on the initial report template, obtaining an operation user identification set corresponding to the editing operation, and determining whether the initial report template needs to be edited in parallel according to the number of operation user identifications in the operation user identification set; When the initial report template needs to be edited in parallel, the report information corresponding to each of the operating user identifiers is obtained and summarized to generate an operation file of the initial report template; Extracting the operation tag in the operation file, and adding the operation tag to the initial report template to generate the report file, wherein the report file is stored in the blockchain.

6. The method according to any one of claims 1 to 5, characterized in that After determining whether the approval node corresponding to the approval tag is associated according to the approval information, the method further includes: If the approval nodes corresponding to the approval tags are associated, the approval contents corresponding to the approval tags in the report file are sent in sequence to the approval terminals corresponding to the approver identifiers for serial approval.

7. A parallel approval device, characterized in that: The parallel approval device comprises a processor, a memory, and a parallel approval program stored in the memory and executable by the processor, wherein when the parallel approval program is executed by the processor, the steps of the parallel approval method according to any one of claims 1 to 6 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a parallel approval program, wherein when the parallel approval program is executed by a processor, the steps of the parallel approval method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method and system for multiparty cooperation checking of controllable document

    CN103377173A

  • File approval method, medium and device and calculation device

    CN107886306A

  • Intelligent compilation platform

    CN109977377A