CN114942749A - Development method, device and equipment of approval system and storage medium - Google Patents

Development method, device and equipment of approval system and storage medium Download PDF

Info

Publication number
CN114942749A
CN114942749A CN202210380339.3A CN202210380339A CN114942749A CN 114942749 A CN114942749 A CN 114942749A CN 202210380339 A CN202210380339 A CN 202210380339A CN 114942749 A CN114942749 A CN 114942749A
Authority
CN
China
Prior art keywords
approval
information
node
development
newly added
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
CN202210380339.3A
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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202210380339.3A priority Critical patent/CN114942749A/en
Publication of CN114942749A publication Critical patent/CN114942749A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to development and provides a development method, a development device, development equipment and a storage medium of an approval system. The method comprises the steps of receiving an approval system development request, and obtaining newly increased approval process information of an approval system from a process creation form according to the approval system development request; screening out process definition information based on the newly added approval process information and the approval system; generating an initial approval node list of the approval system according to the process definition information; updating the initial approval node list according to the newly added approval process information to obtain a target approval node list; acquiring initial development information associated with the process definition information; and generating target development information according to the target approval node list and the initial development information, thereby improving the development efficiency. Furthermore, the invention also relates to a block chain technology, and the target development information can be stored in the block chain.

Description

Development method, device and equipment of approval system and storage medium
Technical Field
The invention relates to the technical field of development, in particular to a development method, a development device, development equipment and a storage medium of an approval system.
Background
In the existing automatic approval system, when a new approval process is created, a developer is generally required to rewrite code information according to the new approval process, however, the development time of the developer is consumed by repeated code development, so that the development efficiency of the process approval system is low.
Disclosure of Invention
In view of the above, it is desirable to provide an approval system development method, apparatus, device and storage medium, which can improve the development efficiency of an approval system.
On one hand, the invention provides an approval system development method, which comprises the following steps:
receiving an approval system development request, and acquiring newly added approval process information of an approval system from a process creation form according to the approval system development request;
screening out process definition information based on the newly added approval process information and the approval system;
generating an initial approval node list of the approval system according to the process definition information;
updating the initial approval node list according to the newly added approval process information to obtain a target approval node list;
acquiring initial development information associated with the process definition information;
and generating target development information according to the target approval node list and the initial development information.
According to the preferred embodiment of the present invention, the acquiring information of the newly added approval process of the approval system from the process creation form according to the approval system development request includes:
analyzing the message of the development request of the approval system to obtain the data information carried by the message;
extracting an interface identifier of a form creating interface and a platform identifier of the approval system from the data information;
positioning the process creation form according to the receiving time of the approval system development request, the interface identifier and the platform identifier;
and acquiring the newly added approval process information from the process creation form based on a preset label.
According to the preferred embodiment of the present invention, the process definition information screened based on the newly added approval process information and the approval system includes:
acquiring all historical process information from the approval system;
coding the newly increased approval process information based on a preset node coding table to obtain first coding information, and coding each historical process information based on the preset node coding table to obtain a plurality of second coding information;
calculating the similarity of each second coding information and the first coding information;
and determining the historical process information corresponding to the second encoding information with the maximum similarity as the process definition information.
According to a preferred embodiment of the present invention, the generating an initial approval node list of the approval system according to the process definition information includes:
extracting a plurality of approval nodes and node description information of each approval node from the process definition information;
identifying the node relation of the plurality of approval nodes in the process definition information based on a preset vocabulary;
creating a node structure diagram according to the node relation and the plurality of approval nodes;
and writing the node description information into the node structure chart to obtain the initial approval node list.
According to the preferred embodiment of the present invention, the updating the initial approval node list according to the newly added approval process information to obtain the target approval node list includes:
comparing the newly added approval process information with the process definition information;
if a newly added node exists in the newly added approval process information, identifying a dependent node depending on the newly added node based on the newly added approval process information, identifying the dependent relationship between the newly added node and the dependent node, acquiring newly added description information of the newly added node from the newly added approval process information, writing the newly added node and the newly added description information into the initial approval node list according to the dependent node, and identifying the newly added node and the newly added description information based on a preset newly added identifier to obtain the target approval node list; and/or
If the deleted node exists in the newly added approval process information, identifying the deleted node in the initial approval node list based on a preset deletion identifier to obtain the target approval node list; and/or
If the newly added approval process information contains change information, the initial information corresponding to the change information in the initial approval node list is positioned, the initial information is updated based on the change information, the change information is identified based on a preset update identification, and the target approval node list is obtained, wherein the change information comprises one or more combinations: change nodes, change relationships, change description information.
According to a preferred embodiment of the present invention, the generating target development information according to the target approval node list and the initial development information includes:
identifying identification information of the target approval node list, and identifying list information corresponding to the identification information in the target approval node list;
acquiring an operation template statement corresponding to the identification information;
writing the list information into the operation template statement to obtain an execution statement;
and running the execution statement based on the initial development information to obtain the target development information.
According to the preferred embodiment of the present invention, the development method of the approval system further comprises:
if the initial development information does not exist, generating alarm information according to the process identification of the process definition information;
identifying a requesting user of the approval system development request;
and sending the alarm information to the terminal equipment corresponding to the requesting user.
On the other hand, the invention also provides an approval system development device, which comprises:
the acquisition unit is used for receiving an approval system development request and acquiring newly-added approval process information of an approval system from a process creation form according to the approval system development request;
the screening unit is used for screening out process definition information based on the newly increased approval process information and the approval system;
the generating unit is used for generating an initial approval node list of the approval system according to the process definition information;
the updating unit is used for updating the initial approval node list according to the newly-added approval process information to obtain a target approval node list;
the acquiring unit is further configured to acquire initial development information associated with the process definition information;
and the generating unit is also used for generating target development information according to the target approval node list and the initial development information.
In another aspect, the present invention further provides an electronic device, including:
a memory storing computer readable instructions; and
a processor executing computer readable instructions stored in the memory to implement the approval system development method.
In another aspect, the present invention further provides a computer-readable storage medium, in which computer-readable instructions are stored, and the computer-readable instructions are executed by a processor in an electronic device to implement the approval system development method.
It can be seen from the above technical solutions that, in the present invention, appropriate process definition information is screened out by the newly added approval process information and the approval system, so that a large update of the initial approval node list and the initial development information can be avoided, the generation efficiency of the target development information is improved, the initial approval node list is updated by the newly added approval process information, and the target development information is generated by using the updated target approval node list and the initial development information, since the target approval node list includes a correspondence between the original approval node and the changed approval node, the target development information can be quickly generated by the target approval node list, and thus the development efficiency of the approval system can be improved, and in addition, since the initial development information does not need to be rewritten, therefore, the development efficiency of the approval system can be further improved.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the approval system development method of the present invention.
Fig. 2 is a schematic diagram of a node structure diagram in the present invention.
FIG. 3 is a functional block diagram of the preferred embodiment of the approval system development device of the present invention.
FIG. 4 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the approval system development method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of the development method of the approval system of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
The examination and approval system development method can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The approval system development method is applied to one or more electronic devices, where the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to computer readable instructions set or stored in advance, and the hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device may be any electronic product capable of performing human-computer interaction with a user, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive Internet Protocol Television (IPTV), a smart wearable device, and the like.
The electronic device may include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network electronic device, an electronic device group consisting of a plurality of network electronic devices, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of hosts or network electronic devices.
The network in which the electronic device is located includes, but is not limited to: the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
And S10, receiving the development request of the approval system, and acquiring the newly added approval process information of the approval system from the process creation form according to the development request of the approval system.
In at least one embodiment of the present invention, the approval system development request may be generated by a development user through triggering after filling the form in the process creation form and submitting the form.
The flow creation form refers to a form corresponding to a flow creation event.
The approval system is a platform capable of auditing forms such as attendance forms and the like which need to be audited.
The newly added approval process information refers to function information corresponding to a process which needs to be developed on the approval system.
In at least one embodiment of the present invention, the obtaining, by the electronic device, new approval process information of the approval system from the process creation form according to the approval system development request includes:
analyzing the message of the development request of the approval system to obtain the data information carried by the message;
extracting an interface identifier of a form creating interface and a platform identifier of the approval system from the data information;
positioning the process creation form according to the receiving time of the approval system development request, the interface identifier and the platform identifier;
and acquiring the newly added approval process information from the process creation form based on a preset label.
The form creation interface refers to a generation interface of the process creation form, and the interface identifier is used for indicating the form creation interface.
The platform identification is used for indicating the approval system.
The receiving time refers to the time when the electronic equipment receives the development request of the approval system.
The preset labels comprise labels corresponding to the examination and approval nodes and labels corresponding to the node description information.
The process creation form can be accurately positioned through the receiving time, the interface identification and the platform identification, and the newly added approval process information can be comprehensively and accurately obtained through the preset label information.
Specifically, the step of positioning, by the electronic device, the process creation form according to the receiving time of the approval system development request, the interface identifier, and the platform identifier includes:
acquiring target log information corresponding to the receiving time, the interface identifier and the platform identifier at the same time from a preset log library;
and acquiring information corresponding to the form label from the target log information as the flow creation form.
Wherein the form label is used to indicate a form.
And S11, screening out process definition information based on the newly added approval process information and the approval system.
In at least one embodiment of the present invention, the process definition information refers to historical process information that is closest to the newly added approval process information in the approval system. The historical process information refers to process information corresponding to an approval function which is developed in the approval system.
In at least one embodiment of the present invention, the screening process definition information by the electronic device based on the newly added approval process information and the approval system includes:
acquiring all historical process information from the approval system;
coding the newly-added approval process information based on a preset node coding table to obtain first coding information, and coding each historical process information based on the preset node coding table to obtain a plurality of second coding information;
calculating the similarity of each second coding information and the first coding information;
and determining the historical process information corresponding to the second encoding information with the maximum similarity as the process definition information.
The preset node coding table comprises mapping relations between all nodes and coding information and mapping relations between node description information and the coding information.
The newly added approval process information and each historical process information are coded through the same preset node coding table, and the newly added approval process information and each historical process information can be quantized from the same dimension, so that the screening accuracy of the process definition information is improved.
And S12, generating an initial approval node list of the approval system according to the process definition information.
In at least one embodiment of the present invention, the initial approval node list includes node relationships of a plurality of approval nodes in the process definition information, and the initial approval node list further includes node description information of each node description information. The node relation comprises a node parallel relation, a node serial relation and the like.
In at least one embodiment of the present invention, the generating, by the electronic device, an initial approval node list of the approval system according to the process definition information includes:
extracting a plurality of approval nodes and node description information of each approval node from the process definition information;
identifying the node relation of the plurality of examination and approval nodes in the process definition information based on a preset vocabulary;
creating a node structure chart according to the node relation and the plurality of examination and approval nodes;
and writing the node description information into the node structure chart to obtain the initial approval node list.
The preset vocabulary comprises vocabularies corresponding to the node parallel relation, such as simultaneous execution and the like. The preset vocabulary also comprises vocabularies corresponding to the serial relation of the nodes, such as sequential execution and the like.
The node structure chart comprises the plurality of approval nodes and the node relation.
For example, the multiple approval nodes include an approval node a, an approval node B, and an approval node C, the node relationship between the approval node a and the approval node B is a node serial relationship, the node relationship between the approval node B and the approval node C is a node parallel relationship, and the node structure diagram is constructed according to the node serial relationship, the node parallel relationship, and the approval node a, the approval node B, and the approval node C, which is specifically referred to fig. 2.
Through predetermine the discernment that the vocabulary can be accurate the node relation to can be accurate establish the node structure picture, and then write in the node structure picture node description information improves the visuality of initial approval node list.
And S13, updating the initial approval node list according to the newly added approval process information to obtain a target approval node list.
In at least one embodiment of the present invention, the target approval node list refers to a list corresponding to the newly added approval process information, and the target approval node list includes a plurality of nodes in the newly added approval process information, a node relationship among the plurality of nodes, and node description information of each node.
In at least one embodiment of the present invention, the updating, by the electronic device, the initial approval node list according to the newly added approval process information to obtain a target approval node list includes:
comparing the newly added approval process information with the process definition information;
if a newly added node exists in the newly added approval process information, identifying a dependent node dependent on the newly added node based on the newly added approval process information, identifying the dependency relationship between the newly added node and the dependent node, acquiring newly added description information of the newly added node from the newly added approval process information, writing the newly added node and the newly added description information into the initial approval node list according to the dependent node, and identifying the newly added node and the newly added description information based on a preset newly added identifier to obtain the target approval node list; and/or
If the deleted node exists in the newly added approval process information, identifying the deleted node in the initial approval node list based on a preset deletion identifier to obtain the target approval node list; and/or
If the newly added examination and approval process information contains change information, locating initial information corresponding to the change information in the initial examination and approval node list, updating the initial information based on the change information, and identifying the change information based on a preset updating identification to obtain the target examination and approval node list, wherein the change information comprises one or more combinations: change nodes, change relationships, change description information.
The dependent node is a node having a node serial relationship or a node parallel relationship with the newly added node.
The dependency relationship comprises a node serial relationship or a node parallel relationship.
The preset adding mark, the preset deleting mark and the preset updating mark can be different color marks. For example, the preset addition identifier may be a blue identifier, the preset deletion identifier may be a red identifier, and the preset update identifier may be a yellow identifier.
The related information is identified through different identifications, so that the intuitiveness of the target approval node list can be improved, and the reading efficiency of the target approval node list is improved.
And S14, acquiring the initial development information associated with the flow definition information.
In at least one embodiment of the present invention, the initial development information refers to code information capable of implementing the process definition information. The initial development information may be obtained from a code library.
And S15, generating target development information according to the target approval node list and the initial development information.
In at least one embodiment of the present invention, the target development information refers to code information capable of implementing the newly added approval process information.
It is emphasized that, in order to further ensure the privacy and security of the development target information, the development target information may also be stored in a node of a block chain.
In at least one embodiment of the present invention, the generating, by the electronic device, target development information according to the target approval node list and the initial development information includes:
identifying identification information of the target approval node list, and identifying list information corresponding to the identification information in the target approval node list;
acquiring an operation template statement corresponding to the identification information;
writing the list information into the operation template statement to obtain an execution statement;
and running the execution statement based on the initial development information to obtain the target development information.
Wherein the identification information may include, but is not limited to: the preset adding identification, the preset deleting identification, the preset updating identification and the like.
The operation template sentence can be accurately obtained through the identification information, and then the list information can be accurately executed and operated by utilizing the operation template sentence, so that the accuracy of the target development information is improved.
In at least one embodiment of the present invention, the approval system development method further includes:
if the initial development information does not exist, generating alarm information according to the process identification of the process definition information;
identifying a requesting user of the approval system development request;
and sending the alarm information to the terminal equipment corresponding to the requesting user.
Wherein the flow identifier is used for indicating the flow definition information.
The requesting user refers to a triggering user of the development request of the approval system.
Through the implementation mode, the alarm information can be timely sent to the corresponding request user, and the sending rationality of the alarm information is improved.
It can be seen from the above technical solutions that, the present invention screens out appropriate process definition information through the newly added approval process information and the approval system, thereby being capable of avoiding a large update of the initial approval node list and the initial development information, improving the generation efficiency of the target development information, further updating the initial approval node list through the newly added approval process information, and generating the target development information by using the updated target approval node list and the initial development information, since the target approval node list includes a correspondence between an original approval node and a changed approval node, the target development information can be rapidly generated through the target approval node list, thereby improving the development efficiency of the approval system, in addition, since the initial development information does not need to be rewritten, therefore, the development efficiency of the approval system can be further improved.
Fig. 3 is a functional block diagram of the preferred embodiment of the development device of the approval system of the present invention. The approval system development device 11 includes an acquisition unit 110, a screening unit 111, a generation unit 112, an update unit 113, a recognition unit 114, and a transmission unit 115. The module/unit referred to herein is a series of computer readable instruction segments that can be accessed by the processor 13 and perform a fixed function and that are stored in the memory 12. In the present embodiment, the functions of the modules/units will be described in detail in the following embodiments.
The obtaining unit 110 receives an approval system development request, and obtains new approval process information of an approval system from a process creation form according to the approval system development request.
In at least one embodiment of the present invention, the approval system development request may be generated by a development user through triggering after filling the form in the process creation form and submitting the form.
The flow creation form refers to a form corresponding to a flow creation event.
The approval system is a platform capable of auditing forms such as attendance forms and the like which need to be audited.
The newly added examination and approval process information refers to function information corresponding to a process which needs to be developed on the examination and approval system.
In at least one embodiment of the present invention, the obtaining unit 110, according to the approval system development request, obtains new approval process information of the approval system from the process creation form, where the new approval process information includes:
analyzing the message of the development request of the approval system to obtain the data information carried by the message;
extracting an interface identifier of a form creating interface and a platform identifier of the approval system from the data information;
positioning the process creation form according to the receiving time of the approval system development request, the interface identifier and the platform identifier;
and acquiring the newly added approval process information from the process creation form based on a preset label.
The form creation interface refers to a generation interface of the process creation form, and the interface identifier is used for indicating the form creation interface.
The platform identification is used for indicating the approval system.
The receiving time refers to the time when the electronic equipment receives the development request of the approval system.
The preset labels comprise labels corresponding to the examination and approval nodes and labels corresponding to the node description information.
The process creation form can be accurately positioned through the receiving time, the interface identification and the platform identification, and the newly added approval process information can be comprehensively and accurately obtained through the preset label information.
Specifically, the step of positioning the process creation form by the obtaining unit 110 according to the receiving time of the approval system development request, the interface identifier, and the platform identifier includes:
acquiring target log information corresponding to the receiving time, the interface identifier and the platform identifier at the same time from a preset log library;
and acquiring information corresponding to the form label from the target log information as the flow creation form.
Wherein the form label is used to indicate a form.
The screening unit 111 screens out the process definition information based on the newly added approval process information and the approval system.
In at least one embodiment of the present invention, the process definition information refers to historical process information in the approval system that is closest to the newly added approval process information. The historical process information refers to process information corresponding to an approval function which is developed in the approval system.
In at least one embodiment of the present invention, the screening unit 111 screens the process definition information based on the newly added approval process information and the approval system includes:
acquiring all historical process information from the approval system;
coding the newly-added approval process information based on a preset node coding table to obtain first coding information, and coding each historical process information based on the preset node coding table to obtain a plurality of second coding information;
calculating the similarity of each second coding information and the first coding information;
and determining the historical process information corresponding to the second encoding information with the maximum similarity as the process definition information.
The preset node coding table comprises mapping relations between all nodes and coding information and mapping relations between node description information and the coding information.
And coding the newly-added examination and approval process information and each historical process information through the same preset node coding table, and quantizing the newly-added examination and approval process information and each historical process information from the same dimensionality, so that the screening accuracy of the process definition information is improved.
The generating unit 112 generates an initial approval node list of the approval system according to the process definition information.
In at least one embodiment of the present invention, the initial approval node list includes node relationships of a plurality of approval nodes in the process definition information, and the initial approval node list further includes node description information of each node description information. The node relation comprises a node parallel relation, a node serial relation and the like.
In at least one embodiment of the present invention, the generating unit 112 generates an initial approval node list of the approval system according to the process definition information, including:
extracting a plurality of approval nodes and node description information of each approval node from the process definition information;
identifying the node relation of the plurality of approval nodes in the process definition information based on a preset vocabulary;
creating a node structure diagram according to the node relation and the plurality of approval nodes;
and writing the node description information into the node structure chart to obtain the initial approval node list.
The preset vocabulary comprises vocabularies corresponding to the node parallel relation, such as simultaneous execution and the like. The preset vocabulary also comprises vocabularies corresponding to the serial relation of the nodes, such as sequential execution and the like.
The node structure chart comprises the plurality of approval nodes and the node relation.
For example, the multiple approval nodes include an approval node a, an approval node B, and an approval node C, the node relationship between the approval node a and the approval node B is a node serial relationship, the node relationship between the approval node B and the approval node C is a node parallel relationship, and the node structure diagram is constructed according to the node serial relationship, the node parallel relationship, and the approval node a, the approval node B, and the approval node C, specifically referring to fig. 2.
Through predetermine the discernment that the vocabulary can be accurate the node relation to can be accurate establish the node structure picture, and then write in the node structure picture node description information improves the visuality of initial approval node list.
The updating unit 113 updates the initial approval node list according to the new approval process information to obtain a target approval node list.
In at least one embodiment of the present invention, the target approval node list refers to a list corresponding to the newly added approval process information, and the target approval node list includes a plurality of nodes in the newly added approval process information, a node relationship among the plurality of nodes, and node description information of each node.
In at least one embodiment of the present invention, the updating unit 113 updates the initial approval node list according to the newly added approval process information, and obtaining a target approval node list includes:
comparing the newly added approval process information with the process definition information;
if a newly added node exists in the newly added approval process information, identifying a dependent node depending on the newly added node based on the newly added approval process information, identifying the dependent relationship between the newly added node and the dependent node, acquiring newly added description information of the newly added node from the newly added approval process information, writing the newly added node and the newly added description information into the initial approval node list according to the dependent node, and identifying the newly added node and the newly added description information based on a preset newly added identifier to obtain the target approval node list; and/or
If the deleted node exists in the newly added approval process information, identifying the deleted node in the initial approval node list based on a preset deletion identifier to obtain the target approval node list; and/or
If the newly added examination and approval process information contains change information, locating initial information corresponding to the change information in the initial examination and approval node list, updating the initial information based on the change information, and identifying the change information based on a preset updating identification to obtain the target examination and approval node list, wherein the change information comprises one or more combinations: change nodes, change relationships, change description information.
The dependent node is a node having a node serial relationship or a node parallel relationship with the newly added node.
The dependency relationship comprises a node serial relationship or a node parallel relationship.
The preset adding mark, the preset deleting mark and the preset updating mark can be different color marks. For example, the preset addition identifier may be a blue identifier, the preset deletion identifier may be a red identifier, and the preset update identifier may be a yellow identifier.
The related information is identified through different identifications, so that the intuitiveness of the target approval node list can be improved, and the reading efficiency of the target approval node list is improved.
The acquisition unit 110 acquires initial development information associated with the flow definition information.
In at least one embodiment of the present invention, the initial development information refers to code information that can implement the process definition information. The initial development information may be obtained from a code library.
The generating unit 112 generates target development information according to the target approval node list and the initial development information.
In at least one embodiment of the present invention, the target development information refers to code information capable of implementing the newly added approval process information.
It is emphasized that, in order to further ensure the privacy and security of the target development information, the target development information may also be stored in a node of a block chain.
In at least one embodiment of the present invention, the generating unit 112 generates target development information according to the target approval node list and the initial development information, including:
identifying identification information of the target approval node list, and identifying list information corresponding to the identification information in the target approval node list;
acquiring an operation template statement corresponding to the identification information;
writing the list information into the operation template statement to obtain an execution statement;
and running the execution statement based on the initial development information to obtain the target development information.
Wherein the identification information may include, but is not limited to: the preset adding identification, the preset deleting identification, the preset updating identification and the like.
The operation template sentence can be accurately obtained through the identification information, and then the list information can be accurately executed and operated by utilizing the operation template sentence, so that the accuracy of the target development information is improved.
In at least one embodiment of the present invention, if the initial development information does not exist, the generating unit 112 generates alarm information according to a process identifier of the process definition information;
the identification unit 114 identifies a requesting user of the approval system development request;
the sending unit 115 sends the warning information to the terminal device corresponding to the requesting user.
Wherein the flow identifier is used for indicating the flow definition information.
The requesting user refers to a triggering user of the development request of the approval system.
Through the implementation mode, the alarm information can be timely sent to the corresponding request user, and the sending rationality of the alarm information is improved.
It can be seen from the above technical solutions that, in the present invention, appropriate process definition information is screened out by the newly added approval process information and the approval system, so that a large update of the initial approval node list and the initial development information can be avoided, the generation efficiency of the target development information is improved, the initial approval node list is updated by the newly added approval process information, and the target development information is generated by using the updated target approval node list and the initial development information, since the target approval node list includes a correspondence between the original approval node and the changed approval node, the target development information can be quickly generated by the target approval node list, and thus the development efficiency of the approval system can be improved, and in addition, since the initial development information does not need to be rewritten, therefore, the development efficiency of the approval system can be further improved.
Fig. 4 is a schematic structural diagram of an electronic device according to a preferred embodiment of the invention for implementing an approval system development method.
In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer readable instructions, such as an approval system development program, stored in the memory 12 and executable on the processor 13.
It will be appreciated by a person skilled in the art that the schematic diagram is only an example of the electronic device 1 and does not constitute a limitation of the electronic device 1, and that it may comprise more or less components than shown, or some components may be combined, or different components, e.g. the electronic device 1 may further comprise an input output device, a network access device, a bus, etc.
The Processor 13 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The processor 13 is an operation core and a control center of the electronic device 1, and is connected with various parts of the whole electronic device 1 by various interfaces and lines, and executes an operating system of the electronic device 1 and various installed application programs, program codes and the like.
Illustratively, the computer readable instructions may be partitioned into one or more modules/units, which are stored in the memory 12 and executed by the processor 13 to implement the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing certain functions, which are used for describing the execution process of the computer readable instructions in the electronic device 1. For example, the computer readable instructions may be divided into an acquisition unit 110, a filtering unit 111, a generation unit 112, an update unit 113, a recognition unit 114, and a transmission unit 115.
The memory 12 may be used for storing the computer readable instructions and/or modules, and the processor 13 implements various functions of the electronic device 1 by executing or executing the computer readable instructions and/or modules stored in the memory 12 and invoking data stored in the memory 12. The memory 12 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. The memory 12 may include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other storage device.
The memory 12 may be an external memory and/or an internal memory of the electronic device 1. Further, the memory 12 may be a memory having a physical form, such as a memory stick, a TF Card (Trans-flash Card), or the like.
The integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by hardware that is configured to be instructed by computer readable instructions, which may be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the method embodiments may be implemented.
Wherein the computer readable instructions comprise computer readable instruction code which may be in source code form, object code form, an executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying said computer readable instruction code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM).
The block chain is a novel application mode of computer technologies such as distributed approval system development, point-to-point transmission, consensus mechanism, encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
With reference to fig. 1, the memory 12 in the electronic device 1 stores computer-readable instructions to implement an approval system development method, and the processor 13 can execute the computer-readable instructions to implement:
receiving an approval system development request, and acquiring newly added approval process information of an approval system from a process creation form according to the approval system development request;
screening out process definition information based on the newly added approval process information and the approval system;
generating an initial approval node list of the approval system according to the process definition information;
updating the initial approval node list according to the newly added approval process information to obtain a target approval node list;
acquiring initial development information associated with the process definition information;
and generating target development information according to the target approval node list and the initial development information.
Specifically, the processor 13 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the computer readable instructions, which is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The computer readable storage medium has computer readable instructions stored thereon, wherein the computer readable instructions when executed by the processor 13 are configured to implement the steps of:
receiving an approval system development request, and acquiring newly added approval process information of an approval system from a process creation form according to the approval system development request;
screening out process definition information based on the newly added approval process information and the approval system;
generating an initial approval node list of the approval system according to the process definition information;
updating the initial approval node list according to the newly added approval process information to obtain a target approval node list;
acquiring initial development information associated with the process definition information;
and generating target development information according to the target approval node list and the initial development information.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it will be obvious that the term "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices may also be implemented by one unit or device through software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the same, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. An approval system development method, characterized by comprising:
receiving an approval system development request, and acquiring newly added approval process information of an approval system from a process creation form according to the approval system development request;
screening out process definition information based on the newly added approval process information and the approval system;
generating an initial approval node list of the approval system according to the process definition information;
updating the initial approval node list according to the newly added approval process information to obtain a target approval node list;
acquiring initial development information associated with the process definition information;
and generating target development information according to the target approval node list and the initial development information.
2. The approval system development method of claim 1, wherein the obtaining of the newly added approval process information of the approval system from the process creation form according to the approval system development request comprises:
analyzing the message of the development request of the approval system to obtain the data information carried by the message;
extracting an interface identifier of a form creating interface and a platform identifier of the approval system from the data information;
positioning the process creation form according to the receiving time of the examination and approval system development request, the interface identification and the platform identification;
and acquiring the newly added approval process information from the process creation form based on a preset label.
3. The approval system development method of claim 1, wherein the screening out process definition information based on the newly added approval process information and the approval system comprises:
acquiring all historical process information from the approval system;
coding the newly-added approval process information based on a preset node coding table to obtain first coding information, and coding each historical process information based on the preset node coding table to obtain a plurality of second coding information;
calculating the similarity of each second encoding information and the first encoding information;
and determining the historical process information corresponding to the second encoding information with the maximum similarity as the process definition information.
4. The approval system development method of claim 1, wherein the generating of the initial approval node list of the approval system according to the process definition information comprises:
extracting a plurality of approval nodes and node description information of each approval node from the process definition information;
identifying the node relation of the plurality of approval nodes in the process definition information based on a preset vocabulary;
creating a node structure diagram according to the node relation and the plurality of approval nodes;
and writing the node description information into the node structure chart to obtain the initial approval node list.
5. The development method of an approval system of claim 1, wherein the updating the initial approval node list according to the newly added approval process information to obtain a target approval node list comprises:
comparing the newly added approval process information with the process definition information;
if a newly added node exists in the newly added approval process information, identifying a dependent node depending on the newly added node based on the newly added approval process information, identifying the dependent relationship between the newly added node and the dependent node, acquiring newly added description information of the newly added node from the newly added approval process information, writing the newly added node and the newly added description information into the initial approval node list according to the dependent node, and identifying the newly added node and the newly added description information based on a preset newly added identifier to obtain the target approval node list; and/or
If the deleted node exists in the newly added approval process information, identifying the deleted node in the initial approval node list based on a preset deletion identifier to obtain the target approval node list; and/or
If the newly added examination and approval process information contains change information, locating initial information corresponding to the change information in the initial examination and approval node list, updating the initial information based on the change information, and identifying the change information based on a preset updating identification to obtain the target examination and approval node list, wherein the change information comprises one or more combinations: change nodes, change relationships, change description information.
6. The approval system development method of claim 1, wherein the generating target development information according to the target approval node list and the initial development information comprises:
identifying identification information of the target approval node list, and identifying list information corresponding to the identification information in the target approval node list;
acquiring an operation template statement corresponding to the identification information;
writing the list information into the operation template statement to obtain an execution statement;
and running the execution statement based on the initial development information to obtain the target development information.
7. The approval system development method of claim 1, wherein the approval system development method further comprises:
if the initial development information does not exist, generating alarm information according to the process identification of the process definition information;
identifying a requesting user of the approval system development request;
and sending the alarm information to the terminal equipment corresponding to the requesting user.
8. An approval system development device, comprising:
the acquisition unit is used for receiving an approval system development request and acquiring newly-added approval process information of an approval system from a process creation form according to the approval system development request;
the screening unit is used for screening out process definition information based on the newly increased approval process information and the approval system;
the generating unit is used for generating an initial approval node list of the approval system according to the process definition information;
the updating unit is used for updating the initial approval node list according to the newly-added approval process information to obtain a target approval node list;
the acquiring unit is further configured to acquire initial development information associated with the process definition information;
and the generating unit is also used for generating target development information according to the target approval node list and the initial development information.
9. An electronic device, characterized in that the electronic device comprises:
a memory storing computer readable instructions; and
a processor executing computer readable instructions stored in the memory to implement the approval system development method of any one of claims 1 to 7.
10. A computer-readable storage medium characterized by: the computer readable storage medium stores computer readable instructions which are executed by a processor in an electronic device to implement the approval system development method of any one of claims 1 to 7.
CN202210380339.3A 2022-04-08 2022-04-08 Development method, device and equipment of approval system and storage medium Pending CN114942749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210380339.3A CN114942749A (en) 2022-04-08 2022-04-08 Development method, device and equipment of approval system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210380339.3A CN114942749A (en) 2022-04-08 2022-04-08 Development method, device and equipment of approval system and storage medium

