CN113947257A - Method and system for realizing task delegation based on message - Google Patents
Method and system for realizing task delegation based on message Download PDFInfo
- Publication number
- CN113947257A CN113947257A CN202111275396.7A CN202111275396A CN113947257A CN 113947257 A CN113947257 A CN 113947257A CN 202111275396 A CN202111275396 A CN 202111275396A CN 113947257 A CN113947257 A CN 113947257A
- Authority
- CN
- China
- Prior art keywords
- delegated
- entrusted
- delegation
- workflow
- task
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000012790 confirmation Methods 0.000 claims 1
- 238000012545 processing Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 4
- 238000003860 storage Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005111 flow chemistry technique Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Educational Administration (AREA)
- Primary Health Care (AREA)
- Computational Linguistics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种基于消息实现任务委托的方法及系统,包括:选择需要委托的工作以及被委托人;查询委托给用户的所有工作流任务;通过工作流组件,将委托的任务编写为sql语句,执行sql语句;执行被委托的任务,当被委托的业务执行完毕后,使用工作台告知用户,该方法及系统能够加快业务及工作的流程处理速度。
The invention discloses a method and a system for implementing task delegation based on messages, including: selecting the work to be delegated and the delegated person; querying all workflow tasks delegated to users; and writing the delegated tasks as sql through workflow components statement, execute the sql statement; execute the entrusted task, when the entrusted business is completed, use the workbench to inform the user, the method and the system can speed up the process of business and work.
Description
Technical Field
The invention belongs to the field of application of the power industry, and relates to a method and a system for realizing task delegation based on messages.
Background
As the number and size of electric power system services has increased dramatically in recent years, the responsibilities and shoulder tasks that the department responsible person needs to perform have also increased substantially. Due to the particularity of the power system, the responsible person needs to go to the first line frequently to work, and on the other hand, the increase of the business is a challenge to the timeliness of the responsible person for processing the business. Therefore, a reasonable business and task entrusting mechanism and system need to be established, the existing work flow is optimized, and the business and work flow processing speed is increased.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method and a system for realizing task delegation based on messages, and the method and the system can accelerate the processing speed of business and work flow.
In order to achieve the above object, the method for implementing task delegation based on message according to the present invention comprises:
selecting work needing to be entrusted and an entrusted person;
querying all workflow tasks delegated to the user;
writing the entrusted task into an sql statement through a workflow component, and executing the sql statement;
and executing the entrusted task, and informing the user by using the workbench after the entrusted service is executed.
After all workflow tasks delegated to the user by the query, the method further comprises the following steps: and saving the entrusted related data in token information.
The sql statement is executed using the API.
The selection of the work requiring delegation and before the delegate further comprises: the workflow that needs to be delegated and the authority of the delegatee are confirmed.
The data related to the delegation comprises a delegation, a delegatee, whether the current delegation is valid, a start time, an end time, and a workflow code.
The invention discloses a system for realizing task delegation based on messages, which is characterized by comprising the following steps:
the confirming module is used for selecting the work needing to be entrusted and the entrusted person;
the query module is used for querying all workflow tasks entrusted to the user;
the first execution module is used for writing the entrusted task into an sql statement and executing the sql statement through the workflow component;
and the second execution module is used for executing the entrusted task and informing the user by using the workbench after the entrusted service is executed.
The system also comprises a storage module used for storing the entrusted related data in token information.
The sql statement is executed using the API.
Further comprising:
and the setting module is used for setting the workflow required to be entrusted and the authority of the entrusted person.
The data related to the delegation comprises a delegation, a delegatee, whether the current delegation is valid, a start time, an end time, and a workflow code.
The invention has the following beneficial effects:
the method and the system for realizing task delegation based on the message can delegate specific business to the delegatee during specific operation, the delegatee can execute the delegated business after authority verification and business process inquiry, and the delegatee can still inquire and execute during delegation validation, so that the existing business execution process is optimized to accelerate the process processing speed of the business and work, and the method and the system have the advantages of wider application range, convenience and simplicity in operation and strong practicability.
Drawings
FIG. 1 is a flow chart of the present invention;
fig. 2 is a flow chart of the authentication process.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments, and are not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
There is shown in the drawings a schematic block diagram of a disclosed embodiment in accordance with the invention. The figures are not drawn to scale, wherein certain details are exaggerated and possibly omitted for clarity of presentation. The shapes of various regions, layers and their relative sizes and positional relationships shown in the drawings are merely exemplary, and deviations may occur in practice due to manufacturing tolerances or technical limitations, and a person skilled in the art may additionally design regions/layers having different shapes, sizes, relative positions, according to actual needs.
Referring to fig. 1 and 2, the method for implementing task delegation based on messages according to the present invention includes the following steps:
1) on a main interface of a workbench, a client selects work needing to be requested and a client;
2) the system inquires a current user under a business module of the workflow and all workflow tasks entrusted to the current user, and stores entrusted related data in token information;
3) writing the entrusted task into a self-defined sql statement through a workflow component, and then executing the sql statement by using a native API (application programming interface);
4) the current user executes the own service and executes the entrusted service after the execution;
5) and after the execution of the entrusted business is finished, the current user is informed by using the workbench.
The specific process of the invention is as follows:
a) pending queries and transactions for a workflow
The user jumps to the workflow to-be-processed function at the personal workbench interface or the main interface reminding function, the system inquires all function menus with operation authority of the current user as the entrustable workflow, and then the function which can be entrusted by the user is determined. After the current user determines the workflow and the trusted person which need to be entrusted, a temporary role is created for the trusted person and corresponding authority is given to the trusted person, wherein the temporary role is deleted when the delegation is received, and the temporary role is identified by a delegation number as a unique identifier. The delegation number is a delegation record ID created at each delegation.
The system queries the current user under the service module of the workflow and all workflow tasks entrusted to the current user, and the entrusted relevant data is stored in the token, as shown in table 1:
TABLE 1
Serial number | Field information |
1 | Committee (code) |
2 | Quilt trustees (code) |
3 | Current State (whether delegation is valid) |
4 | Start time (Committee effective time, can be empty) |
5 | End time (Committee failure time, which may be empty) |
6 | Workflow coding (delegation for which workflow) |
And the workflow component analyzes the token information to be entrusted to the user and queries in a user-defined sql mode. After the query is completed, the current user executes the task to be handled of the workflow according to the normal flow, executes the entrusted workflow, handles the token information which needs to be entrusted to be handled, analyzes the entrusted token information of the user by the workflow component, executes the task by the native API in the identity of the entrustor, and adds the task execution information of the entrusted person in the remark of task execution.
b) Pending queries and transactions
After the business to-be-handled entrusts are generated, the entrusts are generated and simultaneously the business processing components are used for setting whether to inform the entrusters or not according to the business processing logic. After the task is generated, the user jumps to a specific service to-be-handled function at the personal workbench interface or the main interface reminding function, the system inquires about the current user and all service to-be-handled tasks entrusted to the current user under the specific service module, and the token information entrusted to be handled is shown in table 2:
TABLE 2
Serial number | Field information |
1 | Committee (code) |
2 | Quilt trustees (code) |
3 | Current State (whether delegation is valid) |
4 | Start time (Committee effective time, can be empty) |
5 | End time (Committee failure time, which may be empty) |
6 | Specific service coding (delegation for which to-do service) |
The 'entrusted service processing' module analyzes entrusted to-do token information of the user, and inquires information of an entrustor and information of an entrusted person by using an API (application programming interface).
The current user executes own service according to a normal flow, after the execution of the entrusted service to-be-handled is finished, the entrusted service to-be-handled is required to be accompanied with the entrusted token information, entrusted service processing analyzes the entrusted to-be-handled token information of the current user, and an to-be-handled task is executed by the identity of an entrusted person through an API.
After the entrusted task to be handled is completed, a workbench is required to be used for informing the current user; when notifications/tasks need to be generated to both the principal and the delegate, then the shutdown needs to be done simultaneously.
c) Authority verification
Since the token is used as a verification mode of the entrusted information, the validity verification of the token is related to whether the security performance of the system is guaranteed.
After the principal generates token information in the current workflow or business, the system verifies the validity of the token information through signature information of the principal, decodes the token information, judges whether a current user is the principal or not, and then judges whether the current delegation state is valid or not; judging whether the token information is in the validity period or not through a timestamp in the token information, and finally judging whether the current process is in a delegated list or not; and after the token information is verified, the token information corresponds to the main interface, and then the workflow or the business of the principal is executed.
The invention discloses a system for realizing task delegation based on messages, which is characterized by comprising the following steps:
the setting module is used for setting the workflow required to be entrusted and the authority of the entrusted person;
the confirming module is used for selecting the work needing to be entrusted and the entrusted person;
the query module is used for querying all workflow tasks entrusted to the user;
the storage module is used for storing the entrusted related data in token information;
the first execution module is used for writing the entrusted task into an sql statement and executing the sql statement through the workflow component;
and the second execution module is used for executing the entrusted task and informing the user by using the workbench after the entrusted service is executed.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111275396.7A CN113947257A (en) | 2021-10-29 | 2021-10-29 | Method and system for realizing task delegation based on message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111275396.7A CN113947257A (en) | 2021-10-29 | 2021-10-29 | Method and system for realizing task delegation based on message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113947257A true CN113947257A (en) | 2022-01-18 |
Family
ID=79337216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111275396.7A Pending CN113947257A (en) | 2021-10-29 | 2021-10-29 | Method and system for realizing task delegation based on message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113947257A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000669A (en) * | 2006-01-11 | 2007-07-18 | 株式会社理光 | Workflow management system |
JP2014049104A (en) * | 2012-09-04 | 2014-03-17 | Canon Marketing Japan Inc | Workflow system, control method for workflow system, and program |
CN111563273A (en) * | 2020-04-30 | 2020-08-21 | 中国银行股份有限公司 | Information verification method and related equipment |
CN112215615A (en) * | 2020-10-23 | 2021-01-12 | 和安科技创新有限公司 | Method and system for performing security authorization on service based on public and private keys |
-
2021
- 2021-10-29 CN CN202111275396.7A patent/CN113947257A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000669A (en) * | 2006-01-11 | 2007-07-18 | 株式会社理光 | Workflow management system |
JP2014049104A (en) * | 2012-09-04 | 2014-03-17 | Canon Marketing Japan Inc | Workflow system, control method for workflow system, and program |
CN111563273A (en) * | 2020-04-30 | 2020-08-21 | 中国银行股份有限公司 | Information verification method and related equipment |
CN112215615A (en) * | 2020-10-23 | 2021-01-12 | 和安科技创新有限公司 | Method and system for performing security authorization on service based on public and private keys |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10754323B2 (en) | Methods and systems for implementing distributed ledger manufacturing history | |
CN101038635B (en) | System for controlling flow process authority of task stream management system and implement method thereof | |
US20080126445A1 (en) | Method and system for reciprocal data backup | |
WO2014099826A1 (en) | Orchestrated interaction in access control evaluation | |
WO2020215687A1 (en) | Method and apparatus for monitoring data transmission, and computer device and storage medium | |
CN113902393A (en) | Workflow engine approval system-based implementation method and system | |
AU2020314384A1 (en) | Systems for use in binding internet of things devices with identities | |
TW201939332A (en) | Authentication method and apparatus | |
CN112395107A (en) | Tax control equipment control method and device, storage medium and electronic equipment | |
CN113947257A (en) | Method and system for realizing task delegation based on message | |
CN102510338B (en) | System, device and method for security certificate for multi-organization interconnection system | |
CN109034603A (en) | Service flow execution method, equipment and computer readable storage medium | |
WO2020063328A1 (en) | Activation method, apparatus and system for programmable logic controller | |
CN113158151B (en) | Identity authentication processing method and device | |
CN105740656A (en) | Data authority management method and device | |
CN110648417A (en) | Attendance reminding method, system, medium and attendance equipment | |
CN110574018A (en) | Managing asynchronous analytics operations based on communication exchanges | |
WO2021136075A1 (en) | Product license management method and system | |
CN115187199A (en) | Device and method for issuing electronic drawings by using drawing information related to bill of materials | |
CN113886808B (en) | Operation approval method and device, communication server and user terminal | |
CN104766243A (en) | Collaborative manufacturing mold service system | |
CN114154142A (en) | Unified identity authentication system | |
CN113282457B (en) | Method, device and medium for maintaining heterogeneous system integration interface information | |
CN109783470B (en) | Owner tracking device, method and storage medium of database subsystem | |
CN115438078A (en) | Business work order processing method, server and storage medium |
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 |