Business template generation method and device

The method and device address the inefficiency and lack of personalization in existing template generation by calculating similarities and using node databases to create tailored project business templates.

CN119128542APending Publication Date: 2024-12-13BEIJING LONGZHI DIGITAL TECH CO LTD

Patent Information

Application Number
CN202411186404.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing methods for generating project business templates are time-consuming and fail to meet personalized user needs, resulting in stereotyped content.

Method used

A method and device that calculate the similarity between project information and existing templates, utilize a node database to determine business nodes when no suitable template is found, and generate a target business template based on association and order relationships between nodes.

Benefits of technology

Improves generation efficiency and reflects user personality by creating personalized project business templates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119128542A_ABST
    Figure CN119128542A_ABST
Patent Text Reader

Abstract

The invention provides a service template generation method and device. The method comprises the steps of obtaining multiple pieces of project information of a target project; calculating the similarity between the target project and each business template based on each piece of project information and the template information of each business template; when the business template of which the corresponding similarity is greater than the preset similarity exists, taking the business template as a target business template of the target project; when the business template with the corresponding similarity greater than the preset similarity does not exist, determining a business node corresponding to each item information from a node database; determining an association relationship and an order relationship between any two service nodes by using a node relationship library; and generating a target service template of the target project based on the plurality of service nodes and the incidence relation and the order relation between any two service nodes. By means of the technical means, the problems that in the prior art, the project service template generation speed is low, and the personalized requirements of users cannot be met are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for generating a business template. Background Art

[0002] In engineering projects in various fields, after each project is established, in order to plan reasonably and ensure the high-quality progress of the project, it is necessary to create a project business template in advance. The project business template includes the business process and the person in charge and authority of each stage. At present, either people create project business templates, which is time-consuming and laborious, or they generate project business templates with the help of pre-set templates. This method generates stereotyped content and cannot reflect the personalized needs of different users. How to quickly generate a project business template that can reflect the user's personality is a technical itch at present. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a business template generation method, device, electronic device and computer-readable storage medium to solve the problems in the prior art of slow generation of project business templates and failure to meet user personalized needs.

[0004] According to a first aspect of an embodiment of the present application, a method for generating a business template is provided, comprising: obtaining multiple pieces of project information of a target project; calculating the similarity between the target project and each business template based on each piece of project information and template information of each business template; when there is a business template with a corresponding similarity greater than a preset similarity, using the business template as a target business template for the target project; when there is no business template with a corresponding similarity greater than a preset similarity, determining a business node corresponding to each piece of project information from a node database; determining an association relationship and an order relationship between any two business nodes using a node relationship library; and generating a target business template for the target project based on multiple business nodes and an association relationship and an order relationship between any two business nodes.

[0005] According to a second aspect of an embodiment of the present application, a business template generation device is provided, comprising: an acquisition module configured to acquire multiple project information of a target project; a calculation module configured to calculate the similarity between the target project and each business template based on each project information and the template information of each business template; a first determination module configured to use the business template as the target business template of the target project when there is a business template with a corresponding similarity greater than a preset similarity; a second determination module configured to determine a business node corresponding to each project information from a node database when there is no business template with a corresponding similarity greater than a preset similarity; a third determination module configured to use a node relationship library to determine the association relationship and order relationship between any two business nodes; and a generation module configured to generate the target business template of the target project based on multiple business nodes and the association relationship and order relationship between any two business nodes.

[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0007] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0008] Compared with the prior art, the embodiments of the present application have the following beneficial effects: obtaining multiple pieces of project information of the target project; calculating the similarity between the target project and each business template based on each piece of project information and the template information of each business template; when there is a business template with a corresponding similarity greater than a preset similarity, using the business template as the target business template of the target project; when there is no business template with a corresponding similarity greater than a preset similarity, determining a business node corresponding to each piece of project information from the node database; determining the association relationship and order relationship between any two business nodes using the node relationship library; generating the target business template of the target project based on multiple business nodes and the association relationship and order relationship between any two business nodes. The above-mentioned technical means can solve the problems in the prior art of slow generation of project business templates and failure to meet the personalized needs of users, thereby improving generation efficiency and reflecting user personality. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art 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 drawings can be obtained based on these drawings without paying any creative work.

