CN117611093A - Service processing method, device, equipment and storage medium - Google Patents

Service processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117611093A
CN117611093A CN202311651200.9A CN202311651200A CN117611093A CN 117611093 A CN117611093 A CN 117611093A CN 202311651200 A CN202311651200 A CN 202311651200A CN 117611093 A CN117611093 A CN 117611093A
Authority
CN
China
Prior art keywords
target
workflow
branches
determining
branch
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
CN202311651200.9A
Other languages
Chinese (zh)
Inventor
黄志磊
孙富玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311651200.9A priority Critical patent/CN117611093A/en
Publication of CN117611093A publication Critical patent/CN117611093A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • 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)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Marketing (AREA)
  • Computational Linguistics (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a service processing method, a device, equipment and a storage medium. The method comprises the following steps: if a form submitting request sent by a user is detected, determining target form data, and starting a target workflow corresponding to the execution target form data; in the execution process of the target workflow, determining a target branch meeting preset conditions from selectable branches corresponding to current flow nodes according to the target form data and the structure information of the target workflow; and if the number of the target branches is greater than the preset branch number threshold, displaying the target branches to acquire the final branches designated by the user, and executing the target workflow according to the final branches to realize business processing. According to the technical scheme, the execution branches of the workflow can be automatically judged according to the form content input by the user, so that the business process can automatically flow to different branches according to the front-end input, and the intelligent level of the business process is improved.

Description

Service processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of big data, and in particular, to a service processing method, apparatus, device, and storage medium.
Background
Along with the continuous development of enterprises, the business environment changes rapidly, the demands of users are diversified, and the business processes need to be adjusted frequently in the development process of the enterprises in face of frequent changes of business demands.
Therefore, how to automatically judge the execution branches of the workflow according to the form content input by the user, so that the business process can automatically flow to different branches according to the front-end input, and the intelligent level of the business process is improved, which is a problem to be solved at present.
Disclosure of Invention
The invention provides a business processing method, a device, equipment and a storage medium, so that business processes can automatically flow to different branches according to front-end input, and the intelligent level of the business processes is improved.
According to an aspect of the present invention, there is provided a service processing method, including:
if a form submitting request sent by a user is detected, determining target form data, and starting a target workflow corresponding to the execution target form data;
in the execution process of the target workflow, determining a target branch meeting preset conditions from selectable branches corresponding to current flow nodes according to the target form data and the structure information of the target workflow;
and if the number of the target branches is greater than the preset branch number threshold, displaying the target branches to acquire the final branches designated by the user, and executing the target workflow according to the final branches to realize business processing.
According to another aspect of the present invention, there is provided a service processing apparatus including:
the starting module is used for determining target form data and starting a target workflow corresponding to the execution target form data if a form submitting request sent by a user is detected;
the determining module is used for determining a target branch meeting a preset condition from optional branches corresponding to the current flow nodes according to the target form data and the structure information of the target workflow in the execution process of the target workflow;
and the execution module is used for displaying the target branches to acquire final branches designated by the user if the number of the target branches is greater than a preset branch number threshold, and executing target workflow according to the final branches to realize service processing.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the traffic processing method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a service processing method according to any embodiment of the present invention.
According to the technical scheme, if the form submitting request sent by the user is detected, target form data are determined, and a target workflow corresponding to the target form data is started to be executed; in the execution process of the target workflow, determining a target branch meeting preset conditions from selectable branches corresponding to current flow nodes according to the target form data and the structure information of the target workflow; and if the number of the target branches is greater than the preset branch number threshold, displaying the target branches to acquire the final branches designated by the user, and executing the target workflow according to the final branches to realize business processing. By the method, the execution branches of the workflow can be automatically judged according to the form content input by the user, so that the business process can automatically flow to different branches according to the front-end input, and the intelligent level of the business process is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1A is a flowchart of a service processing method according to a first embodiment of the present invention;
FIG. 1B is a schematic diagram of a form template according to an embodiment of the present invention;
fig. 2 is a flowchart of a service processing method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a service processing device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," "target," "candidate," "alternative," and the like in the description and claims of the invention and in the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, the existing scheme of combining the custom form and the workflow is not intelligent enough when the workflow is driven by the form data, because in practical application, there are many business scenarios, and the trend of the flow needs to be determined according to the input content of the form. For example, when the number of leave days of staff is less than n, only the upper-level manager is required to examine and approve, but when the number of leave days exceeds n, the department manager is required to examine and approve; for example, staff at different levels ask for help, and the approval process is also different. When the workflow in the prior art needs to be selected according to the form data, the workflow is often manually selected, so that the work difficulty is increased for the approver unfamiliar with the business flow, and the loopholes are easy to appear in the management flow.
Example 1
Fig. 1A is a flowchart of a service processing method according to a first embodiment of the present invention; FIG. 1B is a schematic diagram of a form template according to an embodiment of the present invention; the embodiment is suitable for the situation that the workflow is automatically executed according to the form submitted by the user to process the service, the method can be executed by a service processing device, and the device can be realized in a software and/or hardware mode and can be integrated into an electronic device with a service processing function, such as a service processing system. As shown in fig. 1A, the service processing method includes:
s101, if a form submitting request sent by a user is detected, determining target form data, and starting a target workflow corresponding to the execution target form data.
Wherein, the form submitting request refers to a request of a user to submit target form data. The target form data refers to data filled in by a user aiming at a target workflow based on a preset form template. The target form data includes: target form component ID (Identity document, unique code), and user fill-in value for each target form component; the target workflow includes at least two flow nodes.
Optionally, the form template can be displayed to the user through the graphical user interface so as to acquire target form data filled in by the user based on the form template, and matching is performed in a database according to the target form data, so as to determine a target workflow corresponding to the target form data.
Optionally, starting the target workflow corresponding to the execution target form data includes: matching is carried out in a preset database according to a target form template to which the target form data belong; and according to the matching result, determining the configuration workflow corresponding to the target form template as a target workflow, and starting the execution of the target workflow corresponding to the target form data. At least one group of configuration form templates and corresponding configuration workflows are stored in the preset database.
The preset database may store a workflow 1 corresponding to the form template 1 and a workflow 2 corresponding to the form template 2, and after the user fills in the form data through the form template 1 and the system obtains the target form data filled in by the user, if the form template corresponding to the target form data is determined to be the form template 1, the corresponding workflow 1 may be determined to be the target workflow.
Optionally, at least one group of configuration form templates and corresponding configuration workflows thereof may be stored in a preset database in advance, specifically, in response to a configuration operation of a user on a graphical user interface, determining a configuration form component, and a component ID and a component attribute of each configuration form component, so as to generate the configuration form template; generating a configuration workflow corresponding to the configuration form template according to the designated roles of the configuration workflow nodes, the conditional expressions of workflow branches and the connection relation among the workflow nodes; and storing the configuration form template and the configuration workflow in a preset database.
The configuration operation refers to an operation that a user creates a form template and a workflow by using a dragging component and configuration parameters. It should be noted that, after the configuration form templates and the configuration workflows are stored in the preset database in a one-to-one correspondence manner, the corresponding configuration workflows can be automatically executed according to the target form data.
For example, a configuration release module may be preset in the system, and the configuration release module is configured to generate a custom form template and store the workflow in a database, and specifically may include the following steps:
(1) Configuring a custom form template, namely configuring the form template, adding form components in a component library into a graphical user interface according to requirements, and configuring component data attributes and form component IDs. (2) Drawing a workflow, distributing the flow nodes to appointed users or roles, specifically configuring each flow node of the flow according to the need, and setting approval personnel or roles corresponding to each flow node. (3) The relation between the form component ID and the conditional expression on the workflow branch is configured, the form data is combined with the flow, and specifically, the conditional expression on the workflow branch is configured according to the form component ID and the actual requirement of the business flow, for example, ${ "input1" = 5} means that when the input item of the form component ID is input1 and is equal to 5, the flow branch is automatically selected. The user-defined form templates and workflows are stored in the database, namely, the form templates and workflows are released to the database, and the user can use the business flow.
For example, a popular front-end page framework may be used to generate component libraries and configuration form templates, and a database may be used at the back-end to record the configuration form templates, as well as form data for each particular business process. The system displays specific form pages according to the form data and the configuration form template. Each form element needs to be configured with an ID by which the value that the user fills in the form can be found.
For example, as shown in fig. 1B, the user-defined configuration form template may be a form template required by a business process formed by each attribute of a form component after the user drags the form component on the left side to the form template area in the middle. Wherein the field identification of the form component, namely the component ID, is used by the system to obtain the specific data filled in by the user. The form component may specifically be a single line of text, multiple lines of text, a single box, multiple boxes, and a drop down box. The field identification may be, for example, radio 123456 and the title of the form template may be, for example, the application type. The form data may specifically include applicant information, i.e., application type such as temporary card or formal card, and application cause, etc.
Optionally, determining the conditional expression for configuring the designated role of each flow node of the workflow and the workflow branches includes: determining flow nodes contained in a configuration workflow and designated roles of the flow nodes according to configuration operation of a user on a graphical user interface; and determining the conditional expression of each workflow branch according to the form component ID requirement and the component attribute requirement of each workflow branch contained in the configuration workflow.
Wherein each flow node may designate a corresponding role or user. The form component is a functional module for data acquisition in the target webpage; the form component may be at least one of: text boxes, radio boxes, drop down selection boxes, submit buttons, and reset buttons.
Optionally, a workflow configuration module can be set in the system to realize configuration of the configuration workflow, specifically, drawing of the configuration workflow can be realized through a visual operation interface based on a popular open source flow engine, wherein the configuration workflow contains information such as configuration flow nodes, flow branching conditions, users or roles corresponding to the flow nodes, and the like.
For example, if each workflow included in the configuration workflow is branched into branch 1 and branch 2, the corresponding component conditional expressions may be: branch 1 is selected when the entry for the form component ID input1 is equal to 5, and branch 2 is selected when the entry for the form component ID input1 is equal to 4.
For example, the workflow may be "initiate application" - "department comprehensive approval" - "department principal approval", and "two optional branches may be corresponding to each other", branch 1 may be "backoffice principal approval" - "backoffice manager acceptance" -end, branch 2 may be "campus principal approval" - "campus manager acceptance", and for "department principal approval" flow node, the configured conditional expression may be "$ { radio_1629423487000_9346= 'a building' }", where { } is a general format of the conditional expression, radio_16294487000_9346 is a key of one variable in the flow node, specifically, a component ID of a form component corresponding to the flow node, and when a value corresponding to the radio_9423487000_9346 is a building, the expression is true, and the flow automatically executes the corresponding branch task.
It should be noted that, since the radio_1629423487000_9346 is also a field ID of a form component in the custom form template, association between the form data and the workflow configuration can be achieved by writing this ID into the conditional expression.
S102, determining a target branch meeting a preset condition from optional branches corresponding to current flow nodes according to target form data and structure information of the target workflow in the execution process of the target workflow.
The structure information of the target workflow refers to information representing connection relations among all flow nodes of the target workflow. Optional branching refers to branching that may be performed from the current flow node, as determined by the workflow structure. The preset condition may mean that the target form data satisfies a conditional expression in the corresponding selectable branch. The target branch refers to a branch of the selectable branches from which the conditional expression in the corresponding selectable branch is satisfied.
Optionally, determining, according to the target form data and the structure information of the target workflow, a target branch meeting a preset condition from the optional branches corresponding to the current flow node, including: according to the structure information of the target workflow, determining the optional branches corresponding to the current flow node, and determining the conditional expressions corresponding to the optional branches from the conditional expressions of all workflow branches of the target workflow; and calling a preset flow engine, and determining a target branch meeting the preset condition from the optional branches corresponding to the current flow node according to the form data and the conditional expressions corresponding to the optional branches.
The preset flow engine may be a flow engine. The conditional expression may be, for example, whether the filling value of each flow node in the target form data is a preset range, for example, whether the filling value is greater than a preset value, whether the applicant role is above a manager level, or the like.
Illustratively, taking a flow engine as an example, a flowNode, getoutlogic flow () method may be used, where flowNode represents a current link, outlogic flow represents a subsequent flow link, and by calling the flow engine, the conditional expression of the flow node in each optional branch may be read.
Optionally, according to the workflow branch condition expression of the target workflow, a target branch meeting the preset condition can be determined from the optional branches corresponding to the current flow node, and whether the user corresponding to the current flow node belongs to a pre-designated role or not can also be determined, if so, the optional branch is determined to be the target branch, namely, the target branch meeting the preset condition is determined.
Optionally, a preset flow engine is invoked, and a target branch meeting a preset condition is determined from the optional branches corresponding to the current flow node according to the form data and the conditional expressions corresponding to the optional branches, including: invoking an expression analysis tool of a preset flow engine, and respectively determining whether the filling value meets a conditional expression corresponding to each optional branch according to the filling value of a user in the form data for each target form component; if yes, determining the corresponding selectable branch as a target branch meeting the preset condition.
For each conditional expression, an expression analysis tool of a preset flow engine may be used to determine, and screen out branches meeting the conditions. Taking the flow engine as an example, a conditional expression object corresponding to a branch may be created using the ConditionCmd (outgoingFlow) method, which may read the conditional expression from the flow branch. And then, using a management service/execution Command (conditionCmd) method of the flow engine to run the judgment logic of the conditional expression to obtain the judgment result of true or false, thereby determining the target branch meeting the preset condition.
And S103, if the number of the target branches is greater than a preset branch number threshold, displaying the target branches to acquire final branches designated by a user, and executing target workflow according to the final branches to realize business processing.
The preset branch number threshold may be 1, for example. That is, when there is more than one target branch satisfying the conditional expression, it is necessary to determine the final execution branch by interacting with the user.
Optionally, after determining the final branch, the target workflow may be continuously executed from the current flow node according to the final branch, so as to implement the service processing corresponding to the target workflow.
Optionally, if the branches meeting the conditions are not available, an error message is prompted to the user, and the process is ended (in the case that the workflow is configured correctly, the next link should have at least one branch meeting the conditions). If only 1 branch meeting the condition exists, automatically submitting the flow to the branch node; if a plurality of branches meeting the conditions exist, a branch list is displayed for a user, and after the user selects a specific branch, the flow is submitted to the branch node.
If the target form filled by the user aiming at the target workflow is detected, the corresponding flow content is executed according to the content information of the target form, the component ID and the conditional expression of each branch so as to carry out business processing, and the efficiency of the business processing can be effectively improved.
According to the technical scheme, if the form submitting request sent by the user is detected, target form data are determined, and a target workflow corresponding to the target form data is started to be executed; in the execution process of the target workflow, determining a target branch meeting preset conditions from selectable branches corresponding to current flow nodes according to the target form data and the structure information of the target workflow; and if the number of the target branches is greater than the preset branch number threshold, displaying the target branches to acquire the final branches designated by the user, and executing the target workflow according to the final branches to realize business processing. By the method, the execution branches of the workflow can be automatically judged according to the form content input by the user, so that the business process can automatically flow to different branches according to the front-end input, and the intelligent level of the business process is improved.
Example two
Fig. 2 is a flowchart of a service processing method according to a second embodiment of the present invention; the present embodiment provides a preferred example of business processing in response to a form filled in and submitted by a user, on the basis of the above-described embodiments.
As shown in fig. 2, the method may include the following process:
filling and submitting a form by a user, and obtaining the form submitted by the user by a system to determine target form data; the system determines whether the flow of the corresponding target workflow is ended, if yes, the workflow is not executed to directly determine that the flow is ended, if not, a next flow node is selected according to form data submitted by a user and a workflow structure, and whether more than one branch meeting the condition exists is determined, if not, the next flow node is directly submitted until the flow is ended, if more than one branch meeting the condition exists, the next flow node selected by the user can be displayed to the user, and the next flow node is submitted until the flow of the whole target workflow is ended.
Optionally, after receiving the submitting request of the user, the system may read the form data corresponding to the business flow in the database, and store the data filled in by the user into the flow variable of the workflow in a key-value key value pair mode according to the form id and the value of the form, so as to determine the trend of the flow in real time in the process of executing the target workflow for business processing.
The invention combines the data of the self-defined form with the conditional expression in the workflow, realizes the automatic judgment and selection of the flow branches in the flow driving, and improves the intelligent level of the business flow. When judging the flow branches, form data are stored in the flow data, and a conditional expression analysis tool of a workflow engine is used, so that code logic of branch judgment is simplified.
Example III
Fig. 3 is a block diagram of a service processing device according to a third embodiment of the present invention; the embodiment can be suitable for the situation that the service processing device provided by the embodiment of the invention can execute the service processing method provided by any embodiment of the invention according to the automatic execution workflow of the form submitted by the user, and has the corresponding functional modules and beneficial effects of the execution method; the service processing device may be implemented in hardware and/or software, and configured in a device having a service processing function, such as a service processing system.
As shown in fig. 3, the service processing apparatus specifically includes:
the starting module 301 is configured to determine target form data if a form submission request sent by a user is detected, and start a target workflow corresponding to the execution target form data;
the determining module 302 is configured to determine, during execution of the target workflow, a target branch that meets a preset condition from optional branches corresponding to the current flow node according to the target form data and the structure information of the target workflow;
and the execution module 303 is configured to, if the number of target branches is greater than the preset branch number threshold, display the target branches to obtain a final branch specified by the user, and execute the target workflow according to the final branch, so as to implement service processing.
According to the technical scheme, if the form submitting request sent by the user is detected, target form data are determined, and a target workflow corresponding to the target form data is started to be executed; in the execution process of the target workflow, determining a target branch meeting preset conditions from selectable branches corresponding to current flow nodes according to the target form data and the structure information of the target workflow; and if the number of the target branches is greater than the preset branch number threshold, displaying the target branches to acquire the final branches designated by the user, and executing the target workflow according to the final branches to realize business processing. By the method, the execution branches of the workflow can be automatically judged according to the form content input by the user, so that the business process can automatically flow to different branches according to the front-end input, and the intelligent level of the business process is improved.
Further, the target form data includes: target form component ID and user filling value for each target form component; the target workflow includes at least two flow nodes.
Further, the starting module 301 is specifically configured to:
matching is carried out in a preset database according to a target form template to which the target form data belong; at least one group of configuration form templates and corresponding configuration workflows are stored in the preset database;
and according to the matching result, determining the configuration workflow corresponding to the target form template as a target workflow, and starting the execution of the target workflow corresponding to the target form data.
Further, the determining module 302 may include:
the expression determining unit is used for determining the optional branches corresponding to the current flow nodes according to the structure information of the target workflow, and determining the conditional expressions corresponding to the optional branches from the conditional expressions of the workflow branches of the target workflow;
the branch determining unit is used for calling a preset flow engine and determining a target branch meeting preset conditions from the optional branches corresponding to the current flow node according to the form data and the conditional expressions corresponding to the optional branches.
Further, the branch determining unit is specifically configured to:
invoking an expression analysis tool of a preset flow engine, and respectively determining whether the filling value meets a conditional expression corresponding to each optional branch according to the filling value of a user in the form data for each target form component;
if yes, determining the corresponding selectable branch as a target branch meeting the preset condition.
Further, the device is also used for:
determining a configuration form component, and component IDs and component attributes of each configuration form component in response to configuration operation of a user on a graphical user interface to generate a configuration form template;
generating a configuration workflow corresponding to the configuration form template according to the designated roles of the configuration workflow nodes, the conditional expressions of workflow branches and the connection relation among the workflow nodes;
and storing the configuration form template and the configuration workflow in a preset database.
Further, the device is also used for:
determining flow nodes contained in a configuration workflow and designated roles of the flow nodes according to configuration operation of a user on a graphical user interface;
and determining the conditional expression of each workflow branch according to the form component ID requirement and the component attribute requirement of each workflow branch contained in the configuration workflow.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention; fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the business processing method.
In some embodiments, the business processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. One or more steps of the business processing method described above may be performed when the computer program is loaded into the RAM 13 and executed by the processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the business processing method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for processing a service, comprising:
if a form submitting request sent by a user is detected, determining target form data, and starting a target workflow corresponding to the execution target form data;
in the execution process of the target workflow, determining a target branch meeting preset conditions from selectable branches corresponding to current flow nodes according to the target form data and the structure information of the target workflow;
and if the number of the target branches is greater than the preset branch number threshold, displaying the target branches to acquire the final branches designated by the user, and executing the target workflow according to the final branches to realize business processing.
2. The method of claim 1, wherein the target form data comprises: target form component ID and user filling value for each target form component; the target workflow includes at least two flow nodes.
3. The method of claim 1, wherein initiating execution of the target workflow corresponding to the target form data comprises:
matching is carried out in a preset database according to a target form template to which the target form data belong; at least one group of configuration form templates and corresponding configuration workflows are stored in the preset database;
and according to the matching result, determining the configuration workflow corresponding to the target form template as a target workflow, and starting the execution of the target workflow corresponding to the target form data.
4. The method of claim 1, wherein determining, from the selectable branches corresponding to the current flow node, a target branch that meets a preset condition according to the target form data and the structure information of the target workflow, includes:
according to the structure information of the target workflow, determining the optional branches corresponding to the current flow node, and determining the conditional expressions corresponding to the optional branches from the conditional expressions of all workflow branches of the target workflow;
and calling a preset flow engine, and determining a target branch meeting the preset condition from the optional branches corresponding to the current flow node according to the form data and the conditional expressions corresponding to the optional branches.
5. The method of claim 4, wherein invoking the preset flow engine, determining a target branch that meets the preset condition from the selectable branches corresponding to the current flow node according to the form data and the conditional expressions corresponding to the selectable branches, comprises:
invoking an expression analysis tool of a preset flow engine, and respectively determining whether the filling value meets a conditional expression corresponding to each optional branch according to the filling value of a user in the form data for each target form component;
if yes, determining the corresponding selectable branch as a target branch meeting the preset condition.
6. The method as recited in claim 1, further comprising:
determining a configuration form component, and component IDs and component attributes of each configuration form component in response to configuration operation of a user on a graphical user interface to generate a configuration form template;
generating a configuration workflow corresponding to the configuration form template according to the designated roles of the configuration workflow nodes, the conditional expressions of workflow branches and the connection relation among the workflow nodes;
and storing the configuration form template and the configuration workflow in a preset database.
7. The method of claim 6, wherein determining conditional expressions that configure designated roles of workflow nodes and workflow branches comprises:
determining flow nodes contained in a configuration workflow and designated roles of the flow nodes according to configuration operation of a user on a graphical user interface;
and determining the conditional expression of each workflow branch according to the form component ID requirement and the component attribute requirement of each workflow branch contained in the configuration workflow.
8. A service processing apparatus, comprising:
the starting module is used for determining target form data and starting a target workflow corresponding to the execution target form data if a form submitting request sent by a user is detected;
the determining module is used for determining a target branch meeting a preset condition from optional branches corresponding to the current flow nodes according to the target form data and the structure information of the target workflow in the execution process of the target workflow;
and the execution module is used for displaying the target branches to acquire final branches designated by the user if the number of the target branches is greater than a preset branch number threshold, and executing target workflow according to the final branches to realize service processing.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program for execution by the at least one processor to enable the at least one processor to perform the traffic processing method of any one of claims 1 to 7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the service processing method of any one of claims 1-7.
CN202311651200.9A 2023-12-04 2023-12-04 Service processing method, device, equipment and storage medium Pending CN117611093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311651200.9A CN117611093A (en) 2023-12-04 2023-12-04 Service processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311651200.9A CN117611093A (en) 2023-12-04 2023-12-04 Service processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117611093A true CN117611093A (en) 2024-02-27

Family

ID=89947875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311651200.9A Pending CN117611093A (en) 2023-12-04 2023-12-04 Service processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117611093A (en)

Similar Documents

Publication Publication Date Title
CN114415691B (en) Robot scheduling method, scheduling platform and system
CN113037489B (en) Data processing method, device, equipment and storage medium
CN116090770A (en) System construction method, device, storage medium, electronic equipment and product
CN117611093A (en) Service processing method, device, equipment and storage medium
CN115438643A (en) Questionnaire template configuration method, device, equipment, storage medium and product
CN114862223A (en) Robot scheduling method, device, equipment and storage medium
CN115049369A (en) Project management method and device, electronic equipment and storage medium
CN113360672A (en) Methods, apparatus, devices, media and products for generating a knowledge graph
CN114584605B (en) Service distribution method and device, electronic equipment and storage medium
CN112541335B (en) Method, device, electronic equipment and storage medium for generating interpretation text
CN114679468B (en) File transmission method and device, electronic equipment and computer readable storage medium
CN118034647A (en) Task processing method, device and medium in workflow oriented to low-code platform
CN113011494B (en) Feature processing method, device, equipment and storage medium
CN117193818A (en) Service system updating method, device, equipment and medium
CN116167464A (en) Method, device, equipment and medium for predicting operation time of federal learning task
CN117744292A (en) Method, device and equipment for determining graphic units in logical relationship topological graph
CN114219453A (en) Task processing method and device, electronic equipment and storage medium
CN116029660A (en) Data fusion processing method, system and computer readable storage medium
CN116187014A (en) Heterogeneous-based parameter template generation method and device
CN116245984A (en) Animation file generation method and device, electronic equipment and storage medium
CN116301521A (en) Project progress display method, device, equipment and medium
CN115600988A (en) To-do task generation method, device, equipment and medium
CN116701571A (en) Page display method and device, electronic equipment and storage medium
CN117635073A (en) Data processing method, device, equipment and storage medium
CN117632968A (en) Data writing method, device, equipment and medium based on distributed database

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