Publications (1)

Publication Number Publication Date
CN114942749A true CN114942749A (en) 2022-08-26

Family

ID=82907960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210380339.3A Pending CN114942749A (en) 2022-04-08 2022-04-08 Development method, device and equipment of approval system and storage medium

Country Status (1)

Country Link
CN (1) CN114942749A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116306591A (en) * 2023-05-18 2023-06-23 深圳市东信时代信息技术有限公司 Flow form generation method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116306591A (en) * 2023-05-18 2023-06-23 深圳市东信时代信息技术有限公司 Flow form generation method, device, equipment and medium
CN116306591B (en) * 2023-05-18 2023-10-03 深圳市东信时代信息技术有限公司 Flow form generation method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN113283675B (en) Index data analysis method, device, equipment and storage medium
CN113656547B (en) Text matching method, device, equipment and storage medium
CN111797351A (en) Page data management method and device, electronic equipment and medium
CN112948418A (en) Dynamic query method, device, equipment and storage medium
CN114418398A (en) Scene task development method, device, equipment and storage medium
CN113536770B (en) Text analysis method, device and equipment based on artificial intelligence and storage medium
CN115222443A (en) Client group division method, device, equipment and storage medium
CN113342977B (en) Invoice image classification method, device, equipment and storage medium
CN113918467A (en) Financial system testing method, device, equipment and storage medium
CN114372060A (en) Data storage method, device, equipment and storage medium
CN114116108A (en) Dynamic rendering method, device, equipment and storage medium
CN114942749A (en) Development method, device and equipment of approval system and storage medium
CN111933241A (en) Medical data analysis method, medical data analysis device, electronic device, and storage medium
CN113283677B (en) Index data processing method, device, equipment and storage medium
CN115952201A (en) Data query method, device, system and storage medium
CN113516205B (en) Employee stability classification method based on artificial intelligence and related equipment
CN114692204A (en) Data query method, device, equipment and storage medium
CN115794621A (en) Code coverage test method, device, equipment and storage medium
CN114238296A (en) Product index data display method, device, equipment and storage medium
CN115205032A (en) Credit investigation query method, apparatus, device and storage medium
CN114841579A (en) Index data generation method, device, equipment and storage medium
CN113240325A (en) Data processing method, device, equipment and storage medium
CN113486680A (en) Text translation method, device, equipment and storage medium
CN112416361A (en) Structured query language script examination method and related equipment
CN111859985A (en) AI customer service model testing method, device, electronic equipment 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