CN111882302A - Approval flow management component based on distributed architecture - Google Patents

Approval flow management component based on distributed architecture Download PDF

Info

Publication number
CN111882302A
CN111882302A CN202010770480.5A CN202010770480A CN111882302A CN 111882302 A CN111882302 A CN 111882302A CN 202010770480 A CN202010770480 A CN 202010770480A CN 111882302 A CN111882302 A CN 111882302A
Authority
CN
China
Prior art keywords
approval
examination
conference
link
module
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
CN202010770480.5A
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.)
Chaozhou Zhuoshu Big Data Industry Development Co Ltd
Original Assignee
Chaozhou Zhuoshu Big Data Industry Development 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 Chaozhou Zhuoshu Big Data Industry Development Co Ltd filed Critical Chaozhou Zhuoshu Big Data Industry Development Co Ltd
Priority to CN202010770480.5A priority Critical patent/CN111882302A/en
Publication of CN111882302A publication Critical patent/CN111882302A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

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

Abstract

The invention provides an approval flow management component based on a distributed architecture, which belongs to the technical field of platform management construction. The system can be adapted to each platform, and provides a perfect general solution for construction of approval process management.

Description

Approval flow management component based on distributed architecture
Technical Field
The invention relates to a platform management construction technology, in particular to an approval flow management component based on a distributed architecture.
Background
At present in various management platforms, the management function of the approval flow has become an inevitable essential module, and usually, a platform relates to the development requirements of a plurality of approval flow management, because most approval flows all have commonalities, if the independent function development is carried out aiming at each approval flow, the development progress of the platform is greatly delayed undoubtedly, and when the workload is increased, the completeness and the safety of the approval flow cannot be guaranteed, and the later-stage investigation and maintenance work is not facilitated.
Disclosure of Invention
In order to solve the technical problems, the invention provides an approval flow management component based on a distributed architecture; a general solution is provided for the development of the approval flow management function, and meanwhile, the distributed deployment based on the existing platform can be realized, and the maintenance and updating work is reduced.
The component is mainly applied to the construction process of various management platforms, provides a general solution for various approval stream management, and mainly comprises submission of approval applications, approval process management, transfer of approval authorities, approval passing and refusing, approval log management and mail reminding service.
The technical scheme of the invention is as follows:
an approval flow management component based on a distributed architecture adopts three databases of nginx + springBoot + Swagger + myBatis, adaptive oracle, mysql and postgres to construct an approval process management module, an approval submission module, an approval transfer module, an approval progress mail notification module and an operation log management module;
wherein the content of the first and second substances,
the approval process management module is mainly responsible for a self-defining module of the approval process, and realizes that a user defines the approval process by himself, namely defines the length of approval and the responsible persons of each approval link. Two approval modes of conference approval and streaming approval are mainly provided; providing a self-defined function of the approval processing page, namely providing a function of the approval processing page of the link specified by the user;
the approval submitting module is mainly responsible for submitting approval results, comprises two basic contents, and can promote an approval process according to the type of the current node after approval is submitted; the specific logic is that after the streaming approval is finished, the next stage of approval is automatically transferred, the conference approval needs to judge whether all the participants are approved and finished at present, the next approval link is transferred after the approval is finished, whether the next link is the conference approval is judged, and each participant needs to be informed of the conference approval at the same time;
the approval authority transfer module is mainly used for realizing the function of transferring approval authorities of an approver in an approval link and is initiated by a system administrator or a responsible person of the current node; the method is mainly used for smoothly carrying out the examination and approval link under the condition that personnel are not on duty temporarily, and meanwhile, the examination and approval process is not required to be modified;
the approval progress mail notification module is mainly responsible for sending a notification mail to an approver and a form submitter at the next level after approval of each link is finished;
and the operation log management module is used for recording the operation of each link of the approver participating in the approval and storing the record of the full life cycle of the form.
Further, in the above-mentioned case,
the invention realizes independent deployment under a distributed architecture based on a session sharing mechanism of nginx + redis.
The distributed deployment is adopted, single sign-on is realized through session cache based on redis, the operation of examination and approval records is realized through a mode of sharing a database (or a master database and a slave database), and the integration with a platform is realized.
Further, in the above-mentioned case,
the approval process, namely the function of the user-defined approval process, comprises an approval mode, namely 1) streaming approval and 2) conference approval;
1) flow approval: the examination and approval nodes are individuals, and the process automatically flows after the examination and approval are completed;
2) and (3) conference examination and approval: the method comprises the steps of dividing the conference examination and approval into a conference examination and approval person and an examination and approval summarizer, enabling the conference examination and approval person to conduct parallel examination and approval, and finally enabling the examination and approval summarizer to collect examination and approval results in a unified mode and promoting circulation of examination and approval links.
More than one person is arranged on the conference approver; the approval summarizer is a single person.
Each link self-defines an approver; and acquiring interfaces of employees under the unit according to the project rewriting.
Further, in the above-mentioned case,
the approval process page, i.e.
Aiming at different approval links, the component is internally provided with the function of configuring an approval page;
independently developing the approved pages, putting the pages into preset positions of projects, and configuring paths in a database; and then configuring a processing page corresponding to the link in the flow control.
Unified processing of approval results:
the component will write the results of the approval uniformly into an approval results table, based on which various other operations within the system can be built.
The invention completes the management of the approval full-flow state based on the application ID (applyId) as a main line.
Based on session sharing mechanism of nginx + redis, independent deployment under distributed architecture can be realized, multi-platform adaptation is achieved, and seamless docking with the existing platform can be achieved.
The springBoot frame is used as a main body, so that the light weight is realized, and jar package integration or engineering deployment can be realized.
And providing interface display and calling test by using the swagger plug-in.
The invention has the advantages that
The invention discloses a self-defined component for approval management and approval process, which reduces the problem of repeated construction of the system in the development process; the method provides various modes of source code integration, jar package integration and distributed integration, and can be better integrated with the original project; the integration process is more flexible by directly operating the database table and providing the rewriting of partial interfaces; the process control module is modularized, and further optimization and expansion of functions in the future are facilitated.
Drawings
Fig. 1 is a block diagram of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
The invention is a universal component developed on the basis of a distributed architecture aiming at the development requirements of the current approval stream management of a plurality of platforms. The system can be adapted to each platform, and provides a perfect general solution for construction of approval process management.
The component is mainly based on the idea of micro-service, and an approval flow management module is independent to form a general solution. The method aims to reduce the development strength of an approval flow management module in the platform development process, improve the code sharing performance and simultaneously ensure the completeness and the safety of an approval process.
The component is mainly applied to the construction process of various management platforms, provides a general solution for various approval stream management, and mainly comprises submission of approval applications, approval process management, transfer of approval authorities, approval passing and refusing, approval log management and mail reminding service.
An approval process management module:
the user-defined module mainly responsible for the approval process realizes that the user defines the approval process by himself, namely defines the length of approval and the responsible person of each approval link. Two approval modes of conference approval and streaming approval are mainly provided; and simultaneously, providing a self-defined function of the approval processing page, namely providing a function of the approval processing page for a user to specify the link (the page can be developed flexibly and an access path is specified).
An approval submission module:
the system is mainly responsible for submitting the approval results, comprises two basic contents (approval results and approval pages), and can promote the approval process according to the type of the current node (conference approval/streaming approval) after submission and approval. The specific logic is that after the streaming approval is finished, the next stage of approval is automatically transferred, the conference approval needs to judge whether all the participants are approved and finished at present, the next approval link is transferred after the approval is finished, whether the next link is the conference approval is judged, and each participant needs to be informed of the conference approval at the same time.
The approval right transfer module:
the function of transferring the examination and approval authority of the approver in the examination and approval link is mainly realized, and the function can be initiated by a system administrator or a responsible person of the current node. The method is mainly used for smoothly carrying out the examination and approval link under the condition that personnel are not on duty (for example, leave) temporarily, and meanwhile, the examination and approval process is not required to be modified.
An approval progress mail notification module:
the system is mainly responsible for sending a notification mail to an approver and a submitter of a form at the next level after the approval of each link is finished.
The operation log management module:
and recording the operation of each link of the approver participating in the approval, and storing the record of the full life cycle of the form. Can be used for tracing form history, counting the working efficiency of the approval participants and the like
The component and the whole project are deployed in a distributed mode, single sign-on is achieved through session caching based on redis, operation on examination and approval records is achieved through a mode of sharing a database (or a master database and a slave database), and integration with a platform is achieved.
1. Customizing an approval process:
the user defines the functions of the approval process, including approval mode (streaming approval, conference approval)
1) Flow approval: the approval nodes are individuals, and the flow automatically flows after the approval is finished
2) And (3) conference examination and approval: the method is divided into a conference approver (multiple persons) and an approval summarizer (single person), the conference approver is an artificial parallel approval, and finally the approval results are collected by the approval summarizer in a unified way and the circulation of the approval links is promoted.
2. Self-defining by an approver:
each link can define the approver
Interface for acquiring subordinate employees of unit according to project rewriting
3. Customizing an approval processing page:
aiming at the problem that different approval links may have larger difference, the component is internally provided with a function of configuring an approval page.
And independently developing the approved page, putting the page into a preset position of the project, and configuring a path in a database. The corresponding processing page for the link may then be configured in the flow control.
4. Unified processing of approval results:
the component will write the results of the approval uniformly into the approval results table, on which various other operations within the system can be built.
The invention has light weight and multi-platform adaptation
The method is developed by adopting a spring boot framework, is based on database and original function integration, has high operability and has good platform response. .
Adopts various integration modes
And a plurality of modes of source code integration, jar package integration and distributed integration are provided, and the method can be seamlessly integrated with the original platform.
Perfected approval process service
Basically covers all links of the approval process, including approval submission, approval authority transfer, approval process management, approval pass/reject, mail reminding service and the like.
The above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. An approval flow management component based on a distributed architecture,
adopting nginx + springBoot + Swagger + myBatis, adapting three databases of oracle, mysql and postgres, and constructing an examination and approval process management module, an examination and approval submission module, an examination and approval right transfer module, an examination and approval progress mail notification module and an operation log management module;
wherein the content of the first and second substances,
the approval process management module is mainly responsible for a self-defining module of the approval process, and realizes that a user defines the approval process by himself, namely defines the length of approval and the responsible persons of each approval link. Two approval modes of conference approval and streaming approval are mainly provided; providing a self-defined function of the approval processing page, namely providing a function of the approval processing page of the link specified by the user;
the approval submitting module is mainly responsible for submitting approval results, comprises two basic contents, and can promote an approval process according to the type of the current node after approval is submitted; the specific logic is that after the streaming approval is finished, the next stage of approval is automatically transferred, the conference approval needs to judge whether all the participants are approved and finished at present, the next approval link is transferred after the approval is finished, whether the next link is the conference approval is judged, and each participant needs to be informed of the conference approval at the same time;
the approval authority transfer module is mainly used for realizing the function of transferring approval authorities of an approver in an approval link and is initiated by a system administrator or a responsible person of the current node; the method is mainly used for smoothly carrying out the examination and approval link under the condition that personnel are not on duty temporarily, and meanwhile, the examination and approval process is not required to be modified;
the approval progress mail notification module is mainly responsible for sending a notification mail to an approver and a form submitter at the next level after approval of each link is finished;
and the operation log management module is used for recording the operation of each link of the approver participating in the approval and storing the record of the full life cycle of the form.
2. The management component of claim 1,
based on session sharing mechanism of nginx + redis, independent deployment under a distributed architecture is realized.
3. The management component of claim 2,
the distributed deployment is adopted, single sign-on is realized through session cache based on redis, the operation of examination and approval records is realized through a mode of sharing a database or a master database and a slave database, and the integration with a platform is realized.
4. The management component of claim 1,
the approval process, namely the function of the user-defined approval process, comprises an approval mode, namely 1) streaming approval and 2) conference approval;
1) flow approval: the examination and approval nodes are individuals, and the process automatically flows after the examination and approval are completed;
2) and (3) conference examination and approval: the method comprises the steps of dividing the conference examination and approval into a conference examination and approval person and an examination and approval summarizer, enabling the conference examination and approval person to conduct parallel examination and approval, and finally enabling the examination and approval summarizer to collect examination and approval results in a unified mode and promoting circulation of examination and approval links.
5. The management component of claim 4,
more than one person is arranged on the conference approver; the approval summarizer is a single person.
6. The management component of claim 4 or 5,
each link self-defines an approver; and acquiring interfaces of employees under the unit according to the project rewriting.
7. The management component of claim 1,
the approval process page, i.e.
Aiming at different approval links, the component is internally provided with the function of configuring an approval page;
independently developing the approved pages, putting the pages into preset positions of projects, and configuring paths in a database; and then configuring a processing page corresponding to the link in the flow control.
8. The management component of claim 5,
unified processing of approval results:
the component will write the results of the approval uniformly into an approval results table, based on which various other operations within the system can be built.
CN202010770480.5A 2020-08-04 2020-08-04 Approval flow management component based on distributed architecture Pending CN111882302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010770480.5A CN111882302A (en) 2020-08-04 2020-08-04 Approval flow management component based on distributed architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010770480.5A CN111882302A (en) 2020-08-04 2020-08-04 Approval flow management component based on distributed architecture

