Business process processing methods, devices, readable storage media, and electronic devices
By defining dedicated or public business processes in the business system based on user identifiers and corporate organizational structure, and utilizing namespace matching technology, the adaptation problem of dealer business approval processes was solved, achieving efficient and flexible business process processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, the business approval process for dealers is difficult to adapt to changes in dealer organizational structure, resulting in low approval efficiency.
By defining dedicated or public business process definitions in the business system based on user identifiers and enterprise organizational structure, namespace matching technology can be used to quickly obtain user-adapted business process instances.
It improves the flexibility and efficiency of business processes, ensures the adaptability of processes to users, reduces the workload of repetitive definition, and improves the intelligence and timeliness of approval operations.
Smart Images

Figure CN114372779B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically, to a business process processing method, a business process processing apparatus, a readable storage medium, and an electronic device. Background Technology
[0002] In related technologies, the business approval process for dealerships is uniformly defined by the car manufacturer, and all dealerships use a unified approval process for business approval. As the scale of dealership business expands, the organizational structure of some dealerships may be adjusted, and the approval process may change, making it difficult to adapt a globally unified process approval template to the structure of all dealerships. Summary of the Invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] Therefore, a first aspect of the present invention provides a business process processing method.
[0005] A second aspect of the present invention also provides a business process processing apparatus.
[0006] A third aspect of the invention also provides a readable storage medium.
[0007] A fourth aspect of the present invention also provides an electronic device.
[0008] In view of this, a first aspect of the present invention provides a business process processing method, comprising: responding to a query request of a business process, obtaining a user identifier, a process type identifier, and business information contained in the query request; determining at least one business process definition based on the process type identifier; and determining a business process instance based on the user identifier, the business information, and at least one business process definition.
[0009] This invention provides a business process processing method. Specifically, after a user logs into a business system, they initiate a business process query request. In response to the user's query request, the system obtains the user identifier, process type identifier, and business information contained in the query request. It should be noted that the user identifier refers to identification information that represents the user's identity; the process type identifier refers to identification information that represents the type of process the user intends to operate on; and the business information refers to specific business keyword information. Based on the process type identifier, at least one business process definition corresponding to the process type is obtained from the business system. The business process definition refers to at least one business process template corresponding to that process type stored in the business system. Further, based on the user identifier in the at least one business process definition, the business process definition corresponding to the user is determined. Then, based on the user's corresponding business process definition and the business information input by the user, a business process instance is determined. It should be noted that the business process instance refers to the current business approval process containing business information in the business system. Subsequently, the business process instance is displayed for the user's approval operation.
[0010] It should be noted that at least one business process definition includes a common business process definition applicable to all users, and a dedicated business process definition defined according to the individual user's enterprise organization and structure. The dedicated business process definition refers to the user's exclusive business process defined according to the user's enterprise organization and structure.
[0011] The business process processing method provided by this invention can quickly and accurately retrieve the appropriate current business approval process based on the user's user information and business information when the user needs to approve a business process on the business system. This improves the flexibility of business process use, ensures the compatibility between the business process and the user, and effectively improves business approval efficiency.
[0012] The business process processing method provided by the present invention may also have the following additional technical features:
[0013] In the above technical solution, the step of determining a business process instance based on the user identifier, business information, and at least one business process definition specifically includes: when there are multiple business process definitions, obtaining multiple process namespaces for the multiple business process definitions; matching the user identifier with the multiple process namespaces, and determining the target process namespace corresponding to the user identifier based on the matching result; and determining the business process instance based on the target process namespace and business information.
[0014] In this technical solution, if there are multiple business processes corresponding to a process type in the business system, it indicates that the system not only contains common business process definitions for all users but also specific business process definitions for individual users. In this case, the process namespaces of all business process definitions are retrieved, and the user identifier in the query request is matched against multiple process namespaces. Based on the matching results, the target process namespace is read from among the multiple process namespaces. It should be noted that the target process namespace is the namespace of the business process adapted to the user. Then, based on the determined target process namespace and the business information input by the user, a business process instance containing the business information is returned to the user.
[0015] It is understandable that if there is only one business process definition corresponding to a process type, it means that there is only a common business process definition for that process type in the business system. In this case, the common process namespace of that common business process definition is retrieved as the business process instance.
[0016] By using the above method, the correct process namespace is automatically matched using user identifiers across multiple business process namespaces, thereby obtaining the appropriate business approval process and improving the intelligence level of the business system.
[0017] In any of the above technical solutions, the step of matching the user identifier with multiple process namespaces and determining the target process namespace corresponding to the user identifier based on the matching result specifically includes: matching the user identifier with multiple process namespaces; and if there is a process namespace containing the user identifier among the multiple process namespaces, using the dedicated process namespace corresponding to the user identifier as the target process namespace.
[0018] In this technical solution, the user identifier is matched with multiple process namespaces. If the qualified name of any of the multiple process namespaces contains the user identifier, it means that the business process definition in the business system has a dedicated business process definition for that user. At this time, the dedicated process namespace corresponding to the user is used as the target process namespace, thereby obtaining the dedicated business approval process containing business information.
[0019] By using the above method, we can quickly and accurately obtain the user-appropriate business approval process by matching the corresponding dedicated process namespace with the user identifier, thereby improving the efficiency of business process query.
[0020] In any of the above technical solutions, the step of matching the user identifier with multiple process namespaces and determining the target process namespace corresponding to the user identifier based on the matching result further includes: if there is no process namespace containing the user identifier among the multiple process namespaces, the common process namespace is used as the target process namespace.
[0021] In this technical solution, user identifiers are matched against multiple process namespaces. If the qualified names of multiple process namespaces do not contain the user identifier, meaning that there is no dedicated business process definition for that user among all business process definitions under the process type, it indicates that the user's organizational structure is consistent with the system's default approval process for common business processes, and no dedicated approval process needs to be set. In this case, the common process namespace is used as the target process namespace, and then a common business process instance is obtained based on the target process namespace for user approval operations.
[0022] By using the above method, when it is determined that the business system does not contain a user-specific business approval process based on the matching results between the user identifier and the process namespace in the system, a public business approval process is immediately retrieved for the user to approve, thereby improving the flexibility and timeliness of business process retrieval.
[0023] In any of the above technical solutions, further, the first enterprise information is obtained; multiple process types are determined based on the first enterprise information; multiple common business processes corresponding to the multiple process types are determined based on the first enterprise information; and a common process namespace for the multiple common business process definitions is generated based on the multiple process types.
[0024] In this technical solution, obtaining the user's primary enterprise information—specifically, the organizational structure information of all users' enterprises—is crucial. Based on this primary enterprise information, various process types that all users can utilize in business approval processes are planned, along with approval stage information such as process variables and process roles for each process type. Then, based on these approval stage information, the common business process definition for each process type is determined. Subsequently, a common process namespace containing the common business approval process is generated for each process type, and this generated process namespace is stored in the business system.
[0025] By using the above method, based on the enterprise information of all users, the approval process of common business processes for all users is pre-planned, and then a unified common business process definition is generated in the business system. This eliminates the need to repeatedly define the same business approval process for each user, reducing the workload of business process drawing and improving the efficiency of business process drawing.
[0026] In any of the above technical solutions, further, in response to the business process addition instruction, the second enterprise information, the second user identifier, and the target process type contained in the addition instruction are obtained; based on the target process type, the target common business process definition is determined from multiple common business process definitions; based on the second enterprise information and the target common business process, a user-specific business process definition is generated; based on the second user identifier, a dedicated process namespace for the user-specific business process definition is generated.
[0027] In this technical solution, when a user's organizational structure is adjusted, or when the user believes that the common business process approval steps in the business system are incompatible with their own organizational structure, they can customize a unique business process definition within the business system based on their own organizational structure. Specifically, in response to a user's instruction to add a business process, the system retrieves the user's second enterprise information and the target process type contained in the instruction. It should be noted that the second enterprise information refers to the user's current organizational structure, and the target process type refers to the type of business process the user wants to redefine. Based on the target process type, the system identifies the target common business process definition to be modified from all common business process definitions in the business system. Then, based on the user's current organizational structure, the target common business process definition is modified to generate a modified user-specific business process definition. Furthermore, based on the user identifier, a dedicated process namespace containing the user's unique business approval process is generated. The modified dedicated process namespace is then stored in the business system.
[0028] It should be noted that when users need to change business processes due to business or organizational adjustments, they can either modify them based on the common business approval process or redraw their own exclusive business approval process.
[0029] The above approach enables users to flexibly and efficiently customize processes according to their business needs, and to store user-defined processes in their respective namespaces in isolation. This allows the system to read the correct process definition by combining user identifiers, business information, and isolation strategies.
[0030] In any of the above technical solutions, a business process instance is further displayed.
[0031] In this technical solution, after generating a business process instance, it is displayed on the business system, enabling users to approve the displayed business process instance. The business system quickly and accurately retrieves and displays the correct business process instance based on user identification and business information, improving the intelligence and flexibility of the business approval process and increasing the efficiency of user business approvals.
[0032] According to a second aspect of the present invention, a business process processing apparatus is provided, comprising: an acquisition module, configured to acquire a user identifier, a process type identifier, and business information contained in a query request in response to a business process query request; a first determination module, configured to determine at least one business process definition based on the process type identifier; and a second determination module, configured to determine a business process instance based on the user identifier, the business information, and at least one business process definition.
[0033] This invention provides a business process processing apparatus. Specifically, after a user logs into a business system, they initiate a business process query request. In response to the user's query request, the apparatus retrieves the user identifier, process type identifier, and business information contained in the query request. It should be noted that the user identifier refers to identification information that represents the user's identity; the process type identifier refers to identification information that represents the type of process the user intends to operate on; and the business information refers to specific business keyword information. Based on the process type identifier, at least one business process definition corresponding to the process type is retrieved from the business system. The business process definition refers to at least one business process template corresponding to that process type stored in the business system. Further, based on the user identifier in the at least one business process definition, the business process definition corresponding to the user is determined. Then, based on the user's corresponding business process definition and the business information input by the user, a business process instance is determined. It should be noted that the business process instance refers to the current business approval process containing business information in the business system. Subsequently, the business process instance is displayed for the user's approval operation.
[0034] It should be noted that at least one business process definition includes a common business process definition applicable to all users, and a dedicated business process definition defined according to the individual user's enterprise organization and structure. The dedicated business process definition refers to the user's exclusive business process defined according to the user's enterprise organization and structure.
[0035] The business process processing device provided by this invention can quickly and accurately retrieve the appropriate current business approval process based on the user's user information and business information when the user needs to approve a business process on the business system. This improves the flexibility of business process use, ensures the compatibility between the business process and the user, and effectively improves business approval efficiency.
[0036] According to a third aspect of the present invention, a readable storage medium is provided on which a program or instructions are stored, which, when executed by a processor, perform the business process processing method proposed in the first aspect. Therefore, this readable storage medium possesses all the beneficial effects of the business process processing method proposed in the first aspect, and to avoid repetition, further details are omitted.
[0037] According to a fourth aspect of the present invention, an electronic device is provided, comprising the business process processing apparatus of the second aspect and / or the readable storage medium of the third aspect. Therefore, this electronic device possesses all the beneficial effects of the business process processing apparatus of the second aspect and the readable storage medium of the third aspect, and to avoid repetition, further details are omitted.
[0038] Additional aspects and advantages of the invention will become apparent in the following description or may be learned by practice of the invention. Attached Figure Description
[0039] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0040] Figure 1 This is a schematic diagram of a business process processing method according to an embodiment of the present invention;
[0041] Figure 2 A second schematic diagram of a business process processing method according to an embodiment of the present invention is shown;
[0042] Figure 3 A third schematic diagram of a business process processing method according to an embodiment of the present invention is shown;
[0043] Figure 4 A fourth schematic diagram of a business process processing method according to an embodiment of the present invention is shown;
[0044] Figure 5 The fifth schematic diagram of a business process processing method according to an embodiment of the present invention is shown;
[0045] Figure 6 A schematic diagram of a business process processing method according to an embodiment of the present invention is shown in Figure 6.
[0046] Figure 7 A schematic diagram of a business process processing method according to an embodiment of the present invention is shown in Figure 7.
[0047] Figure 8 A schematic block diagram of a business process control system according to an embodiment of the present invention is shown;
[0048] Figure 9 A logic diagram of a business process control system according to an embodiment of the present invention for reading business processes is shown;
[0049] Figure 10 A schematic block diagram of a business process processing apparatus according to an embodiment of the present invention is shown;
[0050] Figure 11A schematic diagram of a business process instance corresponding to user 1 according to an embodiment of the present invention is shown;
[0051] Figure 12 A schematic diagram of a business process instance corresponding to user 2 according to an embodiment of the present invention is shown.
[0052] in, Figure 8 and Figure 10 The correspondence between the reference numerals and component names in the attached drawings is as follows:
[0053] 800 Business Process Control System, 802 Process Data Center, 804 Process Definer, 806 Process Reader, 808 Process Isolation Controller, 1000 Business Process Processing Device, 1002 Acquisition Module, 1004 First Determination Module, 1006 Second Determination Module. Detailed Implementation
[0054] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0055] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0056] Furthermore, in this invention, descriptions involving "first," "second," etc., are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0057] Furthermore, the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they are based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.
[0058] The following reference Figures 1 to 12 This invention describes a business process processing method, a business process processing apparatus, a readable storage medium, and an electronic device according to some embodiments of the present invention.
[0059] Example 1:
[0060] like Figure 1 As shown, according to an embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0061] Step 102: In response to the query request of the business process, obtain the user identifier, process type identifier and business information contained in the query request;
[0062] Step 104: Determine at least one business process definition based on the process type identifier;
[0063] Step 106: Determine the business process instance based on the user identifier, business information, and at least one business process definition.
[0064] This embodiment provides a business process processing method. Specifically, after a user logs into the business system, they initiate a business process query request. In response to the user's business process query request, the system obtains the user identifier, process type identifier, and business information contained in the query request. It should be noted that the user identifier refers to identification information that represents the user's identity; the process type identifier refers to identification information that represents the type of process the user wants to operate on; and the business information refers to specific business keyword information. Based on the process type identifier, at least one business process definition corresponding to the process type is obtained from the business system. The business process definition refers to at least one business process template corresponding to that process type stored in the business system. Further, based on the user identifier in the at least one business process definition, the business process definition corresponding to the user is determined. Then, based on the user's corresponding business process definition and the business information entered by the user, a business process instance is determined. It should be noted that the business process instance refers to the current business approval process containing business information in the business system. Subsequently, the business process instance is displayed for the user's approval operation.
[0065] It should be noted that at least one business process definition includes a common business process definition applicable to all users, and a dedicated business process definition defined according to the individual user's enterprise organization and structure. The dedicated business process definition refers to the user's exclusive business process defined according to the user's enterprise organization and structure.
[0066] Specifically, the business system of this application applies to the automotive supplier side, which includes dealers with multiple directly operated stores or retail stores. In existing technology, dealer business processes are typically managed uniformly by the automotive supplier's business system, with each process type using a common format across all dealers. However, as dealer business expands, some dealers adjust their organizational structures, leading to changes in approval process steps. A unified common business process cannot adapt to all dealer structures, resulting in low approval efficiency. To address these issues, this application, when a user performs an approval operation, correctly retrieves the user's specific or common business process from the business system based on the user's identifier and the type of process to be approved, enabling the user to use the most suitable business process format for approval.
[0067] The business process processing method provided in this embodiment can quickly and accurately retrieve the appropriate current business approval process based on the user's user information and business information when the user needs to approve a business process on the business system. This improves the flexibility of business process use, ensures the compatibility between the business process and the user, and effectively improves business approval efficiency.
[0068] Example 2:
[0069] like Figure 2 As shown, according to an embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0070] Step 202: In response to the query request of the business process, obtain the user identifier, process type identifier and business information contained in the query request;
[0071] Step 204: Determine at least one business process definition based on the process type identifier;
[0072] Step 206: Determine whether at least one business process definition is one. If yes, proceed to step 208; otherwise, proceed to step 210.
[0073] Step 208: Use the process namespace defined in the business process definition as the target process namespace;
[0074] Step 210: Obtain multiple process namespaces defined by multiple business processes;
[0075] Step 212: Match the user identifier with multiple process namespaces, and determine the target process namespace corresponding to the user identifier based on the matching results;
[0076] Step 214: Determine the business process instance based on the target process namespace and business information.
[0077] In this embodiment, if there are multiple business processes corresponding to a process type in the business system, it indicates that the business system not only contains common business process definitions applicable to all users, but also contains dedicated business process definitions specific to individual users. In this case, the process namespaces of all business process definitions are obtained, and the user identifier in the query request is matched against multiple process namespaces. Based on the matching results, the target process namespace is read from among the multiple process namespaces. It should be noted that the target process namespace is the process namespace of the business process adapted to the user. Then, based on the determined target process namespace and the business information input by the user, a business process instance containing the business information is returned to the user.
[0078] It is understandable that if there is only one business process definition corresponding to a process type, it means that there is only a common business process definition for that process type in the business system. In this case, the common process namespace of that common business process definition is retrieved as the business process instance.
[0079] By using the above method, the correct process namespace is automatically matched using user identifiers across multiple business process namespaces, thereby obtaining the appropriate business approval process and improving the intelligence level of the business system.
[0080] Example 3:
[0081] like Figure 3 As shown, according to an embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0082] Step 302: In response to the query request of the business process, obtain the user identifier, process type identifier and business information contained in the query request;
[0083] Step 304: Determine at least one business process definition based on the process type identifier;
[0084] Step 306: Determine whether at least one business process definition is one. If yes, proceed to step 308; otherwise, proceed to step 310.
[0085] Step 308: Use the process namespace defined in the business process definition as the target process namespace;
[0086] Step 310: Obtain multiple process namespaces defined by multiple business processes;
[0087] Step 312: Match the user identifier with multiple process namespaces;
[0088] Step 314: Determine whether there is a process namespace corresponding to the user identifier among the multiple process namespaces. If yes, proceed to step 316; otherwise, proceed to step 318.
[0089] Step 316: Use the dedicated process namespace corresponding to the user identifier as the target process namespace;
[0090] Step 318: Use the common process namespace as the target process namespace;
[0091] Step 320: Determine the business process instance based on the target process namespace and business information.
[0092] In this embodiment, the user identifier is matched with multiple process namespaces. If the qualified name of any of the multiple process namespaces contains the user identifier, it means that the business process definition in the business system has a dedicated business process definition for that user. At this time, the dedicated process namespace corresponding to the user is used as the target process namespace, thereby obtaining the dedicated business approval process containing business information.
[0093] Furthermore, the user identifier is matched against multiple process namespaces. If the qualified namespaces of multiple process namespaces do not contain the user identifier, meaning that there is no dedicated business process definition for that user among all business process definitions under the process type, it indicates that the user's organizational structure is consistent with the system's default approval process for common business processes, and no dedicated approval process needs to be set. In this case, the common process namespace is used as the target process namespace, and then a common business process instance is obtained based on the target process namespace for the user's approval operation.
[0094] By using the above method, we can quickly and accurately read the user-adapted business process by matching the corresponding process namespace with the user identifier, thereby improving the query efficiency of the business process.
[0095] In a specific implementation, each business process has its own namespace. By defining business processes through different namespaces, business processes from different users can be isolated from each other, achieving a control mechanism at the isolation level. Each namespace has its own qualified name. For example, the qualified namespace for common business processes is NS:Global (namespace: global); the qualified namespaces for user-specific business processes are NS:Dealer1 (namespace: Dealer 1) and NS:Dealer2 (namespace: Dealer 2). After a dealer logs into the business system, their identifier is identified as Dealer 1. Among the qualified names in all namespaces, Dealer 1 is matched against multiple qualified names. When any namespace's qualified name contains Dealer 1, the namespace corresponding to that qualified name is read, and their dedicated business approval process is returned to Dealer 1. Furthermore, after Distributor 3 logs into the business system, the distributor's identifier is determined to be Distributor 3. Among all the qualified names in the namespaces, Distributor 3 is matched with the qualified names. When it is determined that none of the qualified names in the namespaces contain Distributor 3, it means that there is no exclusive process namespace for Distributor 3 in the user-exclusive namespaces at the lower level of the business system. At this time, the common process namespace provided by the upper level is read and the common business approval process is returned to it.
[0096] Example 4:
[0097] like Figure 4 As shown, according to an embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0098] Step 402: Obtain the first company information;
[0099] Step 404: Based on the first company information, determine multiple process types;
[0100] Step 406: Based on the first enterprise information, determine the definitions of multiple common business processes corresponding to multiple process types;
[0101] Step 408: Generate a common process namespace for multiple common business process definitions based on multiple process types;
[0102] Step 410: In response to the query request of the business process, obtain the user identifier, process type identifier and business information contained in the query request;
[0103] Step 412: Determine at least one business process definition based on the process type identifier;
[0104] Step 414: Determine the business process instance based on the user identifier, business information, and at least one business process definition.
[0105] In this embodiment, obtaining the user's first enterprise information (i.e., the organizational structure information of all users' enterprises) is crucial. Based on this first enterprise information, various process types that all users can use in the business approval process are planned, along with approval stage information such as process variables and process roles for each process type. Then, based on the process variables, approval roles, and other approval stage information, a common business process definition for each process type is determined. Subsequently, a common process namespace containing the common business approval process is generated for each process type, and the generated process namespace is stored in the business system.
[0106] It should be noted that the business process definition refers to the business process described using the offline BPMN (Business Process Model and Notation) standard.
[0107] Furthermore, a namespace refers to a memory region in a business system. Specifically, programmers can specify named space domains as needed, placing each business approval process in a separate namespace to separate it from other business processes.
[0108] By using the above method, based on the enterprise information of all users, the approval process of common business processes for all users is pre-planned, and then a unified common business process definition is generated in the business system. This eliminates the need to repeatedly define the same business approval process for each user, reducing the workload of business process drawing and improving the efficiency of business process drawing.
[0109] Example 5:
[0110] like Figure 5 As shown, according to an embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0111] Step 502: Obtain the first company information;
[0112] Step 504: Based on the first company information, determine multiple process types;
[0113] Step 506: Based on the first enterprise information, determine the definitions of multiple common business processes corresponding to multiple process types;
[0114] Step 508: Generate a common process namespace for multiple common business process definitions based on multiple process types;
[0115] Step 510: In response to the business process addition instruction, obtain the second enterprise information, second user identifier and target process type contained in the addition instruction;
[0116] Step 512: Based on the target process type, determine the target common business process definition from among multiple common business process definitions;
[0117] Step 514: Generate user-specific business process definitions based on the second enterprise information and the target common business process definition;
[0118] Step 516: Generate a process namespace for the user-specific business process based on the second user identifier;
[0119] Step 518: In response to the query request of the business process, obtain the user identifier, process type identifier and business information contained in the query request;
[0120] Step 520: Determine at least one business process definition based on the process type identifier;
[0121] Step 522: Determine the business process instance based on the user identifier, business information, and at least one business process definition.
[0122] In this embodiment, when a user adjusts their organizational structure or believes that the common business process approval steps in the business system are incompatible with their own organizational structure, they can customize a unique business process definition within the business system based on their organizational structure. Specifically, in response to a user's instruction to add a business process, the system retrieves the user's second enterprise information and the target process type contained in the instruction. It should be noted that the second enterprise information refers to the user's current organizational structure, and the target process type refers to the type of business process the user wants to redefine. Based on the target process type, the system identifies the target common business process definition to be modified from all common business process definitions in the business system. Then, based on the user's current organizational structure, the target common business process definition is modified to generate a modified user-specific business process definition. Furthermore, based on the user identifier, a dedicated process namespace containing the user's unique business approval process is generated. The modified dedicated process namespace is then stored in the business system.
[0123] It should be noted that when users need to change business processes due to business or organizational adjustments, they can either modify them based on the common business approval process or redraw their own exclusive business approval process.
[0124] The above approach enables users to flexibly and efficiently customize processes according to their business needs, and to store user-defined processes in their respective namespaces in isolation. This allows the system to read the correct process definition by combining user identifiers, business information, and isolation strategies.
[0125] In a specific embodiment, the business system supports namespaces. Under a common namespace, all common business processes of different process types are predefined. Through logical control, distributors are guided to use these common business processes within the common namespace, thus avoiding duplicate process definitions in their own namespaces. Furthermore, business processes are defined under different namespaces, and by setting isolation spaces for each business process, the business processes of different distributors can be isolated from each other. Further, a control strategy based on isolation levels is adopted: when no lower-level dedicated business process exists within the business system, the user reads the common business approval process, allowing the user to use the upper-level common business approval process; when a user-defined dedicated business approval process exists in the business system, the common business process definition is ignored, and the user reads the dedicated business approval process.
[0126] Example 6:
[0127] like Figure 6 As shown, according to an embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0128] Step 602: In response to the query request of the business process, obtain the user identifier, process type identifier and business information contained in the query request;
[0129] Step 604: Determine at least one business process definition based on the process type identifier;
[0130] Step 606: Determine the business process instance based on the user identifier, business information, and at least one business process definition;
[0131] Step 608: Display a business process instance.
[0132] In this embodiment, after generating a business process instance, it is displayed on the business system, enabling users to approve the displayed business process instance. The business system quickly and accurately retrieves and displays the correct business process instance based on user identification and business information, improving the intelligence and flexibility of the business approval process and increasing the efficiency of user business approvals.
[0133] Specifically, business process examples can be displayed in the form of flowcharts.
[0134] In a specific embodiment, such as Figure 11 and Figure 12 The example shown is a flowchart instance for different users. Specifically, after User 1 defines a custom business process based on their business organization and structure, when User 1 needs to perform an approval process operation, they confirm the custom business process definition in the business system based on their own business identifier and the process type to be approved, then input the business information. The business system then returns the corresponding flowchart for them. Figure 11 This shows that the reviewers for this business approval process are the planner and the sales manager. Furthermore, after User 2 defines a custom business process based on the business organization and structure, when User 2 needs to perform an approval process operation, they confirm the custom business process definition in the business system based on their own business identifier and the process type to be approved, then input the business information. The business system then returns the corresponding flowchart. Figure 12 This indicates that the person responsible for reviewing the approval process for this business is the planner.
[0135] Example 7:
[0136] like Figure 7 As shown, according to a specific embodiment of the present invention, a business process processing method is proposed, the method comprising:
[0137] Step 702, define common business processes;
[0138] Step 704: In response to the business process query request, obtain the user identifier contained in the query request;
[0139] Step 706: Determine the corresponding business process instance based on the user identifier.
[0140] In this embodiment, the dealer initiates a query request to retrieve the business process, obtaining information such as dealer identifier, process type identifier, and business keywords from the request. This triggers the process isolation control strategy, allowing the dealer to obtain the correct business process. The process isolation control strategy refers to locating a specific business process based on the dealer identifier; if not found, it locates a globally applicable common business process, thus enabling flexible determination of the business process based on the dealer's business characteristics.
[0141] Furthermore, such as Figure 8As shown, this application provides a business process control system 800, applicable to automotive suppliers. The business process control system 800 includes: a process data center 802, used to record all business processes of automotive suppliers and dealers; a process definer 804, used to define business processes. Specifically, the process definer 804 draws and enables business process diagrams corresponding to all common process types based on process type codes, process roles, and process variables, achieving unified definition and sharing of global processes. This ensures that common business processes are effective globally, reducing the workload of each dealer repeatedly defining the same processes. Furthermore, the process definer 804 also defines dedicated business processes customized by dealers according to their business needs; a process reader 806, used to read business processes; and a process isolation controller 808, used to correctly control the acquisition of business process instances based on dealer identifiers, process type identifiers, business keywords, and other information. For example, when there are no dealer-defined processes in the process data center 802, the process isolation controller 808 will retrieve common business processes; when there are dealer-defined dedicated processes in the process data center 802, the process isolation controller 808 will ignore the common business processes and retrieve the dealer's dedicated business processes.
[0142] Preferably, the process data center 802 uniformly records the business processes of automotive suppliers and dealers, including process-related variables and process type identifiers. The process data center 802 also provides query and modification capabilities to ensure coordinated operation between related components.
[0143] Preferably, the process definer 804 provides a visual drag-and-drop canvas, facilitating managers or distributors to quickly and clearly draw or adjust business processes. This allows distributors to flexibly and efficiently customize business approval processes, addressing the issue of rapidly changing business and organizational structures while business processes cannot be quickly adapted. The process definer 804 also provides commonly used approval flow elements, including task nodes, process branches, process start, and process end; these elements can be dragged and dropped to create flowcharts.
[0144] Preferably, the process reader 806 can display static flowcharts as well as dynamic business process approval node statuses.
[0145] Preferably, distributors can define dedicated business processes based on business or organizational changes. Meanwhile, the process isolation controller 808 can accurately retrieve public or dedicated business processes based on the distributor's identifier and the data in the process data center 802. On the one hand, this allows distributors to efficiently adjust their corresponding business processes in response to changes in their business or organizational structure, improving business agility. On the other hand, the global sharing of public business processes also avoids each distributor from repeatedly drawing flowcharts, reducing the workload of defining business processes.
[0146] Furthermore, such as Figure 9 As shown, the process definer 804 places the defined common business processes under the global user (NS:Global) namespace in the process data center 802 for sharing with all resellers. Each reseller's proprietary business processes reside isolated within their own namespace, as shown in the attached diagram. Figure 9 The namespaces for Distributor 1 (NS: Dealer1), Distributor 2 (NS: Dealer2), and Distributor N (NS: DealerN) are defined. When the process reader 806 reads a business process, it includes information such as the distributor identifier, process type identifier, and business keywords. The process isolation controller 808, in conjunction with the isolation policy, controls the display of the correct business process in the process data center 802.
[0147] Example 8:
[0148] like Figure 10 As shown, according to an embodiment of the second aspect of the present invention, a business process processing apparatus 1000 is provided, comprising: an acquisition module 1002, configured to acquire a user identifier, a process type identifier, and business information contained in a query request in response to a business process query request; a first determination module 1004, configured to determine at least one business process definition based on the process type identifier; and a second determination module 1006, configured to determine a business process instance based on the user identifier, the business information, and at least one business process definition.
[0149] This embodiment provides a business process processing device 1000. Specifically, after a user logs into the business system, they initiate a business process query request. In response to the user's business process query request, the device obtains the user identifier, process type identifier, and business information contained in the query request. It should be noted that the user identifier refers to identifier information that can represent the user's identity; the process type identifier refers to identifier information that can represent the type of process the user wants to operate; and the business information refers to specific business keyword information. Based on the process type identifier, at least one business process definition corresponding to the process type is obtained from the business system. The business process definition refers to at least one business process template corresponding to that process type stored in the business system. Further, based on the user identifier in at least one business process definition, the business process definition corresponding to the user is determined. Then, based on the user's corresponding business process definition and the business information input by the user, the device determines... It should be noted that a business process instance refers to the current business approval process containing business information in the business system. Subsequently, the business process instance is displayed for the user's approval operation.
[0150] It should be noted that at least one business process definition includes a common business process definition applicable to all users, and a dedicated business process definition defined according to the individual user's enterprise organization and structure. The dedicated business process definition refers to the user's exclusive business process defined according to the user's enterprise organization and structure.
[0151] Specifically, the business system of this application applies to the automotive supplier side, which includes dealers with multiple directly operated stores or retail stores. In existing technology, dealer business processes are typically managed uniformly by the automotive supplier's business system, with each process type using a common format across all dealers. However, as dealer business expands, some dealers adjust their organizational structures, leading to changes in approval process steps. A unified common business process cannot adapt to all dealer structures, resulting in low approval efficiency. To address these issues, this application, when a user performs an approval operation, correctly retrieves the user's specific or common business process from the business system based on the user's identifier and the type of process to be approved, enabling the user to use the most suitable business process format for approval.
[0152] The business process processing device 1000 provided in this embodiment can quickly and accurately retrieve the appropriate current business approval process based on the user's user information and business information when the user needs to approve a business process on the business system. This improves the flexibility of business process use, ensures the compatibility between the business process and the user, and effectively improves business approval efficiency.
[0153] Furthermore, the business process processing device 1000 also includes a judgment module for judging whether at least one business process definition is a single entity; the acquisition module 1002 is further used to acquire multiple process namespaces of multiple business process definitions when at least one business process definition is multiple; the business process processing device 1000 also includes a matching module for matching user identifiers with multiple process namespaces. The first determining module 1004 is specifically used to determine the target process namespace corresponding to the user identifier based on the matching result; the first determining module 1004 is also specifically used to determine a business process instance based on the target process namespace and business information.
[0154] In this embodiment, if there are multiple business processes corresponding to a process type in the business system, it indicates that the system not only contains common business process definitions applicable to all users, but also unique business process definitions specific to individual users. In this case, the process namespaces of all business process definitions are retrieved, and the user identifier in the query request is matched against multiple process namespaces. Based on the matching results, the target process namespace is read from among the multiple process namespaces. It should be noted that the target process namespace is the namespace of the business process adapted to the user. Then, based on the determined target process namespace and the business information input by the user, a business process instance containing the business information is returned to the user.
[0155] It is understandable that if there is only one business process definition corresponding to a process type, it means that there is only a common business process definition for that process type in the business system. In this case, the common process namespace of that common business process definition is retrieved as the business process instance.
[0156] By using the above method, the correct process namespace is automatically matched using user identifiers across multiple business process namespaces, thereby obtaining the appropriate business approval process and improving the intelligence level of the business system.
[0157] Furthermore, the determination module is also used to determine whether there is a process namespace containing a user identifier among the multiple process namespaces; if there is a process namespace containing a user identifier among the multiple process namespaces, the first determination module 1004 is specifically used to take the dedicated process namespace corresponding to the user identifier as the target process namespace.
[0158] In this embodiment, the user identifier is matched with multiple process namespaces. If the qualified name of any of the multiple process namespaces contains the user identifier, it means that the business process definition in the business system has a dedicated business process definition for that user. At this time, the dedicated process namespace corresponding to the user is used as the target process namespace, thereby obtaining the dedicated business approval process containing business information.
[0159] By using the above method, we can quickly and accurately obtain the user-appropriate business approval process by matching the corresponding dedicated process namespace with the user identifier, thereby improving the efficiency of business process query.
[0160] Furthermore, in the case where there is no process namespace containing a user identifier among multiple process namespaces, the first determining module 1004 is specifically used to use the common process namespace as the target process namespace.
[0161] In this embodiment, the user identifier is matched with multiple process namespaces. If the qualified name of any of the multiple process namespaces does not contain the user identifier, meaning that there is no dedicated business process definition for that user among all business process definitions under the process type, it indicates that the user's organizational structure is consistent with the approval process of the system's default common business process, and no dedicated approval process needs to be set. In this case, the common process namespace is used as the target process namespace, and then a common business process instance is obtained based on the target process namespace for the user's approval operation.
[0162] By using the above method, when it is determined that the business system does not contain a user-specific business approval process based on the matching results between the user identifier and the process namespace in the system, a public business approval process is immediately retrieved for the user to approve, thereby improving the flexibility and timeliness of business process retrieval.
[0163] Furthermore, the acquisition module 1002 is also used to acquire first enterprise information; the business process processing device 1000 further includes: a third determining module, used to determine multiple process types based on the first enterprise information; a fourth determining module, used to determine multiple common business processes corresponding to the multiple process types based on the first enterprise information; and a first generating module, used to generate a common process namespace for multiple common business process definitions based on the multiple process types.
[0164] In this embodiment, obtaining the user's first enterprise information (i.e., the organizational structure information of all users' enterprises) is crucial. Based on this first enterprise information, various process types that all users can use in the business approval process are planned, along with approval stage information such as process variables and process roles for each process type. Then, based on the process variables, approval roles, and other approval stage information, a common business process definition for each process type is determined. Subsequently, a common process namespace containing the common business approval process is generated for each process type, and the generated process namespace is stored in the business system.
[0165] It should be noted that the business process definition refers to the business process described using the offline BPMN (Business Process Model and Notation) standard.
[0166] Furthermore, a namespace refers to a memory region in a business system. Specifically, programmers can specify named space domains as needed, placing each business approval process in a separate namespace to separate it from other business processes.
[0167] By using the above method, based on the enterprise information of all users, the approval process of common business processes for all users is pre-planned, and then a unified common business process definition is generated in the business system. This eliminates the need to repeatedly define the same business approval process for each user, reducing the workload of business process drawing and improving the efficiency of business process drawing.
[0168] Furthermore, the acquisition module 1002 is also used to acquire, in response to the business process addition instruction, the second enterprise information, the second user identifier, and the target process type contained in the addition instruction; the business process processing device 1000 further includes: a fifth determining module, used to determine the target common business process definition from multiple common business process definitions according to the target process type; a second generating module, used to generate the user-specific business process definition according to the second enterprise information and the target common business process; and a third generating module, used to generate the dedicated process namespace of the user-specific business process definition according to the second user identifier.
[0169] In this embodiment, when a user adjusts their organizational structure or believes that the common business process approval steps in the business system are incompatible with their own organizational structure, they can customize a unique business process definition within the business system based on their organizational structure. Specifically, in response to a user's instruction to add a business process, the system retrieves the user's second enterprise information and the target process type contained in the instruction. It should be noted that the second enterprise information refers to the user's current organizational structure, and the target process type refers to the type of business process the user wants to redefine. Based on the target process type, the system identifies the target common business process definition to be modified from all common business process definitions in the business system. Then, based on the user's current organizational structure, the target common business process definition is modified to generate a modified user-specific business process definition. Furthermore, based on the user identifier, a dedicated process namespace containing the user's unique business approval process is generated. The modified dedicated process namespace is then stored in the business system.
[0170] It should be noted that when users need to change business processes due to business or organizational adjustments, they can either modify them based on the common business approval process or redraw their own exclusive business approval process.
[0171] The above approach enables users to flexibly and efficiently customize processes according to their business needs, and to store user-defined processes in their respective namespaces in isolation. This allows the system to read the correct process definition by combining user identifiers, business information, and isolation strategies.
[0172] Furthermore, the business process processing device 1000 also includes a display module for displaying business process instances.
[0173] In this embodiment, after generating a business process instance, it is displayed on the business system, enabling users to approve the displayed business process instance. The business system quickly and accurately retrieves and displays the correct business process instance based on user identification and business information, improving the intelligence and flexibility of the business approval process and increasing the efficiency of user business approvals.
[0174] Example 9:
[0175] According to an embodiment of a third aspect of the present invention, a readable storage medium is provided on which a program or instructions are stored, which, when executed by a processor, perform the business process processing method proposed in the first aspect. Therefore, this readable storage medium possesses all the beneficial effects of the business process processing method proposed in the first aspect, and to avoid repetition, further details are omitted.
[0176] Example 10:
[0177] According to a fourth aspect of the present invention, an electronic device is provided, comprising the business process processing apparatus of the second aspect and / or the readable storage medium of the third aspect. Therefore, this electronic device possesses all the beneficial effects of the business process processing apparatus of the second aspect and the readable storage medium of the third aspect, and to avoid repetition, further details are omitted.
[0178] In the claims, description, and accompanying drawings of this invention, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In the claims, description, and accompanying drawings of this invention, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0179] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A business process handling method, characterized by, The method comprises the following steps: In response to a query request of the business process, obtaining a user identifier, a process type identifier and business information contained in the query request; According to the process type identifier, at least one business process definition is determined; According to the user identifier, the business information and the at least one business process definition, a business process instance is determined; Obtain the first enterprise information; According to the first enterprise information, a plurality of process types are determined; According to the first enterprise information, a plurality of public business process definitions corresponding to the plurality of process types are determined; According to the plurality of process types, a plurality of public process namespaces of the plurality of public business process definitions are generated; In response to an addition instruction of the business process, obtaining second enterprise information, a second user identifier and a target process type contained in the addition instruction; According to the target process type, a target public business process definition is determined from the plurality of public business process definitions; According to the second enterprise information and the target public business process definition, a user-specific business process definition is generated; According to the second user identifier, a specific process namespace of the user-specific business process definition is generated; The first enterprise information includes enterprise organizational structure information of all users; The step of determining the business process instance according to the user identifier, the business information and the at least one business process definition specifically comprises: In the case of multiple business process definitions, a plurality of process namespaces of the plurality of business process definitions are obtained; The user identifier and the plurality of process namespaces are matched, and according to the matching result, a target process namespace corresponding to the user identifier is determined; According to the target process namespace and the business information, the business process instance is determined. The namespace refers to a memory area in the business system.
2. The business process handling method of claim 1, wherein, The step of matching the user identifier with the plurality of process namespaces to determine the target process namespace corresponding to the user identifier according to the matching result specifically comprises: The user identifier is matched with the plurality of process namespaces; In the case that the plurality of process namespaces have a process namespace containing the user identifier, the specific process namespace corresponding to the user identifier is taken as the target process namespace.
3. The business process handling method of claim 2, wherein, The step of matching the user identifier with the plurality of process namespaces to determine the target process namespace corresponding to the user identifier according to the matching result specifically further comprises: In the case that the plurality of process namespaces do not have the process namespace corresponding to the user identifier, the public process namespace is taken as the target process namespace.
4. The business process handling method according to any one of claims 1 to 3, characterized by, Further comprising: Display the business process instance.
5. A business process processing apparatus characterized by comprising: The business process processing device is used to implement the steps of the business process processing method according to any one of claims 1 to 4, comprising: An acquisition module is configured to, in response to a query request of the business process, obtain a user identifier, a process type identifier and business information contained in the query request; A first determination module is configured to determine at least one business process definition according to the process type identifier; A second determining module, configured to determine a business process instance according to the user identifier, the service information and at least one business process definition.
6. A readable storage medium, on which a program or instructions are stored, characterized in that, The program or the instruction is executed by the processor to implement the steps of the business process processing method in any one of claims 1 to 4.
7. An electronic device, comprising: Comprise: The business process processing apparatus in claim 5; And / or The readable storage medium in claim 6.
Citation Information
Patent Citations
Service processing method and device
CN111897815A
Implementation method and system based on workflow engine approval system
CN113902393A