Examination and approval processing method, system, device and equipment, storage medium and program product
By determining the target approver who can handle the approval tasks in a timely manner in the approval system and sending the approval tasks to its user terminal, the problem that the approver in the existing approval system is solved, and the approval efficiency and business circulation efficiency are improved.
Patent Information
- Application Number
- CN202510024470.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-05-09
AI Technical Summary
Approvers designated by the existing approval system may not be able to handle the approval tasks in a timely manner, especially in an emergency, which will lead to the inability to transfer the approvals in a timely manner, which will affect the business operation of the company.
By obtaining the approval request, creating an approval task, and determining the approval type based on the approval content. Then, determine the candidate approver and obtain their status information, select the target approver who can handle the approval task within the preset time, and send the approval task to its user terminal.
The effective handling of approval tasks has been achieved, the circulation efficiency of approval-related businesses in the enterprise has been improved, and the waiting for approval has been reduced.
Smart Images

Figure CN119963123A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data, and in particular to an approval processing method, system, device, equipment, storage medium and program product. Background Art
[0002] In the process of business operations, approval is a very important part of operations.
[0003] The existing approval process usually requires designated approvers. After the applicant submits an approval request, the approval system will send the approval request to the designated approver to achieve online approval and reduce the time loss caused by offline approval.
[0004] However, the approvers designated by the existing approval system may not be able to handle the approval tasks in a timely manner. Especially when the approval tasks are urgent, the approvals may not be circulated in a timely manner, which may result in the inability to carry out the business related to the approval in a timely manner, causing certain losses to the enterprise. Summary of the invention
[0005] The present application provides an approval processing method, system, device, equipment, storage medium and program product to solve the technical problem that the approver designated by the existing approval system may not be able to handle the approval task in a timely manner, especially when the approval task is urgent, which may lead to the approval being unable to be circulated in time, and then the business related to the approval cannot be carried out in time, causing certain losses to the enterprise.
[0006] In a first aspect, the present application provides an approval processing method, comprising:
[0007] Obtaining an approval request; the approval request at least includes approval content;
[0008] An approval task is created based on the approval request, and an approval type is determined based on the approval content; the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task needs to be reviewed by at least two levels of reviewers before the task is completed, and the second type is used to indicate that the approval task needs to be reviewed by the first level of reviewers before the task is completed;
[0009] Based on the approval type, determine candidate approvers, and obtain status information of the candidate approvers;
[0010] Based on the status information of the candidate approvers, a target approver is determined from the candidate approvers, and the approval task is sent to a user terminal corresponding to the target approver; wherein the target approver is an approver who can process the approval task within a preset time period;
[0011] Based on the approval result uploaded by the user terminal corresponding to the target approver, the approval result is output to the user terminal that initiated the approval request to end the approval task.
[0012] In a possible implementation manner, the obtaining the status information of the candidate approver includes:
[0013] Obtain the status information of the candidate approver recorded in the current approval processing system;
[0014] Alternatively, the status information of candidate approvers in other business systems associated with the current approval processing system may be obtained;
[0015] Alternatively, based on the status of the candidate approver's terminal, determining and acquiring the status information of the candidate approver;
[0016] Alternatively, based on the location information of the candidate approver, the status information of the candidate approver is determined and obtained.
[0017] In a possible implementation manner, the approval request further includes an approval time limit, and the urgency of the approval task is determined based on the approval time limit;
[0018] The step of determining a target approver from the candidate approvers based on the status information of the candidate approvers includes:
[0019] Based on the urgency of the approval task, the status information of the candidate approvers, and the approval priority information of the candidate approvers, a target approver is determined from the candidate approvers.
[0020] In a possible implementation manner, before sending the approval task to the user terminal corresponding to the target approver, the method further includes:
[0021] When the approval task is not completed and there is an approval priority of the candidate approver that is higher than the approval priority of the target approver, obtaining the status information of the candidate approver;
[0022] When the status information of the candidate approver indicates that the candidate approver can perform the approval task, the candidate approver with a higher approval priority is updated as the target approver.
[0023] In a possible implementation manner, the approval result at least includes approval passed; and sending the approval task to a user terminal corresponding to the target approver includes:
[0024] When the approval type is the first type, the approval task is sent to the user terminal corresponding to the first-level target approver, and when the approval result uploaded by the user terminal corresponding to the first-level target approver is approved, the approval task is sent to the user terminal corresponding to the second-level target approver.
[0025] In a possible implementation manner, the approval result further includes approval rejection; after sending the approval task to the user terminal corresponding to the first-level target approver, the method further includes:
[0026] When the approval result uploaded by the user terminal corresponding to the first-level target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0027] In a possible implementation manner, the approval result further includes approval rejection; and sending the approval task to a user terminal corresponding to the target approver includes:
[0028] When the approval type is the second type and the approval result uploaded by the user terminal corresponding to the target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0029] In a second aspect, the present application provides an approval processing device, comprising:
[0030] An acquisition module, used to acquire an approval request; the approval request at least includes approval content;
[0031] A processing module, used to create an approval task based on the approval request, and determine the approval type based on the approval content; the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task needs to be reviewed by at least two levels of reviewers before the task is completed, and the second type is used to indicate that the approval task needs to be reviewed by the first level of reviewers before the task is completed;
[0032] The processing module is further used to determine a candidate approver based on the approval type, and trigger the acquisition module to acquire the status information of the candidate approver;
[0033] The processing module is further used to determine a target approver from the candidate approvers based on the status information of the candidate approvers; wherein the target approver is an approver who can process the approval task within a preset time period;
[0034] The sending module is used to send the approval task to the user terminal corresponding to the target approver; and based on the approval result uploaded by the user terminal corresponding to the target approver, output the approval result to the user terminal that initiated the approval request to end the approval task.
[0035] In a possible implementation manner, the processing module is specifically used to obtain the status information of the candidate approver, including:
[0036] Obtain the status information of the candidate approver recorded in the current approval processing system;
[0037] Alternatively, the status information of candidate approvers in other business systems associated with the current approval processing system may be obtained;
[0038] Alternatively, based on the status of the candidate approver's terminal, determining and acquiring the status information of the candidate approver;
[0039] Alternatively, based on the location information of the candidate approver, the status information of the candidate approver is determined and obtained.
[0040] In a possible implementation manner, the approval request further includes an approval time limit, and the urgency of the approval task is determined based on the approval time limit; and the processing module is specifically configured to:
[0041] Based on the urgency of the approval task, the status information of the candidate approvers, and the approval priority information of the candidate approvers, a target approver is determined from the candidate approvers.
[0042] In a possible implementation manner, before sending the approval task to the user terminal corresponding to the target approver, the processing module is further configured to:
[0043] When the approval task is not completed and there is an approval priority of the candidate approver that is higher than the approval priority of the target approver, obtaining the status information of the candidate approver;
[0044] When the status information of the candidate approver indicates that the candidate approver can perform the approval task, the candidate approver with a higher approval priority is updated as the target approver.
[0045] In a possible implementation manner, the approval result at least includes approval passed; and the processing module is specifically configured to:
[0046] When the approval type is the first type, the approval task is sent to the user terminal corresponding to the first-level target approver, and when the approval result uploaded by the user terminal corresponding to the first-level target approver is approved, the approval task is sent to the user terminal corresponding to the second-level target approver.
[0047] In a possible implementation manner, the approval result further includes approval rejection; and the processing module is further configured to:
[0048] When the approval result uploaded by the user terminal corresponding to the first-level target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0049] In a possible implementation manner, the processing module is specifically used to:
[0050] When the approval type is the second type and the approval result uploaded by the user terminal corresponding to the target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0051] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0052] The memory stores computer-executable instructions;
[0053] The processor executes the computer-executable instructions stored in the memory to implement the approval processing method.
[0054] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement an approval processing method when executed by a processor.
[0055] In a fifth aspect, the present application provides an approval processing system, comprising a server and a gateway connected to the server, and a user terminal in communication connection with the gateway;
[0056] The server is used to obtain the approval request related to the approval task or the approval result of the approver sent by the gateway, and after executing the approval processing method, send the approval result of the approval task to the gateway;
[0057] The gateway is used to receive the approval request related to the approval task or the approval result of the approver sent by the user terminal, receive the approval result of the approval task sent by the server, and send the approval result of the approval task to other business systems.
[0058] In a sixth aspect, the present application provides a computer program product, including a computer program, which implements an approval processing method when executed by a processor.
[0059] The approval processing method, system, device, equipment, storage medium and program product provided by the present application obtain an approval request; create an approval task based on the approval request, and determine the approval type based on the approval content; the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task needs to be reviewed by at least two levels of reviewers before the task is completed, and the second type is used to indicate that the approval task is completed after the approval by the first level of reviewers is satisfied; based on the approval type, determine the candidate approvers, and obtain the status information of the candidate approvers; based on the status information of the candidate approvers, determine the target approver from the candidate approvers, and send the approval task to the user terminal corresponding to the target approver; wherein the target approver is an approver who can process the approval task within a preset time; based on the approval result uploaded by the user terminal corresponding to the target approver, output the approval result to the user terminal that initiated the approval request, so as to end the approval task, realize the effective processing of the approval task, and improve the flow efficiency of the approval-related business in the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0061] Figure 1 A schematic diagram of an application scenario of the approval processing method provided in an embodiment of the present application;
[0062] Figure 2 Schematic diagram of the approval process provided in this application embodiment Figure 1 ;
[0063] Figure 3 Schematic diagram of the approval process provided in this application embodiment Figure 2 ;
[0064] Figure 4 A schematic diagram of the structure of the approval processing device provided in the embodiment of the present application;
[0065] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0066] Figure 6 A schematic diagram of the overtime application approval process provided for an embodiment of the present application.
[0067] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0068] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0069] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0070] In addition, this application involves conducting big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and using artificial intelligence technology to make automated decisions, and making technical solutions that have a significant impact on personal rights and interests based on the results of automated decisions. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decisions; if the user chooses to reject, the expert decision-making process will be entered.
[0071] It should be noted that the application approval and processing method, system, device, equipment, storage medium and program product of the present application can be used in the field of big data, and can also be used in any field except big data. The application field of the application approval and processing method, system, device, equipment, storage medium and program product of the present application is not limited.
[0072] There are many process approvals in existing enterprises, and these approvals involve the normal operation of the enterprise, such as overtime application, leave application, equipment application, item application, dining assistance, visitor application, etc. The existing approval process usually pre-designates the approver before or when the approval application is submitted. The designated approver here can be a single person or multiple people, so that after the applicant submits the approval request, the approval system can send the approval request to the designated approver in a preset order to achieve online approval and reduce the time loss caused by offline approval. However, the approver designated by the existing approval system may not be able to handle the approval task in time because he is dealing with other urgent matters. Especially when the approval task is urgent, it may cause the approval to fail to circulate in time, and then make the business related to the approval unable to be carried out in time, causing certain losses to the enterprise.
[0073] Based on the above technical problems, the inventive concept of this application is to pre-set multiple candidate approvers for different approval tasks, and then select the target approver who can handle the approval task according to whether the candidate approver has approval time, and send the approval task to the target approver in a targeted manner, which can reduce the ineffective waiting time for approval and improve the approval efficiency, aiming to solve the above technical problems of the prior art.
[0074] The specific application scenarios of this application are as follows:
[0075] Figure 1 Schematic diagram of the application scenario of the approval processing method provided in the embodiment of this application. Figure 1 As shown, the user terminal 101 may submit various approval requests including overtime application, leave application, equipment application and other applications. These approval requests are sent to the server 103 via the gateway 102 to generate corresponding approval tasks. The approval tasks are then processed to determine the target approver, and the approval tasks are then assigned to the user terminal 101 where the target approver is located through the gateway for approval processing.
[0076] The server 103 , the gateway 102 connected to the server 103 , and the user terminal 101 in communication connection with the gateway 102 together constitute an approval processing system.
[0077] Exemplarily, the server 103 is used to obtain the approval request related to the approval task or the approval result of the approver sent by the gateway 102, and after executing the approval processing method, send the approval result of the approval task to the gateway 102; the gateway 102 is used to receive the approval request related to the approval task or the approval result of the approver sent by the user terminal 101, and receive the approval result of the approval task sent by the server 103, and send the approval result of the approval task to other business systems.
[0078] Optionally, after executing the approval process, the target approver feeds back the approval result to the server 103 through the gateway 102. The server 103 can return the approval result to the user terminal 101 that submitted the approval request through the gateway 102, and can also send the approval result to other systems 104 other than the approval processing system, such as the access control system, attendance system, and visitor system, through the gateway 102, thereby realizing linkage processing between different systems, further improving the approval efficiency and business flow efficiency, and improving the business efficiency and user satisfaction.
[0079] For example, an employee fills in visitor information on a user terminal, such as the visitor's name, ID card, mobile phone number, license plate, etc. After completing the filling, it is submitted to the server. The server generates an approval task for the visitor's application based on the filled-in information, and selects the target approver based on the approval task for the visitor's application. At the same time, the server sends notifications of the approval task such as emails and / or messages through the gateway to the target approver for approval.
[0080] The target approver enters the To-Do Center to process the approval based on the notification. If the target approver agrees, the application will enter the next level of approval process based on the pre-set definition of the visitor application as a multi-level approval type, so that the next target approver can approve it. If the target approver refuses, the application will be returned to the applicant.
[0081] After the target approver agrees to all the applications and the process is completed, the visitor system will be called to transfer the visitor's ID card, face, visit time and other information in the application information to the visitor system to register the visitor information. The access control system can also be called to enter the license plate, mobile phone number, time and other information in the application information into the access control system. When a visitor visits on the same day, the access control system will automatically recognize the license plate and let him / her in. When entering the building, he / she can swipe his / her ID card or face, and the gate in the hall will automatically open to let the visitor in. After the visitor time expires, the current permission will be automatically cancelled, thus avoiding the user's repeated input of basic information and improving the efficiency of approval and business flow.
[0082] For another example, an employee fills in leave information, such as leave time, leave category, destination, etc., on a user terminal, and submits it to the server after completion. The server generates an approval task for the leave application based on the filled-in information, and selects the target approvers based on the approval task for the leave application. At the same time, the server sends notifications of the approval task such as emails and / or messages through the gateway to the target approvers for approval.
[0083] The target approver enters the To-Do Center for approval based on the notification. If the target approver agrees, the application will enter the next level of approval process based on the pre-set definition of multi-level approval type when the leave type is sick leave, so that the next target approver can approve it. Or, based on the pre-set definition of single-level approval when the leave time is a working day, the approval task will be completed directly. If the target approver refuses, the application will be returned to the applicant.
[0084] Once the target approver agrees to all the applications and the process is completed, the information will be automatically synchronized to the attendance system. During the current leave time, the employee's attendance information will not be calculated, and the employee's performance will not be deducted.
[0085] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0086] Figure 2 Schematic diagram of the approval process provided in this application embodiment Figure 1 .like Figure 2 As shown, the method includes:
[0087] S201. Obtain approval request.
[0088] The approval request is generated based on the relevant information filled in by the applicant on the user terminal. Therefore, the approval request at least includes the approval content including the filled-in relevant information.
[0089] S202: Create an approval task based on the approval request, and determine the approval type based on the approval content.
[0090] Among them, the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task requires at least two levels of reviewers to review before the task is completed, and the second type is used to indicate that the approval task is completed after satisfying the review of the first level of reviewer.
[0091] For example, the approval request for overtime application will at least include the approval content of overtime hours. Overtime hours on holidays and non-holidays will correspond to different salary standards. In particular, overtime during holidays requires more cautious approval to maintain the balance between corporate operating cost expenditure and revenue. Therefore, the approval type of overtime hours on holidays is classified as the first type, and the approval type of overtime hours on non-holidays is classified as the second type.
[0092] For example, the approval request for equipment application will at least include the equipment name and amount information. For daily office supplies, the amount is usually low and will not have a significant impact on operating costs, so it is classified as the second type. For large equipment, the higher amount requires the overall consideration of leaders at different levels, so it is classified as the first type.
[0093] S203: Based on the approval type, determine a candidate approver, and obtain status information of the candidate approver.
[0094] Exemplarily, for the first type of approval task, at least two candidate approvers are determined, and the approval levels of the at least two candidate approvers are different. There can be multiple candidate approvers at each level, and the multiple candidate approvers at different levels are different.
[0095] For the second type of approval tasks, at least one candidate approver is determined, and when there are multiple candidate approvers, after any one of the multiple candidate approvers processes the approval task, other approvers do not need to process the approval task.
[0096] S204: Based on the status information of the candidate approvers, determine a target approver from the candidate approvers, and send the approval task to a user terminal corresponding to the target approver.
[0097] The target approver is an approver who can handle the approval task within a preset time period.
[0098] Exemplarily, the status information of the candidate approver mainly refers to the time status information of whether the candidate approver has processed the approval task. For example, when the candidate approver is in a meeting, his concentration is on the meeting and it is difficult for him to notice the approval task, so it is not easy to achieve timely approval.
[0099] Since there can be multiple candidate approvers, and different priorities can be set for multiple candidate approvers, when a candidate approver with a high priority is in a busy state, a candidate approver with a low priority and in an idle state can be used as a target approver, so that the approval task can be sent to the user terminal corresponding to the target approver, so as to realize timely processing of the approval task and improve the approval efficiency.
[0100] S205: Based on the approval result uploaded by the user terminal corresponding to the target approver, output the approval result to the user terminal that initiated the approval request to end the approval task.
[0101] For example, after the target approver approves, the approval result needs to be notified to the applicant, so the approval result needs to be sent to the user terminal that initiated the approval request to complete the closed-loop process of the approval task.
[0102] The following methods may be used to obtain the status information of the candidate approver:
[0103] Method 1: Obtain the status information of candidate approvers recorded in the current approval processing system.
[0104] For example, before a candidate approver is about to handle matters that cannot be approved in time, such as meetings or business trips, he or she can mark his or her busy status information in advance on the approval processing system so that he or she will not waste time waiting with the current busy approver when there is an approval task.
[0105] Method 2: Obtain the status information of candidate approvers from other business systems associated with the current approval processing system.
[0106] Exemplarily, the approval processing system can also be linked to other systems to obtain status information of candidate approvers from other systems. Automated acquisition can reduce the manual operation steps of candidate approvers that are busy themselves, and can also obtain the actual status information of candidate approvers when the candidate approvers forget to mark their own status information.
[0107] For example, the meeting reservation system will register the identity information of the participants and the meeting execution time information. When the candidate approver attends the meeting, the approval processing system can obtain the current status of the candidate approver through the meeting reservation system.
[0108] For another example, if the candidate approver is on vacation in the attendance system, the approval processing system can modify the status information of the candidate approver within the vacation duration to offline based on the vacation status and vacation duration obtained from the attendance system.
[0109] Method 3: Based on the status of the candidate approver's terminal, determine and obtain the status information of the candidate approver.
[0110] For example, when the terminal of a candidate approver is in a shutdown state, the approval task cannot be obtained in time, and thus the approval task cannot be processed in time. The status information of the candidate approver can be modified to an offline state.
[0111] Method 4: Based on the location information of the candidate approver, determine and obtain the status information of the candidate approver.
[0112] For example, when the terminal of a candidate approver shows that the candidate approver is in a city other than the city where the enterprise is located, the candidate approver is likely to be on a business trip or on vacation, and thus the status information of the candidate approver can be modified to an offline state.
[0113] Figure 3 Schematic diagram of the approval process provided in this application embodiment Figure 2 .like Figure 3As shown, the method includes:
[0114] S301. Obtain approval request.
[0115] The approval request at least includes approval content.
[0116] S302: Create an approval task based on the approval request, and determine the approval type based on the approval content.
[0117] Among them, the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task requires at least two levels of reviewers to review before the task is completed, and the second type is used to indicate that the approval task is completed after satisfying the review of the first level of reviewer.
[0118] S303: Based on the approval type, determine a candidate approver, and obtain status information of the candidate approver.
[0119] The specific implementation of S301-S303 is similar to the specific implementation of S201-S203 in the above embodiment, and will not be repeated here in this embodiment.
[0120] S304: Determine a target approver from the candidate approvers based on the urgency of the approval task, the status information of the candidate approvers, and the approval priority information of the candidate approvers.
[0121] The target approver is an approver who can handle the approval task within a preset time. The approval request also includes an approval time limit, and the urgency of the approval task is determined based on the approval time limit.
[0122] Exemplarily, the approval task includes a first approval task with a first approval priority and a second approval task with a second approval priority. When the first approval priority is lower than the second approval priority, if both approval tasks need to be approved by the same approver, even if the first approval task is sent to the approver first, the second approval task will still be arranged before the first approval task so that the approver will give priority to the second approval task when starting the approval.
[0123] However, when the second approval priority is not only greater than the first approval priority but also greater than the preset approval priority, for example, the approval task needs to be approved within one hour. If the status information of the current approver indicates that it cannot be approved within one hour, the second approval task will be sent to other approvers to ensure the timeliness of the approval.
[0124] S305: When the approval task is not completed and the approval priority of the candidate approver is higher than that of the target approver, obtain the status information of the candidate approver.
[0125] S306: When the status information of the candidate approver indicates that the candidate approver can perform the approval task, update the candidate approver with a higher approval priority as the target approver.
[0126] For example, since the higher the approval priority, the more suitable it is to approve the approval task, when the higher priority approver resumes the idle state, the higher priority approver is still given priority to review the approval task. Therefore, the higher priority approver is updated as the new target approver.
[0127] S307: Send the approval task to the user terminal corresponding to the target approver.
[0128] It should be understood that after sending the approval task to the original target approver, if an approver with a higher priority is free, the approver with a higher priority can be used as the new target approver, and the approval task can be sent to the new target approver. When both target approvers have received the approval task, the approval result made by any target approver who approves first will be the approval result of the approval task.
[0129] S308: Based on the approval result uploaded by the user terminal corresponding to the target approver, output the approval result to the user terminal that initiated the approval request to end the approval task.
[0130] Based on the above embodiment, sending the approval task to the user terminal corresponding to the target approver specifically includes:
[0131] When the approval type is the first type, the approval task is sent to a user terminal corresponding to the first-level target approver.
[0132] When the approval result uploaded by the user terminal corresponding to the first-level target approver is approved, the approval task is sent to the user terminal corresponding to the second-level target approver.
[0133] When the approval result uploaded by the user terminal corresponding to the second-level target approver is approved or rejected, the approval result will be output to the user terminal that initiated the approval request to end the approval task.
[0134] When the approval result uploaded by the user terminal corresponding to the first-level target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0135] When the approval type is the second type and the approval result uploaded by the user terminal corresponding to the target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0136] When the approval type is the second type and the approval result uploaded by the user terminal corresponding to the target approver is approved, the approval result is output to the user terminal that initiates the approval request to end the approval task.
[0137] In a specific embodiment, Figure 6 This is a schematic diagram of the overtime application approval process provided by the embodiment of this application. Figure 6 As shown, the overtime application approval process includes a start node 601, an end node 602, a mutually exclusive gateway 603, and a parallel gateway 604. In the mutually exclusive gateway 603, the process direction is determined according to the leave type. The weekend overtime application is approved by the user with the role of the department vice president, and the holiday overtime application is approved by the user with the role of the department supervisor; the parallel gateway 604 can be approved by any user with the role of the president in charge or the office administrator; the department vice president and department supervisor nodes can reject the approval and return the submitted application to the waiting submission node.
[0138] For the parameter setting of the mutually exclusive gateway, take the weekend overtime application process as an example. When the jump condition for the weekend time is "holiday=1", the interface realizes the judgment result of the overtime application condition name and value. If the applied overtime time meets the conditions, it will pass / return to the corresponding node task according to the jump type. Because different application processes may require different conditions for mutually exclusive jumps, the interface also supports the access of different jump condition judgments to facilitate the smooth completion of processes in different scenarios.
[0139] The approval operation of the approver can be passed / rejected. The approved approver node can be configured to determine whether the approver of the next node is selectable. Multiple approved approvers can be selected for approval, or all approvers of the corresponding roles of the node can be selected. After the approver passes, the next node will be executed. At this time, an in-site message / email / SMS will be sent to notify the next approver for approval. When there are multiple levels of approval, the approval process will be repeated until the entire overtime application process is completed, and a message will be sent to the applicant to notify the result.
[0140] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain 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 optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0141] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0142] Figure 4 This is a schematic diagram of the structure of the approval processing device provided in the embodiment of the present application. Figure 4 As shown, the device includes:
[0143] The acquisition module 401 is used to acquire an approval request; the approval request at least includes approval content;
[0144] Processing module 402 is used to create an approval task based on the approval request, and determine the approval type based on the approval content; the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task needs to be reviewed by at least two levels of reviewers before the task is completed, and the second type is used to indicate that the approval task needs to be reviewed by the first level of reviewers before the task is completed;
[0145] The processing module 402 is further used to determine a candidate approver based on the approval type, and trigger the acquisition module 401 to acquire the status information of the candidate approver;
[0146] The processing module 402 is further used to determine a target approver from the candidate approvers based on the status information of the candidate approvers; wherein the target approver is an approver who can process the approval task within a preset time period;
[0147] The sending module 403 is used to send the approval task to the user terminal corresponding to the target approver; and based on the approval result uploaded by the user terminal corresponding to the target approver, output the approval result to the user terminal that initiated the approval request to end the approval task.
[0148] Further, based on the above embodiment, the processing module 402 is specifically used to obtain the status information of the candidate approver, including:
[0149] Obtain the status information of the candidate approver recorded in the current approval processing system;
[0150] Alternatively, the status information of candidate approvers in other business systems associated with the current approval processing system may be obtained;
[0151] Alternatively, based on the status of the candidate approver's terminal, the status information of the candidate approver is determined and obtained;
[0152] Alternatively, based on the location information of the candidate approver, the status information of the candidate approver is determined and obtained.
[0153] In some embodiments, the approval request also includes an approval time limit, and the urgency of the approval task is determined based on the approval time limit; the processing module 402 is specifically used to:
[0154] Based on the urgency of the approval task, the status information of the candidate approvers, and the approval priority information of the candidate approvers, a target approver is determined from the candidate approvers.
[0155] Optionally, before sending the approval task to the user terminal corresponding to the target approver, the processing module 402 is further used to:
[0156] When the approval task is not completed and there is an approval priority of the candidate approver that is higher than the approval priority of the target approver, obtaining the status information of the candidate approver;
[0157] When the status information of the candidate approver indicates that the candidate approver can perform the approval task, the candidate approver with a higher approval priority is updated as the target approver.
[0158] In some embodiments, the approval result at least includes approval; the processing module 402 is specifically used to:
[0159] When the approval type is the first type, the approval task is sent to the user terminal corresponding to the first-level target approver, and when the approval result uploaded by the user terminal corresponding to the first-level target approver is approved, the approval task is sent to the user terminal corresponding to the second-level target approver.
[0160] Optionally, the approval result also includes approval rejection; the processing module 402 is also used to:
[0161] When the approval result uploaded by the user terminal corresponding to the first-level target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0162] In some embodiments, the processing module 402 is specifically used to:
[0163] When the approval type is the second type and the approval result uploaded by the user terminal corresponding to the target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
[0164] The approval processing device provided in this embodiment can execute the approval processing method of the above embodiment, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.
[0165] The embodiment of the present invention can divide the electronic device or the main control device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0166] In the specific implementation of the aforementioned approval processing device, each module can be implemented as a processor, and the processor can execute computer execution instructions stored in the memory, so that the processor executes the above-mentioned approval processing method.
[0167] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0168] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0169] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory (RRAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), an enhanced dynamic random access memory (EDRAM), a high-bandwidth memory (HBM), a hybrid memory cube (HMC), etc.
[0170] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0171] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0172] Figure 5 The hardware structure diagram of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device includes:
[0173] At least one processor 501 and a memory 502 .
[0174] The electronic device further comprises a communication component 503 .
[0175] The processor 501 , the memory 502 and the communication component 503 are connected via a bus 504 .
[0176] In the specific implementation process, at least one processor 501 executes the computer execution instructions stored in the memory 502, so that at least one processor 501 executes the approval processing method executed as above.
[0177] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0178] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0179] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0180] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0181] The above describes the solutions provided by the embodiments of the present invention with respect to the functions implemented by the electronic device and the main control device.
[0182] It is understandable that, in order to realize the above functions, the electronic device or the main control device includes the corresponding hardware structure and / or software module for executing each function.
[0183] In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present invention, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present invention.
[0184] The present application also provides a computer program product, including a computer program, which implements the approval processing method when executed by a processor.
[0185] The computer program product provided in this embodiment can execute the approval processing method of the above embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0186] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above-mentioned approval processing method is implemented.
[0187] The computer-readable storage medium provided in this embodiment can execute the approval processing method of the above-mentioned embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
[0188] The computer-readable storage medium mentioned above may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium may be any available medium that can be accessed by a general or special-purpose computer.
[0189] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.
[0190] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0191] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An approval processing method, characterized in that: include: Get approval request; The approval request at least includes approval content; An approval task is created based on the approval request, and an approval type is determined based on the approval content; the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task needs to be reviewed by at least two levels of reviewers before the task is completed, and the second type is used to indicate that the approval task needs to be reviewed by the first level of reviewers before the task is completed; Based on the approval type, determine candidate approvers, and obtain status information of the candidate approvers; Based on the status information of the candidate approvers, a target approver is determined from the candidate approvers, and the approval task is sent to a user terminal corresponding to the target approver; wherein the target approver is an approver who can process the approval task within a preset time period; Based on the approval result uploaded by the user terminal corresponding to the target approver, the approval result is output to the user terminal that initiated the approval request to end the approval task.
2. The method according to claim 1, characterized in that The obtaining of the status information of the candidate approver includes: Obtain the status information of the candidate approver recorded in the current approval processing system; Alternatively, the status information of candidate approvers in other business systems associated with the current approval processing system may be obtained; Alternatively, based on the status of the candidate approver's terminal, determining and acquiring the status information of the candidate approver; Alternatively, based on the location information of the candidate approver, the status information of the candidate approver is determined and obtained.
3. The method according to claim 2, characterized in that The approval request also includes an approval time limit, and the urgency of the approval task is determined based on the approval time limit; The step of determining a target approver from the candidate approvers based on the status information of the candidate approvers includes: Based on the urgency of the approval task, the status information of the candidate approvers, and the approval priority information of the candidate approvers, a target approver is determined from the candidate approvers.
4. The method according to claim 3, characterized in that Before sending the approval task to the user terminal corresponding to the target approver, the method further includes: When the approval task is not completed and there is an approval priority of the candidate approver that is higher than the approval priority of the target approver, obtaining the status information of the candidate approver; When the status information of the candidate approver indicates that the candidate approver can perform the approval task, the candidate approver with a higher approval priority is updated as the target approver.
5. The method according to any one of claims 1 to 4, characterized in that: The approval result at least includes approval passed; the sending of the approval task to the user terminal corresponding to the target approver includes: When the approval type is the first type, the approval task is sent to the user terminal corresponding to the first-level target approver, and when the approval result uploaded by the user terminal corresponding to the first-level target approver is approved, the approval task is sent to the user terminal corresponding to the second-level target approver.
6. The method according to claim 5, characterized in that The approval result also includes approval rejection; after sending the approval task to the user terminal corresponding to the first-level target approver, the method further includes: When the approval result uploaded by the user terminal corresponding to the first-level target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
7. The method according to claim 5, characterized in that The approval result also includes approval rejection; the sending of the approval task to the user terminal corresponding to the target approver includes: When the approval type is the second type and the approval result uploaded by the user terminal corresponding to the target approver is approval rejection, the approval task is restored to the format of the approval request and returned to the user terminal that initiated the approval request to create a new approval task.
8. An approval processing device, characterized in that: include: The acquisition module is used to obtain the approval request; The approval request at least includes approval content; A processing module, used to create an approval task based on the approval request, and determine the approval type based on the approval content; the approval type includes at least a first type and a second type; the first type is used to indicate that the approval task needs to be reviewed by at least two levels of reviewers before the task is completed, and the second type is used to indicate that the approval task needs to be reviewed by the first level of reviewers before the task is completed; The processing module is further used to determine a candidate approver based on the approval type, and trigger the acquisition module to acquire the status information of the candidate approver; The processing module is further used to determine a target approver from the candidate approvers based on the status information of the candidate approvers; wherein the target approver is an approver who can process the approval task within a preset time period; The sending module is used to send the approval task to the user terminal corresponding to the target approver; and based on the approval result uploaded by the user terminal corresponding to the target approver, output the approval result to the user terminal that initiated the approval request to end the approval task.
9. An approval processing system, characterized in that: It includes a server, a gateway connected to the server, and a user terminal connected to the gateway for communication; The server is used to obtain the approval request related to the approval task or the approval result of the approver sent by the gateway, and after executing the approval processing method according to any one of claims 1 to 7, send the approval result of the approval task to the gateway; The gateway is used to receive the approval request related to the approval task or the approval result of the approver sent by the user terminal, receive the approval result of the approval task sent by the server, and send the approval result of the approval task to other business systems.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.
Citation Information
Cited By
Intelligent processing method and system for document flow data of intranet mobile terminal
CN120499174A