Publications (1)

Publication Number Publication Date
CN111882302A true CN111882302A (en) 2020-11-03

Family

ID=73210470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010770480.5A Pending CN111882302A (en) 2020-08-04 2020-08-04 Approval flow management component based on distributed architecture

Country Status (1)

Country Link
CN (1) CN111882302A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206388232U (en) * 2016-08-31 2017-08-08 武钢集团昆明钢铁股份有限公司 A kind of contract approval management system based on Row control
CN109615334A (en) * 2018-12-13 2019-04-12 重庆戴昂科技有限公司 Low code hardware and software platform approval process configures system
CN110633953A (en) * 2019-08-06 2019-12-31 平安科技(深圳)有限公司 Task approval process management method, device and system based on data security
US20200202301A1 (en) * 2017-05-16 2020-06-25 Chengdu Qianniucao Information Technology Co., Ltd. Method based on form fields for arranging examination and approval roles at workflow examination and approval nodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206388232U (en) * 2016-08-31 2017-08-08 武钢集团昆明钢铁股份有限公司 A kind of contract approval management system based on Row control
US20200202301A1 (en) * 2017-05-16 2020-06-25 Chengdu Qianniucao Information Technology Co., Ltd. Method based on form fields for arranging examination and approval roles at workflow examination and approval nodes
CN109615334A (en) * 2018-12-13 2019-04-12 重庆戴昂科技有限公司 Low code hardware and software platform approval process configures system
CN110633953A (en) * 2019-08-06 2019-12-31 平安科技(深圳)有限公司 Task approval process management method, device and system based on data security

