Modeling device, modeling method, and program
The modeling device and method prioritize and display high-priority elements based on constraints, addressing inefficiencies in selecting elements during business process modeling, enhancing workflow efficiency.
Patent Information
- Application Number
- JP2023080372
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-15
- Publication Date
- 2024-11-27
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 2024164701000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a modeling device, a modeling method, and a program. [Background technology]
[0002] Conventionally, technology for modeling business processes has been known in order to utilize visualization of business process flows for improving business activities. For example, Business Process Model and Notation (hereinafter referred to as "BPMN") has been published as an international standard notation for business process modeling. In business process modeling work using BPMN or the like, procedures included in a business process are sequenced using prescribed figures (hereinafter also referred to as "elements") to express the business flow. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2010 / 007647 [Non-patent literature]
[0004] [Non-Patent Document 1] BPMN 2.0 by Example, [online], June 2, 2010, Object Management Group, [Retrieved March 8, 2023], Internet<URL:http: / / prog.tversu.ru / design / dtc-10-06-02.pdf> Summary of the Invention [Problem to be solved by the invention]
[0005] However, when performing modeling work, since there are many types of elements that make up the workflow, the user may need to perform multiple operations to select the desired element, which is time-consuming.
[0006] The present disclosure has been devised in consideration of the above-described conventional circumstances, and aims to provide a technique that enables a user to perform modeling work more efficiently, even when the number of combinations of selectable elements in the modeling work is enormous. [Means for solving the problem]
[0007] The present disclosure provides a modeling device for modeling business processes, comprising: a recording unit for retaining modeled drawing information; a determination unit for determining a priority based on the drawing information for elements among a plurality of elements used in modeling that are selectable based on constraints related to modeling of the business process; and a display control unit for displaying at least a portion of the selectable elements on a display device based on the priority.
[0008] The present disclosure also provides a modeling method including the steps of: storing modeled drawing information in a recording unit by a modeling device that performs modeling related to a business process; determining a priority based on the drawing information for elements that are selectable based on constraints related to modeling of the business process among a plurality of elements used in modeling; and displaying at least a portion of the selectable elements on a display device based on the priority.
[0009] The present disclosure also provides a program for causing a computer to retain modeled drawing information, determine priorities based on the drawing information for elements among a plurality of elements used in modeling that are selectable based on constraints related to modeling of a business process, and display at least a portion of the selectable elements on a display device based on the priorities. Effect of the Invention
[0010] According to the technology of the present disclosure, even when the number of combinations of elements that can be selected in modeling work is enormous, modeling work can be performed more efficiently. [Brief description of the drawings]
[0011] [Figure 1] A hardware configuration diagram according to an embodiment of the present disclosure. [Diagram 2] A functional block diagram according to an embodiment of the present disclosure. [Diagram 3] Schematic diagram to explain BPMN modeling [Figure 4] Table diagram to explain BPMN modeling [Diagram 5] Schematic diagram to explain BPMN modeling [Figure 6] Schematic diagram to explain BPMN modeling [Figure 7] Schematic diagram to explain BPMN modeling [Figure 8] FIG. 1 is a schematic diagram for explaining modeling according to an embodiment of the present disclosure; [Figure 9] 1 is a flowchart showing processing of a modeling editor according to a first embodiment of the present disclosure; [Figure 10] FIG. 1 is a schematic diagram showing a modeling screen according to the first embodiment of the present disclosure. [Figure 11] 11 is a flowchart showing processing of a modeling editor according to a second embodiment of the present disclosure. [Figure 12] FIG. 11 is a schematic diagram showing a modeling screen according to a second embodiment of the present disclosure. [Figure 13] 13 is a flowchart of a process of a modeling editor according to a third embodiment of the present disclosure. [Figure 14] FIG. 13 is a schematic diagram showing a modeling screen according to a third embodiment of the present disclosure. [Figure 15] FIG. 13 is a schematic diagram showing a modeling screen according to a third embodiment of the present disclosure. [Figure 16]13 is a flowchart of a process of a modeling editor according to a fourth embodiment of the present disclosure. [Figure 17] FIG. 1 is a schematic diagram for explaining modeling according to an embodiment of the present disclosure; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the drawings as appropriate. However, more detailed explanations than necessary may be omitted. For example, detailed explanations of already well-known matters or duplicate explanations of substantially identical configurations may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art. Note that the attached drawings and the following explanation are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.
[0013] (Hardware configuration) A modeling device according to an embodiment of the present disclosure can be realized by an information processing device such as a personal computer. FIG. 1 is a diagram showing an example of a hardware configuration of a computer that realizes a modeling device according to an embodiment of the present disclosure. The computer 1 includes a processor 2, a memory 3, an input device 4, a display device 5, an external storage device 6, a drive device 7, a storage medium 8, and a communication interface device 9. These devices, except for the storage medium 8, are connected to a bus 10 and can transmit and receive data bidirectionally via the bus 10. The storage medium 8 is connected to the drive device 7 and can transmit and receive data bidirectionally to and from other devices via the drive device 7 and the bus 10.
[0014] The processor 2 may realize the function of a modeling device by reading and executing various programs and data stored in the memory 3. The processor 2 may be configured using, for example, a Central Processing Unit (hereinafter referred to as "CPU"), a Micro Processing Unit (hereinafter referred to as "MPU"), a Digital Signal Processor (hereinafter referred to as "DSP"), a Graphical Processing Unit (hereinafter referred to as "GPU"), or a Field Programmable Gate Array (hereinafter referred to as "FPGA"), etc.
[0015] The memory 3 is configured using volatile / non-volatile storage devices such as Random Access Memory (hereinafter referred to as "RAM") and Read Only Memory (hereinafter referred to as "ROM"), and temporarily stores various programs and data necessary for executing the operation of the processor 2, as well as data or information generated during operation. The RAM is, for example, a work memory used when the processor 2 is operating. The ROM stores and holds in advance, for example, programs and data for controlling the processor 2.
[0016] The input device 4 is constituted by, for example, a keyboard and a pointing device such as a mouse, and receives data to be input to the processor 2.
[0017] The display device 5 displays data generated by the processor 2. Specifically, it displays a modeling screen for a user to perform a modeling task. The display device 5 is, for example, an organic EL display, a touch panel display, or the like.
[0018] The external storage device 6 is configured using a non-volatile storage device, and stores various programs and data handled by the processor 2. The external storage device 6 is, for example, a Hard Disk Drive (hereinafter referred to as "HDD") or a Solid State Drive (hereinafter referred to as "SSD").
[0019] The drive device 7 reads programs and data stored in the storage medium 8 and writes programs and data to the storage medium 8. The storage medium 8 is, for example, a Compact Disk Read Only Memory (hereinafter referred to as "CD-ROM"), a Digital Versatile Disk Read Only Memory (hereinafter referred to as "DVD-ROM"), a Universal Serial Bus (hereinafter referred to as "USB") memory, or the like.
[0020] The communication interface device 9 communicates with an external device (not shown) via a network (not shown) and transmits and receives various data and signals. The communication interface device 9 may support either wired communication or wireless communication. The communication method used by the communication interface device 9 may be, for example, a Wide Area Network (hereinafter referred to as "WAN"), a Local Area Network (hereinafter referred to as "LAN"), Long Term Evolution (hereinafter referred to as "LTE"), mobile communication such as 5G, power line communication, short-range wireless communication such as Wi-Fi (registered trademark) or Bluetooth (registered trademark), or a combination of these.
[0021] (Functional configuration) 2 is a block diagram showing an example of a functional configuration of a modeling editor according to an embodiment of the present disclosure. Here, the modeling editor is a program for modeling work for modeling a business process or the like. The processor 2 may cause the computer 1 to realize a function as a modeling device by executing each process of the modeling editor 11. The modeling editor 11 may be stored in, for example, a storage medium 8 and executed via the drive device 7, or may be executed via the communication interface device 9 as a service provided by a server (not shown) of a company or the like.
[0022] The modeling editor 11 includes an event handler 12, a recording unit 13, a generating unit 14, a determining unit 15, an output unit 16, and a drawing module 17. Note that the configuration shown in FIG. 2 is an example, and one part may be divided into multiple parts, or multiple parts may be integrated into one. Here, only parts related to the functions according to one embodiment of the present disclosure are shown, and the modeling editor 11 may further include parts other than those shown in FIG. 2. For example, the modeling editor 11 may include a display control unit. The display control unit may include the functions of the output unit 16 and the drawing module 17, for example.
[0023] The event handler 12 is a module having a function of notifying the recording unit 13 of operations related to the modeling work performed by the user through the input device 4. Operations related to the modeling work performed by the user through the input device 4 include, for example, adding and deleting elements.
[0024] When the recording unit 13 receives a notification from the event handler 12, the recording unit 13 records the user's operation as an operation history in the memory 3, the external storage device 6, or the like. Although a specific example will be described later, when the modeling complies with BPMN, the recording unit 13 records the operation history in an eXtensible Markup Language (hereinafter referred to as "XML") format. The recording unit 13 records the operation history of the modeling of the business process performed by the user, or the like, in the memory 3, the external storage device 6, or the like. Hereinafter, the modeled business process may be referred to as a BP diagram. The recording unit 13 may store the record of the completed BP diagram in the memory 3, the external storage device 6, or the like, or may read the record stored in the memory 3, the external storage device 6, or the like. In addition, the recording unit 13 may read the record of the BP diagram stored in an external device (not shown). The recording unit 13 may further read the record of the BP diagram via the drive device 7 or the communication interface device 9. Hereinafter, the record recorded or read by the recording unit 13 may be referred to as drawing information. For example, when the modeling is based on BPMN, the drawing information means an XML file. Although not shown in Fig. 2, the drawing information 18 may include current drawing information (i.e., drawing information in the process of being created) and past drawing information (i.e., drawing information that has already been created). The current drawing information and past drawing information will be described later. The recording unit 13 outputs the drawing information 18 to the generating unit 14 and the determining unit 15.
[0025] The generating unit 14 generates a candidate element list 19 based on the drawing information 18 and constraints 20 related to modeling of the business process. The generated candidate element list 19 may be stored in the memory 3, for example. The candidate element list 19 is a list of elements currently available (selectable) in the modeling work. The constraints 20 are rule-based information for defining elements available during the modeling work. The constraints 20 may be set in advance by a user or the like. The constraints 20 may be acquired via, for example, the drive device 7 or the communication interface device 9. The constraints 20 are stored in the memory 3, for example.
[0026] The constraint 20 may be, for example, such that when a particular business process is currently being modeled, a particular element is filtered out and excluded from the candidate element list 19. In this case, the constraint 20 may be such that an element that is available according to the rules of modeling but is unlikely to be used in the currently modeled business process is excluded. For example, when the business process being modeled is a business process related to document approval, the approval order and the approver are often strictly defined. Therefore, it is unlikely that a process in which any of a plurality of steps is acceptable will occur, and an element indicating OR is unlikely to be used. Therefore, when a business process related to document approval is being modeled, the constraint 20 may be set to exclude elements indicating OR from the candidate element list 19, thereby removing elements that are unlikely to be used from the candidate element list 19. As another example, when a business process related to product delivery is being modeled, a particular element may be unavailable.
[0027] Also, the constraint 20 may be such that, for example, when a specific element is used, the same or different specific element is filtered and excluded from the candidate element list 19. Specifically, after an element that is unlikely to be used multiple times in one business process is used, the element may be excluded from the candidate element list 19. More specifically, for example, since an element indicating the start of a business process is unlikely to be used multiple times in one business process, the element may be made unavailable after the element indicating the start of the business process. Similarly, elements that are different but unlikely to be used simultaneously in one business process may be excluded. The constraint 20 may be such that, for example, the number of currently available elements is halved. The generating unit 14 outputs the candidate element list 19 to the determining unit 15.
[0028] The determining unit 15 determines the priority of each element included in the candidate element list based on the drawing information and the candidate element list. The method of determining the priority will be described later. The determining unit 15 outputs the candidate element list and the priority to the output unit 16.
[0029] The output unit 16 outputs an instruction to the drawing module 17 to display the elements on the display device 5 based on the candidate element list and the priority. The output unit 16 may output an instruction to display only a few elements with high priority among the elements included in the candidate element list. The output unit 16 may also output an instruction to hide elements with low priority among the elements included in the candidate element list.
[0030] The drawing module 17 displays elements on the display device 5 based on instructions from the output unit 16. The drawing module 17 is a module equipped with a Graphical User Interface (hereinafter referred to as "GUI") function that supports modeling work by a user or the like. The drawing module 17 also controls the display of a modeling screen and a toolbar included in the modeling screen. The drawing module 17 may further be equipped with a Character User Interface (hereinafter referred to as "CUI") function.
[0031] (BPMN modeling) In the description of the embodiments of the present disclosure, BPMN, which is a notation for modeling business processes, will be used. Therefore, first, various elements used in BPMN will be described. In addition, hereinafter, a business process may be referred to as a process. Note that, in order to simplify the description of the embodiments of the present disclosure, BPMN will be taken as an example, but this is not intended to limit the embodiments of the present disclosure.
[0032] 3 is a schematic diagram of a screen displaying a BP diagram created in BPMN. The BP diagram is displayed in a drawing area 23 of a modeling screen 21. The modeling screen 21 is displayed on a display device 5. The modeling screen 21 includes a toolbar 22 including various elements for a user to perform modeling work. The BP diagram shown in FIG. 3 models a process of executing a task 41-1. In the BP diagram shown in FIG. 3, a start point 31-1, a task 41-1, and an end point 32-1 are connected in this order by a sequence flow 51-1 and a sequence flow 51-2.
[0033] A start point 31-1 is an element indicating the start of a process. A task 41-1 is an element indicating a single operation performed by a user or a system. In this specification, a system includes a workflow system for executing a series of processes, a workflow engine for managing various operations in a series of processes, and the like. Although not shown in FIG. 3, the operation content performed in the task 41-1 is written in the figure. An end point 32-1 is an element indicating the normal end of a process. A sequence flow 51-1 and a sequence flow 51-2 connect each element and indicate the order of the process. In the example of FIG. 3, after the process starts, the task 41-1 is executed and the process ends.
[0034] Elements used in BPMN are classified into several categories. For the purpose of explaining the embodiment of the present disclosure, three of the BPMN element classifications and examples of elements in the three classifications are shown in FIG. 4. FIG. 4 is a table diagram for explaining the classification of BPMN elements. Using table 70, gateways, activities, and events from the BPMN element classification will be explained.
[0035] Gateways are represented by diamond shapes and are used to control the branching and joining of process flows. The internal symbols inside the diamond shape distinguish the type of control. For example, the exclusive gateway 61-1 and the exclusive gateway 62-1 indicate that the process flow branches exclusively or that the branched flows are joined. The inclusive gateway 63-1 indicates that the process flow branches to all routes that meet the conditions. The parallel gateway 64-1 indicates that the process flow branches in parallel or that the branched flows are joined.
[0036] Activities are represented by rounded rectangles, and represent work performed by a user or a system. For example, task 41-2 represents a single piece of work performed by a user or a system, as explained in Figure 3. In the same row, the four elements shown to the right of task 41-2 have plus signs at the base of the rectangle, indicating that the element contains a process.
[0037] Events are represented by circles, and an internal symbol within the circle indicates that some event will occur. For example, message events 33 and 34 have an envelope as an internal symbol, indicating that some event related to a message such as an email will occur. Timer events 35 and 36 have a clock as an internal symbol, indicating that some event related to time will occur. Depending on the point in the process where the event occurs, the circle may be thick or double-lined. For example, message event 33 and timer event 35 are events at the start of the process, timer event 36 is an event in the middle of the process, and message event 34 is an event at the end of the process. Also, start point 31-1 and end point 32-1 shown in FIG. 3 are classified as events.
[0038] A process modeled in BPMN can be expressed as a string. Specifically, it can be described in XML format. An example of the XML representation of a process modeled in BPMN will be described with reference to Figs. 5 and 6.
[0039] Figure 5 is a schematic diagram of a screen displaying a BP diagram created in BPMN. In process 90 represented by the BP diagram shown in Figure 5, after the process starts, tasks 41-3 and 41-4 are executed in order, and then the flow branches exclusively into two. The starting point 31-2 is given the character "Start." In task 41-3, an operation called "Open text" is performed. In task 41-4, an operation called "Edit text" is performed.
[0040] For task 41-3, a paper-shaped symbol 42 is attached to the top left inside the figure, and for task 41-4, a human-shaped symbol 43 is attached to the top left inside the figure. These symbols indicate the type of task, and mean that task 41-3 and task 41-4 are a script task and a user task, respectively. A script task means that the system processes a script (program), and a user task means that a human uses the system to process work.
[0041] The exclusive gateway 61-2 is given the word "Result?" This means that the exclusive gateway 61-2 judges the result of the work in task 41-4, and the flow branches exclusively depending on the judgment result. Normally, the process continues after the exclusive gateway 61-2, but this is omitted here for simplicity.
[0042] Fig. 6 is a diagram for explaining XML corresponding to a process 90. Fig. 6 shows a file 100 that stores the process 90 expressed in XML format. Note that, for ease of explanation, attention is focused on some of the tags stored in the file 100, and some tags have been omitted. Here, a tag refers to a portion that is enclosed between "<" and ">" and that includes attributes and attribute values.
[0043] The information about the starting point 31-2 is converted into a character string in the tag 101. The tag 101 indicates "Start" assigned to the starting point 31-2 and "31-2" as the identification number of the starting point 31-2.
[0044] Information about the task 41-3 is expressed as a character string in the tag 102. The tag 102 indicates that the task 41-3 is a script task, and indicates the work content of the task 41-3.
[0045] Information about the task 41-4 is expressed as a character string in the tag 103. The tag 103 indicates that the task 41-4 is a user task, the work content of the task 41-4, and the like.
[0046] In tag 104, information on the exclusive gateway 61-2 is converted into a character string. In tag 105, information on the sequence flow 51-3 connecting the start point 31-2 and the task 41-3 is converted into a character string. In tag 106, information on the sequence flow 51-4 connecting the task 41-3 and the task 41-4 is converted into a character string. In tag 107, information on the sequence flow 51-5 connecting the task 41-4 and the exclusive gateway 61-2 is converted into a character string.
[0047] In this way, modeling in BPMN is converted into a string in XML format. Furthermore, the user or system can understand the types of elements that make up the process, the work content of the tasks, the execution order of the process, etc., from the XML. When modeling work is performed in BPMN, the recording unit 13 records the XML as drawing information.
[0048] (Traditional modeling work) The elements explained so far are only a part of the elements used in BPMN, and an actual BP diagram may be created using many more elements. Therefore, in conventional modeling work, the user must identify and select the desired element from the many elements available. Also, adding an element to a BP diagram requires multiple operations, which is time-consuming. An example of conventional modeling work is explained using Figure 7.
[0049] FIG. 7 is a diagram for explaining an example of a conventional modeling operation. FIG. 7(a) shows a sequence flow and a task 41-5 connected to the sequence flow. Before the sequence flow, for example, some event such as a start point, a gateway, etc. may be modeled. A selection frame 24 surrounding the task 41-5 indicates that the task 41-5 is currently in a selected state. Here, an element being in a selected state means that a selection frame surrounding the element is displayed and a group of tools described later are displayed near the element. In other words, the element is in a state of being focused on. Note that an element may be in a selected state when a user operates an input device 4 such as a mouse to select the element (for example, by clicking or inputting from a keyboard). Not limited to the task 41-5, when an element such as a gateway or an event is in a selected state, it is surrounded by a selection frame indicating that it is in a selected state.
[0050] An example of inserting a parallel gateway after task 41-5 will be described with reference to Figures 7(a) to 7(d). The figures shown in Figures 7(a) to 7(d) focus on a part of the modeling screen displayed on display device 5 such as a display.
[0051] When an element is selected on the modeling screen, tools for modeling are displayed near the element. For convenience of explanation, these tools may be collectively referred to as a tool group below. For example, in FIG. 7(a), task 41-5 is selected, and tool group 25-1 is displayed next to task 41-5. The user can perform modeling by selecting a desired symbol from tool group 25-1.
[0052] In the state of FIG. 7(a), the user selects a gateway 60 from the tool group 25-1 to insert a parallel gateway. Here, the gateway 60 is a gateway as a classification, and does not indicate one specific element among the gateways. This causes a transition to the screen shown in FIG. 7(b). In FIG. 7(b), an exclusive gateway 62-2 is inserted into the model of FIG. 7(a). In other words, when the gateway 60 as a classification is selected by the user, any gateway belonging to that classification, more specifically, any of the types of gateways as shown in FIG. 4, is inserted.
[0053] In order to change the exclusive gateway 62-2 inserted in the state of Fig. 7(b) to a parallel gateway, the user selects the wrench 26 from the tool group 25-1. This causes a transition to the screen shown in Fig. 7(c). In Fig. 7(c), a dialog box 27 for changing the type of gateway is displayed.
[0054] The user can change the exclusive gateway 62-2 to a parallel gateway by selecting option 28 for changing the type of gateway to a parallel gateway from the dialog box 27. This causes a transition to the screen shown in Fig. 7(d). In Fig. 7(d), the exclusive gateway 62-2 has been changed to a parallel gateway 64-2, and the parallel gateway 64-2 is connected following task 41-5.
[0055] In this way, in the example described in Fig. 7, three operations are required to insert a parallel gateway from the state shown in Fig. 7(a). Note that the above is an example for explaining conventional modeling work. Therefore, the procedure for inserting a parallel gateway is not limited to the above description.
[0056] (Modeling work using the technology disclosed herein) FIG. 8 is a diagram showing an example of a modeling screen according to the present disclosure. In FIG. 8, the task 41-6 is in a selected state, and the tool group 25-2 is displayed beside the task 41-6. In one embodiment according to the present disclosure, the tool group 25-2 includes various elements of a gateway. For convenience of explanation, the various elements of a gateway displayed in the tool group may be called a candidate gateway group. In the example of FIG. 8, the user can directly select the parallel gateway 64-3, the inclusive gateway 63-2, or the exclusive gateway 62-3 from the candidate gateway group 201-1 included in the tool group 25-2. Therefore, for example, when the user inserts the parallel gateway 64-3 after the task 41-6, only one operation is required. In this way, in the present disclosure, compared to conventional modeling work, by preferentially presenting candidates for elements during modeling work according to the user, the modeling work is made more efficient and the user's convenience is improved. In the following explanation of the first to fourth embodiments, as in the explanation of FIG. 8, attention is focused on gateways as elements displayed as candidates. However, the embodiment according to the present disclosure is not limited to this, and elements of events and activities may be displayed as candidates.
[0057] (Embodiment 1) A modeling operation according to the first embodiment will be described with reference to Figs. 9 and 10. In the first embodiment, an example in which elements that are frequently used in modeling are displayed as candidates will be described. Fig. 9 is a flowchart for explaining an example of the operation of the modeling editor 11 according to the first embodiment. In this embodiment, each process in the flowchart according to Fig. 9 is executed by the processor 2 in cooperation with each device shown in Fig. 1.
[0058] 9, current drawing information is recorded in the recording unit 13. Here, the current drawing information is an XML file related to a process currently being modeled by the user. The generating unit 14 obtains the current drawing information from the recording unit 13 (step S301).
[0059] The generating unit 14 generates the candidate element list 19 based on the drawing information acquired in the process of step S301 and the constraint 20 (step S302). The candidate element list 19 includes various elements such as gateways, activities, and events. For example, if the constraint 20 is content that prohibits the use of a specific gateway at a certain time, the gateway is not included in the candidate element list 19. For example, the constraint 20 may be content such that, when the number of gateways available at a certain time is greater than a predetermined number, only gateways with a priority higher than a predetermined threshold are included in the candidate element list 19. Such a predetermined number and a predetermined threshold may be set in advance by a user or the like. The constraint 20 may also be a constraint that does not use a predetermined threshold. For example, the constraint 20 may be content such that only a predetermined number of gateways with high priority in order of priority are included in the candidate element list 19. In this case, the predetermined number may be set in advance by a user or the like.
[0060] The determination unit 15 obtains the current drawing information from the recording unit 13 and the candidate element list 19 from the generation unit 14. The determination unit 15 counts up the usage frequency of each element based on the current drawing information (step S303). Here, the usage frequency of an element means how many times the element has been used in the current drawing information. As shown in FIG. 6, each element constituting a process is converted into a character string as a tag in an XML file and is identifiable. Therefore, the usage frequency of each element in a process can be counted from the XML file.
[0061] The determination unit 15 determines the priority of each element included in the candidate element list 19 based on the candidate element list 19 and the usage frequency of each element tallied in the process of step S303 (step S304). At this time, the determination unit 15 determines the priority of an element with a high usage frequency to be higher than the priority of an element with a low usage frequency. The priority is expressed, for example, by a numerical value. In this case, the magnitude relationship of the priority is equal to the magnitude relationship of the numerical value. Therefore, for example, if the candidate element list includes elements A, B, C, D, and E, and the usage frequency of elements A to E is highest in this order, the priorities of elements A to E may be determined to be 5, 4, 3, 2, and 1, respectively. The determination unit 15 outputs the candidate element list 19 and the priority to the output unit 16.
[0062] The output unit 16 outputs a drawing instruction to the drawing module 17 based on the candidate element list and the priority. The output unit 16 may output an instruction to the drawing module 17 to draw one or more elements with high priority among the elements included in the candidate element list. For example, when the candidate element list includes elements A to E and the elements A to E have high priority in this order, the output unit 16 may output an instruction to the drawing module 17 to draw only elements A to C. The number of elements displayed here may be specified in advance or may be determined based on the size of the empty drawing area 23 around the tool group. When the drawing module 17 receives the instruction, it draws the elements on the modeling screen based on the instruction (step S305). Then, this processing flow ends. Note that this processing flow may be repeated every time the user operates the modeling screen to add or select an element.
[0063] Fig. 10 is a diagram for explaining modeling according to embodiment 1. Fig. 10 shows an example of a modeling screen after the process of step S305 in Fig. 9 has been executed.
[0064] The BP diagram shown in Fig. 10 includes exclusive gateways 62-4 and 62-5 and a comprehensive gateway 63-3. That is, the BP diagram shown in Fig. 10 includes two exclusive gateways and one comprehensive gateway.
[0065] The current drawing information related to the BP diagram shown in Fig. 10 is recorded in XML format in the recording unit 13. From the current drawing information, it can be seen that two exclusive gateways and one inclusive gateway are being used.
[0066] For ease of explanation, it is assumed here that the candidate element list 19 generated by the generation unit 14 includes at least an exclusive gateway, a comprehensive gateway, and a parallel gateway. Based on the current drawing information, the determination unit 15 counts up that the exclusive gateway has been used twice and the comprehensive gateway has been used once. Based on the counting result and the candidate element list 19, the determination unit 15 determines, for example, the priorities of the exclusive gateway, the comprehensive gateway, and the parallel gateway to be 3, 2, and 1, respectively. If the candidate element list 19 includes elements other than the exclusive gateway, the comprehensive gateway, and the parallel gateway, the determination unit 15 determines, for example, the priority of the element to be 0.
[0067] The output unit 16 may output an instruction to the rendering module 17 to display, for example, three elements with high priorities in the candidate element list. In the example of Fig. 10, these are the exclusive gateway, the comprehensive gateway, and the parallel gateway.
[0068] In FIG. 10, the task 41-7 is in a selected state, and a group of tools is displayed beside the task 41-7. As a result of the execution of each process shown in FIG. 9, a group of candidate gateways 201-2 is displayed in the group of tools, which is drawn by the drawing module 17 based on an instruction from the output unit 16. As the group of candidate gateways 201-2, an exclusive gateway 62-6, a comprehensive gateway 63-4, and a parallel gateway 64-4 are displayed in order from the left. That is, elements with higher priority are displayed in order from the left. In this way, the output unit 16 may output an instruction to the drawing module 17 to display the elements in order of higher priority. The number of elements to be displayed as the group of candidate gateways and the display order based on priority may be set in advance by a user or the like. In the example of FIG. 10, three elements are displayed in order of higher priority from the left as the group of candidate gateways 201-2, but for example, five elements may be displayed in order of higher priority from the right. Furthermore, a priority threshold may be set in advance by a user or the like so that an element is displayed as a candidate only when its priority is equal to or greater than a predetermined value.
[0069] As described above, according to this embodiment, a modeling device that performs modeling related to a business process comprises a recording unit that holds modeled drawing information, a determination unit that determines a priority based on the drawing information for elements that are selectable based on constraints related to modeling of the business process among multiple elements used for modeling, and a display control unit that displays at least a portion of the selectable elements on a display device based on the priority.
[0070] This allows modeling work to be performed more efficiently even when there are a huge number of combinations of elements that can be selected during modeling work.
[0071] Furthermore, the display control unit determines, based on the priority, which of the selectable elements are to be displayed in the drawing area of the modeling screen and which are not to be displayed.
[0072] This makes it possible, for example, to adjust the number of elements displayed as candidates, or to hide elements whose priority is below a predetermined threshold value.
[0073] The determining unit also determines the priority of the selectable elements based on the frequency of use of the elements included in the drawing information.
[0074] This allows, for example, elements that are used frequently to be preferentially displayed as candidates.
[0075] (Embodiment 2) A modeling operation according to the second embodiment will be described with reference to Figs. 11 and 12. In the second embodiment, an example will be described in which an element closer to the currently selected element is displayed as a candidate. In the description of the modeling operation according to the second embodiment, the description of the same contents as those of the modeling operation according to the first embodiment will be simplified or omitted, and the description will focus on the differences. Fig. 11 is a flowchart for explaining an example of the operation of the modeling editor 11 according to the second embodiment. In this embodiment, each process of the flowchart according to Fig. 11 is executed by the processor 2 in cooperation with each device shown in Fig. 1.
[0076] 11, current drawing information is recorded in the recording unit 13. Also, one or more pieces of past drawing information are read by the recording unit 13. Here, the past drawing information is an XML file related to a process that has already been modeled by a user or the like, and is stored in, for example, the memory 3 or the external storage device 6 and read by the recording unit 13. The generating unit 14 acquires the current drawing information from the recording unit 13 (step S401).
[0077] The generating unit 14 generates a candidate element list 19 based on the current drawing information acquired in the process of step S401 and the constraints 20 (step S402).
[0078] The determining unit 15 obtains the current and past drawing information from the recording unit 13, and the candidate element list 19 from the generating unit 14 (step S403).
[0079] The determination unit 15 counts up the frequency of use of each element based on the current and past drawing information (step S404). At this time, unlike the process in the first embodiment, the determination unit 15 counts up the number of times each element is used based on not only the acquired current drawing information but also the past drawing information.
[0080] The determination unit 15 associates an element in a process with the order of the element in the process based on the current drawing information (step S405). In a process, an element connected to the end point of a sequence flow is ordered later than an element connected to the start point of the sequence flow. The order of the elements in the process is determined because the elements connected by sequence flows are expressed as characters in the drawing information.
[0081] Based on the current drawing information, the determination unit 15 links the element in the process with the time when the element was added to the BP diagram by the user (step S406). To execute the process of step S406, the determination unit 15 may read out the user's operation log from the memory 3, for example. The operation log differs from the operation history recorded by the recording unit 13 and is a log that records the content of the user's operation of the computer 1. The operation log includes the date and time of the user's operation, the content of the operation, etc.
[0082] The determining unit 15 weights each element included in the candidate element list based on the candidate element list and the results of the processes in steps S404, S405, and S406 (step S407). Weighting may be performed for each result of the processes in steps S404, S405, and S406.
[0083] For example, the determination unit 15 assigns a higher weight to an element that is used more frequently in the current and past models based on the processing result of step S404.
[0084] For example, the determination unit 15 assigns a larger weight to an element closer to the currently selected element based on the processing result of step S405. Here, the element closer to the currently selected element is an element that, among elements that are earlier in the process than the currently selected element, has a smaller difference between the order of the element and the order of the currently selected element. To simplify the explanation, it is expressed as an element closer to the currently selected element. More specifically, this will be described later with reference to FIG. 12.
[0085] For example, the determination unit 15 may weight an element added to the BP diagram closer to the current time based on the processing result of step S406. The determination unit 15 may evaluate the closeness of time based on the elapsed time from when the user adds an element to the BP diagram to when the user selects the next element to be added to the BP diagram. In this way, the time required to select an element to be added to the BP diagram is reflected in the weight. If the user is not hesitant to select an element to be added to the BP diagram, the elapsed time is considered to be short. Therefore, by reflecting the elapsed time in the weight, an element selected by the user with greater confidence is more likely to be displayed as a candidate. The determination unit 15 may also evaluate the closeness of time based on the order in which the elements were added to the BP diagram, regardless of the elapsed time. In this way, it is possible to reduce the possibility of erroneous weighting when a time lapse unrelated to the addition of an element to the BP diagram occurs due to the user taking a break.
[0086] The determination unit 15 determines the priority of each element included in the candidate element list based on the weighting performed in the process of step S407 (step S408). The determination unit 15 may determine the priority by performing a calculation using the weighting results based on the process results of steps S404, S405, and S406, for example. Examples of the calculation include adding up or multiplying the weighting results. The determination unit 15 may also determine the priority based on one of the weighting results based on the process results of steps S404, S405, and S406. The determination unit 15 may further determine the priority based on any two of the weighting results based on the process results of steps S404, S405, and S406.
[0087] For example, the weights given to the elements may differ depending on the weighting based on the processing results of steps S404, S405, and S406. The weighting based on each processing result may be preset by the user. For example, the weights in each step may be normalized so that the sum is 1. When the weighting results are added up in step S407, further weighting may be performed based on the importance or usefulness of the decision criteria in each step.
[0088] For example, if the candidate element list includes elements A, B, C, D, and E, elements A to E may be weighted in the range of 1 to 5 based on the processing result of step S404. Also, based on the processing result of step S405, elements A to E may be weighted in the range of 1 to 5. On the other hand, based on the processing result of step S406, elements A to E may be weighted in the range of 10 to 20. In this case, being added at a time closer to the current time is given more importance than the frequency of use or the order in the process. In this way, the user may set in advance which of the frequency of use, order, and time is given more importance in weighting. Note that, although the weights are expressed as numerical values for the sake of simplicity, this is not intended to be limiting.
[0089] The determination unit 15 outputs the candidate element list and the priority to the output unit 16. The output unit 16 outputs a drawing instruction to the drawing module 17 based on the candidate element list and the priority. When the drawing module 17 receives the instruction, it draws the element on the modeling screen based on the instruction (step S409). Then, this processing flow ends. Note that this processing flow may be repeated every time the user operates the modeling screen to add or select an element.
[0090] Fig. 12 is a diagram for explaining modeling according to embodiment 2. Fig. 12 shows an example of a modeling screen after the process of step S409 in Fig. 11 has been executed.
[0091] The BP diagram shown in Fig. 12 includes exclusive gateways 62-7 and 62-8 and a comprehensive gateway 63-5. That is, the BP diagram shown in Fig. 12 includes two exclusive gateways and one comprehensive gateway, which is the same as the BP diagram shown in Fig. 10 according to the first embodiment.
[0092] In Fig. 12, task 41-8 is in a selected state, and a group of tools is displayed beside task 41-8. Among the group of tools, a candidate gateway group 201-3 is displayed. For comparison with the first embodiment, it is assumed that the candidate gateway group 201-3 displays three elements with high priority in order from the left, as in the example of Fig. 10. However, in Fig. 12, unlike the example of Fig. 10, the comprehensive gateway 63-6, the exclusive gateway 62-9, and the parallel gateway 64-5 are displayed in order from the left as the candidate gateway group 201-3.
[0093] For example, in Fig. 12, the priority of an element closer to the currently selected element is determined to be higher. In Fig. 12, the currently selected element is task 41-8. When limited to gateways, elements whose order in the process is earlier than task 41-8 are the comprehensive gateway 63-5, exclusive gateway 62-7, and 62-8. Furthermore, the order in the process of these three gateways is closest to task 41-8 in the order of the comprehensive gateway 63-5, exclusive gateway 62-8, and 62-7. Therefore, a higher weight is assigned to the comprehensive gateway compared to the exclusive gateway, and as a result, in the example of Fig. 12, the comprehensive gateway 63-6 is displayed with priority over the exclusive gateway 62-9.
[0094] Also, for example, in Fig. 12, the priority may be determined so that an element with a higher usage frequency has a higher priority. Here, the drawing information related to the BP diagram shown in Fig. 12 is current drawing information. In the BP diagram shown in Fig. 12, the exclusive gateway is used more frequently than the comprehensive gateway. However, when past drawing information is also taken into consideration, if the comprehensive gateway is used most frequently, followed by the exclusive gateway and then the parallel gateway, the candidate gateway group 201-3 will be as shown in Fig. 12.
[0095] Also, for example, in Fig. 12, the priority of an element that was added to the BP diagram closer to the current time may be determined to be higher. Here, in the example of Fig. 12, it is assumed that the comprehensive gateway 63-5 was added most recently (latest time). In this case, the comprehensive gateway 63-6 is displayed with priority.
[0096] In the process of step S404, the frequency of use of each element is tallied, including not only the current drawing information but also the past drawing information. However, this is not limited to this, and the frequency of use of each element may be tallied based only on the current drawing information, as in the first embodiment. Also, in the first embodiment, the recording unit 13 may read out past drawing information and tallie the frequency of use of each element, including not only the current drawing information but also the past drawing information.
[0097] Furthermore, when weighting is performed using the current drawing information and the past drawing information, a setting may be made in advance by a user or the like such that, for example, more importance is placed on the current drawing information.
[0098] As described above, according to this embodiment, the drawing information includes at least the drawing information in the middle of creation out of the drawing information in the middle of creation and the created drawing information.
[0099] This allows you to use not only drawing information that is in the process of being created, but also drawing information that has already been created.
[0100] The determination unit also determines the priority of the selectable elements based on the order in the business process of the elements included in the drawing information.
[0101] This allows, for example, elements that are used near a selected element to be preferentially displayed as candidates.
[0102] The determination unit also determines the priority of the selectable elements based on the time when the element included in the drawing information was added to the drawing information.
[0103] This allows, for example, the most recently used elements to be preferentially displayed as candidates.
[0104] (Embodiment 3) A modeling operation according to the third embodiment will be described with reference to Figs. 13 to 15. In the third embodiment, an example will be described in which candidate elements are displayed based on the arrangement of modeled elements and character information written on the elements. In the description of the modeling operation according to the third embodiment, the description of the same contents as those of the modeling operations according to the first and second embodiments will be simplified or omitted, and the description will focus on the differences. Fig. 13 is a flowchart for explaining an example of the operation of the modeling editor 11 according to the third embodiment. However, a part of the flowchart includes an operation by a user. In this embodiment, each process of the flowchart according to Fig. 13 is executed by the processor 2 in cooperation with each device shown in Fig. 1.
[0105] 13, the current drawing information is recorded in the recording unit 13. The generating unit 14 acquires the current drawing information from the recording unit 13 (step S501).
[0106] The generating unit 14 generates a candidate element list 19 based on the current drawing information acquired in the process of step S501 and the constraints 20 (step S502).
[0107] The determination unit 15 obtains the current drawing information from the recording unit 13 and the candidate element list 19 from the generation unit 14. The determination unit 15 extracts element layout information based on the current drawing information (step S503). The element layout information is a tag in an XML file that corresponds to one or more elements when the set is considered as one set. Moreover, extraction means making it possible to handle the tag as one unit. Hereinafter, a plurality of elements considered as one set may be referred to as an element set.
[0108] Two types of element location information are extracted for the purpose of predicting candidate elements to be added to the BP diagram by user operation following the element in the selected state. FIG. 14 is a diagram for explaining an example of modeling according to the third embodiment. In the example of FIG. 14, the user models a new element following the task 41-12. In this case, the element set extracted as the first element location information must include at least the task 41-12. For example, an element set 81 that is a set of the task 41-12, the exclusive gateway 62-11, and the end point 32-3, and an element set 82 in which the task 41-11 is added to the set are extracted as the first element location information.
[0109] The range in which a plurality of elements are regarded as one set may be, for example, a range going back a predetermined number of times before a desired element. For example, in this example, element set 81 includes a range going back once from task 41-12, and element set 82 includes a range going back two times from task 41-12. The range of elements to be regarded as a set may be set by a user. In this case, the user may specify the number of times to go back, or may directly specify a plurality of elements to be included in the set. The determination unit 15 then extracts, as second element arrangement information, an element set that includes an element set that is the same as or highly similar to the element set extracted as the first element arrangement information. The determination unit 15 may evaluate the similarity of the element sets according to various criteria. For example, when comparing a plurality of element sets, the determination unit 15 may evaluate the similarity of the plurality of element sets according to the ratio of the same elements included in each of the plurality of element sets. In this case, for example, the higher the ratio of the same elements included, the higher the similarity is evaluated. In addition, when comparing multiple element sets, the determination unit 15 may evaluate the similarity of the multiple element sets according to the proportion of elements belonging to the same element classification included in each of the multiple element sets. In this case, the similarity is evaluated to be higher, for example, as the proportion of elements belonging to the same element classification included is higher. The determination unit 15 may further evaluate element sets containing the same elements as being more similar than element sets containing elements that are not the same but have the same element classification.
[0110] In the example of FIG. 14, the determination unit 15 extracts an element set 83, which is a set of a comprehensive gateway 63-7, a task 41-10, an exclusive gateway 62-10, and an end point 32-2, as the second element location information, corresponding to the element set 81. Also, the determination unit 15 extracts an element set 84, which is a set of a comprehensive gateway 63-7, a task 41-10, an exclusive gateway 62-10, an end point 32-2, and a task 41-9, as the second element location information, corresponding to the element set 82. The second element location information includes an element corresponding to the next element (e.g., downstream of the process) of the element set extracted as the first element location information. The next element is, for example, the comprehensive gateway 63-7 in FIG. 14.
[0111] In the example of FIG. 14, element sets 81 and 82 are given as the first element location information, and element sets 83 and 84 are given as the second element location information, but the present invention is not limited thereto. For example, in a BP diagram in which the types and number of elements used are greater than those in the BP diagram shown in FIG. 14, it is considered that there are many element sets that can become the second element location information. In such a case, the determination unit 15 may extract all of the element sets as the second element location information, or may extract a part of the element sets as the second element location information. In other words, the second element location information may be extracted from the entire BP diagram, or may be extracted by focusing on a part of the BP diagram. This is also true for the first element location information.
[0112] The determination unit 15 counts up the usage frequency of each element based on the element location information extracted in the process of step S503 (step S504). The elements whose usage frequency is counted at this time are elements included in the second element location information and correspond to the element next to the element set extracted as the first element location information. In the example of Fig. 14, element sets 81 and 82 are extracted as the first element location information, and element sets 83 and 84 are extracted as the second element location information corresponding to the first element location information. Therefore, the comprehensive gateway 63-7 in element set 83 and the comprehensive gateway 63-7 in element set 84 are the targets of counting.
[0113] The determining unit 15 weights each element included in the candidate element list based on the candidate element list and the result of the process in step S504 (step S505).
[0114] The determination unit 15 determines the priority of each element included in the candidate element list based on the weighting performed in the process of step S505 (step S506). The determination unit 15 outputs the candidate element list and the priority to the output unit 16. The output unit 16 outputs a drawing instruction to the drawing module 17 based on the candidate element list and the priority. When the drawing module 17 receives the instruction, it draws the element on the modeling screen based on the instruction (step S507).
[0115] In the example of Fig. 14, the priority of the comprehensive gateway is determined to be higher than other elements, so the comprehensive gateway 63-8 is displayed to the left of the candidate gateway group 201-4. Note that in the example of Fig. 14, elements with higher priorities are displayed in order from the left.
[0116] In the example of Fig. 14, the elements other than the comprehensive gateway have equal priority. In this case, the elements other than the comprehensive gateway 63-8 constituting the candidate gateway group 201-4 may be selected at random, for example, or the priority order of the elements in the case where the priorities are equal may be set in advance by a user, etc. In the example of Fig. 14, the exclusive gateway 62-12 and the parallel gateway 64-6 are displayed following the comprehensive gateway 63-8.
[0117] Character information may be used to calculate the priority in the third embodiment. For example, character information written in the element may be taken into account in the process of extracting element location information in step S503. FIG. 15 is a diagram for explaining an example of modeling according to the third embodiment. In the example of FIG. 15, "AAAAA" is written in the tasks 41-13, 41-14, and 41-15. At this time, the determination unit 15 may extract the task 41-15 as the first element location information. As a result, the set element 85 including the task 41-13 and the exclusive gateway 62-13 and the set element 86 including the task 41-14 and the exclusive gateway 62-14 are extracted as the second element location information. In the example of FIG. 15, the processes of steps S504 to S506 in FIG. 9 are then performed, and the priority of the exclusive gateway is determined to be higher than the other elements. Therefore, the exclusive gateway 62-15 is displayed on the leftmost side of the three elements of the candidate gateway group 201-5.
[0118] Alternatively, the determination unit 15 may extract the task 41-15 as the first element arrangement information, and then extract the task described as "AAAAA" and refer to the element next to the task. The determination unit 15 may count the number of times each element of the next rank is referenced, and give a higher weight to the element that is referenced more frequently. In the example of FIG. 15, the tasks are tasks 41-13 and 41-14, and the elements of the next rank are exclusive gateways 62-13 and 62-14, respectively. Therefore, the exclusive gateways are referenced twice by the determination unit 15, and a higher weight is given to them. As a result, the exclusive gateway 62-15 is preferentially displayed.
[0119] In the example of FIG. 15, "AAAAA" is given as the character information described in the element, but this is not intended to be limiting. The character information used in the calculation of the priority may be registered in a dictionary (not shown) in advance by the user. The dictionary may be compiled in a list of character information used in the calculation of the priority. The user may set a part of the character string included in the character information registered in the dictionary to be used in the calculation of the priority. For example, when character information "ABCDE" is registered in the dictionary, the character string "BCD" may be used in the calculation of the priority. Character information for the priority calculation may be extracted by a so-called fuzzy search. In this way, character information that does not match exactly can also be used in the calculation of the priority, so that the priority can be calculated accurately even if there is a variation in the character information described in the element. Since various methods of fuzzy search targeting character strings are known, detailed explanations will be omitted. The dictionary is held in the memory 3, for example. The character information is not limited to that described in the element, and any character string described in XML may be used.
[0120] The following four priority calculation methods are available in this embodiment. The first is a priority calculation method based on element location information extracted from the entire model. The second is a priority calculation method based on element location information extracted focusing on a portion of the model. The third is a priority calculation method using character information. The fourth is a priority calculation method using character information registered in a dictionary in advance by a user. In each calculation method, a weight is assigned to each element, and the magnitude of the weight may be set in advance by a user, etc.
[0121] In the process of step S506, the determination unit 15 may perform a calculation such as adding up the priorities obtained by these four calculation methods to determine the priority to be output to the output unit 16. Based on the priority thus determined, one or more elements are displayed on the modeling screen as candidates by the process of step S507. Note that, although an example of adding up the priorities has been described in the present embodiment, the priorities obtained by the four calculation methods may be integrated using other calculations such as multiplication to determine the priority.
[0122] The user selects one of the one or more elements displayed as candidates (step S508). The determination unit 15 updates the weights used in the four priority calculation methods so that the weight of the element selected by the user is increased (step S509). Therefore, although the magnitude of the weight may be set in advance by the user or the like in each calculation method, the weights are updated by repeating this flow, and the user's operation is reflected in the display of the candidate elements.
[0123] In the third embodiment, the processing based only on the current drawing information has been described, but is not limited to this, and the recording unit 13 may read out past drawing information, and the determining unit 15 may extract element arrangement information from the past drawing information, or may use character information included in the past drawing information.
[0124] As described above, according to this embodiment, the determining unit determines the priority of selectable elements based on the arrangement of elements included in the drawing information.
[0125] This allows elements that will have a similar element arrangement to an element arrangement that has already been modeled to be preferentially displayed as candidates, for example.
[0126] The determination unit also determines the priority of the selectable elements based on the character information included in the drawing information.
[0127] This makes it possible to determine the priority taking into account character information.
[0128] (Embodiment 4) In the fourth embodiment, a trained model (not shown) is used for efficient modeling work. The trained model may be generated in advance by an arbitrary learning algorithm so as to output the priority of each element that may be added to the BP diagram next when the current drawing information is input.
[0129] In the following description, "learning process" refers to generating a trained model by having a model learn using training data and an arbitrary learning algorithm. Here, data used in model training is referred to as "training data", and a model that has undergone a certain degree of training is referred to as a "trained model". A trained model is updated from time to time as training progresses using multiple training data, and the output changes even for the same input. Therefore, the trained model is not limited to a state at any point in time. In addition, the configuration of the training data may be changed depending on the learning algorithm used.
[0130] The generated trained model is implemented, for example, in the computer 1 and used in the present embodiment. Since the learning process generally involves a high processing load, it is preferable that the learning process is performed in advance in another device or the like to generate a trained model before the process according to the present embodiment is executed (so-called a learning phase). Then, when determining the priority of elements presented by the modeling editor 11, inference may be performed using the trained model (so-called an inference phase).
[0131] In this embodiment, at least one of the frequency of use of each element included in the drawing information 18, the order of elements in a process, the arrangement of elements, and character information is used as input data, and the priority of each element is used as output data. Learning data is then generated using a predetermined learning algorithm to perform a learning process. In this embodiment, various information extracted from the current drawing information is input to an already generated trained model to obtain the priority of each element. The learning algorithm for generating the trained model according to this embodiment is not particularly limited, and may be, for example, a Convolutional Neural Network (hereinafter referred to as "CNN"), a Transformer, or the like.
[0132] A modeling operation according to the fourth embodiment will be described with reference to Fig. 16. Fig. 16 is a flowchart for explaining an example of the operation of the modeling editor 11 according to the fourth embodiment. Each process in the flowchart according to Fig. 16 is executed by the processor 2 in cooperation with each device shown in Fig. 1.
[0133] 16, the current drawing information is recorded in the recording unit 13. The generating unit 14 acquires the current drawing information from the recording unit 13 (step S601).
[0134] The generating unit 14 generates a candidate element list 19 based on the current drawing information acquired in the process of step S601 and the constraints 20 (step S602).
[0135] The determination unit 15 obtains the current drawing information from the recording unit 13 and the candidate element list 19 from the generation unit 14. The determination unit 15 outputs the current drawing information to a trained model (not shown) (step S604).
[0136] The determination unit 15 acquires the priority of each element output from the trained model (step S604). The determination unit 15 outputs the candidate element list 19 and the priority to the output unit 16. The output unit 16 outputs a drawing instruction to the drawing module 17 based on the candidate element list 19 and the priority. When the drawing module 17 receives the instruction, it draws the element on the modeling screen based on the instruction (step S605).
[0137] In the fourth embodiment, the learning process for generating a trained model can cover the matters (for example, the frequency of use of each element) that are considered when determining the priority in the first to third embodiments. Therefore, it is possible to display candidate elements, for example, as shown in Figs. 10, 12, 14, and 15.
[0138] The trained model may be configured to output a priority when an image of past drawing information is input as input data. In this case, images of the frequency of use of each element included in the input data, the order of elements in a process, the arrangement of elements, and character information are treated as training data. When using image data, processing such as area extraction, character recognition, and syntax analysis may also be performed.
[0139] As described above, in this embodiment, the determination unit inputs drawing information into a trained model that has been generated to output the priority of elements when drawing information is input, and obtains the priority output from the trained model, thereby determining the priority of selectable elements.
[0140] This allows candidate elements to be displayed based on the user's past modeling work.
[0141] (Other variations) In the above description of the embodiment, an example has been given in which three of the candidate elements having the highest priority are displayed, as shown in Figs. 10, 12, 14, and 15. However, the present invention is not limited to this, and for example, five elements may be displayed, or only one element may be displayed. Also, for example, when some of the candidate elements are displayed, the remaining elements that are not displayed may be displayed by a user operation. The user operation may be, for example, clicking a predetermined position on the modeling screen with the input device 4 such as a mouse, or inputting from a keyboard, etc.
[0142] This allows elements that were not displayed based on the priority to be displayed by the user's operation.
[0143] In addition, in the above description of the embodiment, for the sake of simplicity, an example was given in which the elements displayed as candidates are gateways. However, this is not limiting, and activity and event elements may also be displayed as candidates. Fig. 17 is a diagram for explaining a display example of candidate elements. In the example of Fig. 17(a), three activity elements are displayed as candidate activity group 202-1. In the example of Fig. 17(b), three event elements are displayed as candidate event group 203-1.
[0144] Also, the elements of gateways, activities, and events may be displayed simultaneously. In this case, the priority is determined for each of the elements of gateways, activities, and events. In the example of Fig. 17(c), a candidate gateway group 201-6, a candidate activity group 202-2, and a candidate event group 203-2 are displayed.
[0145] This allows candidate elements to be displayed regardless of the classification of the elements.
[0146] Also, for example, when a task contains character information related to time, a timer event may be preferentially displayed as a candidate. For example, a character string related to time is registered in a dictionary in advance, and when the character string registered in the dictionary is used, a setting may be made in advance by a user or the like such that a timer event is preferentially displayed. Also, for example, when a task contains character information related to time, information that a user selected a timer event may be included in past drawing information, and the trained model described in the fourth embodiment may learn the information. Although the character information related to time has been given as an example, it is not limited to this, and may be, for example, character information related to a message such as an email. In this case, for example, a message event may be preferentially displayed. Also, as long as it is character information in an XML file, it is not limited to character information described in an element.
[0147] This allows, for example, elements related to work performed within a process to be displayed with priority.
[0148] In addition, the display positions of the candidate elements are not limited to the display positions described in the above embodiment. For example, as shown in Fig. 17(d), the candidate gateway group 201-7, the candidate activity group 202-3, and the candidate event group 203-3 may be displayed around the tools. The positions at which the candidate elements are displayed may be preset by the user, etc.
[0149] This allows the candidate elements to be displayed at a predetermined position.
[0150] Also, as in the examples shown in FIG. 17(c) and FIG. 17(d), when the candidate elements are displayed by classification, each classification may be displayed in a different manner. Specifically, the classification may be color-coded, or the line thickness or the display size of the elements may be different. Also, a specific classification may be displayed in an emphasized manner. For example, in FIG. 17(c), the candidate gateway group 201-6, the candidate activity group 202-2, and the candidate event group 203-2 may be displayed in red, green, and purple, respectively. Also, for example, in FIG. 17(d), the candidate gateway group 201-7 may be displayed in a larger size than the candidate activity group 202-3 and the candidate event group 203-3. For example, a further emphasis display may be performed such that the elements with higher priority are displayed larger.
[0151] This makes it possible, for example, to display candidate elements by classification, or to highlight candidate elements.
[0152] Furthermore, the number of candidate elements to be displayed on the modeling screen may be determined based on the drawing area of the modeling screen. For example, the more free space there is in the drawing area, the more candidate elements may be displayed.
[0153] This allows the number of displayed elements to be increased or decreased depending on the amount of available space in the screen's drawing area.
[0154] In addition, in the above embodiment, a candidate element list based on the constraint 20 is generated, and then the priority of the elements included in the candidate element list is determined. However, this is not limited to this, and it is also possible to obtain results similar to those of the above embodiment by other procedures, such as determining the priority without considering the constraint 20, and then excluding some elements based on the constraint 20.
[0155] In addition, in the above description of the embodiment, elements determined to be excluded based on the constraints 20 are not included in the candidate element list 19. However, this is not limited to this, and even an element that should be excluded based on the constraints 20 may be included in the candidate element list 19 if it is an element that has the potential to be used. In this case, an element that should be excluded based on the constraints 20 may be given a lower priority than an element that should not be excluded based on the constraints 20. Also, an element determined to be excluded based on the constraints 20 may not be included in the candidate element list 19 if it is an element that is not likely to be used in the modeled process, and may be included in the candidate element list 19 if it is an element that is unlikely to be used.
[0156] Furthermore, the ideas of the above embodiments may be applied to drawing other graphs and modeling other processes.
[0157] Summary of the Disclosure The above description of the embodiments discloses the following techniques.
[0158] <Technology 1> A modeling device that performs modeling related to business processes includes a recording unit that holds modeled drawing information, a determination unit that determines a priority based on the drawing information for elements that are selectable based on constraints related to modeling of the business process among multiple elements used in modeling, and a display control unit that displays at least a portion of the selectable elements on a display device based on the priority.
[0159] This allows modeling work to be performed more efficiently even when there are a huge number of combinations of elements that can be selected during modeling work.
[0160] <Technology 2> In the modeling device described in the above technique, the display control unit may determine, based on priority, which of the selectable elements are to be displayed in the drawing area of the modeling screen and which are not to be displayed.
[0161] This makes it possible, for example, to adjust the number of elements displayed as candidates, or to hide elements whose priority is below a predetermined threshold value.
[0162] <Technology 3> In the modeling device according to at least one of the above techniques, the drawing information may include at least the drawing information in the middle of creation out of drawing information in the middle of creation and already created drawing information.
[0163] This allows you to use not only drawing information that is in the process of being created, but also drawing information that has already been created.
[0164] <Technology 4> In the modeling device according to at least one of the above techniques, the determination unit may determine the priority of the selectable elements based on the frequency of use of the elements included in the drawing information.
[0165] This allows, for example, elements that are used frequently to be preferentially displayed as candidates.
[0166] <Technology 5> In the modeling device according to at least one of the above techniques, the determination unit may determine a priority of the selectable elements based on an order in the business process of the elements included in the drawing information.
[0167] This allows, for example, elements that are used near a selected element to be preferentially displayed as candidates.
[0168] <Technology 6> In the modeling device according to at least one of the above techniques, the determination unit may determine the priority of the selectable elements based on an arrangement of the elements included in the drawing information.
[0169] This allows elements that will have a similar element arrangement to an element arrangement that has already been modeled to be preferentially displayed as candidates, for example.
[0170] <Technology 7> In the modeling device according to at least one of the above techniques, the determination unit may determine the priority of the selectable elements based on character information included in the drawing information.
[0171] This makes it possible to determine the priority taking into account character information.
[0172] <Technology 8> In the modeling device according to at least one of the above techniques, the determination unit may determine the priority of the selectable elements based on the time when the element included in the drawing information was added to the drawing information.
[0173] This allows, for example, the most recently used elements to be preferentially displayed as candidates.
[0174] <Technology 9> In the modeling device described in at least one of the above technologies, the determination unit may determine the priority of selectable elements by inputting drawing information into a trained model that has been generated to output the priority of elements when the drawing information is input, and obtaining the priority output from the trained model.
[0175] This allows candidate elements to be displayed based on the user's past modeling work.
[0176] <Technology 10> The modeling device according to at least one of the above techniques may display selectable elements in different ways for each classification of the elements.
[0177] This allows candidate elements to be displayed by category.
[0178] <Technology 11> The modeling device according to at least one of the above techniques may highlight selectable elements based on priority.
[0179] This allows candidate elements to be displayed with emphasis.
[0180] <Technology 12> In a modeling device described in at least one of the above technologies, when any of the elements included in the drawing information is selected, at least a portion of the elements available following the selected element are displayed on the display device.
[0181] This allows modeling work to be performed more efficiently even when there are a huge number of combinations of elements that can be selected during modeling work.
[0182] <Technology 13> A modeling method executed by a modeling device that performs modeling related to business processes includes the steps of: storing modeled drawing information in a recording unit; determining a priority based on the drawing information for elements that are selectable based on constraints related to modeling of the business process from among a plurality of elements used in modeling; and displaying at least a portion of the selectable elements on a display device based on the priority.
[0183] This allows modeling work to be performed more efficiently even when there are a huge number of combinations of elements that can be selected during modeling work.
[0184] <Technology 14> The program causes a computer to retain modeled drawing information, determine priorities based on the drawing information for elements among multiple elements used in modeling that are selectable based on constraints related to modeling of the business process, and display at least a portion of the selectable elements on a display device based on the priorities.
[0185] This allows modeling work to be performed more efficiently even when there are a huge number of combinations of elements that can be selected during modeling work.
[0186] Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. It is clear that a person skilled in the art can conceive of various modifications, corrections, substitutions, additions, deletions, and equivalents within the scope of the claims, and it is understood that these also naturally belong to the technical scope of the present disclosure. In addition, the components in the various embodiments described above may be arbitrarily combined within the scope of the invention. [Industrial Applicability]
[0187] The present disclosure is useful as a modeling device, a modeling method, and a program. [Explanation of symbols]
[0188] 1. Computer 2 processors 3. Memory 4 Input Devices 5 Display device 6 External storage device 7 Drive device 8 Storage medium 9. Communication Interface Device 10 Bus 11 Modeling Editor 12 Event Handlers 13 Recording Section 14 Generation part 15 Decision Section 16 Output section 17 Drawing Module 18 Drawing information 19 Candidate Element List 20 Constraints
Claims
1. A modeling device for performing modeling related to a business process, A recorder for storing modeled drawing information; a determination unit that determines a priority of elements that can be selected based on constraints related to modeling of the business process from among a plurality of elements used in modeling, based on the drawing information; and a display control unit that causes a display device to display at least a portion of the selectable elements based on the priority. Modeling equipment.
2. the display control unit determines, based on the priority, which of the selectable elements are to be displayed and which are not to be displayed in a drawing area of a modeling screen.
2. The modeling device according to claim 1.
3. The drawing information includes at least drawing information in the process of being created among drawing information in the process of being created and drawing information that has been created.
2. The modeling device according to claim 1.
4. the determination unit determines a priority of the selectable elements based on a frequency of use of the elements included in the drawing information.
2. The modeling device according to claim 1.
5. the determination unit determines a priority of the selectable elements based on an order in the business process of the elements included in the drawing information.
2. The modeling device according to claim 1.
6. the determination unit determines priorities of the selectable elements based on an arrangement of elements included in the drawing information.
2. The modeling device according to claim 1.
7. The determination unit determines the priority of the selectable elements based on character information included in the drawing information.
2. The modeling device according to claim 1.
8. the determination unit determines the priority of the selectable elements based on a time when the element included in the drawing information was added to the drawing information.
2. The modeling device according to claim 1.
9. The determination unit inputs the drawing information into a trained model that has been generated to output a priority of an element when the drawing information is input, and obtains the priority output from the trained model, thereby determining the priority of the selectable element.
2. The modeling device according to claim 1.
10. Displaying the selectable elements in different ways for each classification of the elements; 2. The modeling device according to claim 1.
11. highlighting the selectable elements based on the priority; 2. The modeling device according to claim 1.
12. When any one of the elements included in the drawing information is in a selected state, at least a part of the elements available following the selected element is displayed on the display device.
2. The modeling device according to claim 1.
13. A modeling device for modeling business processes A step of storing the modeled drawing information in a record unit; determining a priority level for elements that can be selected based on constraints related to modeling of the business process among a plurality of elements used in modeling, based on the drawing information; and causing a display device to display at least a portion of the selectable elements based on the priority. Modeling methods.
14. On the computer, Retain the modeled drawing information, determining a priority order based on the drawing information for elements that can be selected based on constraints related to modeling of the business process among a plurality of elements used in modeling; displaying at least a portion of the selectable elements on a display device based on the priority; Program for.
Citation Information
Patent Citations
Modeling editor, modeling device, and modeling method
WO2010007647A1
