Business model generation method, device, computer equipment and readable storage medium
By generating general and exclusive process tree models and merging them into a global business model, software redundancy problems caused by business process differences in different regions are solved, and business processing efficiency and model generation efficiency are improved.
Patent Information
- Application Number
- CN202510182180.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-02-19
AI Technical Summary
In the prior art, the business processes of the same business in different regions are different, resulting in redundant software programs and low business processing efficiency.
By obtaining the general process information of the target business in various regions, a general process tree model is generated; obtaining reference exclusive process information and new exclusive process information for each region, a exclusive process tree model is generated; using the general process tree model as the front-end business model, the exclusive process tree model as the back-end business model, and combining to generate a global business model.
It realizes the clear tree structure of business processes, avoids software program redundancy, improves the business processing efficiency of target businesses in different regions, and improves the efficiency of business model generation.
Smart Images

Figure CN119668567B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a business model generation method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of computer technology, in order to meet various business needs of users, corresponding software programs are built according to the specified business processes to perform business processing. However, with the continuous development of business needs, the business processes of the same business in different regions are different, such as the business processes of account cancellation in different regions. In order to provide users with convenient services, the software programs for executing the business are usually continuously expanded according to the business processes in different regions, resulting in software program redundancy, which leads to low business processing efficiency. Summary of the invention
[0003] Based on this, it is necessary to provide a business model generation method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of business model generation in response to the above technical problems.
[0004] In a first aspect, the present application provides a method for generating a business model, comprising:
[0005] Obtain the common process information of the target business in various regions, and generate a common process tree model based on the common process information;
[0006] Obtain reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate exclusive process tree models corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0007] The general process tree model is used as the front-end business model, and the exclusive process tree models corresponding to each region are used as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
[0008] In a second aspect, the present application also provides a business model generation device, including:
[0009] The general process module is used to obtain the general process information of the target business in various regions and generate a general process tree model based on the general process information;
[0010] The exclusive process module is used to obtain the reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate the exclusive process tree model corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0011] The business model generation module is used to use the general process tree model as the front-end business model and the exclusive process tree model corresponding to each region as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
[0012] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0013] Obtain the common process information of the target business in various regions, and generate a common process tree model based on the common process information;
[0014] Obtain reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate exclusive process tree models corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0015] The general process tree model is used as the front-end business model, and the exclusive process tree models corresponding to each region are used as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
[0016] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0017] Obtain the common process information of the target business in various regions, and generate a common process tree model based on the common process information;
[0018] Obtain reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate exclusive process tree models corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0019] The general process tree model is used as the front-end business model, and the exclusive process tree models corresponding to each region are used as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
[0020] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0021] Obtain the common process information of the target business in various regions, and generate a common process tree model based on the common process information;
[0022] Obtain reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate exclusive process tree models corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0023] The general process tree model is used as the front-end business model, and the exclusive process tree models corresponding to each region are used as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
[0024] The above-mentioned business model generation method, device, computer equipment, computer-readable storage medium and computer program product can convert the process information of the target business into a clearer tree structure model by generating a general process tree model according to the general process information of the target business in each region, and generate the exclusive process tree model corresponding to each region according to the reference exclusive process information and the newly added exclusive process information corresponding to the target business in each region, while ensuring the accuracy of the execution of the corresponding business process by the general process tree model and the exclusive process tree model, and avoiding the redundancy of the software program; then, according to the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained, and through the global business model, for the target business in different regions, the front-end business model can execute a unified general business process at the front end, and the back-end business model can execute the exclusive business process corresponding to each region at the back end, thereby improving the business processing efficiency of the target business in different regions; further, the global business model is a tree structure model obtained from the general process tree model and the exclusive process tree model, and the business process of the target business in each region can be flexibly generated through the structure tree model, thereby improving the efficiency of business model generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 An application environment diagram of a business model generation method in an embodiment;
[0027] Figure 2 A schematic diagram of a process of generating a business model in an embodiment;
[0028] Figure 3 A schematic diagram of creating a process node in an embodiment;
[0029] Figure 4 A schematic diagram of creating a business model in one embodiment;
[0030] Figure 5 is a schematic diagram of a process plant in one embodiment;
[0031] Figure 6 is a schematic diagram of a process processor in one embodiment;
[0032] Figure 7 is a schematic diagram of the execution of a process processor in one embodiment;
[0033] Figure 8 A tree structure diagram of a global service model for a deregistration service in one embodiment;
[0034] Fig. 9 It is a structural block diagram of a business model generating device in one embodiment;
[0035] Fig.10 is an internal structure diagram of a computer device in one embodiment;
[0036] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] The business model generation method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. In one embodiment, the server 104 obtains the general process information of the target business in each region, and generates a general process tree model based on the general process information; the server 104 obtains the reference exclusive process information and the newly added exclusive process information corresponding to the target business in each region, and generates the exclusive process tree model corresponding to each region based on the reference exclusive process information and the newly added exclusive process information; the server 104 uses the general process tree model as the front-end business model, and uses the exclusive process tree model corresponding to each region as the back-end business model, and obtains the global business model corresponding to the target business in each region based on the front-end business model and each back-end business model. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0039] In one embodiment, Figure 2 As shown, a business model generation method is provided, and the method is applied to Figure 1 The server in the example is used for explanation. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0040] Step 202: Obtain the general process information of the target business in each region, and generate a general process tree model based on the general process information.
[0041] The target business refers to the designated business used to generate the business model, such as the function subscription business, function cancellation business, leasing business, etc. provided by the business executor. The general process information refers to the process information of the business process corresponding to the target business, which is unified and requires the front-end to participate in the execution. The general process tree model refers to the tree structure model generated according to the general process information, which is used to execute the business process corresponding to the general process information.
[0042] Specifically, the server receives a request for generating a business model for the target business, obtains the pre-set general process information of the target business in each region, splits the general process information, and obtains each general sub-process information, which carries the respective process sequence. According to each general sub-process information, a corresponding general process node is created, and the general process node is a node used to construct a tree structure model. Then, according to each general process node and the corresponding process sequence, a general process tree model is generated.
[0043] In one embodiment, the initial business process information corresponding to the target business in each region is obtained in advance. The initial business process information refers to the process information of independent business processing set by the business review parties in each region for the target business, and there may be the same or different process information with other regions. From the initial business process information corresponding to each region, the interactive process information that requires user operation at the front end is extracted to obtain the front-end interactive process information corresponding to each region, such as instructing user identity verification, instructing users to submit materials, instructing users to confirm twice, etc.
[0044] Then, the general interaction process information is determined based on the front-end interaction process information corresponding to each region. The general interaction process information can be determined in each front-end interaction process information based on similarity, or in each front-end interaction process information based on process configuration information, or by receiving the general interaction process information returned by the development terminal based on each front-end interaction process. For example, the general interaction process information is the instruction for users to submit materials that needs to be executed in each region. Then, the general process information of the target business in each region is generated based on the general interaction process information. The general process information is represented as the process information of the business processing that the defined target business needs to interact with users in different regions and has a unified process. It can be understood as a business process set for the target business that enables users to perform unified operations in various regions.
[0045] In one embodiment, the general process information of the target business in each region is generated according to the general interaction process information, including: obtaining the front-end supplementary process information according to the preset process configuration information, the front-end supplementary process information refers to the process information to be supplemented for the general interaction process information of the target business according to the needs of the business executor, such as the user balance verification process, etc. According to the process sequence of the preset process configuration information, the general interaction process information and the front-end supplementary process information are merged to obtain the general process information of the target business in each region.
[0046] In one embodiment, after determining the universal interaction process information in each front-end interaction process information, the remaining front-end interaction process information in each region is used as non-universal interaction process information, and the non-universal interaction process information is converted into corresponding target interaction process information, which indicates that the non-universal interaction process information can be executed by the back-end after conversion without user operation, such as a user's secondary confirmation operation. It can be to edit the back-end execution instructions corresponding to the non-universal interaction process information, encapsulate the back-end execution instructions with the non-universal interaction process information, and obtain the converted target interaction process information. The target interaction process information is used to generate reference exclusive process information corresponding to each region.
[0047] Step 204 , obtaining reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generating exclusive process tree models corresponding to each region based on the reference exclusive process information and the newly added exclusive process information.
[0048] Among them, the reference exclusive process information is the process information that does not require the front-end to participate in the execution of business processing in the initial business process information corresponding to the target business in each region. New exclusive process information refers to the process information that needs to be supplemented for the reference exclusive process information according to the needs of the business executor, such as the review waiting process. According to actual needs, the same new exclusive process information can be obtained for each region, or the new exclusive process information corresponding to each region can be obtained. The exclusive process tree model refers to the tree structure model generated based on the reference exclusive process information and the new exclusive process information.
[0049] Specifically, the server obtains the reference exclusive process information and the newly added exclusive process information corresponding to the target business in each region, generates each exclusive process node corresponding to each region for the reference exclusive process information and the newly added exclusive process information in the same region, and generates a process tree model corresponding to each region based on each exclusive process node.
[0050] In one embodiment, backend process information that does not require user operation, such as a document review process, is extracted from the initial business process information corresponding to the target business in each region, and the target interaction process information corresponding to each region is obtained. Reference exclusive process information corresponding to each region is generated based on the backend process information and the target interaction process information. The backend process information and the target interaction process information can be merged according to a preset process sequence to obtain the reference exclusive process information.
[0051] Step 206, using the general process tree model as the front-end business model, using the exclusive process tree model corresponding to each region as the back-end business model, and obtaining the global business model corresponding to the target business in each region based on the front-end business model and each back-end business model.
[0052] The front-end business model is used to execute the business process corresponding to the general process information. The back-end business model is used to execute the business process corresponding to the reference exclusive process information and the newly added exclusive process information. The global business model refers to the business model obtained by merging the front-end business model and the back-end business model.
[0053] Specifically, the server uses the general process tree model as the front-end business model and the exclusive process tree models corresponding to each region as the back-end business model, and then combines the front-end business model with each back-end business model according to the preset process sequence. Generally, the process sequence of the front-end business model takes precedence over the back-end business model, and the global business model corresponding to the target business in each region is obtained.
[0054] In the above-mentioned business model generation method, a general process tree model is generated according to the general process information of the target business in each region, and an exclusive process tree model corresponding to each region is generated according to the reference exclusive process information and the newly added exclusive process information corresponding to the target business in each region, so that the process information of the target business can be converted into a clearer tree structure model, while ensuring the accuracy of the execution of the corresponding business process by the general process tree model and the exclusive process tree model, the redundancy of the software program is avoided; then, the global business model corresponding to the target business in each region is obtained according to the front-end business model and each back-end business model, and through the global business model, for the target business in different regions, the front-end business model can execute a unified general business process at the front end, and the back-end business model can execute the exclusive business process corresponding to each region at the back end, thereby improving the business processing efficiency of the target business in different regions; further, the global business model is a tree structure model obtained from the general process tree model and the exclusive process tree model, and the business process of the target business in each region can be flexibly generated through the structure tree model, thereby improving the efficiency of business model generation.
[0055] In one embodiment, step 204 generates a dedicated process tree model corresponding to each region based on the reference dedicated process information and the newly added dedicated process information, including:
[0056] Generate the exclusive process nodes corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0057] Based on the exclusive process nodes corresponding to each region, an exclusive process tree model corresponding to each region is generated.
[0058] Specifically, the server obtains the reference exclusive process information and the newly added exclusive process information corresponding to the target business in each region, and merges the reference exclusive process information and the newly added exclusive process information according to the process sequence of the preset process configuration information. The merger can be a combination of the reference exclusive process information and the newly added exclusive process information, or it can be a fusion of the newly added exclusive process information into the reference exclusive process information. For example, after the submission review process in the reference exclusive process information, a sub-process for regularly checking the review results in the newly added exclusive process information is added to obtain the back-end exclusive process information corresponding to each region. For the back-end exclusive process information corresponding to each region, the back-end exclusive process information is split to obtain each exclusive sub-process information, and the exclusive sub-process information carries its own process sequence. According to each exclusive sub-process information, a corresponding exclusive process node is created to obtain each exclusive process node corresponding to each region, and then according to each exclusive process node and the corresponding process sequence, an exclusive process tree model corresponding to each region is generated.
[0059] In this embodiment, by generating a dedicated process tree model of a tree structure model according to process nodes, the process tree model can be flexibly generated in a modular manner through process nodes, thereby improving the generation efficiency of the business model.
[0060] In a specific embodiment, the general process node and the dedicated process node are used as the process node in the global business model. The process node can be a conditional node, including the general process information of the target business, the business execution logic determined by the reference dedicated process information and the newly added dedicated process information. Figure 3 As shown, a schematic diagram for creating a process node is provided, creating a conditional node INode, including the node condition and the corresponding condition satisfaction result flag() interface, the execution logic doTrue() interface corresponding to the condition satisfaction, and the execution logic doFalse() interface corresponding to the condition dissatisfaction, and then defining the standard execution parameters corresponding to the conditional node, including the context loading IContext interface (used to obtain the execution result of the previous node), the context updating updateContext() interface, the IContextNode interface that inherits the conditional node and the context, the abstract class AbstractContextNode (used to define the node execution mode corresponding to the process node) and N inheritances, the standard execution parameters are used to instantiate the conditional node to obtain the process node XXXContextNode of the entity business processing class.
[0061] Then, define each process node according to the standard execution parameters so that each process node inherits the node execution mode of the AbstractContextNode abstract class of the defined process node, and then use the AbstractContextNode abstract class to define the IContextNode interface, which inherits the IContext and INode interfaces through the IContextNode interface. Define the complete IContextNode life cycle process based on the IContext and INode interfaces. The life cycle process is defined in the execute(IContext) method to obtain the business execution logic corresponding to the process node.
[0062] The business execution logic is as follows:
[0063] Step 1 => IContext. initContext(IContext); Get the execution result of the previous node to participate in node condition judgment;
[0064] Step 2 => INode. flag(); indicates that the condition is met;
[0065] Step 3 => According to the result of INode.flag(), if the result is true, execute INode.doTrue(); if the result is false, execute INode.doFalse();
[0066] Step 4 => IContext.updateContext(); indicates updating the execution result of this process node.
[0067] In this embodiment, the process information corresponding to the target business is replaced by the business execution logic of the process node, so that the business model generated according to the process node is clearer and more specific, thereby ensuring the accuracy of the business model.
[0068] In one embodiment, the business model generation method further includes:
[0069] Determine similar regions based on the similarity between the reference exclusive process information corresponding to each region, and determine the difference process information based on the reference exclusive process information corresponding to each similar region;
[0070] Determine a first similar region and a second similar region in each similar region, and generate an exclusive process tree model corresponding to the first similar region based on the reference exclusive process information and the newly added exclusive process information corresponding to the first similar region;
[0071] Based on the difference process information, the difference process nodes are marked in each exclusive process node of the exclusive process tree model corresponding to the first similar area to obtain the exclusive process tree model corresponding to the second similar area; the difference process nodes are used to replace the replacement process nodes of the difference process information corresponding to the second similar area.
[0072] Among them, similar regions refer to regions with similar initial business process information corresponding to the target business. Differential process information refers to process information that is different between each similar region and other similar regions. The first similar region refers to a similar region used to generate an exclusive process tree model. The exclusive process tree model corresponding to the second similar region refers to an exclusive process tree model in which the corresponding differential process nodes have been marked for the exclusive process tree model corresponding to the first similar region, and the marked exclusive process tree model corresponding to the first similar region can be used as an exclusive process tree model shared by the second similar region. Differential process nodes refer to process nodes in the exclusive process tree model corresponding to the first similar region that are different from those in the second similar region. The replacement process node is a process node generated based on the differential process information corresponding to the second similar region.
[0073] Specifically, the server calculates the similarity of the reference exclusive process information corresponding to each region, determines the region corresponding to the reference exclusive process information with a similarity greater than a preset threshold as a similar region, and determines the difference process information corresponding to each similar region from the reference exclusive process information corresponding to each similar region.
[0074] A similar region is selected from each similar region as the first similar region, and the remaining similar regions are set as the second similar region. The first similar region may be selected randomly, or the first similar region may be determined according to the target business processing frequencies corresponding to each similar region. An exclusive process tree model corresponding to the first similar region is generated according to the reference exclusive process information and the newly added exclusive process information corresponding to the first similar region.
[0075] According to the difference process information corresponding to the first similar region, the corresponding process nodes in the exclusive process tree model corresponding to the first similar region are marked as difference nodes, and the exclusive process tree models corresponding to the second similar region are obtained. And according to the difference process information corresponding to the second similar region, the replacement process nodes corresponding to the second similar region are generated. In the process of executing the exclusive process tree model corresponding to the second similar region, when the difference process node is executed, the replacement process node corresponding to the second similar region is used to replace the difference process node. A corresponding special process processor is configured for the similar region, which means a process processor dedicated to executing the exclusive process tree model with difference process nodes. The region identifiers of the first similar region and the second similar region in the similar region can be associated with the configured special process processor. The configured process processor is provided with a replacement process node corresponding to the second similar region. The process processor is used to replace the difference process node in the exclusive process tree model with the replacement process node corresponding to the second region when executing the exclusive process tree model corresponding to the second similar region.
[0076] In this embodiment, by generating a sharable exclusive process tree model for similar regions and marking the difference process nodes, the reuse of the business model can be achieved and the utilization rate of the business model can be improved.
[0077] In a specific embodiment, when there are target areas with consistent reference exclusive process information and newly added exclusive process information, a corresponding exclusive process tree model is generated based on the reference exclusive process information and the newly added exclusive process information of one of the target areas, and the generated exclusive process tree model is used as a common exclusive process tree model corresponding to each target area, and each target area is associated with the common exclusive process tree model.
[0078] In this embodiment, the business model can be reused by sharing a dedicated process tree model, thereby improving the utilization rate of the business model.
[0079] In a specific embodiment, the global business model is a binary tree structure model, including a shared global business model and a non-shared global business model. The shared global business model is generated based on the back-end business model corresponding to the front-end business model and the shared exclusive process tree model corresponding to the target region. The global business model that is not generated based on the back-end business model corresponding to the shared exclusive process tree model is regarded as a non-shared global business model. Figure 4As shown, a schematic diagram for creating a business model is provided, a process tree model IProcessorTree interface and a shared global business model DefaultProcessorTree that implements the interface and a non-shared global business model XXXProcessorTree process tree are created, the Node tree node in the ServiceTreee entity tree model is instantiated in the process method of the process tree, and different process business processing nodes XXXContextNode are added to the left and right sides of the tree according to the node execution order (true: left side of the tree, false: right side of the tree: indicating that the next tree node corresponding to the node condition is placed on the left side of the tree, and the next tree node corresponding to the node condition is not satisfied is placed on the right side of the tree), forming a complete business binary tree return, and executing each node in the process processor by recursively calling the etecute() method of the business tree.
[0080] In one embodiment, in step 206, after obtaining the global business models corresponding to the target business in each region based on the front-end business model and each back-end business model, the method further includes:
[0081] In response to a business processing request for a target business, obtaining a target global business model based on a target region corresponding to the business processing request;
[0082] Based on the front-end business model in the target global business model, at the request end of the business processing request, the information submission interface corresponding to the target business is displayed to obtain the business requirement information entered in the information submission interface;
[0083] Based on the backend business model in the target global business model, the business demand information is processed to obtain the processing results corresponding to the business processing request.
[0084] Specifically, the server generates a global business model for the target business in each region, stores each global business model, and upon receiving a business processing request for the target business, obtains the target global business model and process processor corresponding to the target region based on the target region corresponding to the business processing request. The process processor is used to execute the business model and output the corresponding business execution result.
[0085] The input data carried by the business processing request, such as user information, is obtained, and the input data is input into the target global business model. The process processor executes the front-end business model in the target global business model to process the input data, and generates an information submission interface through the execution result output by the front-end business model. The information submission interface is sent to the request end corresponding to the business processing request for display, and the business demand information input by the user is obtained through the information submission interface, such as the information required to submit for the cancellation of the business. Then the business demand information is input into the back-end business model in the target global business model, and the business demand information is processed by the process processor executing the back-end business model. According to the execution result output by the back-end business model, the processing result corresponding to the business processing request is obtained, such as successful cancellation, failed cancellation, etc.
[0086] In this embodiment, the front-end business model in the target global business model unifies the business processes in each region at the front end, thereby implementing unified operation steps for users and avoiding users switching to different operations for target businesses in different regions; then the back-end business model is used to ensure the accuracy of execution of target businesses in different regions.
[0087] In a specific embodiment, Figure 5 As shown, a schematic diagram of a process factory is provided. A ProcessorFactory process factory is pre-created to store the global business model of the target business in various regions. The ProcessorFactory process factory also contains a cache ProcessorCache that lazily loads the current factory, which is used to obtain the used process processors and the corresponding global business models from the cache ProcessorCache, and to instantiate the process processor and the process tree through the singleton mode to achieve the reuse of the same process processor and the corresponding global business model, as well as the calling method getProcessor() of the process processor.
[0088] In one embodiment, the backend business model includes a replacement process node; the business model generation method further includes:
[0089] In the process of processing the business demand information based on the process processor corresponding to the target region according to the backend business model, when a different process node is identified, the different process node is replaced based on the replacement process node corresponding to the target region through the process processor;
[0090] Through the process processor, using the business demand information, continue to execute the replacement process nodes and the remaining exclusive process nodes in the backend business model to obtain the processing results corresponding to the business processing request.
[0091] Specifically, when the target region is identified as a second similar region where a similar region exists according to the region identifier of the target region, a process processor corresponding to the target region is obtained according to the region identifier, and the process processor is pre-set with a replacement process node corresponding to the target region. In the process of processing the business demand information according to the back-end business model of the target global business model corresponding to the target region by the process processor, when a difference process node is identified, the replacement process node corresponding to the target region is replaced with the difference process node by the process processor, and the replaced replacement process node and the remaining unexecuted exclusive process nodes in the back-end business model are continued to be executed to obtain the processing result corresponding to the business processing request.
[0092] In this embodiment, the process processor replaces the difference process nodes of the target global business model with replacement process nodes corresponding to the target region, so that the business model can be reused and the utilization rate of the business model can be improved.
[0093] In a specific embodiment, a default process processor corresponding to a global business model without a difference process node is pre-set, and no replacement process node is set in the default process processor; and a special process processor corresponding to a global business model with a difference process node is pre-set, and a replacement process node corresponding to the difference process node is set in the special process processor. The server calls the corresponding process processor according to whether the target area corresponding to the business processing request for the target business belongs to a similar area, that is, the special process processor is called for the business processing request of the similar area, and the default process processor is called for the non-similar area.
[0094] In a specific embodiment, Figure 6 As shown, a schematic diagram of a process processor is provided. Create an IProcessor interface to define the process of the target business, an abstract class AbstractProcessor and a default process processor DefaultProcessor that implements the interface, as well as a special process processor XXXProcessor. The main function of the process tree processor is to execute the tree structure model IProcessorTree corresponding to the global business model, and combine getReplateMap() to customize the replacement method of the difference process nodes in the global business model. The execute() method in the abstract class is used to recursively replace the process nodes of the execution tree. If the condition is met, the left node is executed, and if it is not met, the right node is executed. Then, the next process node is executed according to the execution result of each process node.
[0095] In a specific embodiment, Figure 7As shown, a schematic diagram of the execution of a process processor is provided. The process of processing the target business includes starting the process, obtaining the target global business model corresponding to the target business in the target area, the target business includes business processes such as initialization and submission, obtaining the process processor corresponding to the target global business model, and the process processor executes according to the process tree. Then the process processor is initialized, including loading and replacing the process node (executing statements such as replaceMap()), enhancing the process processor, and then loading the process tree, instantiating the tree node of the target global business model for the initialized process processor (executing statements such as Node=ServiceTree.Node()), loading each tree node, such as loading the left node (node.left=INode) and loading the right node (node.right=INode), and the process processor is instantiated. Then, the corresponding process tree, that is, the target global business model, is executed by the instantiated process processor, and the process node to be executed in the target global business model is loaded, wherein the process tree is a binary tree, and the nodes of the tree are executed recursively. For different process nodes, instantiate and replace the process nodes (execute statements such as IContext Nodle instance=INdole), replace the different process nodes, and then build the context of the process node (execute statements such as Icontext.initCintext()), execute the node business logic of the process node (execute statements such as Indole.falg()), perform corresponding business processing according to the execution results and update the node context (execute statements such as IContext.updateContext()), and determine whether to execute the left node or the right node until the process execution of the target global business model is completed.
[0096] In one embodiment, the target service is an account cancellation service for charging equipment; before obtaining the general process information of the target service in various regions in step 202, the service model generation method further includes:
[0097] Obtain the expense accounting process information and page generation process information corresponding to the account cancellation service, and obtain the general process information corresponding to the account cancellation service;
[0098] Obtain the data submission process information and data review process information corresponding to the target business in each region, and obtain the reference exclusive process information corresponding to each region;
[0099] Get the preset review waiting process information and the preset cancellation confirmation process information, and obtain the newly added exclusive process information.
[0100] Specifically, if the charging device is an ETC device, the target service may be a user's account cancellation service for the ETC device. According to the pre-set fee accounting process and data acquisition process of the account cancellation service, fee accounting process information corresponding to the fee accounting process and page generation process information corresponding to the data acquisition process are generated. According to the fee accounting process information and the page generation process information, the general process information corresponding to the account cancellation service is generated.
[0101] According to the initial business process corresponding to the account cancellation business of the ETC equipment in each region, the document submission process and the document review process are extracted to generate general document submission process information and document review process information. Based on the document submission process information and document review process information, the reference exclusive process information corresponding to each region is generated. Then, according to the needs of the business executor, the review waiting process and the cancellation confirmation process are set up to generate the review waiting process information corresponding to the review waiting process and the cancellation confirmation process information corresponding to the cancellation confirmation process, and the newly added exclusive process information is obtained based on the review waiting process information and the cancellation confirmation process information. The newly added exclusive process information can be unified and merged with the reference exclusive process information to obtain the back-end business process information corresponding to each region.
[0102] In a specific embodiment, Figure 8 As shown, a tree structure diagram of a global business model for cancellation business is provided. For the global business model corresponding to the ETC device account cancellation business in one of the regions, the front-end business model includes tree structure models corresponding to the order submission process and the document submission process, as well as back-end business models such as other processes. Among them, the order submission process includes various process nodes such as verification of whether there is arrears, whether the penalty is paid, and whether the comprehensive node updates the payment successfully. When the comprehensive node updates the payment successfully, the process node that returns the uploaded document is executed, and an information submission interface is generated to obtain business demand information. The business demand information is input into the document submission process. The document submission process includes various process nodes such as document verification, mobile phone verification, submission of cancellation application, and waiting for review. Among them, the front-end business model is a binary tree model. Figure 8 Each process node is marked with its own left node or right node. For example, the (root.left) corresponding to "Whether to pay liquidated damages" indicates the right node that should be executed when the node "Whether to pay in arrears" is "flase (no)"; the (root.right.left) corresponding to "Whether to pay" indicates the left node that should be executed when the executed right node "Whether to pay liquidated damages" is "ftrue (yes)".
[0103] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0104] Based on the same inventive concept, the embodiment of the present application also provides a business model generation device for implementing the business model generation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more business model generation device embodiments provided below can refer to the limitations on the business model generation method above, and will not be repeated here.
[0105] In an exemplary embodiment, Fig. 9 As shown, a business model generation device 900 is provided, including: a general process module 902, a dedicated process module 904 and a business model generation module 906, wherein:
[0106] The general process module 902 is used to obtain the general process information of the target business in various regions and generate a general process tree model based on the general process information;
[0107] The exclusive process module 904 is used to obtain reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate an exclusive process tree model corresponding to each region based on the reference exclusive process information and the newly added exclusive process information;
[0108] The business model generation module 906 is used to use the general process tree model as the front-end business model and the exclusive process tree model corresponding to each region as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
[0109] In one embodiment, the exclusive process module 904 is also used to generate the exclusive process nodes corresponding to the respective regions based on the reference exclusive process information and the newly added exclusive process information; and to generate the exclusive process tree models corresponding to the respective regions based on the exclusive process nodes corresponding to the respective regions.
[0110] In one embodiment, the business model generating device 900 is also used to determine similar regions based on the similarity between the reference exclusive process information corresponding to the respective regions, and determine the difference process information based on the reference exclusive process information corresponding to the respective similar regions; determine a first similar region and a second similar region in the respective similar regions, and generate an exclusive process tree model corresponding to the first similar region based on the reference exclusive process information and the newly added exclusive process information corresponding to the first similar region; based on the difference process information, mark the difference process node in each exclusive process node of the exclusive process tree model corresponding to the first similar region to obtain the exclusive process tree model corresponding to the second similar region; the difference process node is used to replace the replacement process node of the difference process information corresponding to the second similar region.
[0111] In one embodiment, the business model generating device 900 is also used to respond to a business processing request for the target business, and obtain a target global business model based on the target area corresponding to the business processing request; based on the front-end business model in the target global business model, at the request end of the business processing request, display an information submission interface corresponding to the target business, and obtain business requirement information input on the information submission interface; based on the back-end business model in the target global business model, process the business requirement information to obtain a processing result corresponding to the business processing request.
[0112] In one embodiment, the back-end business model includes a difference process node; the business model generating device 900 is also used to replace the difference process node based on the replacement process node corresponding to the target area through the process processor when the difference process node is identified during the process of processing the business demand information according to the back-end business model based on the process processor corresponding to the target area; and continue to execute the replacement process node and the remaining exclusive process nodes in the back-end business model through the process processor using the business demand information to obtain the processing result corresponding to the business processing request.
[0113] In one embodiment, the target business is an account cancellation business for charging equipment; the business model generation device 900 is also used to obtain the cost accounting process information and page generation process information corresponding to the account cancellation business, and obtain the general process information corresponding to the account cancellation business; obtain the material submission process information and material review process information corresponding to the target business in each region, and obtain the reference exclusive process information corresponding to each region; obtain the preset review waiting process information and the preset cancellation confirmation process information, and obtain the newly added exclusive process information.
[0114] Each module in the above-mentioned business model generation device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0115] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store a global business model. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a business model generation method is implemented.
[0116] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a business model generation method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0117] Those skilled in the art will understand that Figure 10-11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In an exemplary embodiment, in one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0119] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0120] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0121] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0122] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for generating a business model, characterized in that: The method comprises: Obtaining general process information of the target business in each region, and generating a general process tree model based on the general process information; the general process information is obtained by obtaining the initial business process information corresponding to the target business in each region, extracting the interactive process information that requires user operation at the front end from the initial business process information, obtaining the respective front-end interactive process information corresponding to the respective regions, determining the general interactive process information according to the respective front-end interactive process information, and generating process information according to the general interactive process information; the respective front-end interactive process information is also used to determine the non-general interactive process information corresponding to the respective regions, the non-general interactive process information is used to edit the back-end execution instruction, encapsulating the back-end execution instruction with the corresponding non-general interactive process information, and obtaining the target interactive process information corresponding to the respective regions converted into the back-end execution; Obtain reference exclusive process information and newly added exclusive process information corresponding to the target business in each region, and generate exclusive process tree models corresponding to each region based on the reference exclusive process information and the newly added exclusive process information; the reference exclusive process information is process information generated by extracting backend process information that does not require user operation from the initial business process information of the corresponding region, and based on the backend process information and the target interactive process information of the corresponding region; the newly added exclusive process information refers to process information that needs to be supplemented for the reference exclusive process information according to the needs of the business executor of the corresponding region; The general process tree model is used as the front-end business model, and the exclusive process tree models corresponding to each region are used as the back-end business model. Based on the front-end business model and each back-end business model, the global business model corresponding to the target business in each region is obtained.
2. The method according to claim 1, characterized in that The generating of the exclusive process tree models corresponding to the respective regions based on the reference exclusive process information and the newly added exclusive process information includes: Based on the reference exclusive process information and the newly added exclusive process information, generating each exclusive process node corresponding to each region; Based on the exclusive process nodes respectively corresponding to the respective regions, exclusive process tree models respectively corresponding to the respective regions are generated.
3. The method according to claim 2, characterized in that The method further comprises: Determine similar regions based on the similarities between the reference exclusive process information corresponding to each region, and determine the difference process information based on the reference exclusive process information corresponding to each similar region; Determine a first similar region and a second similar region in the similar regions, and generate an exclusive process tree model corresponding to the first similar region based on reference exclusive process information and newly added exclusive process information corresponding to the first similar region; Based on the difference process information, the difference process node is marked in each exclusive process node of the exclusive process tree model corresponding to the first similar area to obtain the exclusive process tree model corresponding to the second similar area; the difference process node is used to replace the replacement process node of the difference process information corresponding to the second similar area.
4. The method according to claim 1, characterized in that After obtaining the global business models corresponding to the target business in each region based on the front-end business model and each back-end business model, the method further includes: In response to a business processing request for the target business, obtaining a target global business model based on a target region corresponding to the business processing request; Based on the front-end business model in the target global business model, at the request end of the business processing request, an information submission interface corresponding to the target business is displayed, and business demand information input on the information submission interface is obtained; Based on the backend business model in the target global business model, the business demand information is processed to obtain a processing result corresponding to the business processing request.
5. The method according to claim 4, characterized in that The backend business model includes a difference process node; the method further includes: In the process of processing the business demand information based on the process processor corresponding to the target region according to the backend business model, when the difference process node is identified, the difference process node is replaced by the process processor based on the replacement process node corresponding to the target region; The process processor uses the business demand information to continue executing the replacement process node and the remaining exclusive process nodes in the backend business model to obtain the processing result corresponding to the business processing request.
6. The method according to claim 1, characterized in that The target service is an account cancellation service for charging equipment; Before obtaining the general process information of the target business in each region, the method further includes: Obtain the expense accounting process information and page generation process information corresponding to the account cancellation service, and obtain the general process information corresponding to the account cancellation service; Obtain the document submission process information and document review process information corresponding to the target business in each region, and obtain the reference exclusive process information corresponding to each region; Obtain the preset review waiting process information and the preset cancellation confirmation process information, and obtain the newly added exclusive process information.
7. A business model generation device, characterized in that: The device comprises: A general process module is used to obtain general process information of the target business in each region, and generate a general process tree model based on the general process information; the general process information is obtained by obtaining the initial business process information corresponding to the target business in each region, extracting the interactive process information that requires user operation at the front end from the initial business process information, obtaining the respective front-end interactive process information corresponding to the respective regions, determining the general interactive process information according to the respective front-end interactive process information, and generating process information according to the general interactive process information; the respective front-end interactive process information is also used to determine the non-general interactive process information corresponding to the respective regions, and the non-general interactive process information is used to edit the back-end execution instructions, encapsulate the back-end execution instructions with the corresponding non-general interactive process information, and obtain the target interactive process information corresponding to the respective regions converted into the back-end execution; The exclusive process module is used to obtain the reference exclusive process information and the newly added exclusive process information corresponding to the target business in each region, and generate the exclusive process tree model corresponding to each region based on the reference exclusive process information and the newly added exclusive process information; the reference exclusive process information is the process information generated by extracting the backend process information that does not require user operation from the initial business process information of the corresponding region, and according to the backend process information and the target interactive process information of the corresponding region; the newly added exclusive process information is the process information that needs to be supplemented for the reference exclusive process information according to the needs of the business executor of the corresponding region; The business model generation module is used to use the general process tree model as the front-end business model and the exclusive process tree models corresponding to each region as the back-end business model, and based on the front-end business model and each back-end business model, obtain the global business model corresponding to the target business in each region.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Business process data processing method and device, electronic equipment and storage medium
CN110231985A
Process model processing method and device, equipment and medium
CN115392718A
Process model generation method, related device and medium
CN117670007A