CN110852695A - Task approval method and device, server and storage medium - Google Patents

Task approval method and device, server and storage medium Download PDF

Info

Publication number
CN110852695A
CN110852695A CN201910943471.9A CN201910943471A CN110852695A CN 110852695 A CN110852695 A CN 110852695A CN 201910943471 A CN201910943471 A CN 201910943471A CN 110852695 A CN110852695 A CN 110852695A
Authority
CN
China
Prior art keywords
approval
task
approved
target
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910943471.9A
Other languages
Chinese (zh)
Inventor
洪形势
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Wangsu Co Ltd
Original Assignee
Xiamen Wangsu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Wangsu Co Ltd filed Critical Xiamen Wangsu Co Ltd
Priority to CN201910943471.9A priority Critical patent/CN110852695A/en
Publication of CN110852695A publication Critical patent/CN110852695A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention relates to the technical field of computers, in particular to a task approval method, a task approval device, a server and a storage medium. The task approval method comprises the following steps: acquiring type information and content information of a task to be examined and approved; determining an initial approval process of the task to be approved according to the type information; determining a target approval process of the task to be approved according to the content information and the initial approval process; and utilizing the target approval process to approve the task to be approved. By adopting the embodiment of the invention, the problem of complex operation in manual configuration of the approval process is solved, and the approval efficiency of the task is improved.

Description