[0010] Figure 1 It is a flowchart of a method for generating a business template provided in an embodiment of the present application;

[0011] Figure 2 It is a flowchart of another method for generating a business template provided in an embodiment of the present application;

[0012] Figure 3 It is a structural diagram of a service template generating device provided in an embodiment of the present application;

[0013] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0014] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0015] A method and device for generating a service template according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0016] Figure 1 It is a flow chart of a method for generating a business template provided in an embodiment of the present application. Figure 1 The business template generation method can be executed by a computer or a server, or by software on the computer or the server. Figure 1 As shown, the service template generation method includes:

[0017] S101, obtaining multiple pieces of project information of a target project;

[0018] S102, calculating the similarity between the target project and each business template based on each piece of project information and template information of each business template;

[0019] S103, when there is a business template with a corresponding similarity greater than a preset similarity, the business template is used as a target business template of the target project;

[0020] S104, when there is no corresponding business template with a similarity greater than a preset similarity, determining a business node corresponding to each project information from a node database;

[0021] S105, using the node relationship library to determine the association relationship and order relationship between any two business nodes;

[0022] S106: Generate a target business template of the target project based on the multiple business nodes and the association relationship and order relationship between any two business nodes.

[0023] The target project can be a project of engineering in various fields. The following is an example of a construction project of a target building in the real estate field. The process of building a target building includes market research and feasibility analysis, obtaining project land, design drawings, preliminary preparation, foundation casting, main structure construction, walling and capping, electromechanical system installation, decoration, and completion acceptance. Each project information of the target project is the information of a stage of the above process. For example, the project information of the preliminary preparation is to set up temporary facilities, such as site offices, enclosures, roads and water and electricity supply, etc., as well as to obtain construction permits and other necessary administrative approvals. The project information of electromechanical system installation includes the installation requirements of electrical, water supply and drainage, ventilation and air-conditioning systems. The project information of interior decoration includes requirements such as wall painting, floor laying, door and window installation, kitchen and bathroom equipment installation, etc. Because some stages in the process of building a target building are necessary and some are optional, such as market research and feasibility analysis, electromechanical system installation and decoration, etc. are optional. Therefore, the multiple project information of the target project given by different users is different, so how to generate a target business template that can meet the personalized needs of users based on the multiple project information of the target project is a problem to be solved in the embodiment of this application.

[0024] Multiple pre-generated business templates are saved in the template database. The template information of the business template includes node information describing each business node in the business template. One project information corresponds to one business node. For example, the project information of interior decoration includes requirements such as wall painting, floor laying, door and window installation, kitchen and bathroom equipment installation, etc. The project information corresponds to a business node for controlling interior decoration. The node information of the business node is still requirements such as wall painting, floor laying, door and window installation, kitchen and bathroom equipment installation, etc. The similarity between the target project and each business template is calculated. When there is a business template with a corresponding similarity greater than the preset similarity, the business template is used as the target business template. When there are multiple business templates with corresponding similarities greater than the preset similarity, the business template with the highest corresponding similarity is used as the target business template. If no suitable business template is found in the template database, the target business template is generated based on multiple project information using the node database and the node relationship library. The node database contains multiple business nodes and node information of each business node. The node relationship library contains the association relationship and order relationship between a business node and another business node. The association relationship is whether there is an association between two business nodes and how much the association is. The order relationship refers to which of the two service nodes comes first and which comes later.

[0025] According to the technical solution provided in the embodiment of the present application, multiple project information of the target project is obtained; based on the template information of each project information and each business template, the similarity between the target project and each business template is calculated; when there is a business template with a corresponding similarity greater than a preset similarity, the business template is used as the target business template of the target project; when there is no business template with a corresponding similarity greater than a preset similarity, a business node corresponding to each project information is determined from the node database; the association relationship and order relationship between any two business nodes are determined using the node relationship library; the target business template of the target project is generated based on multiple business nodes and the association relationship and order relationship between any two business nodes. The above-mentioned technical means can solve the problems in the prior art of slow generation of project business templates and failure to meet the personalized needs of users, thereby improving generation efficiency and reflecting user personality.

[0026] In an optional embodiment, the generated target service template is saved in a template database for subsequent use.

