Business process generation method and device, computer equipment and storage medium
By introducing a generation method in the business process management of the insurance industry, the problem of insufficient flexibility and reusability of process orchestration is solved, and efficient generation and secure storage of business processes are achieved.
Patent Information
- Application Number
- CN202411755293.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-28
AI Technical Summary
The existing technology has insufficient flexibility and reusability in process orchestration in business process management in the insurance industry, resulting in extended development cycle, large human resources consumption and inefficient processing efficiency.
A business process generation method is proposed. By judging the user-triggered process orchestration request, extracting user information for permission verification, displaying the process orchestration page, building business processes based on the node configuration, process group orchestration and combination input by the user, and testing and storage processing are carried out based on preset testing strategies.
It improves the efficiency of business processes generation, ensures the standardization and reliability of the generated business processes, and ensures the security of business processes through storage processing.
Smart Images

Figure CN119718293A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence development technology and the field of financial technology, and in particular to methods, devices, computer equipment and storage media for generating business processes. Background Art
[0002] In the daily operation of the insurance industry, insurance agents are the key bridge between insurance companies and customers. The management and process optimization of their entry, training and promotion stages are crucial to improving business efficiency and enhancing customer service experience. However, insurance companies currently face a series of technical challenges in managing these processes, especially in terms of the flexibility and reusability of process orchestration.
[0003] Traditional process orchestration management methods often use hard coding, that is, for each specific business scenario, developers are required to manually write a complete set of process logic code. This method may still meet basic needs in the early stages of processing, but as business scenarios become increasingly rich and complex, its limitations gradually become apparent. Whenever a new business scenario needs to be added or an existing process needs to be fine-tuned (such as changing the order of nodes, simplifying process steps, etc.), the original process code needs to be redeveloped or significantly modified, which not only prolongs the development cycle, but also greatly consumes human resources and reduces the efficiency of overall business processing.
[0004] In addition, due to the lack of unified, reusable components or modules between processes in the hard-coded mode, a large number of similar process logics are repeatedly written, resulting in code redundancy and inefficiency. This inefficient process orchestration management method cannot support the rapid and flexible rearrangement of process nodes in different business scenarios, and there is a problem of low process orchestration processing efficiency. Summary of the invention
[0005] The purpose of the embodiments of the present application is to propose a method, device, computer equipment and storage medium for generating a business process, so as to solve the technical problem that the existing process orchestration management method cannot support the rapid and flexible rearrangement of process nodes in different business scenarios, and there is a low processing efficiency of process orchestration.
[0006] In order to solve the above technical problems, the present application embodiment provides a method for generating a business process, which adopts the following technical solution:
[0007] Determine whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user;
[0008] If yes, extract the user information from the process orchestration request, and perform authority verification on the user based on the user information;
[0009] If the user passes the authority verification, the preset process arrangement page is displayed;
[0010] Building a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page;
[0011] Testing the business process based on a preset testing strategy;
[0012] If the business process passes the test, the business process is stored.
[0013] Furthermore, the step of testing the business process based on a preset test strategy specifically includes:
[0014] Obtain preset functional test strategies and performance test strategies;
[0015] Performing functional testing on the business process based on the functional testing strategy;
[0016] If the business process passes the functional test, then a performance test is performed on the business process based on the performance test strategy;
[0017] If the business process passes the performance test, it is determined that the business process has passed the test; otherwise, it is determined that the business process has not passed the test.
[0018] Furthermore, the step of performing functional testing on the business process based on the functional testing strategy specifically includes:
[0019] Obtaining the business logic of the business process;
[0020] Build corresponding test cases based on the business logic;
[0021] Execute the test case based on a preset test tool to obtain corresponding test results;
[0022] Determining whether there is a failure case in the test results;
[0023] If there is a failure case in the test result, it is determined that the business process has failed the functional test; otherwise, it is determined that the business process has passed the functional test.
[0024] Furthermore, the step of performing performance testing on the business process based on the performance testing strategy specifically includes:
[0025] Building corresponding performance test scenarios based on the business process;
[0026] Creating a performance testing script corresponding to the business process based on a preset performance testing tool;
[0027] Running the performance test script in the performance test scenario to obtain corresponding performance test results;
[0028] Determine whether the performance test result meets the preset target range value;
[0029] If so, it is determined that the business process has passed the performance test; otherwise, it is determined that the business process has not passed the performance test.
[0030] Furthermore, the step of storing and processing the business process specifically includes:
[0031] Get the preset target storage policy;
[0032] Call the specified storage medium corresponding to the process;
[0033] Based on the target storage policy, the business process is stored in the designated storage medium.
[0034] Furthermore, the step of verifying the authority of the user based on the user information specifically includes:
[0035] Acquire a target permission level corresponding to the user information based on a preset permission processing model;
[0036] Obtaining a specified business operation identifier of a process orchestration operation corresponding to the process orchestration request;
[0037] Querying a specified permission level interval corresponding to the specified business operation identifier from a preset business operation permission table;
[0038] Determining whether the target permission level is within the specified permission level range;
[0039] If so, it is determined that the user has passed the authority verification; otherwise, it is determined that the user has not passed the authority verification.
[0040] Furthermore, after the step of storing and processing the business process, the method further includes:
[0041] Get the preset version management strategy;
[0042] The business process is versioned based on the version management policy.
[0043] In order to solve the above technical problems, the embodiment of the present application further provides a device for generating a business process, which adopts the following technical solution:
[0044] A judgment module, used to judge whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user;
[0045] A verification module, configured to extract the user information from the process orchestration request and perform authority verification on the user based on the user information;
[0046] A display module, used to display a preset process arrangement page if the user passes the authority verification;
[0047] A construction module, used to construct a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page;
[0048] A testing module, used to test the business process based on a preset testing strategy;
[0049] The storage module is used to store the business process if the business process passes the test.
[0050] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0051] Determine whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user;
[0052] If yes, extract the user information from the process orchestration request, and perform authority verification on the user based on the user information;
[0053] If the user passes the authority verification, the preset process arrangement page is displayed;
[0054] Building a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page;
[0055] Testing the business process based on a preset testing strategy;
[0056] If the business process passes the test, the business process is stored.
[0057] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0058] Determine whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user;
[0059] If yes, extract the user information from the process orchestration request, and perform authority verification on the user based on the user information;
[0060] If the user passes the authority verification, the preset process arrangement page is displayed;
[0061] Building a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page;
[0062] Testing the business process based on a preset testing strategy;
[0063] If the business process passes the test, the business process is stored.
[0064] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0065] The present application first determines whether a process orchestration request triggered by a user is received; wherein the process orchestration request carries the user information of the user; if so, the user information is extracted from the process orchestration request, and the user is authenticated based on the user information; if the user passes the authentication, a preset process orchestration page is displayed; then, based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, a corresponding business process is constructed; subsequently, the business process is tested based on a preset test strategy; if the business process passes the test, the business process is stored and processed. After receiving a process orchestration request triggered by a user and detecting that the user has passed the authentication, the present application will automatically and accurately construct the corresponding business process based on the displayed preset process orchestration page, and then based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, thereby effectively improving the efficiency of business process generation. The business process will be tested based on the use of test strategies in the future to effectively ensure the standardization and reliability of the generated business process. The business process will be stored and processed after passing the test to ensure the security of the generated business process. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0067] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0068] Figure 2 A flowchart of an embodiment of a method for generating a business process according to the present application;
[0069] Figure 3 is a structural schematic diagram of an embodiment of a device for generating a business process according to the present application;
[0070] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0072] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0073] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0074] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0075] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0076] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to the laptop computer 1011, tablet computer 1012 or mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.
[0077] The server 103 may be a server that provides various services, such as a background server that provides support for a web page displayed on the terminal device 101 .
[0078] It should be noted that the method for generating a business process provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the device for generating a business process is generally set in the server / terminal device.
[0079] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0080] Continue to refer Figure 2 , showing a flowchart of an embodiment of a method for generating a business process according to the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The method for generating a business process provided in the embodiment of the present application can be applied to any scenario where business process generation is required, and the method for generating a business process can be applied to products in these scenarios, for example, business process generation in the financial insurance field. The method for generating a business process includes the following steps:
[0081] Step S201, determining whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user.
[0082] In this embodiment, the business process generation method is executed on the electronic device (eg Figure 1The server / terminal device shown in the figure) can obtain the process orchestration request through a wired connection or a wireless connection. It should be noted that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future. The execution subject of this application may be a process orchestration system, or simply referred to as a system. The business orchestration system is a process group composed of the configuration, sorting, addition and deletion of nodes, and the process group is combined into a completed process. It can provide each business system with the ability to flexibly orchestrate and jump each node, and support a distributed process control platform for standardized orchestration of multiple business scenarios across fields. The business orchestration system of this application can be applied to the generation scenario of business processes of financial institutions, such as insurance companies, banks, etc. The above-mentioned users may be business personnel of financial institutions. The user logs in to the user interface of the business orchestration system and clicks the preset process generation button in the user interface to trigger the corresponding process orchestration request. Among them, the above-mentioned process orchestration request also carries the user information of the user, and the user information may include the user's name information.
[0083] Step S202: If yes, extract the user information from the process scheduling request, and perform authority verification on the user based on the user information.
[0084] In this embodiment, the user information carried in the process orchestration request can be extracted by parsing the information of the process orchestration request. The specific implementation process of the user's authority verification based on the user information will be further described in detail in the subsequent specific embodiments of this application, and will not be elaborated on here.
[0085] Step S203: If the user passes the authority verification, a preset process arrangement page is displayed.
[0086] In this embodiment, if the user passes the authority verification, it is determined that the user has the authority to perform the process orchestration operation, so that the corresponding business process generation processing will be performed based on the process orchestration page. Among them, the above-mentioned process orchestration page is an intuitive process orchestration configuration interface pre-developed according to actual business needs, which supports operations such as dragging, sorting, and connecting nodes, process groups, and processes. In addition, the process orchestration page provides a visual process display function, which is convenient for business personnel to view and monitor the process status.
[0087] Step S204: construct a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page.
[0088] In this embodiment, a node is a system process connected by a start event and an end event, which has the conditions for entering the next node, and the node is defined by the business according to the actual business situation; a process group is composed of two or more nodes. In the system, a node combination is formed by arranging the sequence between nodes and configuring the connection conditions between nodes. A process is a process that completes a complete business behavior (with start and end events) by two or more business steps (procedures for things to proceed), which can be called a process. In the system, it refers to a node combination formed by arranging the sequence between two or more nodes and nodes, nodes and process groups, and process groups and process groups, and configuring the connection conditions between the two.
[0089] Specifically, users can configure an existing process in the process coding page, or create a new process, and perform corresponding node configuration operations, process group orchestration operations, and process combination operations to build a business process that meets the requirements. Specifically, the node configuration operation includes: adding necessary nodes to the process according to business requirements. And configuring the parameters of each node, such as node name, execution conditions, trigger events, etc. And defining the input and output data of the node to ensure the correct transmission of data in the process. The process group orchestration operation includes: arranging the nodes according to business logic to form a process group. And configuring the node order and connection conditions within the process group. And ensuring that the nodes within the process group can be correctly executed according to the predetermined logic. The process combination operation includes: further combining the process group to form a complete business process. And configuring the connection conditions between each process group and node in the process. And verifying whether the logic of the entire process is correct to ensure that there are no missing or wrong nodes.
[0090] Among them, by providing an intuitive process arrangement configuration interface, a new process group can be quickly configured, and by sorting and connecting existing nodes, a user operation process suitable for new business needs can be formed without writing complex code. In addition, processes, process groups, and nodes can be configured in the visual interface, and the order of each link in the arrangement can be flexibly adjusted; the process state and the sub-states within the process are responsible for state reversal through the state machine of the process arrangement system. The development of the business system is only responsible for business logic development, and there is no need to worry about state reversal; the judgment of the process is configured in the database table of the business system, and the configuration rollback judgment conditions and status can be flexibly modified. All judgment results of the state machine of the process arrangement system will be recorded, and when checking the problem, it is easy to know where the problem is through the state machine.
[0091] Step S205: testing the business process based on a preset testing strategy.
[0092] In this embodiment, the specific implementation process of testing the business process based on the preset test strategy will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0093] Step S206: If the business process passes the test, the business process is stored.
[0094] In this embodiment, the specific implementation process of storing and processing the business process will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0095] The present application first determines whether a process orchestration request triggered by a user is received; wherein the process orchestration request carries the user information of the user; if so, the user information is extracted from the process orchestration request, and the user is authenticated based on the user information; if the user passes the authentication, a preset process orchestration page is displayed; then, based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, a corresponding business process is constructed; subsequently, the business process is tested based on a preset test strategy; if the business process passes the test, the business process is stored and processed. After receiving a process orchestration request triggered by a user and detecting that the user has passed the authentication, the present application will automatically and accurately construct the corresponding business process based on the displayed preset process orchestration page, and then based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, thereby effectively improving the efficiency of business process generation. The business process will be tested based on the use of test strategies in the future to effectively ensure the standardization and reliability of the generated business process. The business process will be stored and processed after passing the test to ensure the security of the generated business process.
[0096] In some optional implementations, step S205 includes the following steps:
[0097] Get the preset functional test strategy and performance test strategy.
[0098] In this embodiment, the functional testing strategy refers to a testing strategy that performs functional testing on the configured process to ensure that the process can be correctly executed according to the predetermined logic. The performance testing strategy refers to a testing strategy that performs performance testing on the configured process to evaluate the processing capability and response time of the process orchestration system.
[0099] Performing functional testing on the business process based on the functional testing strategy.
[0100] In this embodiment, if the business process fails the functional test, it is directly determined that the business process fails the test. The specific implementation process of the functional test of the business process based on the functional test strategy will be further described in detail in the subsequent specific embodiments of this application, and will not be elaborated here.
[0101] If the business process passes the functional test, a performance test is performed on the business process based on the performance test strategy.
[0102] In this embodiment, the specific implementation process of the performance test of the business process based on the performance test strategy will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0103] If the business process passes the performance test, it is determined that the business process has passed the test; otherwise, it is determined that the business process has not passed the test.
[0104] In this embodiment, only when it is detected that the business process has passed both the functional test and the performance test, will the business process be determined to have passed the test; otherwise, the business process will be determined to have failed the test.
[0105] The present application obtains a preset functional test strategy and a performance test strategy; then performs a functional test on the business process based on the functional test strategy; if the business process passes the functional test, then the business process is performance tested based on the performance test strategy; if the business process passes the performance test, then the business process is determined to have passed the test, otherwise the business process is determined to have failed the test. The present application performs a functional test on the business process based on the use of a functional test strategy, and performs a performance test on the business process based on the use of a performance test strategy, so as to quickly and accurately complete the test processing of the business process, thereby improving the processing efficiency and accuracy of the test processing. And only when it is detected that the business process has passed both the functional test and the performance test, will the business process be determined to have passed the test, effectively ensuring the accuracy of the test results of the generated business process.
[0106] In some optional implementations of this embodiment, the performing a functional test on the business process based on the functional test strategy includes the following steps:
[0107] Get the business logic of the business process.
[0108] In this embodiment, corresponding business logic can be obtained by performing logic analysis on the generated business process.
[0109] Build corresponding test cases based on the business logic.
[0110] In this embodiment, test cases can be designed according to the obtained process logic, including normal process paths and abnormal process paths. Among them, the test cases cover all boundary conditions and key business rules. Specifically, test management tools (such as TestRail, JIRA, etc.) can be used to record test cases.
[0111] The test case is executed based on a preset test tool to obtain corresponding test results.
[0112] In this embodiment, a test environment that is as similar as possible to the production environment is pre-set. The required test data is imported to ensure data integrity and accuracy. Then, an automated testing tool (such as Selenium, QTP, etc.) is used to perform automated testing on the test cases, and the corresponding test results are recorded. The test results may include successful cases, or may also include failed cases.
[0113] Determine whether there is a failure case in the test result.
[0114] In this embodiment, content analysis may be performed on the generated test results to identify whether there are failure cases in the test results.
[0115] If there is a failure case in the test result, it is determined that the business process has failed the functional test; otherwise, it is determined that the business process has passed the functional test.
[0116] In this embodiment, if a failure case is detected in the test result, it is determined that the business process has failed the functional test; otherwise, it is determined that the business process has passed the functional test.
[0117] This application obtains the business logic of the business process; then builds corresponding test cases based on the business logic; then executes the test cases based on a preset test tool to obtain corresponding test results; then determines whether there are failure cases in the test results; if there are failure cases in the test results, it is determined that the business process has not passed the functional test, otherwise it is determined that the business process has passed the functional test. This application obtains the business logic of the business process, and builds corresponding test cases based on the business logic, then executes the test cases based on the use of the test tool to obtain corresponding test results, and then detects whether there are failure cases in the test results to complete the functional test of the business process, so that the functional test results corresponding to the business process can be quickly and accurately generated based on the obtained detection results, ensuring the accuracy of the functional test results.
[0118] In some optional implementations, the performing performance testing on the business process based on the performance testing strategy includes the following steps:
[0119] Build corresponding performance test scenarios based on the business process.
[0120] In this embodiment, the corresponding performance test scenario can be designed according to the characteristics of the business process, including user load, number of concurrent users, operation frequency, etc. Among them, ensure that the test environment can simulate the load and pressure of the production environment. And configure the necessary monitoring tools to collect performance data in real time.
[0121] A performance testing script corresponding to the business process is created based on a preset performance testing tool.
[0122] In this embodiment, a performance testing tool (such as LoadRunner, JMeter, etc.) may be used to create a test script corresponding to the above business process.
[0123] The performance test script is run in the performance test scenario to obtain corresponding performance test results.
[0124] In this embodiment, by running the performance test script in the above-mentioned performance test scenario, simulating actual user operations, and monitoring and recording key indicators such as the system's response time, throughput, and resource utilization, corresponding performance test results are obtained.
[0125] Determine whether the performance test result meets the preset target range value.
[0126] In this embodiment, key performance indicators that need to be evaluated are identified in advance, such as throughput, response time, resource utilization, etc., and the target range value of the performance test is set according to the actual test requirements. By comparing the obtained performance test results with the above target range values, it is determined whether the performance test results meet the preset target range values.
[0127] If so, it is determined that the business process has passed the performance test; otherwise, it is determined that the business process has not passed the performance test.
[0128] In this embodiment, if the performance test result meets the preset target range value, that is, the performance test result is within the target range value, then it is determined that the business process has passed the performance test. If the performance test result does not meet the preset target range value, that is, the performance test result is not within the target range value, then it is determined that the business process has not passed the performance test.
[0129] The present application constructs a corresponding performance test scenario based on the business process; then creates a performance test script corresponding to the business process based on a preset performance test tool; then runs the performance test script in the performance test scenario to obtain a corresponding performance test result; then determines whether the performance test result meets the preset target range value; if so, determines that the business process has passed the performance test, otherwise determines that the business process has not passed the performance test. The present application constructs a corresponding performance test scenario based on the business process; then creates a performance test script corresponding to the business process based on the use of a performance test tool; then runs the performance test script in the performance test scenario to obtain a corresponding performance test result, and then detects whether the performance test result meets the preset target range value to complete the performance test of the business process, so that the performance test result corresponding to the business process can be quickly and accurately generated based on the obtained detection result, ensuring the accuracy of the generated performance test result.
[0130] In some optional implementations, step S206 includes the following steps:
[0131] Get the preset target storage policy.
[0132] In this embodiment, the target storage strategy may specifically adopt strategies such as cyclic overwriting or scheduled backup to ensure that the target process to be stored will not be lost due to insufficient storage space.
[0133] Call the specified storage medium corresponding to the process.
[0134] In this embodiment, there is no specific limitation on the selection of the above-mentioned designated storage medium, which can be set according to the actual business needs for process storage, for example, it may include a local database, a cloud server, a network disk, a blockchain, etc.
[0135] Based on the target storage policy, the business process is stored in the designated storage medium.
[0136] In this embodiment, the target process may be stored in the designated storage medium in a storage manner according to the target storage policy.
[0137] The present application obtains a preset target storage strategy; then calls the designated storage medium corresponding to the process; and subsequently stores the business process in the designated storage medium based on the target storage strategy. After detecting that the business process has passed the test, the present application will intelligently obtain the preset target storage strategy and call the designated storage medium corresponding to the process, and then store and process the business process based on the obtained target storage strategy and the designated storage medium, thereby ensuring the data security of the business process and ensuring that the business process will not be lost due to insufficient storage space, effectively improving the storage intelligence of the business process.
[0138] In some optional implementations of this embodiment, step S202 includes the following steps:
[0139] A target permission level corresponding to the user information is obtained based on a preset permission processing model.
[0140] In this embodiment, the permission processing model is a pre-built big data model that stores a one-to-one mapping relationship between the name information of each internal employee of the enterprise and the permission level of each internal employee of the enterprise. The permission processing model can be queried by using the user information to query the target permission level corresponding to the user information.
[0141] Obtain a specified business operation identifier of a process orchestration operation corresponding to the process orchestration request.
[0142] In this embodiment, for each business operation, a business operation identifier matching the business operation is pre-set, and the business operation identifier is unique, and one business operation corresponds to one business operation identifier.
[0143] The designated authority level interval corresponding to the designated business operation identifier is queried from a preset business operation authority table.
[0144] In this embodiment, the business operation permission table is a pre-built data table storing a variety of business operation identifiers and permission levels corresponding to the various business operation identifiers. Specifically, the specified business operation identifier corresponding to the process orchestration operation can be obtained, and then the specified business operation identifier can be used to query the business operation permission table to obtain the specified permission level interval corresponding to the specified business operation identifier.
[0145] Determine whether the target permission level is within the specified permission level range.
[0146] In this embodiment, whether the target permission level is within the specified permission level interval can be determined by comparing the target permission level with the specified permission level interval.
[0147] If so, it is determined that the user has passed the authority verification; otherwise, it is determined that the user has not passed the authority verification.
[0148] In this embodiment, if the target permission level is within the specified permission level range, it indicates that the user has the operation permission to perform the process orchestration operation, and thus the user is determined to have passed the permission verification. If the target permission level is not within the specified permission level range, it indicates that the user does not have the operation permission to perform the process orchestration operation, and thus the user is determined to have failed the permission verification.
[0149] This application obtains the target permission level corresponding to the user information based on the preset permission processing model; then obtains the specified business operation identifier of the process orchestration operation corresponding to the process orchestration request; then queries the specified permission level interval corresponding to the specified business operation identifier from the preset business operation permission table; subsequently determines whether the target permission level is within the specified permission level interval; if so, determines that the user has passed the permission verification, otherwise determines that the user has not passed the permission verification, thereby effectively improving the processing intelligence and processing accuracy of the user's permission verification based on the use of the permission processing model and the business operation permission table, and ensuring the accuracy of the obtained user's permission verification results. In addition, only after it is determined that the user has passed the permission verification, will the response processing for the process orchestration request triggered by the user be executed later, effectively improving the processing standardization and response security of the process orchestration request.
[0150] In some optional implementations of this embodiment, after step S206, the electronic device may further perform the following steps:
[0151] Get the preset version management strategy.
[0152] In this embodiment, the policy content of the above version management policy includes: setting version management for the process, recording the history of each configuration change, and supporting multi-version process parallelism, which is convenient for switching different versions of processes in test and production environments.
[0153] The business process is versioned based on the version management policy.
[0154] In this embodiment, the business process may be versioned according to the policy content of the version management policy.
[0155] This application obtains a preset version management strategy; then performs version setting processing on the business process based on the version management strategy. After completing the storage processing of the business process, this application will also intelligently perform version setting processing on the business process based on the use of the version management strategy, so that the configuration change history of the business process can be automatically recorded, which improves the intelligent processing of the version setting of the business process.
[0156] In some optional implementations, the user information obtained is subject to the user's consent and complies with relevant laws and policies.
[0157] In addition, the non-Company software tools or components that appear in the embodiments of the present application are merely examples and do not represent actual use.
[0158] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0159] It should be emphasized that in order to further ensure the privacy and security of the above business processes, the above business processes can also be stored in a blockchain node.
[0160] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0161] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0162] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0164] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0165] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a device for generating a business process, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0166] like Figure 3 As shown, the business process generation device 300 described in this embodiment includes: a judgment module 301, a verification module 302, a display module 303, a construction module 304, a test module 305 and a storage module 306. Among them:
[0167] The judgment module 301 is used to judge whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries the user information of the user;
[0168] Verification module 302, used for extracting the user information from the process orchestration request and performing authority verification on the user based on the user information;
[0169] A display module 303 is used to display a preset process arrangement page if the user passes the authority verification;
[0170] A construction module 304, configured to construct a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page;
[0171] A testing module 305, used to test the business process based on a preset testing strategy;
[0172] The storage module 306 is used to store the business process if the business process passes the test.
[0173] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0174] In some optional implementations of this embodiment, the testing module 305 includes:
[0175] The first acquisition submodule is used to acquire preset functional test strategies and performance test strategies;
[0176] A first testing submodule, configured to perform a functional test on the business process based on the functional testing strategy;
[0177] A second testing submodule, configured to perform a performance test on the business process based on the performance testing strategy if the business process passes the functional test;
[0178] The first determination submodule is used to determine that the business process has passed the test if the business process has passed the performance test, and otherwise determine that the business process has failed the test.
[0179] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0180] In some optional implementations of this embodiment, the first test submodule includes:
[0181] A first acquisition unit, used to acquire the business logic of the business process;
[0182] A first construction unit, used to construct a corresponding test case based on the business logic;
[0183] An execution unit, used to execute the test case based on a preset test tool to obtain a corresponding test result;
[0184] A first judging unit, configured to judge whether there is a failure case in the test result;
[0185] The first determination unit is configured to determine that the business process has failed the functional test if there is a failure case in the test result, and otherwise determine that the business process has passed the functional test.
[0186] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0187] In some optional implementations of this embodiment, the second test submodule includes:
[0188] A second construction unit is used to construct a corresponding performance test scenario based on the business process;
[0189] A creation unit, used to create a performance test script corresponding to the business process based on a preset performance test tool;
[0190] An operating unit, configured to operate the performance test script in the performance test scenario to obtain a corresponding performance test result;
[0191] A second judgment unit, used to judge whether the performance test result meets a preset target range value;
[0192] The second determination unit is configured to determine that if yes, the business process has passed the performance test, otherwise, determine that the business process has not passed the performance test.
[0193] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0194] In some optional implementations of this embodiment, the storage module 306 includes:
[0195] The second acquisition submodule is used to acquire a preset target storage strategy;
[0196] A calling submodule is used to call a specified storage medium corresponding to the process;
[0197] The storage submodule is used to store the business process in the designated storage medium based on the target storage policy.
[0198] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0199] In some optional implementations of this embodiment, the verification module 302 includes:
[0200] A third acquisition submodule, used to acquire a target permission level corresponding to the user information based on a preset permission processing model;
[0201] A fourth acquisition submodule, used to acquire a specified business operation identifier of a process orchestration operation corresponding to the process orchestration request;
[0202] A query submodule, used to query the specified permission level interval corresponding to the specified business operation identifier from a preset business operation permission table;
[0203] A determination submodule, used to determine whether the target permission level is within the specified permission level range;
[0204] The second determination submodule is used to determine that if yes, the user has passed the authority verification; otherwise, determine that the user has not passed the authority verification.
[0205] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0206] In some optional implementations of this embodiment, the business process generation device further includes:
[0207] An acquisition module is used to obtain a preset version management strategy;
[0208] A setting module is used to perform version setting processing on the business process based on the version management strategy.
[0209] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating a business process in the above-mentioned implementation mode, and are not described in detail here.
[0210] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0211] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0212] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0213] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 4. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the method for generating a business process, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.
[0214] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions stored in the memory 41 or process data, such as computer-readable instructions for running the method for generating the business process.
[0215] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0216] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0217] In an embodiment of the present application, the present application first determines whether a process orchestration request triggered by a user is received; wherein the process orchestration request carries the user information of the user; if so, the user information is extracted from the process orchestration request, and the user is authenticated based on the user information; if the user passes the authentication, a preset process orchestration page is displayed; then, based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, a corresponding business process is constructed; subsequently, the business process is tested based on a preset test strategy; if the business process passes the test, the business process is stored and processed. After receiving a process orchestration request triggered by a user and detecting that the user has passed the authentication, the present application will automatically and accurately construct the corresponding business process based on the displayed preset process orchestration page, and then based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, thereby effectively improving the generation efficiency of the business process. The business process will be tested based on the use of test strategies in the future to effectively ensure the standardization and reliability of the generated business process. The business process will be stored and processed after passing the test to ensure the security of the generated business process.
[0218] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the business process generation method as described above.
[0219] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0220] In an embodiment of the present application, the present application first determines whether a process orchestration request triggered by a user is received; wherein the process orchestration request carries the user information of the user; if so, the user information is extracted from the process orchestration request, and the user is authenticated based on the user information; if the user passes the authentication, a preset process orchestration page is displayed; then, based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, a corresponding business process is constructed; subsequently, the business process is tested based on a preset test strategy; if the business process passes the test, the business process is stored and processed. After receiving a process orchestration request triggered by a user and detecting that the user has passed the authentication, the present application will automatically and accurately construct the corresponding business process based on the displayed preset process orchestration page, and then based on the node configuration operation, process group orchestration operation, and process combination operation entered by the user in the process coding page, thereby effectively improving the generation efficiency of the business process. The business process will be tested based on the use of test strategies in the future to effectively ensure the standardization and reliability of the generated business process. The business process will be stored and processed after passing the test to ensure the security of the generated business process.
[0221] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0222] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A method for generating a business process, characterized in that: The steps include: Determine whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user; If yes, extract the user information from the process orchestration request, and perform authority verification on the user based on the user information; If the user passes the authority verification, the preset process arrangement page is displayed; Building a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page; Testing the business process based on a preset testing strategy; If the business process passes the test, the business process is stored.
2. The method for generating a business process according to claim 1, characterized in that: The step of testing the business process based on a preset test strategy specifically includes: Obtain preset functional test strategies and performance test strategies; Performing functional testing on the business process based on the functional testing strategy; If the business process passes the functional test, then a performance test is performed on the business process based on the performance test strategy; If the business process passes the performance test, it is determined that the business process has passed the test; otherwise, it is determined that the business process has not passed the test.
3. The method for generating a business process according to claim 2, characterized in that: The step of performing functional testing on the business process based on the functional testing strategy specifically includes: Obtaining the business logic of the business process; Build corresponding test cases based on the business logic; Execute the test case based on a preset test tool to obtain corresponding test results; Determining whether there is a failure case in the test results; If there is a failure case in the test result, it is determined that the business process has failed the functional test; otherwise, it is determined that the business process has passed the functional test.
4. The method for generating a business process according to claim 2, characterized in that: The step of performing performance testing on the business process based on the performance testing strategy specifically includes: Building corresponding performance test scenarios based on the business process; Creating a performance testing script corresponding to the business process based on a preset performance testing tool; Running the performance test script in the performance test scenario to obtain corresponding performance test results; Determine whether the performance test result meets the preset target range value; If so, it is determined that the business process has passed the performance test; otherwise, it is determined that the business process has not passed the performance test.
5. The method for generating a business process according to claim 1, characterized in that: The step of storing and processing the business process specifically includes: Get the preset target storage policy; Call the specified storage medium corresponding to the process; Based on the target storage policy, the business process is stored in the designated storage medium.
6. The method for generating a business process according to claim 1, characterized in that: The step of verifying the authority of the user based on the user information specifically includes: Acquire a target permission level corresponding to the user information based on a preset permission processing model; Obtaining a specified business operation identifier of a process orchestration operation corresponding to the process orchestration request; Querying a specified permission level interval corresponding to the specified business operation identifier from a preset business operation permission table; Determining whether the target permission level is within the specified permission level range; If so, it is determined that the user has passed the authority verification; otherwise, it is determined that the user has not passed the authority verification.
7. The method for generating a business process according to claim 1, characterized in that: After the step of storing the business process, the method further includes: Get the preset version management strategy; The business process is versioned based on the version management policy.
8. A device for generating a business process, characterized in that: include: A judgment module, used to judge whether a process scheduling request triggered by a user is received; wherein the process scheduling request carries user information of the user; A verification module, configured to extract the user information from the process orchestration request and perform authority verification on the user based on the user information; A display module, used to display a preset process arrangement page if the user passes the authority verification; A construction module, used to construct a corresponding business process based on the node configuration operation, process group arrangement operation and process combination operation input by the user in the process coding page; A testing module, used to test the business process based on a preset testing strategy; The storage module is used to store the business process if the business process passes the test.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the method for generating a business process as claimed in any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the method for generating a business process according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Business process arrangement method and device, computer equipment and storage medium
CN114595919A
Business process online arrangement method, device and system and readable storage medium
CN115061674A
Business process generation method and device
CN116400913A
Cited By
Connection dragging configuration information system and method based on medical system
CN121300845A