Task approval method and device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a task approval method, a task approval device, a server and a storage medium.
Background
With the development of market business, a business approval process is usually formulated according to business requirements, and an approval party can handle the business after the business approval is passed according to the process. The existing flow engines are various, cover multiple fields of business flow management, workflow, service cooperation and the like, and are open-source executable flow language frameworks; when the process engine is used for establishing the business approval process, the process engine is required to be used for manually configuring, changing codes, deploying offline and the like. However, the inventors found that at least the following problems exist in the related art: the existing open source process engine is heavy, the difficulty of learning codes of the process engine and manually carrying out secondary development on the process engine is high, the operation is complex when the process is manually configured and approved, and the approval and execution efficiency of the business is affected.
Disclosure of Invention
The embodiment of the invention aims to provide a task approval method, a task approval device, a server and a storage medium, so as to solve the problem of complex operation in manual configuration of an approval process and improve the efficiency of task approval.
In order to solve the above problem, an embodiment of the present invention provides a task approval method, including: acquiring type information and content information of a task to be examined and approved; determining an initial approval process of the task to be approved according to the type information; determining a target approval process of the task to be approved according to the content information and the initial approval process; and utilizing the target approval process to approve the task to be approved.
The embodiment of the invention also provides a task approval device, which comprises: the acquisition module is used for acquiring the type information and the content information of the task to be approved; the first determining module is used for determining the initial approval process of the task to be approved according to the type information; the second determining module is used for determining a target approval process of the task to be approved according to the content information and the initial approval process; and the approval module is used for approving the task to be approved by utilizing the target approval process.
An embodiment of the present invention further provides a server, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above task approval method.
The embodiment of the invention also provides a computer storage medium, which stores a computer program, and the computer program realizes the task approval method when being executed by a processor.
Compared with the prior art, the method and the device for processing the task to be approved acquire the type information and the content information of the task to be approved; determining an initial approval process of the task to be approved according to the type information; determining a target approval process of the task to be approved according to the content information and the initial approval process; and utilizing the target approval process to approve the task to be approved. That is, firstly, type information capable of representing the approval type of the to-be-approved task and content information representing specific approval content of the to-be-approved task are obtained, a set of initial approval processes corresponding to the type of the to-be-approved task can be determined according to the type information of the to-be-approved task, then a target approval process aiming at the to-be-approved task is determined from the initial approval processes according to the content information of the to-be-approved task, and the target approval process has higher flexibility in determination of the target approval process; therefore, the approval of the to-be-approved task can be realized in real time by utilizing the determined target approval process without learning the code of the process engine and manually configuring the approval process, so that the risk possibly brought by operations such as code change and the like is avoided, the workload of configuration and development and the complexity of operation are reduced, the realization process of the task can be concentrated, and the approval efficiency of the task is effectively improved.
In addition, the initial approval process comprises a plurality of approval nodes which are sequentially arranged, and approval expressions of the approval nodes are preset; the determining the target approval process of the to-be-approved task according to the content information and the initial approval process comprises the following steps: sequentially acquiring each approval node, and judging whether the content information meets an approval expression of the approval nodes or not for each approval node; and if the content information meets the approval expression of the approval node, taking the approval node as a target approval node added into the target approval process. When the content information of the task to be approved meets the approval expression of the approval node in the initial approval process, the approval node is determined as the node in the target approval process if the task to be approved needs to be approved by the approval node; namely, the target approval process is generated in a personalized manner according to the task to be approved, and each node in the finally obtained target approval process is approved by aiming at the task to be approved.
In addition, after the last target approval node in the target approval process is executed, the approval result of the last target approval node is obtained; judging whether the next approval node is appointed in the approval result; if so, adding the specified next approval node into the target approval process; executing the specified next approval node. The method for dynamically modifying the target approval process is provided, namely, in the process of approving the task to be approved by using the target approval process, if the next approval node is specified after the last target approval node is approved by the approver, the next approval node is added into the target approval process, and the next approval node is executed, namely, the target approval process can be dynamically updated in the approval process, so that the approval operation on the task is more flexible and practical.
In addition, before the obtaining of the type information and the content information of the pending task, the method further includes: and providing a human-computer interaction interface, and acquiring the type information and the content information of the task to be approved through the human-computer interaction interface.
In addition, the human-computer interaction interface comprises a plurality of triggerable controls and text boxes; each triggerable control corresponds to one type of information, so that a user can clearly know the selectable type of information; the obtaining of the type information and the content information of the pending approval task through the human interactive interface includes: taking the type information corresponding to the triggered triggerable control as the type information of the task to be approved; taking the information input in the text box as the content information of the task to be approved; the visual human-computer interaction interface is used for providing the type information and the content information for the user, the user does not need to learn codes of a process engine and then manually configure the approval process, and the workload of configuration and development and the complexity of operation are reduced.
In addition, the preset database stores the corresponding relation between the type information and the initial approval process; the determining the initial approval process of the to-be-approved task according to the type information comprises the following steps: and acquiring an initial approval process corresponding to the type information from the preset database according to the corresponding relation, wherein the initial approval process is used as the initial approval process of the task to be approved.
In addition, each target approval node is correspondingly provided with preset node post-operation; after executing the target approval node in the target approval process, the method further comprises the following steps: executing node post-operation corresponding to the target approval node; that is to say, when the target approval process is used for approving the task to be approved, after each target approval node is executed, preset node post-operation is executed, for example, after the current target approval node is executed, the approval result is sent to the user who raises the task to be approved in the form of a mail, so that the execution of the next target approval node is not influenced, and meanwhile, the whole approval process is richer and more complete, so as to improve the experience of the user who raises the task to be approved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flow chart of a method of task approval according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a human-machine interface according to a first embodiment of the invention;
FIG. 3 is a flow chart of the manner in which a target approval process is dynamically modified in accordance with a second embodiment of the present invention;
FIG. 4 is a block diagram showing the construction of a task approval apparatus according to a third embodiment of the present invention;
fig. 5 is a block diagram showing the construction of a server according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a task approval method, and the specific flow is shown in fig. 1, and the method comprises the following steps:
and 101, acquiring the type information and the content information of the task to be examined and approved.
And 102, determining an initial approval process of the task to be approved according to the type information.
And 103, determining a target approval process of the task to be approved according to the content information and the initial approval process.
And 104, utilizing the target approval process to approve the task to be approved.
The following is a detailed description of the implementation details of the task approval method according to the present embodiment, and the following is only provided for the convenience of understanding and is not necessary for implementing the present embodiment. The task approval method in the embodiment can be applied to a server with a control flow engine to realize the development of the flow program, and the server can realize the control of the flow engine by calling an interface provided by the flow engine, namely, the development of the flow program is realized; the flow engine in the present embodiment may be understood as a flow engine such as JBPM (Java Business Process Management) or activti.
In step 101, a server obtains type information and content information of a to-be-approved task, wherein the type information of the to-be-approved task is used for representing an approval type of the to-be-approved task, and can be understood as an ask for leave type, a dictionary type, a fund application type and the like; the content information of the pending approval task is used for representing specific approval content, for example, when the pending approval task is a leave-asking task, the content information can be understood as "leave three please leave 10 days".
In this embodiment, a method for obtaining type information and content information of a task to be examined and approved is provided: the server provides a visual human-computer interaction interface for a user who raises the task to be audited to input type information and content information through the visual human-computer interaction interface; a schematic diagram of a human-computer interaction interface may be shown in fig. 2, for example, where the human-computer interaction interface includes a plurality of triggerable controls, each triggerable control corresponds to one type of information, and a user may select the type of information by clicking the triggerable control; the human-computer interaction interface also comprises a text box, and a user can input the specific examination and approval content of the task to be examined and approved in the text box. In an example, when zhang san needs to lift a leave asking task to be examined and approved, zhang san can click and trigger a triggerable control corresponding to the leave asking type on the human-computer interaction interface, and input 'leave asking 10 days' (or 'zhang san please 10 days') in a text box, so that the server can acquire that the type information of the people to be examined is 'leave asking type' and the content information is 'zhang san please 10 days' through the human-computer interaction interface.
It is understood that the above is only an example of the human-computer interaction interface, and is not limited thereto; the server can provide other visual interfaces for the user who picks up the pending task to configure the information required by the pending task without modifying the code of the process engine to configure the information required by the pending task.
In this embodiment, the server controls the process engine by calling an interface provided by the process engine, and the process engine transmits the type information and the content information provided by the user to the server by using an init interface method, so that the server obtains the type information and the content information of the task to be examined and approved.
In addition, after the server acquires the type information and the content information of the task to be approved, the server controls a process engine to initialize so as to prepare for confirming the target approval process; the server also controls the process engine to store the relevant data of the task to be examined and approved, including the acquired type information and content information; the content information can be stored in a database of the server in the form of form data, and each piece of content information as a piece of form information has a unique key value as a unique identifier of the piece of content information.
In step 102, the server determines an initial approval process of the to-be-approved task according to the type information, wherein the initial approval process of the to-be-approved task can be understood as a set of preset complete approval process under the condition of the maximum approval times, and the initial approval process comprises a plurality of approval nodes which are sequentially arranged; in an example, the several approval nodes included in the initial approval process may be understood as "group leader approval → minister approval → supervisor approval → manager a approval → manager B approval", that is, in the case of the maximum number of approvals, the pending approval needs to pass through the approval nodes in turn.
It can be understood that the initial approval process obtained here corresponds to the type information of the to-be-approved tasks, and the initial approval processes corresponding to different types of to-be-approved tasks are different; in an example, the initial approval process corresponding to the leave type may be "captain approval → supervisor approval → manager a approval", and the initial approval process corresponding to the deputy type may be "captain approval → supervisor approval → manager a approval → manager B approval", which are different from each other.
In this embodiment, a method for determining an initial approval process of a task to be approved according to type information is provided: the corresponding relation between the type information and the initial approval process is stored in a database of a third party in advance, the server searches the initial approval process corresponding to the type information of the task to be approved from the corresponding relation stored in the database according to the type information of the task to be approved, and the initial approval process is stored in the database of the server as the relevant data of the task to be approved.
In step 103, the server determines a target approval process of the task to be approved according to the content information and the initial approval process; the approval expression can be understood as an expression for judging whether the task to be approved needs to be approved through the approval nodes, and can be preset through SpringEL language in practical application. The server sequentially acquires the approval nodes in the initial approval process, and judges whether the content information of the task to be approved meets the approval expression of the approval nodes or not for each approval node; and if the content information of the content to be examined and approved meets the examination and approval expression of the examination and approval node when one examination and approval node is obtained, the examination and approval node is used as a target examination and approval node added into the target examination and approval process if the examination and approval expression shows that the examination and approval task needs to be examined and approved through the examination and approval node. In one example, the content information of the task to be approved is 'Zhang Sanplease leave 10 days', the obtained approval node is 'supervisor approval', the approval expression of 'supervisor approval' is 'leave-asking days is more than 5 days', and the 'leave-asking 10 days' satisfies 'leave-asking days is more than 5 days', so that the obtained 'supervisor approval' is determined to be a target approval node, and a target approval process is added, namely that the task to be approved 'Zhang Sanplease leave 10 days' needs to be approved by the supervisor; the approval nodes which are continuously and sequentially acquired are 'manager A approval', the approval expression of 'manager A approval' is 'leave-asking days greater than 10 days', and the 'leave-asking 10 days' does not meet the requirement that 'leave-asking days greater than 5 days', so that the acquired 'manager A approval' is judged not to be added into a target approval process as a target approval node, namely, the task to be approved 'leave three leave-asking 10 days' is not required to be approved by manager A. In this example, for the initial approval process corresponding to the leave type, "group leader approval → minister approval → supervisor approval → manager a approval", the target approval process for determining that the task to be approved "three times leave for 10 days" is "group leader approval → minister approval → supervisor approval", and the approval of the above five approval nodes is not required, that is, the target approval process is generated individually according to the task to be approved, and each node in the finally obtained target approval process is approved for the task to be approved. It can be understood that the determined target approval process is also stored in the database of the server as the relevant data of the task to be approved.
In the embodiment, an expression interpreter is preset in a process engine controlled by a server, and after the process engine is controlled by the server to be initialized, the server analyzes the approval expressions of each approval node in sequence through the expression interpreter, namely whether the content information meets the approval expressions of the approval nodes is judged in sequence; if the result of analyzing the approval node by the expression interpreter returns True, taking the approval node as a target approval node added into a target approval process; if the result of analyzing the approval node by the expression interpreter returns False, the approval node does not need to be used as a target approval node added into the target approval process.
In step 104, the server approves the task to be approved by using the target approval process, that is, the server sequentially executes the target approval nodes forming the target approval process, and performs layer-by-layer approval on the task to be approved; in one example, the approval operation can be performed by an approver of the target approval node through providing a visual human-computer interaction interface. In the embodiment, the server controls the process engine by calling an interface provided by the process engine, and when the target approval process is started, the process engine transmits the type information and the content information of the task to be approved to a human-computer interaction interface through an execute interface method for an approver of a first target approval node to approve; after the first target approval node passes the approval, the process engine automatically turns to the next target approval node, and the type information and the content information of the task to be approved and the approval result of the previous target approval node are transmitted to the man-machine interaction interface through the execute interface method for the approver of the next target approval node to approve.
In addition, in the process that the server uses the target approval process to approve the task to be approved, if the approval result of a certain target approval node is failed, the server may control the process engine to return to the certain target approval node of the target approval process, for example: returning to a first target approval node of the target approval process, returning to a previous target approval node of the target approval node which fails to be approved, and returning to a certain specified node of the target approval process; or the server control process engine directly abandons the target approval process and does not return.
Based on the above description, the server may create a status identifier of the task to be approved in its own database, and update its status identifier according to the real-time status of the target approval process; for example, after the server acquires the type information and the content information of the task to be approved and the target approval process is not determined, a state identifier of the task to be approved is created and is initially in a draft state; after the server determines the target approval process of the task to be approved, the state identification of the task to be approved can be updated to be in a state of waiting for approval; in the process that the server utilizes the target approval process to approve the task to be approved (including that the server control process engine returns to a certain target approval node of the target approval process), the state identification of the task to be approved can be updated to be an in-approval state; when the approval result of the task to be approved is failed, the state identification of the task to be approved can be updated to be the state of 'approval failed'; and when the approval result of the task to be approved passes, updating the state identifier of the task to be approved into an approval passing state.
In addition, each target approval node of the target approval process corresponds to a preset node post-operation, and after the server executes one target approval node, the node post-operation corresponding to the target approval node is executed; the post operation of the server execution node can be understood as another parallel work flow, the server is not influenced to continuously execute the next target approval node, but the whole approval process is richer and more complete, so that the experience of a user who raises the task to be approved is improved. In one example, after the server executes a target approval node, the server sends an approval result of the target approval node to a user who raises a task to be approved in a mail form; in another example, the pending task is a fund application task, after the server executes a target approval node, the approval result shows that the fund application task is approved, and the server calls a platform for managing fund application to continue to issue the fund and other operations. In this embodiment, a post processor is preset in a process engine controlled by the server, and the server may execute a node post operation corresponding to the target approval node by calling the post processor.
Compared with the prior art, the method comprises the steps of firstly obtaining type information representing the approval type of the to-be-approved task and content information representing specific approval content of the to-be-approved task, determining a set of initial approval process corresponding to the type of the to-be-approved task according to the type information of the to-be-approved task, then sequentially judging whether the content information meets the approval expression of each approval node of the initial approval process according to the content information of the to-be-approved task, and taking the approval nodes with the contents meeting the approval expressions as target approval nodes added into the target approval process, so that the target approval process aiming at the to-be-approved task is determined from the initial approval process, and the target approval process has higher flexibility in determination of the target approval process; therefore, the approval of the to-be-approved task can be realized in real time by utilizing the determined target approval process without learning the code of the process engine and manually configuring the approval process, so that the risk possibly brought by operations such as code change and the like is avoided, the workload of configuration and development and the complexity of operation are reduced, the realization process of the task can be concentrated, and the approval efficiency of the task is effectively improved.
A second embodiment of the present invention relates to a method for task approval, and in this embodiment, on the basis of step 104 in the first embodiment, a method for dynamically modifying a target approval process is provided, so that the method for task approval in this embodiment is also shown in fig. 1, and includes:
and 101, acquiring the type information and the content information of the task to be examined and approved. And will not be described in detail herein.
And 102, determining an initial approval process of the task to be approved according to the type information. And will not be described in detail herein.
And 103, determining a target approval process of the task to be approved according to the content information and the initial approval process. And will not be described in detail herein.
And 104, utilizing the target approval process to approve the task to be approved.
In step 104, the server approves the task to be approved by using the target approval process, that is, the server sequentially executes the target approval nodes forming the target approval process, and performs layer-by-layer approval on the task to be approved; after the server executes the last target approval node of the target approval process, whether the target approval process is dynamically modified is determined in the following manner, and the manner of dynamically modifying the target approval process shown in fig. 3 includes:
301, obtaining an approval result of the last target approval node;
step 302, judging whether the next approval node is appointed in the approval result; if yes, go to step 303; if not, ending.
And 303, adding the specified next approval node into the target approval process, and executing the specified next approval node.
Specifically, after the server executes the last target approval node, the server obtains the approval result of the last target approval node, and the approver of the last target approval node can designate the next approval node in the approval result. In the embodiment, the next approving node which can be assigned also belongs to the approving node included in the initial approval process of the task to be approved; the server can transmit the type information, the content information and the like of the last target approval node to the man-machine interaction interface, and also transmit the next approving node which can be specified to the man-machine interaction interface for the approver to specify; or the server provides another text box for the approver to enter the next approval node specified.
In an example, Zhang III raises a task to be examined, "Zhang III asks for false for 10 days", the initial approval process corresponding to the type of the leave is "group leader approval → troops approval → supervisor approval → manager A approval", and the target approval process determining the task to be examined "Zhang III asks for false for 10 days" is "group leader approval → troops approval → supervisor approval"; when the server utilizes the target approval process to approve the task to be approved and executes the final target approval node 'supervisor approval', the next approval node 'manager A approval' which can be appointed is provided; when the server obtains that the approval result of the 'supervisor approval' is passed and the approver 'supervisor' designates the next approval node 'manager A approval' in the approval result, the server takes the approval node 'manager A approval' as a target approval node, adds a target approval process and executes the target approval node 'manager A approval'; that is, the objective approval process of the pending approval task "please leave three times for 10 days" raised by Zhang three is dynamically updated to "group leader approval → minister approval → supervisor approval → manager a approval".
Compared with the prior art, the embodiment provides a mode for dynamically modifying the target approval process, namely, in the process of approving the task to be approved by using the target approval process, if the next approval node is also appointed after the last target approval node is approved by the approver, the next approval node is added into the target approval process and the next approval node is executed, namely, the target approval process can be dynamically updated in the approval process, so that the approval operation on the task is more flexible and practical.
A third embodiment of the present invention relates to a task approval apparatus, as shown in fig. 4, including: an acquisition module 401, a first determination module 402, a second determination module 403 and an approval module 404.
An obtaining module 401, configured to obtain type information and content information of a task to be reviewed;
a first determining module 402, configured to determine an initial approval process of the task to be approved according to the type information;
a second determining module 403, configured to determine a target approval process of the to-be-approved task according to the content information and the initial approval process;
and an approval module 404, configured to approve the task to be approved by using the target approval process.
In one example, the initial approval process includes a plurality of approval nodes arranged in sequence, and an approval expression of each approval node is preset; the second determining module 403 determines, according to the content information and the initial approval process, a target approval process of the to-be-approved task, which includes: sequentially acquiring each approval node, and judging whether the content information meets an approval expression of the approval nodes or not for each approval node; and if the content information meets the approval expression of the approval node, taking the approval node as a target approval node added into the target approval process.
In one example, after the approval module 404 executes the last target approval node in the target approval process, the approval result of the last target approval node is obtained; judging whether the next approval node is appointed in the approval result; if so, adding the specified next approval node into the target approval process; executing the specified next approval node.
In one example, before the obtaining module 401 obtains the type information and the content information of the pending approval task, the obtaining module 401 is further configured to: and providing a human-computer interaction interface, and acquiring the type information and the content information of the task to be approved through the human-computer interaction interface.
In one example, the human-computer interaction interface comprises a plurality of triggerable controls and text boxes; each triggerable control corresponds to one type of information; the obtaining module 401 obtains the type information and the content information of the pending task through the human-computer interaction interface, including: taking the type information corresponding to the triggered triggerable control as the type information of the task to be approved; and taking the information input in the text box as the content information of the task to be approved.
In one example, a preset database stores the corresponding relationship between the type information and the initial approval process; the first determining module 402 determines an initial approval process of the pending task according to the type information, including: and acquiring an initial approval process corresponding to the type information from the preset database according to the corresponding relation, wherein the initial approval process is used as the initial approval process of the task to be approved.
In one example, each target approval node corresponds to a preset node post-operation; after the approval module 404 executes the target approval node in the target approval process, the method further includes: and executing the node post-operation corresponding to the target approval node.
It should be understood that this embodiment is an example of a device corresponding to the first embodiment or the second embodiment, and this embodiment may be implemented in cooperation with the first embodiment or the second embodiment, and details of related technologies mentioned in the first embodiment or the second embodiment are still valid in this embodiment, and are not repeated herein in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment or the second embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fourth embodiment of the present invention relates to a server, as shown in fig. 5, including: at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the task approval method.
Where the memory 502 and the processor 501 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges that couple one or more of the processors to various circuits of the memory 502. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements the task approval method embodiments described above.
That is, as can be understood by those skilled in the art, all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A task approval method is characterized by comprising the following steps:
acquiring type information and content information of a task to be examined and approved;
determining an initial approval process of the task to be approved according to the type information;
determining a target approval process of the task to be approved according to the content information and the initial approval process;
and utilizing the target approval process to approve the task to be approved.
2. The task approval method according to claim 1, wherein the initial approval process comprises a plurality of approval nodes arranged in sequence, and approval expressions of the approval nodes are preset; the determining the target approval process of the to-be-approved task according to the content information and the initial approval process comprises the following steps:
sequentially acquiring each approval node, and judging whether the content information meets an approval expression of the approval nodes or not for each approval node;
and if the content information meets the approval expression of the approval node, taking the approval node as a target approval node added into the target approval process.
3. The task approval method according to claim 2, wherein after executing the last target approval node in the target approval process, obtaining an approval result of the last target approval node;
judging whether the next approval node is appointed in the approval result;
if so, adding the specified next approval node into the target approval process;
executing the specified next approval node.
4. The task approval method according to claim 1, further comprising, before the obtaining of the type information and the content information of the task to be approved:
and providing a human-computer interaction interface, and acquiring the type information and the content information of the task to be approved through the human-computer interaction interface.
5. The task approval method of claim 4, wherein the human-machine interface comprises a plurality of triggerable controls and text boxes; each triggerable control corresponds to one type of information;
the obtaining of the type information and the content information of the pending approval task through the human-computer interaction interface includes:
taking the type information corresponding to the triggered triggerable control as the type information of the task to be approved;
and taking the information input in the text box as the content information of the task to be approved.
6. The task approval method according to claim 1, wherein a preset database stores a corresponding relationship between type information and an initial approval process; the determining the initial approval process of the to-be-approved task according to the type information comprises the following steps:
and acquiring an initial approval process corresponding to the type information from the preset database according to the corresponding relation, wherein the initial approval process is used as the initial approval process of the task to be approved.
7. The process approval method according to claim 2, wherein each of the target approval nodes has a preset node post-operation; after executing the target approval node in the target approval process, the method further comprises the following steps:
and executing the node post-operation corresponding to the target approval node.
8. A task approval apparatus, comprising:
the acquisition module is used for acquiring the type information and the content information of the task to be approved;
the first determining module is used for determining the initial approval process of the task to be approved according to the type information;
the second determining module is used for determining a target approval process of the task to be approved according to the content information and the initial approval process;
and the approval module is used for approving the task to be approved by utilizing the target approval process.
9. A server, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of task approval as claimed in any one of claims 1 to 7.
10. A computer storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the task approval method of any one of claims 1-7.
CN201910943471.9A 2019-09-30 2019-09-30 Task approval method and device, server and storage medium Pending CN110852695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943471.9A CN110852695A (en) 2019-09-30 2019-09-30 Task approval method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943471.9A CN110852695A (en) 2019-09-30 2019-09-30 Task approval method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN110852695A true CN110852695A (en) 2020-02-28