[0027] Furthermore, a target business template for a target project is generated based on multiple business nodes and the association relationship and order relationship between any two business nodes, including: retaining business nodes whose corresponding association degree is greater than a preset association degree, wherein the association relationship and the association degree are related; and assembling the multiple business nodes retained according to the order relationship between any two business nodes among the multiple business nodes retained to obtain a target business template.

[0028] It is assumed that business nodes with a correlation less than or equal to the preset correlation are not selected. In order to ensure the quality of the generated target business template, business nodes with a correlation less than or equal to the preset correlation can be deleted, and only the retained multiple business nodes are used to assemble the target business template. In fact, the business nodes corresponding to the optional stages such as market research and feasibility analysis, electromechanical system installation and decoration are deleted according to the situation.

[0029] The position of the service nodes in the target service template is determined according to the order relationship between any two service nodes. For example, if there are three service nodes ABC, the order relationship between the service nodes AB is A first and then B, and the order relationship between the service nodes BC is C first and then B, then the target service template has three service nodes ACB in order.

[0030] Furthermore, a target business template of a target project is generated based on multiple business nodes and the association relationship and order relationship between any two business nodes, including: taking any business node as a first business node; determining a second business node from one or more business nodes that have an association relationship with the first business node based on the association relationship corresponding to the first business node; determining a position of the second business node in the target business template based on the order relationship between the first business node and the second business node; determining a third business node from one or more business nodes that have an association relationship with the second business node based on the association relationship corresponding to the second business node, and determining a position of the third business node in the target business template based on the order relationship between the second business node and the third business node, until the positions of all business nodes in the target business template are determined; and generating a target business template according to the positions of all business nodes in the target business template.

[0031] For example, there are six business nodes ABCDEF. A is randomly selected as the first business node. BC and A are associated. The degree of association between B and A is higher than that between C and A. Then B is selected as the second business node. The order relationship between business nodes AB is A first and then B. Then the order (position) of AB in the target business template is A first and then B. B and C are associated. Then C is selected as the third business node. The order relationship between business nodes BC is C first and then B. Then the order of ABC in the target business template is ACB... Then determine the fourth business node, the fifth business node, the sixth business node and their respective positions from DEF. Assume that the fourth business node, the fifth business node and the sixth business node are DEF respectively, and the order of ABC in the target business template is ACBDFE first. Assemble ACBDFE in the order of ACBDFE to obtain the target business template.

[0032] Figure 2FIG. 1 is a flow chart of another method for generating a service template provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0033] Execute the following loop:

[0034] S201, determining whether i is greater than N, where i is the serial number of the service node determined from the node database, and N is the number of the service nodes determined from the node database;

[0035] S202, when i is greater than N, assembling the multiple service nodes retained according to the positions of the service nodes retained in the target service template, obtaining the target service template, and ending the loop;

[0036] S203, when i is less than or equal to N, judging whether the i-th service node is retained based on the association relationship corresponding to the i-th service node;

[0037] S204, if retained, determine the position of the i-th service node in the target service template based on the order relationship corresponding to the i-th service node, and update i with the value of i plus 1;

[0038] S205: If not to be retained, the i-th service node is deleted, and i is updated with a value of i plus 1.

[0039] If the correlation between the ith business node and the business node with which it is associated is less than or equal to the preset correlation, the ith business node is deleted. If the correlation between the ith business node and the business node with which it is associated is greater than the preset correlation, the ith business node is retained. Based on the order relationship between the ith business node and other business nodes, the position of the ith business node in the target business template is determined. For example, if the order relationship between the ith business node and the i-1th business node is the ith business node before the i-1th business node, the ith business node is inserted before the i-1th business node in the target business template.

[0040] Furthermore, a target business template for a target project is generated based on multiple business nodes and the association relationship and order relationship between any two business nodes, including: executing the following loop: determining whether i is greater than N, wherein i is the sequence number of the business node in the target business template, the first business node is a business node arbitrarily determined from the node database, and N is the number of business nodes determined from the node database; when i is greater than N, generating a target business template according to the positions of all business nodes in the target business template, and terminating the loop; when i is less than or equal to N, determining the i-th business node from one or more business nodes that have an association relationship with the i-1th business node based on the association relationship corresponding to the i-1th business node; determining the position of the i-th business node in the target business template based on the order relationship between the i-1th business node and the i-th business node; and updating i with the value of i plus 1.

