Flow configuration method in table and related equipment
By introducing branch exchange identifiers into the table interface, users can intuitively exchange node branches, solving complex operations in existing process configurations, and improving the efficiency and automation functions of process configuration.
Patent Information
- Application Number
- CN202411224387.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2025-03-04
AI Technical Summary
The adjustment operations for node branches in existing process configurations are complex, not intuitive enough, difficult to understand and maintain, resulting in reduced efficiency of process configuration.
By introducing branch exchange identifiers into the table interface, users can exchange node branches by triggering branch exchange identifiers, thus achieving intuitive and simple process configuration.
It improves the efficiency of process configuration, makes user operations more intuitive and simple, and at the same time realizes process operation automation based on table data, adding table automation functions.
Smart Images

Figure CN119558779A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a process configuration method in a table and related equipment. Background Art
[0002] In many business scenarios, business processes can be designed, configured and managed through a graphical interface. However, the adjustment of node branches in existing process configuration is complex, not intuitive, difficult to understand and maintain, resulting in reduced efficiency of process configuration. Summary of the invention
[0003] The present disclosure proposes a process configuration method in a table and related equipment to solve technical problems such as reduced efficiency of process configuration to a certain extent.
[0004] In a first aspect, the present disclosure provides a process configuration method in a table, comprising:
[0005] Display the first table in the table interface;
[0006] In response to receiving a process configuration request for the first table, displaying a process to be configured for the first table in a process configuration interface, wherein the process to be configured includes a conditional judgment node and a plurality of node branches connected to the conditional judgment node; wherein the judgment condition for executing the node branch is configured in the conditional judgment node;
[0007] In response to receiving a first trigger operation based on the node branch, displaying a branch exchange mark in a first associated area between the node branch and the condition judgment node;
[0008] In response to receiving a second trigger operation based on the branch exchange identifier, a target node branch among the multiple node branches is exchanged to obtain a target flow regarding the first table, and the target flow is executed when it is detected that the first table meets a preset condition.
[0009] In a second aspect of the present disclosure, a process configuration device in a table is provided, comprising:
[0010] A display module, configured to display a first table in a table interface; in response to receiving a process configuration request for the first table, display a process to be configured about the first table in the process configuration interface, wherein the process to be configured includes a conditional judgment node and a plurality of node branches connected to the conditional judgment node; wherein the judgment condition for executing the node branch is configured in the conditional judgment node; and in response to receiving a first trigger operation based on the node branch, display a branch exchange identifier in a first associated area between the node branch and the conditional judgment node;
[0011] A branch exchange module is used to exchange a target node branch among the multiple node branches in response to receiving a second trigger operation based on the branch exchange identifier to obtain a target process about the first table, and the target process is executed when it is detected that the first table meets a preset condition.
[0012] In a third aspect of the present disclosure, an electronic device is provided, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method described in the first aspect.
[0013] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium containing a computer program is provided. When the computer program is executed by one or more processors, the processors execute the method described in the first aspect.
[0014] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method described in the first aspect.
[0015] From the above description, it can be seen that the present disclosure provides a method for configuring a process in a table and related devices, which realizes the interchange of node branches in the process configuration through branch exchange identifiers, so that when users configure the process based on table data, the operation is more intuitive and simple, and the efficiency of the process configuration in the table is improved. At the same time, the automation of process operations based on table data can be realized, the automation function of the table is increased, and the effect and efficiency of table processing are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic diagram of a process configuration architecture according to an embodiment of the present disclosure.
[0018] Figure 2 The figure is a schematic diagram of the hardware structure of an exemplary electronic device according to an embodiment of the present disclosure.
[0019] Figure 3 Schematic diagram of a branch exchange configured for one flow.
[0020] Figure 4 Schematic diagram of a branch exchange configured for one flow.
[0021] Figure 5 A schematic flowchart of a process configuration method according to an embodiment of the present disclosure.
[0022] Figure 6 A schematic diagram of the process configuration of an embodiment of the present disclosure.
[0023] Figure 7 A schematic diagram of the target process of an embodiment of the present disclosure.
[0024] Figure 8 It is a schematic diagram of the process to be configured according to an embodiment of the present disclosure.
[0025] Fig. 9 A schematic diagram of the target process of an embodiment of the present disclosure.
[0026] Fig.10 A schematic diagram of a selection panel according to an embodiment of the present disclosure.
[0027] Fig.11 A schematic diagram of the target process of an embodiment of the present disclosure.
[0028] Fig.12 A schematic diagram of the target process of an embodiment of the present disclosure.
[0029] Fig.13 A schematic diagram of a process configuration device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0030] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0031] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0032] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0034] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0036] Figure 1 A schematic diagram of the process configuration architecture of an embodiment of the present disclosure is shown. Figure 1 , the process configuration architecture 100 may include a server 110, a terminal 120, and a network 130 providing a communication link. The server 110 and the terminal 120 may be connected via a wired or wireless network 130. The server 110 may be an independent physical server, or a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, security services, and CDN.
[0037] The terminal 120 may be implemented in hardware or software. For example, when the terminal 120 is implemented in hardware, it may be various electronic devices having a display screen and supporting page display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, and desktop computers, etc. When the terminal 120 device is implemented in software, it may be installed in the electronic devices listed above; it may be implemented as multiple software or software modules (such as software or software modules used to provide distributed services), or it may be implemented as a single software or software module, which is not specifically limited here.
[0038] It should be noted that the process configuration method provided in the embodiment of the present application can be executed by the terminal 120 or by the server 110. It should be understood that Figure 1 The number of terminals, networks and servers in the embodiment is only for illustration and is not intended to limit the number of terminals, networks and servers. Any number of terminals, networks and servers may be provided as required.
[0039] Figure 2 FIG. 2 shows a schematic diagram of the hardware structure of an exemplary electronic device 200 provided in an embodiment of the present disclosure. Figure 2 As shown, the electronic device 200 may include: a processor 202, a memory 204, a network module 206, a peripheral interface 208 and a bus 210. The processor 202, the memory 204, the network module 206 and the peripheral interface 208 are connected to each other in communication within the electronic device 200 through the bus 210.
[0040] Processor 202 may be a central processing unit (CPU), a process configurator, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. Processor 202 may be used to perform functions related to the technology described in the present disclosure. In some embodiments, processor 202 may also include multiple processors integrated into a single logical component. For example, Figure 2 As shown, processor 202 may include a plurality of processors 202a, 202b, and 202c.
[0041] The memory 204 may be configured to store data (eg, instructions, computer code, etc.). Figure 2 As shown, the data stored in the memory 204 may include program instructions (e.g., program instructions for implementing the process configuration method of the embodiment of the present disclosure) and data to be processed (e.g., the memory may store configuration files of other modules, etc.). The processor 202 may also access the program instructions and data stored in the memory 204, and execute the program instructions to operate on the data to be processed. The memory 204 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 204 may include a random access memory (RAM), a read-only memory (ROM), an optical disk, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.
[0042] The network module 206 can be configured to provide communication with other external devices to the electronic device 200 via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC) etc.), a cellular network, the Internet or a combination thereof. It is understood that the type of network is not limited to the above specific examples. In some embodiments, the network module 206 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc., in any combination.
[0043] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to achieve information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.
[0044] The bus 210 can be configured to transmit information between various components of the electronic device 200 (e.g., the processor 202, the memory 204, the network module 206, and the peripheral interface 208), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.
[0045] It should be noted that, although the architecture of the electronic device 200 only shows the processor 202, the memory 204, the network module 206, the peripheral interface 208 and the bus 210, in the specific implementation process, the architecture of the electronic device 200 may also include other components necessary for normal execution. In addition, it can be understood by those skilled in the art that the architecture of the electronic device 200 may also only include the components necessary for implementing the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.
[0046] Designing, configuring, and managing business processes through a graphical interface allows users to intuitively build flowcharts, making it easier to understand and adjust business processes. In existing business applications, the implementation conditional judgments of this graphical process configuration generally include exclusive branches and parallel branches. The exclusive branch logic allows the program to perform different branch operations based on different conditions, that is, it can support multiple branches and execute the first branch that meets the conditions; parallel branches, execute all branches at the same time. During use, if an error occurs during the process configuration, it is necessary to swap two branches in the branch operation. An existing swapping method is to move the branch to be swapped using the provided left or right buttons, such as Figure 3 As shown, Figure 3A schematic diagram of branch exchange of a process configuration is shown. In this way, when exchanging multiple distant branches, the two branches to be exchanged need to be moved multiple times, which makes the user operation complicated and prone to errors. Another exchange method is to manually select the connection between the branch to be exchanged and the previous condition judgment node, manually remove the connection, and then manually reconnect the branch to be exchanged to another condition, such as Figure 4 As shown, Figure 4 A schematic diagram showing a branch exchange of a process configuration. Figure 4 In the example, the user needs to manually select the connection line 410, remove the connection line 410 by clicking the remove button, and then connect the node 420 to the desired position by clicking the connection line. It can be seen that the adjustment operation of the node branch in the existing process configuration is complicated, not intuitive, difficult to understand and maintain, resulting in a decrease in the efficiency of the process configuration. Therefore, how to simplify the operation of the process configuration and improve the efficiency of the process configuration has become a technical problem that needs to be solved urgently.
[0047] In view of this, the embodiment of the present disclosure provides a process configuration method in a table and related devices. The node branches in the process configuration are interchanged through the branch exchange identifier, so that when the user performs process configuration based on the table data, the operation is more intuitive and simple, and the efficiency of the process configuration in the table is improved. At the same time, the process operation based on the table data can be automated, the automation function of the table is increased, and the effect and efficiency of the table processing are improved.
[0048] See also Figure 5 , Figure 5 A schematic flow chart of a process configuration method in a table according to an embodiment of the present disclosure is shown. The process configuration method according to an embodiment of the present disclosure can be deployed on a terminal or a server. Figure 5 In the table, the process configuration method 500 may further include the following steps.
[0049] In step S510, a first table is displayed on the table interface.
[0050] The first table may refer to a data record having one or more fields. The table interface may refer to an interface for displaying a table. For example, the first table table1 may include a field a, and the first table table1 may include at least one data record, and the data record includes a field value of the field a. It should be understood that the above first table is only an example and is not intended to be limiting, and the first table may include more fields.
[0051] In step S520, in response to receiving a process configuration request for the first table, the process to be configured regarding the first table is displayed in the process configuration interface, and the process to be configured includes a conditional judgment node and multiple node branches connected to the conditional judgment node; wherein the judgment condition for executing the node branch is configured in the conditional judgment node.
[0052] Among them, the process configuration request may refer to a request to create or edit a process for the first table, which may be a trigger generation of a process configuration identifier in a table display interface. For example, the first table and the process configuration identifier may be displayed in the table display interface, and the process configuration identifier may be triggered (e.g., clicked) to generate the process configuration request. The process configuration interface may refer to an interface for a user to operate and view the process configuration. For example, the process configuration interface may be a graphical interface, on which a user may design and configure nodes in the process and the execution order between nodes by dragging, clicking, etc. The process to be configured may refer to a process that a user needs to configure, and in response to receiving a process configuration request, the process to be configured may be displayed in the process configuration request. In the initial state of the process configuration interface, no flowchart may be included. The user may configure the process as needed in the process configuration interface. For example, a user may add nodes and form a contextual relationship between nodes by clicking or dragging a preset identifier to configure the execution logic of the process to be configured, so as to implement the user's desired operation on the first table.
[0053] The process to be configured may include multiple nodes, for example, conditional judgment nodes and execution nodes. A conditional judgment node may refer to a node in the process that is used to judge the direction of the process based on a preset judgment condition. The conditional judgment node may contain one or more conditional expressions corresponding to the judgment condition, which are used to determine which branch to execute in the next step of the process. A node branch may refer to an execution path connected to a conditional judgment node. Each node branch represents a possible process direction. Which node branch is executed depends on the judgment condition in the conditional judgment node. The judgment condition may be a simple logical expression or a complex combination of conditions. During the execution of the process, the execution logic of the judgment condition may be an if-else logic, that is, judging whether the first judgment condition is met. If so, the node branch corresponding to the first judgment condition is executed; otherwise, judging whether the second judgment condition is met. If the second judgment condition is met, the node branch corresponding to the second judgment condition is executed; otherwise, judging whether the third judgment condition is met, and so on. Specifically, Figure 6 As shown, Figure 6 A schematic diagram of a process configuration according to an embodiment of the present disclosure is shown. Figure 6In the process configuration interface 600, a process to be configured 610 is displayed and configured, and the process to be configured 610 includes nodes 611, 612, 613a, 613b, 613c, and 614. Among them, node 612 can be a conditional judgment node, nodes 613a, 613b, and 613c form node branch 1, and node 614 forms node branch 2. The user can set a judgment condition in node 612, so as to determine the execution of node branch 1 or node branch 2 according to the relationship between the current situation and the judgment condition during the execution of the process to be configured. It should be understood that each node in the process to be configured can be configured as needed to perform the desired operation, and there is no limitation here.
[0054] In some embodiments, method 500 may further include:
[0055] An execution node is configured in the process to be configured, and the execution node is used to perform a corresponding operation on the first table or the second table.
[0056] Among them, the execution node can be configured for the process to be configured in the process configuration interface, and the execution node can be located at any position of the process to be configured. For example, it can be the starting position of the process to be configured, that is, it is used to trigger the process about the first table after detecting that the first table meets the preset conditions. It can also be located at a node branch or other position, and is used to perform corresponding operations based on the data of the table. The execution node can be an operation for the first table, or it can be an operation for another table, that is, the second table, and there is no limitation here. For example, the table identifiers "Table 631", "Table 632", and "Table 633" of one or more tables can be displayed in the process configuration interface 600, and the process to be configured can be a process based on the first table "Table 631", then the execution node therein can be an operation performed based on the table data in "Table 631", "Table 632", and "Table 633", and the user can configure it as needed.
[0057] In step S520, in response to receiving a first trigger operation based on the node branch, a branch exchange mark is displayed in a first associated area between the node branch and the condition judgment node.
[0058] Among them, the first trigger operation may refer to an operation related to any node branch, such as a hover operation or a click operation. Specifically, the user may hover the cursor at any position of the node branch or click any position of the node branch. The first associated area may refer to an area related to the node branch and the conditional judgment node. In some embodiments, the first associated area includes the connection between the node branch and the conditional judgment node. In this way, the exchange identifier can be displayed to the user intuitively and conveniently. The branch exchange identifier may refer to an identifier for performing branch exchange, for example, it may be in the form of a button. Triggering the branch exchange identifier may perform branch exchange. Figure 6 In the example, the user can perform a first trigger operation (such as hovering) at any position of node branch 1 or node branch 2, and a branch exchange mark 620 can be displayed in the first associated area (such as node branch 1, node branch 2 and conditional judgment node 612).
[0059] In step S530, in response to receiving a second trigger operation based on the branch exchange identifier, a target node branch in the plurality of node branches is exchanged to obtain a target process regarding the first table, and the target process is executed when it is detected that the first table meets a preset condition.
[0060] Among them, the second trigger operation may refer to an operation related to the branch exchange identifier, and the second trigger operation may be an operation (such as a click operation) or a combination of multiple sub-operations. The target node branch may refer to two node branches to be exchanged, which may be default or user-specified. Specifically, when the multiple node branches of the process to be configured are two node branches, the two node branches may be defaulted as the target node branches; when the multiple node branches of the process to be configured are at least three node branches, the target node branch may be selected from the multiple node branches. The preset condition may refer to a pre-set condition, such as "when the data in the first table changes" or "when the data of field a of the first table changes" about the first table, which may be set by the user as needed. Compared with the prior art, by configuring the flowchart, the association relationship between the table and the process is realized. When an event that the user needs to detect occurs (for example, the content of the table changes), the linkage between the user and the table, or between the table and other tables (such as subtables) can be realized, which can greatly improve the efficiency of the table, enrich the functions of the table, and improve the work efficiency of the user.
[0061] In some embodiments, the judgment condition includes a first condition, and the multiple node branches of the process to be configured include a first node branch executed when the first condition is met and a second node branch executed when the first condition is not met;
[0062] Then exchanging the target node branch among the multiple node branches to obtain the target process further includes:
[0063] The first node branch and the second node branch are exchanged so that the target process executes the first node branch when the first condition is not satisfied, and executes the second node branch when the first condition is satisfied.
[0064] The first condition may refer to a judgment condition set by the user. During the execution of the process to be configured, the first node branch may be executed when the first condition is met, and the second node branch may be executed when the first condition is not met. After the exchange, during the execution of the target process, the second node branch may be executed when the first condition is met, and the first node branch may be executed when the first condition is not met. Figure 6 As shown, the process to be configured 610 can configure judgment condition 1 at the condition judgment node 612, and then node branch 1 can be executed when judgment condition 1 is met, and node branch 2 can be executed when judgment condition 1 is not met. A first condition judgment mark (which can be in text form, such as "satisfied"; and / or image form, such as "√") can be displayed on the path of node branch 1 to indicate that the branch corresponds to the situation where judgment condition 1 is met, and a second condition judgment mark (which can be in text form, such as "not satisfied"; and / or image form, such as "×") can be displayed on the path of node branch 2 to indicate that the branch corresponds to the situation where judgment condition 1 is not met. The user can perform a second trigger operation (such as a click operation) on the branch exchange mark, and in response to the second trigger operation, the positions of node branch 1 and node branch 2 are exchanged to obtain the exchanged target process 710, as shown in FIG. Figure 7 As shown, Figure 7 A schematic diagram of a target process according to an embodiment of the present disclosure is shown. Figure 7 After the target process 710 in the process executes node 611, it is determined at conditional judgment node 612 whether judgment condition 1 is satisfied. Node branch 2 is executed when judgment condition 1 is satisfied, and node branch 1 is executed when judgment condition 1 is not satisfied. Compared with the prior art that requires the user to perform a series of complex operations to exchange node branches, the method of the embodiment of the present disclosure can realize the exchange of any node branch by triggering the branch exchange mark, which reduces the user's configuration operations and improves the efficiency of process configuration.
[0065] In some embodiments, the method 500 further includes:
[0066] In response to receiving a third trigger operation for the branch exchange identifier, a exchange prompt identifier is displayed in the process configuration interface to prompt the user that the branch exchange identifier is used to exchange the target node branch.
[0067] The third trigger operation may refer to another trigger operation for the branch exchange mark, such as a hover operation. Figure 6 As shown, the user can hover the cursor over the branch exchange mark 620, and the exchange prompt mark 630 can be displayed in the process configuration interface 600. For example, the exchange prompt mark 630 "Exchange operations under two branches" can be popped up above the branch exchange mark 620 to prompt the user of the function of the branch exchange mark 620.
[0068] In some embodiments, the method 500 further includes:
[0069] In response to the target node branch being exchanged successfully, a successful exchange mark is displayed in the process configuration interface to indicate that the target node branch has been exchanged successfully.
[0070] Specifically, Figure 7 As shown, after the node branch 1 and the node branch 2 are exchanged, a successful exchange mark 720 “Exchange successful” may be displayed above the process configuration interface 600 .
[0071] In some embodiments, method 500 includes:
[0072] While displaying the branch exchange mark, displaying a corresponding selection mark in the second associated area of each node branch, the selection mark is used to select the corresponding node branch;
[0073] In response to receiving a selection operation for the selection identifier, determining the node branch selected by the selection operation as the target node branch.
[0074] The second associated area may refer to an area related to a node branch, such as an area attached to a node branch or on a path of a node branch. For example, a corresponding selection mark may be displayed on a path between each node branch and a conditional judgment node, so that the user can select a target node branch to be exchanged in the node branch. Specifically, Figure 8 As shown, Figure 8 A schematic diagram of a process to be configured according to an embodiment of the present disclosure is shown. Figure 8In the figure, the process 810 to be configured includes nodes 811, 812, 813a, 813b, 813c, 814a, 814b and 815, wherein nodes 813a, 813b and 814c form node branch X, nodes 815a and 815b form node branch Y, and node 816 forms node branch Z. Node 812 can be a conditional judgment node, and the user can set judgment condition x and judgment condition y at the node 812. Judgment condition x corresponds to node branch X and is located at the leftmost side; judgment condition y corresponds to node branch Y and is located in the middle. The judgment order of the process 810 to be configured can be judged from left to right, that is, first judge whether judgment condition x is met, and when judgment condition x is met, the process of node branch X is executed, that is, nodes 813a, 813b and 813c are executed in sequence. When the judgment condition x is not satisfied, it is determined whether the judgment condition y is satisfied. If the judgment condition y is satisfied, the process of the node branch Y is executed, that is, nodes 814a and 814b are executed in sequence. When the judgment condition x is not satisfied and the judgment condition y is not satisfied, the node branch Z is executed, that is, node 815 is executed. In some embodiments, the corresponding judgment condition can be displayed on the path of the corresponding node branch to prompt the user. For example, "judgment condition x" can be displayed on the path from the node branch X to the node branch connection, "judgment condition y" can be displayed on the path from the node branch Y to the node branch connection, and "neither is satisfied" can be displayed on the path from the node branch Z to the node branch connection.
[0075] If the user wishes to exchange the node branches (for example, when the node branches and the corresponding judgment conditions are configured incorrectly), the user may perform a first trigger operation related to any node branch, such as a hover operation or a click operation. Specifically, the user may hover the cursor at any position of the node branch X, the node branch Y, and the node branch Z, or click any position of the node branch X, the node branch Y, and the node branch Z. The branch exchange mark 820 may be displayed in the first association area (for example, at the connection point of the node branch X, the node branch Y, and the node branch Z), and a plurality of selection marks 830a, 830b, and 830c may be displayed in the second association area (for example, on the path between the branch exchange mark 820 and each node branch). The user may select from the plurality of selection marks 830a, 830b, and 830c to determine the node branches that need to be exchanged. For example, the user may perform a selection operation on the selection mark 830a and the selection mark 830c. At this time, a selection mark, such as "√", may be displayed in the selection mark 830a and the selection mark 830c, thereby determining that the corresponding node branch X and the node branch Z are the target node branches that need to be exchanged.
[0076] Afterwards, the user may perform a second trigger operation on the branch exchange mark 820. In this case, the second trigger operation may be a single operation, such as a click operation. In response to the click operation on the branch exchange mark 820, the node branch X and the node branch Z may be exchanged. Fig. 9 As shown, Fig. 9 Schematic diagram of the target process according to an embodiment of the present disclosure is shown. Figure 7 Similarly, after the node branch X and the node branch Z are exchanged successfully, a successful exchange mark can be displayed in the process configuration interface, for example, "Switch successful" can be displayed above the target process 910.
[0077] The node branch Z in the target process 910 obtained after the exchange corresponds to the judgment condition x, and "judgment condition x" is displayed on the path from the node branch Z to the node branch connection; the node branch X corresponds to "neither is satisfied", and "neither is satisfied" is displayed on the path from the node branch X to the node branch connection. During the execution of the target process 910, the judgment can be made from left to right, that is, first determine whether the judgment condition x is satisfied, and when the judgment condition x is satisfied, the process of the node branch Y is executed, that is, the node 815 is executed in sequence. When the judgment condition x is not satisfied, determine whether the judgment condition y is satisfied. If the judgment condition y is satisfied, the process of the node branch Y is executed, that is, the nodes 814a and 814b are executed in sequence. When the judgment condition x is not satisfied and the judgment condition y is not satisfied, the node branch X is executed, that is, the nodes 813a, 813b and 813c are executed.
[0078] Similarly, with Figure 6 Similarly, the user can hover the cursor over the branch exchange mark 820, and then the exchange prompt mark can be displayed in the process configuration interface. For example, the exchange prompt mark "Exchange the operations under the two branches" can be popped up above the branch exchange mark 820 ( Figure 8 ), which is used to prompt the user of the function of the branch exchange mark 820.
[0079] In some embodiments, in response to receiving a second trigger operation based on the branch exchange identifier, exchanging a target node branch among the plurality of node branches to obtain a target process further includes:
[0080] In response to receiving a second trigger operation based on the branch exchange identifier, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain a target process.
[0081] In the process configuration method according to the embodiment of the present disclosure, the node branches and the corresponding judgment conditions in the process to be configured can be exchanged synchronously. At this time, the second trigger operation based on the branch exchange identifier can refer to a series of sub-operations performed based on the branch exchange identifier.
[0082] In some embodiments, the judgment condition includes a second condition and a third condition, and the judgment priority of the second condition is higher than that of the third condition; the multiple node branches of the process to be configured include a third node branch executed when the second condition is met and a fourth node branch executed when the third condition is met; the target node branch includes the third node branch and the fourth node branch;
[0083] Then, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain the target process, including:
[0084] The second condition and the third condition are exchanged while the third node branch and the fourth node branch are exchanged, so that the judgment priority of the third condition in the target process is higher than that of the second condition, and the third node branch is executed when the second condition is met and the fourth node branch is executed when the third condition is met.
[0085] Among them, the judgment priority can refer to the priority of the judgment order, and the judgment priority of the second condition is higher than the third condition, which can mean that when the process is executed, it is first judged whether the second condition is met, and then whether the third condition is met. Specifically, in the process to be configured, it can be judged whether the second condition is met first, and the corresponding third node branch is executed when the second condition is met, and it is judged whether the third condition is met when the second condition is not met; if the third condition is met, the corresponding fourth node branch is executed. After the node branch and the corresponding judgment condition can be exchanged synchronously, that is, the corresponding second condition and the third node branch are exchanged together with the corresponding third condition and the fourth node branch, the third condition becomes the condition to be judged first, that is, the judgment priority of the third condition after the exchange is higher than the second condition. When the target process after the exchange is executed, it is first judged whether the third condition is met, and the corresponding fourth node branch is executed when the third condition is met. When the third condition is not met, it is judged whether the second condition is met, and if the second condition is met, the corresponding third node branch is executed.
[0086] In some embodiments, the second trigger operation based on the branch exchange identifier includes a first sub-operation and a second sub-operation;
[0087] In response to receiving the second trigger operation based on the branch exchange identifier, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain the target process, including:
[0088] In response to receiving the first sub-operation for the branch exchange identifier, displaying a selection panel on the process configuration interface; wherein the selection panel includes a first option and a second option, the first option is used to indicate the exchange target node branch, and the second option is used to indicate the exchange target node branch and the corresponding judgment condition;
[0089] In response to selecting the second sub-operation of the second option, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain a target process.
[0090] Specifically, Figure 8 As shown, the second condition may be judgment condition x, the third condition may be judgment condition y, the third node branch may be node branch X, and the fourth node branch may be node branch Y. When the user wishes to exchange both judgment condition x and node branch X with judgment condition y and node branch Y, a selection operation may be performed on selection mark 830a and selection mark 830b to determine that the corresponding node branch X and node branch Y are the target node branches to be exchanged. The user may perform a first sub-operation (e.g., a click operation) on branch exchange mark 820, and a selection panel 1010 may be displayed on the process configuration interface, such as Fig.10 As shown, Fig.10 A schematic diagram of a selection panel according to an embodiment of the present disclosure is shown. Fig.10 In the example, a selection panel 1010 is displayed in the form of a drop-down menu or a pop-up window near the branch exchange mark 820, and the selection panel 1010 includes a first option 1011 and a second option 1012. When the first option 1011 is triggered, an operation of exchanging the target node branch can be performed. When the second option 1012 is triggered, an operation of exchanging the target node branch and the corresponding judgment condition can be performed.
[0091] The user can perform a second sub-operation (eg, a click operation) on the second option 1012 to exchange both the judgment condition x and the node branch X with both the judgment condition y and the node branch Y, such as Fig.11 As shown, Fig.11 A schematic diagram of a target process according to an embodiment of the present disclosure is shown. Further, the selection panel 1010 may be hidden after the second sub-operation is performed. Fig.11 When the target process 1110 after the exchange is executed, it is first determined whether the determination condition y is satisfied. If the determination condition y is satisfied, the process of the node branch Y is executed, that is, nodes 814a and 814b are executed in sequence. When the determination condition y is not satisfied, it is determined whether the determination condition x is satisfied. If the determination condition x is satisfied, the process of the node branch X is executed, that is, nodes 813a, 813b and 813c are executed in sequence.
[0092] Similarly, with Figure 7Similarly, after the judgment condition x and the node branch X and the judgment condition y and the node branch Y are successfully exchanged, a successful exchange mark can be displayed in the process configuration interface, for example, "Exchange successful" is displayed above the target process 910.
[0093] In some embodiments, the second trigger operation based on the branch exchange identifier further includes a third sub-operation;
[0094] In response to receiving a second trigger operation based on the branch exchange identifier, exchanging a target node branch among the multiple node branches to obtain a target process, further comprising:
[0095] In response to selecting the third sub-operation of the first option, the target node branch is exchanged to obtain a target process.
[0096] Specifically, Fig.10 As shown, the user can perform a third sub-operation (such as a click operation) on the first option 1011, and only the node branch X and the node branch Y are exchanged, but the corresponding judgment condition x and judgment condition y are not exchanged, such as Fig.12 As shown, Fig.12 A schematic diagram of a target process according to an embodiment of the present disclosure is shown. Further, after executing the third sub-operation, the selection panel 1010 may be hidden. Fig.12 , the node branch Y in the target process 1210 obtained after the exchange corresponds to the judgment condition x, and the node branch X corresponds to the judgment condition y. During the execution of the target process 1210, the judgment can be made from left to right, that is, first determine whether the judgment condition x is met, and when the judgment condition x is met, the process of the node branch Y is executed, that is, nodes 814a and 814b are executed in sequence. When the judgment condition x is not met, determine whether the judgment condition y is met, and if the judgment condition y is met, the process of the node branch X is executed, that is, nodes 813a, 813b, and 813c are executed.
[0097] It can be seen that the process configuration method according to the embodiment of the present disclosure can clearly and directly display the logic of the process configuration, which can not only improve the efficiency of the process configuration, but also reduce the learning cost of users.
[0098] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0099] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0100] Based on the same technical concept, corresponding to any of the above-mentioned embodiments, the present disclosure also provides a process configuration device in a table, see Fig.13 , the process configuration device in the table includes:
[0101] A display module, configured to display a first table in a table interface; in response to receiving a process configuration request for the first table, display a process to be configured about the first table in the process configuration interface, wherein the process to be configured includes a conditional judgment node and a plurality of node branches connected to the conditional judgment node; wherein the judgment condition for executing the node branch is configured in the conditional judgment node; and in response to receiving a first trigger operation based on the node branch, display a branch exchange identifier in a first associated area between the node branch and the conditional judgment node;
[0102] A branch exchange module is used to exchange a target node branch among the multiple node branches in response to receiving a second trigger operation based on the branch exchange identifier to obtain a target process about the first table, and the target process is executed when it is detected that the first table meets a preset condition.
[0103] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0104] The device of the above embodiment is used to implement the process configuration method in the corresponding table in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0105] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the process configuration method in the table described in any of the above embodiments.
[0106] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0107] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the process configuration method in the table described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0108] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0109] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0110] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0111] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A process configuration method in a table, comprising: Display the first table in the table interface; In response to receiving a process configuration request for the first table, displaying a process to be configured for the first table in a process configuration interface, wherein the process to be configured includes a conditional judgment node and a plurality of node branches connected to the conditional judgment node; wherein the judgment condition for executing the node branch is configured in the conditional judgment node; In response to receiving a first trigger operation based on the node branch, displaying a branch exchange mark in a first associated area between the node branch and the condition judgment node; In response to receiving a second trigger operation based on the branch exchange identifier, a target node branch among the multiple node branches is exchanged to obtain a target flow regarding the first table, and the target flow is executed when it is detected that the first table meets a preset condition.
2. The method according to claim 1, wherein: The judgment condition includes a first condition, and the multiple node branches of the process to be configured include a first node branch executed when the first condition is met and a second node branch executed when the first condition is not met; Then exchanging the target node branch among the multiple node branches to obtain the target process further includes: The first node branch and the second node branch are exchanged so that the target process executes the first node branch when the first condition is not satisfied, and executes the second node branch when the first condition is satisfied.
3. The method according to claim 1, further comprising: While displaying the branch exchange mark, displaying a corresponding selection mark in the second associated area of each node branch, the selection mark is used to select the corresponding node branch; In response to receiving a selection operation for the selection identifier, determining the node branch selected by the selection operation as the target node branch.
4. The method according to claim 1, wherein: In response to receiving a second trigger operation based on the branch exchange identifier, exchanging a target node branch among the multiple node branches to obtain a target process, further comprising: In response to receiving a second trigger operation based on the branch exchange identifier, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain a target process.
5. The method according to claim 4, wherein: The judgment condition includes a second condition and a third condition, and the judgment priority of the second condition is higher than that of the third condition; the multiple node branches of the process to be configured include a third node branch executed when the second condition is met and a fourth node branch executed when the third condition is met; The target node branch includes the third node branch and the fourth node branch; Then, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain the target process, including: The second condition and the third condition are exchanged while the third node branch and the fourth node branch are exchanged, so that the judgment priority of the third condition in the target process is higher than that of the second condition, and the third node branch is executed when the second condition is met and the fourth node branch is executed when the third condition is met.
6. The method according to claim 4, wherein: The second trigger operation based on the branch exchange identifier includes a first sub-operation and a second sub-operation; In response to receiving the second trigger operation based on the branch exchange identifier, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain the target process, including: In response to receiving the first sub-operation for the branch exchange identifier, displaying a selection panel on the process configuration interface; wherein the selection panel includes a first option and a second option, the first option is used to indicate the exchange target node branch, and the second option is used to indicate the exchange target node branch and the corresponding judgment condition; In response to selecting the second sub-operation of the second option, the target node branch is exchanged while the judgment condition corresponding to the target node branch is exchanged to obtain a target process.
7. The method according to claim 6, wherein: The second trigger operation based on the branch exchange identifier further includes a third sub-operation; In response to receiving a second trigger operation based on the branch exchange identifier, exchanging a target node branch among the multiple node branches to obtain a target process, further comprising: In response to selecting the third sub-operation of the first option, the target node branch is exchanged to obtain a target process.
8. The method according to claim 1, further comprising at least one of the following: In response to receiving a third trigger operation for the branch exchange identifier, displaying an exchange prompt identifier in the process configuration interface to prompt a user that the branch exchange identifier is used to exchange the target node branch; Alternatively, the first associated region includes a connection between the node branch and the conditional judgment node; Alternatively, in response to the target node branch being exchanged successfully, a successful exchange mark is displayed in the process configuration interface to indicate that the target node branch has been exchanged successfully; Alternatively, an execution node is configured in the process to be configured, and the execution node is used to perform a corresponding operation on the first table or the second table.
9. A process configuration device in a table, comprising: A display module, used for displaying the first table on the table interface; In response to receiving a process configuration request for the first table, displaying a process to be configured for the first table in a process configuration interface, wherein the process to be configured includes a conditional judgment node and a plurality of node branches connected to the conditional judgment node; wherein the judgment condition for executing the node branch is configured in the conditional judgment node; and in response to receiving a first trigger operation based on the node branch, displaying a branch exchange identifier in a first associated area between the node branch and the conditional judgment node; A branch exchange module is used to exchange a target node branch among the multiple node branches in response to receiving a second trigger operation based on the branch exchange identifier to obtain a target process about the first table, and the target process is executed when it is detected that the first table meets a preset condition.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 8 when executing the program.
11. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 8.
12. A computer program product, comprising one or more computer programs, wherein the one or more computer programs implement the steps of the method according to any one of claims 1 to 8 when executed by one or more processors.