Family

ID=69597328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943471.9A Pending CN110852695A (en) 2019-09-30 2019-09-30 Task approval method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110852695A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488283A (en) * 2020-04-14 2020-08-04 拉扎斯网络科技(上海)有限公司 Task generation method and device, electronic equipment and storage medium
CN111598544A (en) * 2020-05-18 2020-08-28 北京海益同展信息科技有限公司 Method and apparatus for processing information
CN111639918A (en) * 2020-06-04 2020-09-08 北京字节跳动网络技术有限公司 Approval method and device, electronic equipment and computer readable medium
CN111639907A (en) * 2020-05-13 2020-09-08 广州国音智能科技有限公司 Process management method, device, equipment and computer storage medium
CN112270529A (en) * 2020-10-29 2021-01-26 北京字跳网络技术有限公司 Method and device for examining and approving business form, electronic equipment and storage medium
CN112465446A (en) * 2020-11-09 2021-03-09 深圳市和讯华谷信息技术有限公司 Work order data processing method and device, electronic equipment and storage medium
CN112561264A (en) * 2020-12-04 2021-03-26 中广核工程有限公司 Service method, service system and storage medium for enterprise content
CN112734181A (en) * 2020-12-30 2021-04-30 平安养老保险股份有限公司 Business information approval method and device, computer equipment and storage medium
CN113077241A (en) * 2021-04-21 2021-07-06 北京沃东天骏信息技术有限公司 Approval processing method, device, equipment and storage medium
CN113344527A (en) * 2021-06-04 2021-09-03 内蒙古自治区锡林郭勒盟中级人民法院 Method and platform for integrally managing and storing judicial advice information
CN113743887A (en) * 2021-08-19 2021-12-03 携程旅游网络技术(上海)有限公司 Method, system, electronic device and medium for dynamically acquiring approver

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070179790A1 (en) * 2002-06-28 2007-08-02 Matthew Leitch Dynamic workflow approvals
CN106779613A (en) * 2016-12-28 2017-05-31 北京奇鱼时代科技有限公司 A kind of method and apparatus for examining configuration
CN109165856A (en) * 2018-08-31 2019-01-08 平安科技(深圳)有限公司 Examine Dynamic Configuration, device and the storage medium of chain
CN109784738A (en) * 2019-01-22 2019-05-21 绍兴大明电力建设有限公司 The measures and procedures for the examination and approval and examination & approval device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070179790A1 (en) * 2002-06-28 2007-08-02 Matthew Leitch Dynamic workflow approvals
CN106779613A (en) * 2016-12-28 2017-05-31 北京奇鱼时代科技有限公司 A kind of method and apparatus for examining configuration
CN109165856A (en) * 2018-08-31 2019-01-08 平安科技(深圳)有限公司 Examine Dynamic Configuration, device and the storage medium of chain
CN109784738A (en) * 2019-01-22 2019-05-21 绍兴大明电力建设有限公司 The measures and procedures for the examination and approval and examination & approval device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488283B (en) * 2020-04-14 2023-06-16 拉扎斯网络科技(上海)有限公司 Task generation method and device, electronic equipment and storage medium
CN111488283A (en) * 2020-04-14 2020-08-04 拉扎斯网络科技(上海)有限公司 Task generation method and device, electronic equipment and storage medium
CN111639907A (en) * 2020-05-13 2020-09-08 广州国音智能科技有限公司 Process management method, device, equipment and computer storage medium
CN111598544A (en) * 2020-05-18 2020-08-28 北京海益同展信息科技有限公司 Method and apparatus for processing information
CN111598544B (en) * 2020-05-18 2023-11-03 京东科技信息技术有限公司 Method and device for processing information
CN111639918A (en) * 2020-06-04 2020-09-08 北京字节跳动网络技术有限公司 Approval method and device, electronic equipment and computer readable medium
CN112270529A (en) * 2020-10-29 2021-01-26 北京字跳网络技术有限公司 Method and device for examining and approving business form, electronic equipment and storage medium
CN112270529B (en) * 2020-10-29 2024-05-17 北京字跳网络技术有限公司 Approval method and device for business form, electronic equipment and storage medium
CN112465446A (en) * 2020-11-09 2021-03-09 深圳市和讯华谷信息技术有限公司 Work order data processing method and device, electronic equipment and storage medium
CN112561264A (en) * 2020-12-04 2021-03-26 中广核工程有限公司 Service method, service system and storage medium for enterprise content
CN112734181A (en) * 2020-12-30 2021-04-30 平安养老保险股份有限公司 Business information approval method and device, computer equipment and storage medium
CN113077241A (en) * 2021-04-21 2021-07-06 北京沃东天骏信息技术有限公司 Approval processing method, device, equipment and storage medium
CN113344527A (en) * 2021-06-04 2021-09-03 内蒙古自治区锡林郭勒盟中级人民法院 Method and platform for integrally managing and storing judicial advice information
CN113743887A (en) * 2021-08-19 2021-12-03 携程旅游网络技术(上海)有限公司 Method, system, electronic device and medium for dynamically acquiring approver