[0041] If there is only one service node associated with the i-1st service node, then this service node is used as the i-th service node. If there are multiple service nodes associated with the i-1st service node, then the service node with the highest degree of association with the i-1st service node is used as the i-th service node.

[0042] In an optional embodiment, after the target service template is generated, responsible objects and permissions are configured for each service node in the target service template, requiring that the responsible objects of adjacent service nodes cannot be the same and the permissions are independent and supervised by each other.

[0043] Furthermore, based on each piece of project information and the template information of each business template, the similarity between the target project and each business template is calculated, including: calculating the similarity between each piece of project information and the template information of each business template; weighted summing the similarities between each piece of project information and the template information of each business template to obtain the similarity between the target project and each business template.

[0044] For a business template, the similarity between the business template and each piece of project information is calculated, and the similarity between the business template and each piece of project information is weighted and summed according to a preset weight to obtain the similarity between the target project and the business template.

[0045] Furthermore, when there is no corresponding business template with a similarity greater than a preset similarity, a business node corresponding to each project information is determined from the node database, including: when there is no corresponding business template with a similarity greater than a preset similarity, calculating the similarity between each project information and each business node in the node database; and taking the business node with the greatest similarity to each project information as the business node corresponding to the project information.

[0046] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0047] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0048] Figure 3 Schematic diagram of a service template generating device provided in an embodiment of the present application. Figure 3 As shown, the service template generating device includes:

[0049] An acquisition module 301 is configured to acquire multiple pieces of project information of a target project;

[0050] A calculation module 302 is configured to calculate the similarity between the target project and each business template based on each piece of project information and template information of each business template;

[0051] The first determination module 303 is configured to, when there is a business template with a corresponding similarity greater than a preset similarity, use the business template as a target business template for the target project;

[0052] The second determination module 304 is configured to determine a business node corresponding to each project information from the node database when there is no corresponding business template with a similarity greater than a preset similarity;

[0053] The third determination module 305 is configured to determine the association relationship and order relationship between any two service nodes using the node relationship library;

[0054] The generating module 306 is configured to generate a target business template of a target project based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes.

[0055] According to the technical solution provided in the embodiment of the present application, multiple project information of the target project is obtained; based on the template information of each project information and each business template, the similarity between the target project and each business template is calculated; when there is a business template with a corresponding similarity greater than a preset similarity, the business template is used as the target business template of the target project; when there is no business template with a corresponding similarity greater than a preset similarity, a business node corresponding to each project information is determined from the node database; the association relationship and order relationship between any two business nodes are determined using the node relationship library; the target business template of the target project is generated based on multiple business nodes and the association relationship and order relationship between any two business nodes. The above-mentioned technical means can solve the problems in the prior art of slow generation of project business templates and failure to meet the personalized needs of users, thereby improving generation efficiency and reflecting user personality.

[0056] In some embodiments, the generating module 306 is further configured to save the generated target service template into a template database for subsequent use.

[0057] In some embodiments, the generation module 306 is also configured to retain business nodes whose corresponding correlation is greater than a preset correlation, wherein the correlation relationship is related to the correlation; and assemble the multiple business nodes retained according to the order relationship between any two business nodes among the multiple business nodes retained to obtain a target business template.

[0058] It is assumed that business nodes with a correlation less than or equal to the preset correlation are not selected. In order to ensure the quality of the generated target business template, business nodes with a correlation less than or equal to the preset correlation can be deleted, and only the retained multiple business nodes are used to assemble the target business template. In fact, the business nodes corresponding to the optional stages such as market research and feasibility analysis, electromechanical system installation and decoration are deleted according to the situation.

[0059] The position of the service nodes in the target service template is determined according to the order relationship between any two service nodes. For example, if there are three service nodes ABC, the order relationship between the service nodes AB is A first and then B, and the order relationship between the service nodes BC is C first and then B, then the target service template has three service nodes ACB in order.

[0060] In some embodiments, the generation module 306 is also configured to take any business node as the first business node; based on the association relationship corresponding to the first business node, determine the second business node from one or more business nodes that have an association relationship with the first business node; based on the order relationship between the first business node and the second business node, determine the position of the second business node in the target business template; based on the association relationship corresponding to the second business node, determine the third business node from one or more business nodes that have an association relationship with the second business node, and based on the order relationship between the second business node and the third business node, determine the position of the third business node in the target business template until the positions of all business nodes in the target business template are determined; and generate the target business template according to the positions of all business nodes in the target business template.