Similar Documents

Publication Publication Date Title
CN106327152A (en) Integrated iteration software development process control system and method
US20060173785A1 (en) Interactive agenda for personal and groups activities and projects management
CN106201472A (en) The method for scheduling task of software development and device
CN107368369A (en) Distributed container management method and system
Westrup What's in information technology? Issues in deploying IS in organisations and developing countries
CN112153014B (en) Business operation system and business operation method based on digital middling station
CN111724046B (en) Electricity purchase management system
CN107993004A (en) A kind of power information processing system and method
Wang et al. Finding main causes of elevator accidents via multi-dimensional association rule in edge computing environment
CN101047609A (en) Working flow route control device
CN107454189A (en) The office automation system of function is arranged with intelligent meeting
CN110782225A (en) Workflow dynamic reconstruction method for parameter value influence flow branch
CN111144691A (en) Disaster recovery regulation and control management method and system thereof
CN111882302A (en) Approval flow management component based on distributed architecture
CN113988812A (en) Dynamic workflow implementation system and method for airworthiness approval
CN109409685A (en) Information O&M operation area management system
CN109711810B (en) Information grid resource collaborative service system taking event as center
CN109784872A (en) A kind of city Jie Zhen fining Comprehensive Dispatching Management System
CN114066660A (en) Insurance client resource development management system and management method
CN106874062A (en) A kind of virtual machine update method and device
CN104506336A (en) Method and device for saving Down port bandwidth in multicast/broadcast of interchanger chip
Graw et al. Process management in-the-many
Chen et al. Application of context-aware computing in manufacturing execution system
Zhang et al. Research on Complaint Operation Management System Based on digital Transformation
CN106327217A (en) Data high sea system and operating method thereof

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

Application publication date: 20201103

RJ01 Rejection of invention patent application after publication