Similar Documents

Publication Publication Date Title
CN110852695A (en) Task approval method and device, server and storage medium
US10725827B2 (en) Artificial intelligence based virtual automated assistance
US10839404B2 (en) Intelligent, interactive, and self-learning robotic process automation system
US20190138961A1 (en) System and method for project management using artificial intelligence
EP3447662A1 (en) System architecture for interactive query processing
CN111966361B (en) Method, device, equipment and storage medium for determining model to be deployed
US11269938B2 (en) Database systems and methods for conversational database interaction
US11249751B2 (en) Methods and systems for automatically updating software functionality based on natural language input
US20220284286A1 (en) Method and apparatus for providing recommendations for completion of an engineering project
US20230153229A1 (en) Method of testing performance, electronic device, and computer-readable medium
CN114924862A (en) Task processing method, device and medium implemented by integer programming solver
CN114258035B (en) Communication method, device and system
CN116841506B (en) Program code generation method and device, and model training method and device
WO2021077834A1 (en) Dialogue system-based method for asking follow-up question in response to user question, and device
Uikey et al. Risk based scrum method: a conceptual framework
CN117235527A (en) End-to-end containerized big data model construction method, device, equipment and medium
US10964321B2 (en) Voice-enabled human tasks in process modeling
EP3834079A1 (en) Multi-question multi-answer configuration
CN112817560B (en) Computing task processing method, system and computer readable storage medium based on table function
Montevechi et al. Analysis of the applicability of the IDEF-SIM modeling technique to the stages of a discrete event simulation project
US20120084748A1 (en) System and a method for generating a domain-specific software solution
EP3912058A1 (en) Profile data store automation via bots
JP2020119409A5 (en) Programs, information processing systems and their control methods Equipment and program processing methods
US20220351058A1 (en) Executing a network of chatbots using a parallel bot approach
US20230036747A1 (en) Cloud infrastructure planning assistant via multi-agent ai

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200228