[0061] For example, there are six business nodes ABCDEF. A is randomly selected as the first business node. BC and A are associated. The degree of association between B and A is higher than that between C and A. Then B is selected as the second business node. The order relationship between business nodes AB is A first and then B. Then the order (position) of AB in the target business template is A first and then B. B and C are associated. Then C is selected as the third business node. The order relationship between business nodes BC is C first and then B. Then the order of ABC in the target business template is ACB... Then determine the fourth business node, the fifth business node, the sixth business node and their respective positions from DEF. Assume that the fourth business node, the fifth business node and the sixth business node are DEF respectively, and the order of ABC in the target business template is ACBDFE first. Assemble ACBDFE in the order of ACBDFE to obtain the target business template.

[0062] In some embodiments, the generation module 306 is further configured to execute the following loop: determine whether i is greater than N, where i is the serial number of the business node determined from the node database, and N is the number of business nodes determined from the node database; when i is greater than N, assemble the multiple retained business nodes according to the positions of the retained business nodes in the target business template to obtain the target business template, and end the loop; when i is less than or equal to N, determine whether the i-th business node is retained based on the association relationship corresponding to the i-th business node; if retained, determine the position of the i-th business node in the target business template based on the order relationship corresponding to the i-th business node, and update i with the value of i plus 1; if not retained, delete the i-th business node and update i with the value of i plus 1.

[0063] If the correlation between the ith business node and the business node with which it is associated is less than or equal to the preset correlation, the ith business node is deleted. If the correlation between the ith business node and the business node with which it is associated is greater than the preset correlation, the ith business node is retained. Based on the order relationship between the ith business node and other business nodes, the position of the ith business node in the target business template is determined. For example, if the order relationship between the ith business node and the i-1th business node is the ith business node before the i-1th business node, the ith business node is inserted before the i-1th business node in the target business template.

[0064] In some embodiments, the generation module 306 is further configured to execute the following loop: determine whether i is greater than N, where i is the serial number of the business node in the target business template, the first business node is a business node arbitrarily determined from the node database, and N is the number of business nodes determined from the node database; when i is greater than N, generate the target business template according to the positions of all business nodes in the target business template, and end the loop; when i is less than or equal to N, based on the association relationship corresponding to the i-1th business node, determine the i-th business node from one or more business nodes that have an association relationship with the i-1th business node; determine the position of the i-th business node in the target business template based on the order relationship between the i-1th business node and the i-th business node; and update i with the value of i plus 1.

[0065] If there is only one service node associated with the i-1st service node, then this service node is used as the i-th service node. If there are multiple service nodes associated with the i-1st service node, then the service node with the highest degree of association with the i-1st service node is used as the i-th service node.

[0066] In some embodiments, the generation module 306 is further configured to configure responsible objects and permissions for each service node in the target service template, requiring that the responsible objects of adjacent service nodes cannot be the same and that the permissions are independent and supervised from each other.

[0067] In some embodiments, the first determination module 303 is further configured to calculate the similarity between each piece of project information and the template information of each business template; weighted sum the similarity between each piece of project information and the template information of each business template to obtain the similarity between the target project and each business template.

[0068] For a business template, the similarity between the business template and each piece of project information is calculated, and the similarity between the business template and each piece of project information is weighted and summed according to a preset weight to obtain the similarity between the target project and the business template.

[0069] In some embodiments, the second determination module 304 is also configured to calculate the similarity between each project information and each business node in the node database when there is no corresponding business template with a similarity greater than a preset similarity; and take the business node with the greatest similarity to each project information as the business node corresponding to the project information.

[0070] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0071] Figure 4Schematic diagram of an electronic device 4 provided in an embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0072] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.

[0073] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0074] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.

[0075] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0076] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0077] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for generating a business template, It is characterized in that include: Get multiple project information of the target project; Based on each piece of project information and template information of each business template, calculating the similarity between the target project and each business template; When there is a business template with a corresponding similarity greater than a preset similarity, the business template is used as a target business template for the target project; When there is no corresponding business template with a similarity greater than a preset similarity, a business node corresponding to each project information is determined from the node database; Use the node relationship library to determine the association and order relationship between any two business nodes; A target business template of the target project is generated based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes.

