Method for determining flow state of object and related equipment
Through unified process status calculation logic, combined with status calculation rules, belonging status and status transfer events, the problem of inconsistent process status calculation in project management software is solved, the accuracy and smooth upgrade of process status are achieved, and the user experience and efficiency are improved. .
Patent Information
- Application Number
- CN202410693680.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, there are inconsistencies in the process status calculation logic of project management software, resulting in low efficiency when users use it between different versions, configurations are lost during upgrades, and node status calculations are inaccurate at parallel nodes and cannot satisfy complex status rule processing. .
Provides a unified object process status calculation logic, determines the process status of the object by obtaining status calculation rules, belonging status and status transfer events, supports multiple status calculation rules and belonging status configurations, and ensures the accuracy and consistency of process status calculation sex.
It realizes unified calculation logic of project process status, solves the problem of inaccurate node status calculation, supports smooth upgrade of software, and improves user experience and efficiency.
Smart Images

Figure CN118657488A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a method for determining a process state of an object and related equipment. Background Art
[0002] With the continuous development of Internet technology, many tasks can be completed intelligently. For example, management software can be used to manage some process affairs or objects.
[0003] However, the inventors of the present disclosure have discovered that in the related art, there is a problem of lack of preparation when calculating the process status of the object. Summary of the invention
[0004] The present disclosure proposes a method for determining a process state of an object and a related device to solve or partially solve the above-mentioned problem.
[0005] In a first aspect of the present disclosure, a method for determining a process state of an object is provided, wherein the object includes a plurality of process nodes, and the method includes:
[0006] In response to a change in the state of one or more of the process nodes, obtaining one or more state calculation rules corresponding to the object;
[0007] In response to one or more of the state calculation rules being hit, determining the process state of the object according to the one or more of the state calculation rules being hit;
[0008] In response to none of the one or more status calculation rules being hit, determining one or more process nodes in progress among the plurality of process nodes;
[0009] In response to the one or more process nodes in progress having one or more belonging states, determining the process state of the object according to the one or more belonging states;
[0010] In response to the one or more process nodes in progress not having a state, the process state of the object is determined according to state transition events of the multiple process nodes.
[0011] In a second aspect of the present disclosure, a device for determining a process state of an object is provided, wherein the object includes a plurality of process nodes, and the device includes:
[0012] An acquisition module is configured to: in response to a change in the state of one or more of the process nodes, acquire one or more state calculation rules corresponding to the object;
[0013] A first determination module is configured to: in response to one or more of the state calculation rules being hit, determine the process state of the object according to the one or more state calculation rules being hit;
[0014] A second determination module is configured to: in response to none of the one or more state calculation rules being hit, determine one or more process nodes in progress among the multiple process nodes;
[0015] A third determination module is configured to: in response to the one or more process nodes in progress having one or more belonging states, determine the process state of the object according to the one or more belonging states;
[0016] The fourth determination module is configured to: in response to the one or more ongoing process nodes not having a state, determine the process state of the object according to the state transfer events of the multiple process nodes.
[0017] In a third aspect of the present disclosure, a computer 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.
[0018] 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.
[0019] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, characterized in that when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0020] The method and related devices for determining the process state of an object provided by the embodiments of the present disclosure provide a unified object process state calculation logic to solve the problem of inaccurate node state calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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.
[0022] Figure 1A A schematic diagram showing an exemplary system provided by an embodiment of the present disclosure is shown.
[0023] Figure 1B An exemplary node topology diagram is shown.
[0024] Figure 2A A schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0025] Figure 2B Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0026] Figure 2C Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0027] Figure 2D Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0028] Figure 2E Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0029] Figure 2F Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0030] Figure 2G Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0031] Figure 2H Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0032] Fig.2I Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0033] Figure 2J Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0034] Figure 3 Another schematic diagram of an exemplary page according to an embodiment of the present disclosure is shown.
[0035] Figure 4 A flowchart of an exemplary method provided by an embodiment of the present disclosure is shown.
[0036] Figure 5 A schematic diagram of the hardware structure of an exemplary computer device provided in an embodiment of the present disclosure is shown.
[0037] Figure 6 A schematic diagram of an exemplary device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0038] 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.
[0039] 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.
[0040] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0041] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently 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.
[0042] As an optional but non-limiting implementation, in response to receiving the user's active request, 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.
[0043] 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 relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0044] Figure 1A A schematic diagram of an exemplary system 100 provided by an embodiment of the present disclosure is shown.
[0045] like Figure 1AAs shown, the system 100 can be used to implement online or offline project management functions, and can include terminal devices 102A, 102B, a server 106, and a database server 108. A medium (e.g., a network) providing a communication link may be included between the terminal devices 102A, 102B and the server 106 and the database server 108. The network may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0046] Various applications (APPs) or software may be installed on the terminal devices 102A and 102B, such as project management applications or software, collaborative office applications or software, image processing applications or software, video conferencing applications or software, reading applications or software, video applications or software, social applications or software, payment applications or software, web browsers, and instant messaging tools, etc. In some embodiments, these applications or software may be used to manage projects.
[0047] The terminal devices 102A and 102B here can be hardware or software. When the terminal devices 102A and 102B are hardware, they can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, MP3 players, laptop computers (Laptops) and desktop computers (PCs), etc. When the terminal devices 102A and 102B are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0048] The server 106 may be a server that provides various services, such as a backend server that provides support for various applications displayed on the terminal devices 102A and 102B. The database server 108 may also be a database server that provides various services. It is understood that if the server 106 can implement the relevant functions of the database server 108, the database server 108 may not be set in the system 100.
[0049] Here, the server 106 and the database server 108 can also be hardware or software. When they are hardware, they can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When they are software, they can be implemented as multiple software or software modules (for example, for providing distributed services), or as a single software or software module. No specific limitation is made here.
[0050] It should be noted that the method for editing a document provided in the embodiment of the present disclosure may be executed by the server 106. It should be understood that Figure 1AThe number of terminal devices, users, servers and database servers in the embodiment is only for illustration. Any number of terminal devices, users, servers and database servers may be provided as required.
[0051] In one embodiment, the terminal devices 102A and 102B may be installed with a project management application or software, and the users 104A and 104B may use the application or software installed in the terminal devices 102A and 102B to manage the project, for example, to set up work items related to the project process and process nodes, and so on.
[0052] In the related art, the ways of managing projects may be different. For example, a common way may be that a user manually adds the flow status of a project according to the actual situation. For another example, a project management application or software may be used to implement automatic process status management.
[0053] However, depending on the characteristics of the project, the process management method for automatic status transfer may also be different.
[0054] For example, for projects with unfixed process status, you can first determine the project process (including process nodes and node flow relationships), and then determine the current process status of the project based on the status of key nodes in the process. This method is more suitable for scenarios where the process is more flexible, the cycle is shorter, and there are no fixed requirements for the process status of the project. For example, for production and research needs, the status of the project is generally identified based on the arrival or completion of key design, review, development and other nodes in the project process. Because the process is more flexible, new process status can also be added when adding key nodes to the project process.
[0055] For another example, for projects with basically fixed process states, you can first determine the process states that the project will go through, and then assign the project's process nodes to each process state. After all process nodes in each process state are completed, the project's process state automatically flows to the next process state. This method is more suitable for scenarios where the process is highly planned, the cycle is long, and the project's process state is relatively certain. For example, in large projects with strong planning and control, the project will go through several clear process states, and a series of process nodes will be disassembled under each process state. Because the process state is relatively fixed, when adding a new process node to the project process, you can usually only add a process node under the existing process state (that is, you usually cannot add a new process state).
[0056] With respect to the above two automatic process management methods, project management applications or software can also use different methods to implement process management.
[0057] For example, for the first automatic process management method mentioned above, you can first configure a node arrival event (indicating that the node has started) and a node completion event (indicating that the node has ended) for each process node, and set a state flow event for the node arrival event and / or node completion event of the key node. In this way, when a node arrival event and / or node completion event of a key node of the project occurs, the process state of the project can be determined based on its corresponding state flow event.
[0058] After all the above information is configured, the latest process status of the project can be determined by traversing the nodes. For example, all the process nodes that are not currently started can be removed first, and then the node events of the remaining process nodes can be traversed based on the topological order of the remaining process nodes, and the state corresponding to the last state transition event traversed can be determined as the process status of the project.
[0059] Figure 1B An exemplary node topology diagram is shown.
[0060] like Figure 1B As shown, the topological order of the nodes can be ABDCEFHGIJ. Assuming that the process node GIJ is an unstarted node, the process node ABDCEFH is traversed from left to right and from top to bottom. First, the node arrival events of all nodes in the same level (dividing the levels by left and right, for example, BD is the same level, and A is the upper level of BD) are calculated, and then the node completion events of all nodes in the level are calculated. In this way, the node event traversal order can be Ab-Ae-Bb-Db-De-Eb-Ce-Ee-Fb-Hb, where "b" represents the arrival event and "e" represents the completion event. Next, determine whether each traversed node arrival event and node completion event is configured with a state flow event (generally, the node arrival event and / or node completion event of the key node can be configured with a state flow event), then find these configured state flow events, and sort these configured state flow events according to the node event traversal order, and determine the process state corresponding to the last state flow event as the process state of the project.
[0061] For another example, for the second automatic process management method mentioned above, the process states can be arranged in order according to the order in which the states occur, and then the process nodes of the project can be classified under a unique process state (the process state is the state or belonging state of the process node). When classifying the process nodes under the process state, the belonging state of each process node cannot be higher than that of its predecessor node (for example, refer to Figure 1B As shown, node B is the predecessor node of node C).
[0062] When calculating the current process status, the status of each unstarted node and in-progress node (excluding completed nodes) can be determined first, and then the status of the top-ranked unstarted node and / or in-progress node can be determined as the process status of the project.
[0063] From this, it can be seen that the above two automatic process management methods have inconsistent configuration and calculation logic of the process status of the nodes (for example, one method is to calculate the process status according to the event traversal rules, and the other method is to calculate the process status according to the status grouping rules), and they are difficult to be compatible with each other.
[0064] However, the inventor of the present disclosure has found that for the same project management software, the automatic process management methods provided by different versions thereof adopt the above two different automatic process management methods, which results in users not understanding the differences in the state configuration usage and applicable scenarios of different versions of the project management software when using different versions, resulting in low efficiency. Moreover, when upgrading the software version, due to the inconsistency of the configuration and calculation logic of different versions, the user's original configuration may be lost and needs to be reconfigured, resulting in a smooth upgrade failure and an upgrade bottleneck.
[0065] In addition, the first automatic process management method, the process status calculation of the node at the parallel node does not meet the expectations of some users, and a clearer rule display is required. In addition, for some users, more advanced functions may be required to handle more complex status rules.
[0066] It can be seen from this that since different versions of project management software support the above two automatic process management methods respectively, the two cannot be simply merged due to different applicable scenarios and status determination logic.
[0067] In view of this, one aspect of an embodiment of the present disclosure provides a method for determining the process status of an object or instance (for example, a project or a sub-project or grand-project under a project), which can unify the underlying computing logic of the process status of the project to a certain extent.
[0068] Figure 2A A schematic diagram of an exemplary page 200 according to an embodiment of the present disclosure is shown. The page 200 can be used for project management.
[0069] like Figure 2A As shown, in some embodiments, user 104A (eg, a project administrator) can use terminal device 102A to open project management or collaborative office software and enter project management function page 200 through a project management portal.
[0070] like Figure 2AAs shown, in page 200 , process nodes can be set for the process of an object (eg, a project or a sub-project or grand-project under a project), or a topology diagram can be generated based on the set process nodes and displayed in page 200 .
[0071] like Figure 2A As shown, in some embodiments, the page 200 includes a first area 200A and a second area 200B, wherein a topology map may be displayed in the first area 200A, and the second area 200B may display various configuration items for configuring a node.
[0072] like Figure 2A As shown, in some embodiments, one side (e.g., the top) of the first area 200A may display tags 202A-202D for switching the display content of the first area 200A. For example, when the tag 202A is triggered (e.g., clicked), the first area 200A may display a node topology diagram (or a flow chart), such as Figure 2A As shown. In some embodiments, if the process node is configured with a belonging state, the label 202B can be displayed in the first area 200A, and when the label 202B is triggered, the first area 200A can switch to display the swimlane diagram. It can be understood that in order to facilitate the user 104A to configure the belonging state of the process node, when any process node does not have a belonging state, the first area 200A can also display the label 202B. When the label 202C is triggered, the first area 200A can switch to display the basic information of the object (or project, process, instance, etc.), including: object name, some basic configuration information and configuration items of the object. When the label 202D is triggered, the first area 200A can switch to display the schedule of the object.
[0073] In some embodiments, depending on the current display content of the first area 200A, the corresponding label may be highlighted to prompt the user 104A what the current display content is. Figure 2A As shown, the first area 200A currently displays a topology diagram of a process node, and the label 202A may be highlighted (eg, the font is bolded, the font is underlined, the font background color changes, etc.).
[0074] As mentioned above, in the related art, project management software can only provide some relatively fixed process management capabilities. For some complex situations, users may need more advanced functions to achieve process management. Therefore, in some embodiments, the present disclosure provides user-configurable state calculation rules to achieve special state calculations.
[0075] like Figure 2AAs shown, in some embodiments, the page 200 includes a button 204 for configuring the state calculation rule. When the button 204 is triggered (eg, clicked), a page 220 for configuring the state calculation rule may be displayed, such as Figure 2B As shown. It can be understood that in addition to the aforementioned way of entering page 220, page 220 can also be entered through other entrances. For example, when user 104A triggers tag 202C, first area 200A can switch to display basic information of the object (or project, process, instance, etc.), and a button corresponding to button 204 can be displayed in first area 200A as an entrance to page 220.
[0076] In some embodiments, Figure 2B As shown, the page 220 may include a first area 220A and a second area 220B, wherein the first area 220A may be used to configure the state calculation rule, and the second area 220B may display the state calculation rule that has been configured.
[0077] It can be understood that in the initial state, the specific information in the first area 220A and the second area 220B may be empty, such as Figure 2C In other words, refer to Figure 2C As shown, in the initial state, the first area 220A does not display any content. After the user 104A triggers the button 222, the first area 220A displays the following content: Figure 2C The contents shown in the figure are window 224A for configuring the state calculation condition and window 224B for configuring the state calculation result, wherein window 224B may further display a second configuration item 230 for configuring the state calculation result, and user 104A may fill in the second configuration item 230 when the state calculation condition is satisfied (refer to Figure 2B The state calculation result to be displayed is as shown. When the state calculation condition is hit later, the state calculation result corresponding to the state calculation condition can be determined as the process state of the object.
[0078] In some embodiments, after the user 104A triggers the button 226, a first configuration item 228 for configuring the state calculation condition may be added to the window 224A, such as Figure 2D Optionally, Figure 2D As shown, the first configuration item 228 may further include a first option 228A for configuring a target process node, a second option 228B for configuring a logical operator, and a third option 228C for configuring a target value of the target process node. Figure 2DAs shown, optionally, in the initial state, the first option 228A, the second option 228B and the third option 228C are all empty values, and a drop-down arrow is set on the right side of each option. The user 104A can view the drop-down menu corresponding to each option (not shown in the figure) by triggering the drop-down arrow, and can select the corresponding option from the drop-down menu to configure the first configuration item 228. Optionally, the drop-down menu of the first option 228A can include the names of all process nodes of the current object, the drop-down menu of the second option 228B can include logical operators such as the existence option belongs to, all options do not belong to, equal to, not equal to, empty, not empty, etc., and the drop-down menu of the third option 228C can include target value options such as not started, in progress, and completed.
[0079] In some embodiments, in response to receiving a configuration completion instruction of the state calculation rule (for example, when the first option 228A, the second option 228B, and the third option 228C of the first configuration item 228 are all configured and the second configuration item 230 is configured), the state calculation rule can be generated according to the configuration information of the first configuration item 228 and the second configuration item 230, and the state calculation rule can be automatically displayed in the second area 220B, refer to Figure 2B It is understood that the configuration completion instruction can also be triggered by a key, for example, Figure 2B As shown, after the configuration is completed, the user 104A clicks the Generate Rule button in the lower right corner to generate the state calculation rule, and the state calculation rule can be automatically displayed in the second area 220B.
[0080] Back to Figure 2D In some embodiments, user 104A can add a condition to the same state calculation rule by triggering button 226 again. The added condition can be in an "and" relationship with the already configured condition. After the added condition is configured, the state calculation rule is also updated accordingly. For example, Figure 2B As shown, the first state calculation rule is configured such that when the state of node 1 is in progress and the state of node 2 is in progress, the process state of the object is "under technical solution design". In this way, when this state calculation rule is hit, the process state of the object can be confirmed as "under technical solution design". Figure 2B As shown, the user 104A can also click the delete condition button to clear all the conditions that have been created under the rule with one click, thereby facilitating the user to reset the conditions.
[0081] Continue to refer to Figure 2B , user 104A can also modify a state calculation rule by selecting it. Figure 2BAs shown, illustratively, the first state calculation rule is currently selected (it is highlighted), and its configured state calculation conditions and state calculation results are correspondingly displayed in the first area 220A. The user 104A can modify the state calculation rule by modifying these configuration items.
[0082] In some embodiments, Figure 2B As shown, the user 104A can configure multiple state calculation rules, and these state calculation rules can be displayed in the second area 220B, and, in the initial state, these state calculation rules can be arranged in the order in which they are added. Figure 2B As shown, the user 104A can also search for the created state calculation rules through the search box.
[0083] Alternatively, if Figure 2B As shown, page 220 may also display a prompt message 232 for prompting configuration rules. Optionally, the prompt message 232 may include prompts for the user to use in the subsequent calculation rules for calculating the process status, for example, "the instance will display the status according to the first rule that is hit, and when no rule is hit, it will be displayed according to the state configuration of the node or the state flow event configuration." According to the prompt message 232, optionally, when calculating the process status, the first rule that is hit among multiple state calculation rules may be used to determine the process status, and therefore, the order of the state calculation rules also reflects the priority of the state calculation rules.
[0084] Therefore, in some embodiments, the user 104A can adjust the priority order of the state calculation rules by adjusting the order of the state calculation rules. Alternatively, the user 104A can adjust the order of the state calculation rules by dragging them.
[0085] like Figure 2B As shown, exemplarily, a drag button 234A, 234B is set in front of each state calculation rule. The user 104A can generate a drag instruction by long pressing the drag button 234A or 234B and moving it, and the terminal device 102A can adjust the arrangement order of each state calculation rule according to the release position.
[0086] In addition to configuring the status calculation rules, the user 104A may also configure the status of the node.
[0087] like Figure 2A As shown, in some embodiments, the user 104A can select a node (e.g., node 2) in the node topology map as a target process node, and the node can be highlighted in the topology map, and a third configuration item 206 for configuring the state of the target process node can be displayed in the second area 200B of the page 200. Figure 2AAs shown, a drop-down arrow may be displayed on the right side of the third configuration item 206. User 104A may click the drop-down arrow to view a drop-down menu, which may display the state options that user 104A has pre-configured, and may select the state corresponding to the target process node from the drop-down menu, thereby completing the configuration of the state of the target process node. Subsequently, the state of the target process node may be determined based on the configuration information of the third configuration item 206. In some embodiments, when calculating the process state, the calculation priority of the state is higher than the state flow event, so user 104A may be given a certain prompt. Optionally, as Figure 2A As shown, a prompt control 2062 is displayed on one side of the third configuration item 206. When the mouse is hovered over the prompt control 2062, a prompt message "After adding the node status in the process, the status flow event will no longer be effective. The instance side defaults to displaying the front state of the ongoing node status" can be displayed, thereby prompting the user that after configuring the status, the status flow event configured under the node will no longer be effective.
[0088] In addition to configuring the node status in the second area 200B, the node status may also be configured in the swimlane diagram.
[0089] like Figure 2E As shown, when the user 104A triggers the tag 202B, the first area 200A of the page 200 switches the topology map to a swimlane map corresponding to the topology map, and the tag 202B is highlighted. Figure 2E As shown, a button 208 for adding a status is set on one side of the swimlane diagram. After the button 208 is triggered (for example, clicked), a window 210 for setting a status may be displayed on one side of the button 208. The window 210 may further include multiple status options, such as starting, reviewing, developing, testing, releasing and launching, etc. These status options may be some common or basic statuses, and the user 104A may create a status by selecting one or more of the status options.
[0090] For example, if the user 104A triggers the state option corresponding to the start state, the state label 214A corresponding to the start state option may be displayed on one side of the swimlane diagram, such as Figure 2G shown.
[0091] At this time, a new belonging state is created by user 104A. However, in the initial state, all process nodes are not configured with a belonging state. Therefore, label 214B can also be displayed on the right side of label 214A to indicate no belonging state. At this time, all process nodes are classified under label 214B, indicating that these nodes are currently not configured with a belonging state.
[0092] Next, the user 104A can configure the state of the node by dragging it. For example, the user 104A drags the node 1 to the bottom of the label 214A and releases it, and the state of the node 1 is configured as "start". Figure 2H It is understood that the user 104A can also drag the node with the configured belonging state back to the label 214B to remove the configured belonging state.
[0093] According to the above idea, the user 104A can also configure more belonging states, and display corresponding labels on one side of the swimlane diagram. The user 104A can conveniently configure the belonging states for the nodes by dragging the nodes.
[0094] Back to Figure 2F In some embodiments, if the belonging state option in the window 210 does not have the belonging state that the user 104A needs to create, the user 104A can trigger the button 212 for creating a new state to open the window 216 for creating a new state and can create a new belonging state in the window 216, such as Fig.2I shown.
[0095] like Fig.2I As shown, after the button 212 is triggered, a window 216 is displayed on one side of the button 212, and the window 216 may include a fifth configuration item 2162 for setting a new belonging state. The user 104A can configure the belonging state in the fifth configuration item 2162. After clicking the confirmation button, the terminal device 102A can create a new belonging state according to the configuration information of the fifth configuration item 2162 (for example, "technical solution is under development"), and display a new belonging state label corresponding to the new belonging state on one side of the swimlane diagram (not shown in the figure). Optionally, the user 104A can drag the belonging state label to adjust the order of the belonging states to adjust the priority of the belonging states (that is, what state occurs first and what state occurs later). When the node is configured, it cannot violate the priority, that is, the belonging state of the configured node cannot be earlier than the belonging state of its predecessor node.
[0096] In some embodiments, the belonging status may also be configured in the schedule.
[0097] When a process node does not have any state, you can add a new state in the plan table, and display the state line corresponding to the newly added state in the plan table. After adding the state line corresponding to the newly added state, it is assumed that there is no node under the state line. All process nodes are placed at the bottom of the plan table, and the process nodes can be moved to the state line corresponding to the newly added state by dragging and dropping to realize the configuration of the state. When the state line corresponding to the newly added state is collapsed, the nodes under it are collapsed together, and the nodes without the state are still displayed in the plan table.
[0098] In some embodiments, when the process has no state and adds the first state, a new "no state" group is added to the plan table, all nodes are placed under the "no state" group, and the "no state" group is placed at the bottom and cannot be adjusted.
[0099] Optionally, the newly added status row is placed at the end, but before the "No Status" group. After the addition, the status can be reordered by dragging and dropping, but the priority of the nodes cannot be violated, that is, the order of the node's status cannot be earlier than the status of any of its predecessor nodes.
[0100] According to the above ideas, the status of the process node can be configured, and then the status flow events of the process node can be configured.
[0101] Back to Figure 2A The second area 200B of the page 200 also includes a label 218A and a label 218B, and the label 218A is highlighted when the second area 200B of the page 200 displays the third configuration item 206 for configuring the state of the target process node.
[0102] For example, the user 104A may trigger the tag 218B to cause the second area 200B to display a fourth configuration item 2182 for configuring the state transition event of the target process node (eg, the currently selected node 2), such as Figure 2J Optionally, the state transition event includes a state transition event of reaching a process node and a state transition event of completing a process node. In the initial state, the fourth configuration item 2182 may not be displayed in the second area 200B, but an add arrival event button 2184 and an add completion event button 2186 may be displayed. By triggering the add arrival event button 2184 or the add completion event button 2186, the fourth configuration item 2182 may be further displayed in the second area 200B. Optionally, as Figure 2JAs shown, the fourth configuration item 2182 further includes event type options and state transition options. User 104A configures the corresponding event type and state in these options. Subsequently, when the state calculation rules and the corresponding state are not hit, the process state of the object can be determined according to the states corresponding to these state transition events.
[0103] In some embodiments, Figure 2J As shown, in response to the target process node (e.g., node 2) being configured with the state, the second area 200B may also display a prompt message 2188 to further prompt the user 104A that the state flow event of the target process node has a lower priority than the state. For example, the content of the prompt message may be "After adding the state of the node to the process, this state flow event will no longer take effect". Optionally, in response to the target process node being configured with the state, the fourth configuration item 2182 is locked, and the user 104A will no longer be able to configure it.
[0104] After completing the configuration, the user 104A may publish the configuration information so that the process status can be calculated later according to the configuration information.
[0105] For example, user 104B may be a user (e.g., a developer) who uses project management software, and may use the project management software installed in terminal device 102B to manage a project. For example, user 104B may add or delete a process node, change the state of any process node, etc. When the above changes or similar changes occur, system 100 is triggered to recalculate the process state of the project.
[0106] Therefore, in response to a change in the state of one or more of the process nodes, the terminal device 102A, 102B or the system 100 can obtain one or more state calculation rules corresponding to the object (for example, the state calculation rules configured in the aforementioned embodiment).
[0107] If one or more of the state calculation rules are hit, the process state of the object may be determined according to the one or more of the state calculation rules that are hit.
[0108] As mentioned above, in some embodiments, multiple state calculation rules have a priority order. If multiple state calculation rules are hit, the process state of the object can be determined according to the state calculation rule with the highest priority among the multiple state calculation rules hit. Figure 2BAs shown, assuming that both the first state calculation rule and the second state calculation rule are hit (i.e., the state calculation condition is met), since the priority of the first state calculation rule is higher than that of the second state calculation rule, the process state of the object is determined according to the state calculation result of the first state calculation rule, i.e., "technical solution is being designed".
[0109] In other embodiments, the state calculation rules can be sequentially judged whether they are hit according to the order of the multiple state calculation rules, and then the process state of the object is determined according to the state calculation rule that is hit first. In this way, the priority setting is completed by configuring the order of the state calculation rules during configuration, and the priority does not need to be set separately, which is convenient for users.
[0110] In some embodiments, if all status calculation rules are not hit, one or more ongoing process nodes among multiple process nodes can be determined. If the one or more ongoing process nodes have one or more belonging states, the process state of the object is determined based on the one or more belonging states.
[0111] Optionally, the multiple states have a state change sequence (e.g., start→under review→under development→under testing→released online), and the process state of the object can be determined according to the state change sequence of the multiple states. For example, the state of the node with the highest order is selected as the process state of the object.
[0112] Exemplarily, assuming that no status calculation rule is currently hit, and nodes 1, 2, and 4 are in-progress nodes, and their respective statuses are under review, under development, and under testing, then it is determined that under review is the process status of the object.
[0113] If one or more ongoing process nodes do not have a status, the process status of the object may be determined based on the status transition events of the multiple process nodes.
[0114] Optionally, one or more completed and ongoing process nodes among the plurality of process nodes and the topological order of the completed and ongoing process nodes may be determined first (refer to Figure 1B As shown); then, according to the topological order, traverse the state flow events of the completed and ongoing one or more process nodes; finally, determine the process state of the object according to the last state flow event traversed.
[0115] For example, reference Figure 1BAs shown, the topological order of the nodes can be ABDCEFHGIJ. Assuming that the process node GIJ is an unstarted node, the process node ABDCEFH is traversed from left to right and from top to bottom. First, the node arrival events of all nodes in the same level (dividing the levels by left and right, for example, BD is the same level, and A is the upper level of BD) are calculated, and then the node completion events of all nodes in the level are calculated. In this way, the node event traversal order can be Ab-Ae-Bb-Db-De-Eb-Ce-Ee-Fb-Hb, where "b" represents the arrival event and "e" represents the completion event. Next, determine whether each traversed node arrival event and node completion event is configured with a state flow event (generally, the node arrival event and / or node completion event of the key node can be configured with a state flow event), then find these configured state flow events, and sort these configured state flow events according to the node event traversal order, and determine the process state corresponding to the last state flow event as the process state of the project.
[0116] After determining the process status of the object, such as Figure 3 As shown, the user 104B can view the process status through the terminal device 102B, for example, view the process status information 302 in the process management page 300, so as to know the current process status of the project and to understand the progress of the project at any time.
[0117] It can be seen from the above embodiments that the method for determining the process status of an object provided by the embodiments of the present disclosure provides a unified object process status calculation logic, solves the problem of inaccurate node status calculation, and supports smooth software upgrades.
[0118] 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.
[0119] 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.
[0120] Figure 4 FIG. 4 is a flow chart of an exemplary method 400 provided by an embodiment of the present disclosure. The method 400 may be used to determine the process state of an object, wherein the object includes a plurality of process nodes. Optionally, the method 400 may be Figure 1A The terminal devices 102A and 102B can be implemented separately or by Figure 1A The system 100 is implemented as follows.
[0121] like Figure 4 As shown, the method 400 may further include the following steps.
[0122] In step 402, in response to a change in the state of one or more of the process nodes, one or more state calculation rules corresponding to the object are obtained.
[0123] In step 404, in response to one or more of the state calculation rules being hit, the process state of the object is determined according to the one or more of the state calculation rules being hit.
[0124] In some embodiments, the plurality of state calculation rules have a priority order;
[0125] In response to one or more of the state calculation rules being hit, determining the process state of the object according to the one or more of the state calculation rules being hit includes:
[0126] In response to a plurality of the state calculation rules being hit, the process state of the object is determined according to a state calculation rule with the highest priority among the plurality of the state calculation rules being hit.
[0127] refer to Figure 2B As shown, assuming that both the first state calculation rule and the second state calculation rule are hit (i.e., the state calculation condition is met), since the priority of the first state calculation rule is higher than that of the second state calculation rule, the process state of the object is determined according to the state calculation result of the first state calculation rule, i.e., "technical solution is being designed".
[0128] In step 406 , in response to none of the one or more status calculation rules being hit, one or more process nodes in progress among the plurality of process nodes are determined.
[0129] In step 408, in response to the one or more process nodes in progress having one or more belonging states, the process state of the object is determined according to the one or more belonging states.
[0130] In some embodiments, the plurality of belonging states have a state change sequence;
[0131] In response to the one or more process nodes in progress having one or more belonging states, determining the process state of the object according to the one or more belonging states includes:
[0132] In response to the one or more process nodes in progress having a plurality of states, the process state of the object is determined according to the state change sequence of the plurality of states.
[0133] In other embodiments, if all the preceding nodes of the state have been completed, the state is recorded as the state has been reached; if all the nodes in the state have been completed, the state is recorded as the state has been completed; for any state, if it does not satisfy the state has been reached and the state has been completed, the state is recorded as the state in progress. Determining the process state of the object according to the one or more states includes: determining the state with the highest ranking among the states recorded as the state in progress as the process state of the object.
[0134] In step 410, in response to the one or more process nodes in progress not having a state, the process state of the object is determined according to the state transition events of the multiple process nodes.
[0135] In some embodiments, in response to the one or more process nodes in progress not having a state, determining the process state of the object according to the state transition events of the multiple process nodes includes:
[0136] Determine one or more completed and ongoing process nodes among the plurality of process nodes and a topological order of the one or more completed and ongoing process nodes;
[0137] According to the topological order, traverse the state flow events of the completed and ongoing one or more process nodes;
[0138] The process state of the object is determined according to the last state transition event traversed.
[0139] In other embodiments, if no state transition event is hit, the last state in the completed state is determined as the process state of the object; if no state is configured, the process state of the object is determined as the initial state.
[0140] It can be seen from the above embodiments that the method for determining the process status of an object provided by the embodiments of the present disclosure provides a unified object process status calculation logic, solves the problem of inaccurate node status calculation, and supports smooth software upgrades.
[0141] In some embodiments, the state flow event includes a state flow event of reaching a process node and a state flow event of completing a process node, so that the state can be calculated more accurately.
[0142] In some embodiments, the method further comprises:
[0143] Display a first page for configuring the state calculation rule (eg, Figure 2B 220), the first area of the first page (eg, Figure 2B The first area 220A) includes a first configuration item for configuring a state calculation condition (eg, Figure 2B 228) and a second configuration item for configuring the state calculation result (eg, Figure 2B The second configuration item 230 includes a first option for configuring the target process node (eg, Figure 2D ), a first option 228A for configuring a logical operator (e.g., Figure 2D A second option 228B) for configuring a target value of the target process node and a third option (eg, Figure 2D The third option 228C);
[0144] In response to receiving a configuration completion instruction of a state calculation rule, the state calculation rule is generated according to the configuration information of the first configuration item and the second configuration item, such as Figure 2B shown.
[0145] Through the above embodiments, the user can easily complete the configuration of the state calculation rules.
[0146] In some embodiments, the method further comprises:
[0147] In the second area of the first page (eg, Figure 2B The second area 220B) displays the one or more state calculation rules;
[0148] In response to the number of the state calculation rules being plural, sequentially arranging the plurality of state calculation rules;
[0149] In response to a drag instruction for a target state calculation rule among the plurality of state calculation rules, the order of the target state calculation rules is adjusted according to the drag instruction.
[0150] Through the above embodiments, the user can conveniently sort the status calculation rules, and the sorting can also be reflected as the priority of the rules to facilitate the subsequent calculation of the status.
[0151] In some embodiments, in response to one or more of the state calculation rules being hit, determining the process state of the object according to the one or more of the state calculation rules being hit includes:
[0152] According to the order of the plurality of state calculation rules, determining in sequence whether the state calculation rules are hit;
[0153] The process state of the object is determined according to the state calculation rule that is hit first.
[0154] Through the above embodiments, the user can conveniently determine the priority of the rules based on the order of the rules, and the calculated state can meet some special needs of the user.
[0155] In some embodiments, the method further comprises:
[0156] Display a second page for configuring the belonging state (eg, Figure 2A 200), the first area of the second page (eg, Figure 2A The first area 200A of the second page includes a topological diagram of the plurality of process nodes, and the second area of the second page (eg, Figure 2A The second area 200B) includes a third configuration item (for example, Figure 2A The third configuration item 206);
[0157] The state of the target process node is determined according to the configuration information of the third configuration item.
[0158] Through the above embodiments, the user can conveniently complete the configuration of the status.
[0159] In some embodiments, the second region further includes a first label (e.g., Figure 2A 218A) and a second tag (e.g., Figure 2A The first label 218B), the first label is highlighted when the second area displays a third configuration item for configuring the state of the target process node;
[0160] The method further comprises:
[0161] In response to the second tag being triggered, a fourth configuration item (for example, Figure 2J The fourth configuration item 2182);
[0162] In response to the target process node being configured with a state, a prompt message is displayed to prompt that the state transition event of the target process node has a lower priority than the state (for example, Figure 2J prompt message 2188).
[0163] Through the above embodiment, after the user configures the state of a node, the user is prompted that the node cannot be configured with a state transfer event because the state transfer event has a lower priority than the state.
[0164] In some embodiments, the method further includes: in response to the target process node having been configured with its own state, locking the fourth configuration item, so that when the node has been configured with its own state, the user is no longer required to configure the state flow event, thereby avoiding the user from wasting time or causing calculation conflicts.
[0165] In some embodiments, the first region further includes a third label (e.g., Figure 2A 202A) and a fourth tag (e.g., Figure 2A The third label is highlighted when the topology map is displayed in the first area;
[0166] The method further comprises:
[0167] In response to the fourth tag being triggered, a swimlane diagram corresponding to the topology diagram is displayed in the first area, and a first button (for example, Figure 2E Key 208);
[0168] In response to the first button being triggered, a first window (eg, Figure 2F The first window includes a plurality of belonging status options;
[0169] In response to a target belonging state option among the multiple belonging state options being triggered, a target belonging state label (for example, Figure 2G Label 214A);
[0170] In response to the target process node in the swimlane diagram being dragged to the corresponding position of the target state label, the target state is configured for the target process node, such as Figure 2H As shown, it is convenient for users to configure the status.
[0171] In some embodiments, the first window further includes a second button for creating a new state (eg, Figure 2F Key 212);
[0172] The method further comprises:
[0173] In response to the second button being triggered, a second window (eg, Fig.2I The second window includes a fifth configuration item for setting a new belonging state (for example, Fig.2I The fifth configuration item 2162);
[0174] Creating a new belonging state according to the configuration information of the fifth configuration item;
[0175] A new belonging state label corresponding to the new belonging state is displayed on one side of the swimlane diagram.
[0176] Through the above embodiment, the user can quickly add a new belonging status, which is convenient for operation.
[0177] 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.
[0178] 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.
[0179] The embodiment of the present disclosure also provides a computer device for implementing the above method 400. Figure 5 FIG. 5 is a schematic diagram showing the hardware structure of an exemplary computer device 500 provided in an embodiment of the present disclosure. The computer device 500 can be used to implement Figure 1A The server 106 can also be used to implement Figure 1A In some scenarios, the computer device 500 can also be used to implement Figure 1A The database server 108.
[0180] like Figure 5As shown, the computer device 500 may include: a processor 502, a memory 504, a network interface 506, a peripheral interface 508 and a bus 510. The processor 502, the memory 504, the network interface 506 and the peripheral interface 508 are connected to each other in communication within the computer device 500 through the bus 510.
[0181] Processor 502 may be a central processing unit (CPU), an image processor, 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 502 may be used to perform functions related to the technology described in this disclosure. In some embodiments, processor 502 may also include multiple processors integrated into a single logical component. For example, Figure 5 As shown, processor 502 may include a plurality of processors 502a, 502b, and 502c.
[0182] The memory 504 may be configured to store data (eg, instructions, computer code, etc.). Figure 5 As shown, the data stored in the memory 504 may include program instructions (e.g., program instructions for implementing the method 400 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 502 may also access the program instructions and data stored in the memory 504, and execute the program instructions to operate on the data to be processed. The memory 504 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 504 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.
[0183] The network interface 506 can be configured to provide the computer device 500 with communication with other external devices 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)), 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.
[0184] The peripheral interface 508 can be configured to connect the computer device 500 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.
[0185] The bus 510 may be configured to transmit information between various components of the computer device 500 (e.g., the processor 502, the memory 504, the network interface 506, and the peripheral interface 508), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.
[0186] It should be noted that, although the architecture of the above-mentioned computer device 500 only shows the processor 502, the memory 504, the network interface 506, the peripheral interface 508 and the bus 510, in the specific implementation process, the architecture of the computer device 500 may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the architecture of the above-mentioned computer device 500 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.
[0187] The disclosed embodiment also provides a device for determining the process status of an object. Figure 6 FIG. 6 is a schematic diagram of an exemplary device 600 provided by an embodiment of the present disclosure. Figure 6 As shown, the device 600 can be used to implement the method 400, and can further include the following modules.
[0188] The acquisition module 602 is configured to: in response to a change in the state of one or more of the process nodes, acquire one or more state calculation rules corresponding to the object;
[0189] The first determination module 604 is configured to: in response to one or more of the state calculation rules being hit, determine the process state of the object according to the one or more of the state calculation rules being hit;
[0190] The second determination module 606 is configured to: in response to none of the one or more state calculation rules being hit, determine one or more process nodes in progress among the multiple process nodes;
[0191] The third determination module 608 is configured to: in response to the one or more process nodes in progress having one or more belonging states, determine the process state of the object according to the one or more belonging states;
[0192] The fourth determination module 610 is configured to: in response to the one or more ongoing process nodes not having a state, determine the process state of the object according to the state transition events of the multiple process nodes.
[0193] In some embodiments, the multiple state calculation rules have a priority order; the first determination module 604 is configured to: in response to multiple state calculation rules being hit, determine the process state of the object according to the state calculation rule with the highest priority among the multiple state calculation rules that are hit.
[0194] In some embodiments, the multiple states have a state change sequence; the fourth determination module 610 is configured to: in response to one or more ongoing process nodes having multiple states, determine the process state of the object according to the state change sequence of the multiple states.
[0195] In some embodiments, the fourth determination module 610 is configured to:
[0196] Determine one or more completed and ongoing process nodes among the plurality of process nodes and a topological order of the one or more completed and ongoing process nodes;
[0197] According to the topological order, traverse the state flow events of the completed and ongoing one or more process nodes;
[0198] The process state of the object is determined according to the last state transition event traversed.
[0199] In some embodiments, the state flow event includes a state flow event of reaching a process node and a state flow event of completing a process node.
[0200] In some embodiments, the apparatus further comprises:
[0201] A display module is configured to: display a first page for configuring the state calculation rule, wherein a first area of the first page includes a first configuration item for configuring the state calculation condition and a second configuration item for configuring the state calculation result, wherein the first configuration item includes a first option for configuring a target process node, a second option for configuring a logical operator, and a third option for configuring a target value of the target process node;
[0202] The generating module is configured to: in response to receiving a configuration completion instruction of the state calculation rule, generate the state calculation rule according to the configuration information of the first configuration item and the second configuration item.
[0203] In some embodiments, the display module is configured to:
[0204] Displaying the one or more status calculation rules in a second area of the first page;
[0205] In response to the number of the state calculation rules being plural, sequentially arranging the plurality of state calculation rules;
[0206] In response to a drag instruction for a target state calculation rule among the plurality of state calculation rules, the order of the target state calculation rules is adjusted according to the drag instruction.
[0207] In some embodiments, the first determination module 604 is configured to: determine in sequence whether the state calculation rules are hit according to the order of the plurality of state calculation rules;
[0208] The process state of the object is determined according to the state calculation rule that is hit first.
[0209] In some embodiments, the display module is configured to:
[0210] Displaying a second page for configuring the belonging state, wherein a first area of the second page includes a topology diagram of the plurality of process nodes, and a second area of the second page includes a third configuration item for configuring the belonging state of the target process node;
[0211] The state of the target process node is determined according to the configuration information of the third configuration item.
[0212] In some embodiments, the second area further includes a first label and a second label, and the first label is highlighted when the second area displays a third configuration item for configuring the state of the target process node;
[0213] Display module, configured as:
[0214] In response to the second tag being triggered, displaying a fourth configuration item for configuring a state transition event of the target process node in the second area;
[0215] In response to the target process node being configured with a belonging state, prompt information is displayed to prompt that the state flow event of the target process node has a lower priority than the belonging state.
[0216] In some embodiments, the display module is configured to: in response to the target process node having been configured to a corresponding state, lock the fourth configuration item.
[0217] In some embodiments, the first area further includes a third label and a fourth label, and the third label is highlighted when the first area displays the topology map;
[0218] Display module, configured as:
[0219] In response to the fourth tag being triggered, displaying a swimlane diagram corresponding to the topology diagram in the first area, and setting a first button for adding a state on one side of the swimlane diagram;
[0220] In response to the first button being triggered, displaying a first window for setting a belonging state on one side of the first button, wherein the first window includes a plurality of belonging state options;
[0221] In response to a target belonging state option among the multiple belonging state options being triggered, displaying a target belonging state label corresponding to the target belonging state option on one side of the swimlane diagram;
[0222] In response to the target process node in the swim lane diagram being dragged to a corresponding position of the target state label, the target state is configured for the target process node.
[0223] In some embodiments, the first window further includes a second button for creating a new state;
[0224] Display module, configured as:
[0225] In response to the second button being triggered, displaying a second window on one side of the second button, wherein the second window includes a fifth configuration item for setting a new belonging state;
[0226] Creating a new belonging state according to the configuration information of the fifth configuration item;
[0227] A new belonging state label corresponding to the new belonging state is displayed on one side of the swimlane diagram.
[0228] 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.
[0229] The device of the above embodiment is used to implement the corresponding method 400 in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0230] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and 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 method 400 described in any of the above embodiments.
[0231] 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, magnetic tape magnetic 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.
[0232] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method 400 described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0233] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present disclosure further provides a computer program product, which includes a computer program. In some embodiments, the computer program is executable by one or more processors so that the processors execute the described method 400. Corresponding to the execution subject corresponding to each step in each embodiment of the method 400, the processor that executes the corresponding step may belong to the corresponding execution subject.
[0234] In some embodiments, the computer program product includes a program module for resolving operation conflicts, the program module including a module compiled into a binary instruction set based on a stack virtual machine (e.g., wasm) for being called by a terminal device and / or a module compiled into a static library for being called by a server.
[0235] The computer program product of the above embodiment is used to enable the processor to execute the method 400 described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0236] 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.
[0237] 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.
[0238] 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.
[0239] 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 method for determining a process state of an object, wherein the object comprises a plurality of process nodes, the method comprising: In response to a change in the state of one or more of the process nodes, obtaining one or more state calculation rules corresponding to the object; In response to one or more of the state calculation rules being hit, determining the process state of the object according to the one or more of the state calculation rules being hit; In response to none of the one or more status calculation rules being hit, determining one or more process nodes in progress among the plurality of process nodes; In response to the one or more process nodes in progress having one or more belonging states, determining the process state of the object according to the one or more belonging states; In response to the one or more process nodes in progress not having a state, the process state of the object is determined according to state transition events of the multiple process nodes.
2. The method of claim 1, wherein: The multiple status calculation rules have a priority order; In response to one or more of the state calculation rules being hit, determining the process state of the object according to the one or more of the state calculation rules being hit includes: In response to a plurality of the state calculation rules being hit, the process state of the object is determined according to a state calculation rule with the highest priority among the plurality of the state calculation rules being hit.
3. The method of claim 1, wherein: The multiple belonging states have a state change sequence; In response to the one or more process nodes in progress having one or more belonging states, determining the process state of the object according to the one or more belonging states includes: In response to the one or more process nodes in progress having a plurality of states, the process state of the object is determined according to the state change sequence of the plurality of states.
4. The method of claim 1, wherein: In response to the one or more process nodes in progress not having a state, determining the process state of the object according to the state transition events of the multiple process nodes includes: Determine one or more completed and ongoing process nodes among the plurality of process nodes and a topological order of the one or more completed and ongoing process nodes; According to the topological order, traverse the state flow events of the completed and ongoing one or more process nodes; The process state of the object is determined according to the last state transition event traversed.
5. The method of claim 1, wherein: The state flow events include state flow events of reaching a process node and state flow events of completing a process node.
6. The method of claim 1, wherein: The method further comprises: Displaying a first page for configuring the state calculation rule, wherein a first area of the first page includes a first configuration item for configuring a state calculation condition and a second configuration item for configuring a state calculation result, wherein the first configuration item includes a first option for configuring a target process node, a second option for configuring a logical operator, and a third option for configuring a target value of the target process node; In response to receiving a configuration completion instruction of a state calculation rule, the state calculation rule is generated according to configuration information of the first configuration item and the second configuration item.
7. The method of claim 6, wherein: The method further comprises: Displaying the one or more status calculation rules in a second area of the first page; In response to the number of the state calculation rules being plural, sequentially arranging the plurality of state calculation rules; In response to a drag instruction for a target state calculation rule among the plurality of state calculation rules, the order of the target state calculation rules is adjusted according to the drag instruction.
8. The method of claim 7, wherein: In response to one or more of the state calculation rules being hit, determining the process state of the object according to the one or more of the state calculation rules being hit includes: According to the order of the plurality of state calculation rules, determining in sequence whether the state calculation rules are hit; The process state of the object is determined according to the state calculation rule that is hit first.
9. The method of claim 1, wherein: The method further comprises: Displaying a second page for configuring the belonging state, wherein a first area of the second page includes a topology diagram of the plurality of process nodes, and a second area of the second page includes a third configuration item for configuring the belonging state of the target process node; The state of the target process node is determined according to the configuration information of the third configuration item.
10. The method of claim 9, wherein: The second area further includes a first label and a second label, and the first label is highlighted when the second area displays a third configuration item for configuring the state of the target process node; The method further comprises: In response to the second tag being triggered, displaying a fourth configuration item for configuring a state transition event of the target process node in the second area; In response to the target process node being configured with a belonging state, prompt information is displayed to prompt that a state flow event of the target process node has a lower priority than the belonging state.
11. The method of claim 10, wherein: The method further comprises: In response to the target process node having been configured to a corresponding state, the fourth configuration item is locked.
12. The method of claim 9, wherein: The first area further includes a third label and a fourth label, and the third label is highlighted when the topology map is displayed in the first area; The method further comprises: In response to the fourth tag being triggered, displaying a swimlane diagram corresponding to the topology diagram in the first area, and setting a first button for adding a state on one side of the swimlane diagram; In response to the first button being triggered, displaying a first window for setting a belonging state on one side of the first button, wherein the first window includes a plurality of belonging state options; In response to a target belonging state option among the multiple belonging state options being triggered, displaying a target belonging state label corresponding to the target belonging state option on one side of the swimlane diagram; In response to the target process node in the swim lane diagram being dragged to a corresponding position of the target state label, the target state is configured for the target process node.
13. The method of claim 12, wherein: The first window also includes a second button for creating a new state; The method further comprises: In response to the second button being triggered, displaying a second window on one side of the second button, wherein the second window includes a fifth configuration item for setting a new belonging state; Creating a new belonging state according to the configuration information of the fifth configuration item; A new belonging state label corresponding to the new belonging state is displayed on one side of the swimlane diagram.
14. A device for determining a process state of an object, the object comprising a plurality of process nodes, the device comprising: An acquisition module is configured to: in response to a change in the state of one or more of the process nodes, acquire one or more state calculation rules corresponding to the object; A first determination module is configured to: in response to one or more of the state calculation rules being hit, determine the process state of the object according to the one or more state calculation rules being hit; A second determination module is configured to: in response to none of the one or more state calculation rules being hit, determine one or more process nodes in progress among the multiple process nodes; A third determination module is configured to: in response to the one or more process nodes in progress having one or more belonging states, determine the process state of the object according to the one or more belonging states; The fourth determination module is configured to: in response to the one or more ongoing process nodes not having a state, determine the process state of the object according to the state transfer events of the multiple process nodes.
15. A computer device 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 according to any one of claims 1-13.
16. A non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, causes the processors to perform the method of any one of claims 1 to 13.
17. 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 13 when executed by one or more processors.
Citation Information
Patent Citations
Node state determination method and device, electronic equipment and storage medium
CN115526580A
State management method and device, server and storage medium
CN116049162A
Service state updating method and device
CN116088891A
State updating method and device and storage medium
CN116450175A
Information interaction method and device and electronic equipment
CN117827049A
Cited By
Method for determining process state of object, and related device
WO2025246917A1