2. The method according to claim 1, It is characterized in that Generating a target business template of the target project based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes includes: retaining service nodes whose corresponding correlation degree is greater than a preset correlation degree, wherein the correlation relationship is related to the correlation degree; According to the order relationship between any two service nodes among the reserved multiple service nodes, the reserved multiple service nodes are assembled to obtain the target service template.

3. The method according to claim 1, It is characterized in that Generating a target business template of the target project based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes includes: Taking any service node as the first service node; Based on the association relationship corresponding to the first service node, determine the second service node from one or more service nodes that have an association relationship with the first service node; Determining a position of the second service node in the target service template based on an order relationship between the first service node and the second service node; Based on the association relationship corresponding to the second service node, determine a third service node from one or more service nodes that have an association relationship with the second service node, and based on the order relationship between the second service node and the third service node, determine the position of the third service node in the target service template until the positions of all service nodes in the target service template are determined; The target service template is generated according to the positions of all service nodes in the target service template.

4. The method according to claim 1, It is characterized in that Generating a target business template of the target project based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes includes: Execute the following loop: Determine whether i is greater than N, where i is the serial number of the service node determined from the node database, and N is the number of service nodes determined from the node database; When i is greater than N, assembling the multiple service nodes retained according to the positions of the respective service nodes retained in the target service template to obtain the target service template, and ending the loop; When i is less than or equal to N, based on the association relationship corresponding to the i-th business node, determine whether the i-th business node is retained; If retained, then based on the order relationship corresponding to the i-th service node, determine the position of the i-th service node in the target service template, and update i with the value of i plus 1; If not to be retained, delete the i-th business node and update i with the value of i plus 1.

5. The method according to claim 1, It is characterized in that Generating a target business template of the target project based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes includes: Execute the following loop: Determine whether i is greater than N, where i is the serial number of the service node in the target service template, the first service node is a service node arbitrarily determined from the node database, and N is the number of service nodes determined from the node database; When i is greater than N, the target service template is generated according to the positions of all service nodes in the target service template, and the loop ends; When i is less than or equal to N, based on the association relationship corresponding to the i-1th service node, determine the i-th service node from one or more service nodes that have an association relationship with the i-1th service node; Determine a position of the i-th service node in the target service template based on an order relationship between the i-1th service node and the i-th service node; Update i with the value of i plus 1.

6. The method according to claim 1, It is characterized in that Based on each piece of project information and template information of each business template, calculating the similarity between the target project and each business template includes: Calculate the similarity between each item of project information and the template information of each business template; The similarities between each item of project information and the template information of each service template are weighted and summed to obtain the similarities between the target item and each service template.

7. The method according to claim 1, It is characterized in that When there is no corresponding business template with a similarity greater than a preset similarity, a business node corresponding to each project information is determined from the node database, including: When there is no business template with a corresponding similarity greater than a preset similarity, the similarity between each project information and each business node in the node database is calculated; The business node with the greatest similarity to each piece of project information is used as the business node corresponding to the project information.

8. A service template generating device, It is characterized in that include: An acquisition module, configured to acquire multiple pieces of project information of a target project; A calculation module, configured to calculate the similarity between the target project and each business template based on each piece of project information and template information of each business template; A first determination module is configured to, when there is a business template with a corresponding similarity greater than a preset similarity, use the business template as a target business template for the target project; A second determination module is configured to determine a business node corresponding to each project information from a node database when there is no corresponding business template with a similarity greater than a preset similarity; A third determination module is configured to determine the association relationship and order relationship between any two service nodes using the node relationship library; The generating module is configured to generate a target business template of the target project based on a plurality of business nodes and an association relationship and an order relationship between any two business nodes.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is 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 7 are implemented.

Citation Information

Patent Citations

  • Method and device for determining workflow template

    CN106355301A

  • Data fusion method and device and server

    CN111209943A

  • Business handling file generation method and device, storage medium and electronic equipment

    CN116860756A

  • Document approval and archiving processing method and device for chip design and medium

    CN118427416A

  • Template Search System and Template Search Method

    US20200341973A1

Cited By

  • Automatic generation and dynamic configuration method and device for research and development project nodes

    CN122415033A