CN115756642A - Business process configuration method, device, equipment and storage medium - Google Patents

Business process configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN115756642A
CN115756642A CN202211435442.XA CN202211435442A CN115756642A CN 115756642 A CN115756642 A CN 115756642A CN 202211435442 A CN202211435442 A CN 202211435442A CN 115756642 A CN115756642 A CN 115756642A
Authority
CN
China
Prior art keywords
service
target
model
determining
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211435442.XA
Other languages
Chinese (zh)
Inventor
李心恺
叶巍
沈兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Leading Technology Co Ltd
Original Assignee
Nanjing Leading Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Leading Technology Co Ltd filed Critical Nanjing Leading Technology Co Ltd
Priority to CN202211435442.XA priority Critical patent/CN115756642A/en
Publication of CN115756642A publication Critical patent/CN115756642A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a business process configuration method, a business process configuration device, business process configuration equipment and a storage medium, and relates to the technical field of machine learning. The method comprises the steps of providing a process configuration interface which comprises a process configuration control, responding to the process configuration operation triggered by the process configuration control, and determining a business processing flow chart corresponding to a target business, wherein the business processing flow chart comprises a plurality of model nodes and connecting lines. And then determining a plurality of target models according to the first attribute information of each model node, and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line. And finally, splicing the plurality of target models according to the data processing time sequence to determine the service model service corresponding to the target service. The process configuration of the target service is carried out through the visual process configuration interface, and the model is replaced for reconfiguration when the service processing process changes, so that the method is suitable for a fast iterative service scene, and the development cycle of the service model service can be shortened.

Description

Business process configuration method, device, equipment and storage medium
Technical Field
The present invention relates to the field of machine learning technologies, and in particular, to a method, an apparatus, a device, and a storage medium for configuring a business process.
Background
As the application of artificial intelligence technology in the industrial field gradually matures, different businesses may need to apply multiple models that have been learned through machines. However, in the prior art, service models under each service are often not applicable to each other, so that different service departments are required to respectively construct their own service architectures and corresponding service models in different service application scenarios, thereby greatly reducing the development efficiency of service applications.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a business process configuration method, apparatus, device and storage medium that overcome the above problems or at least partially solve the above problems.
According to a first aspect of the present invention, a method for configuring a business process is provided, the method comprising:
providing a process configuration interface, wherein the process configuration interface comprises a process configuration control and a process editing control;
responding to the process configuration operation triggered by the process configuration control, and determining a business processing flow chart corresponding to the target business, wherein the business processing flow chart comprises a plurality of model nodes and connecting lines, and the model nodes and the connecting lines are generated in response to the process editing operation triggered by the process editing control;
determining a plurality of target models according to the first attribute information of each model node, and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line;
and splicing the plurality of target models according to the data processing time sequence, and determining the service model service corresponding to the target service.
According to a second aspect of the present invention, there is provided a business process configuration apparatus, including:
the interface configuration module is used for providing a flow configuration interface, and the flow configuration interface comprises a model editing control and a component editing control;
a flow chart determining module, configured to determine, in response to a flow configuration operation triggered by the flow configuration control, a service processing flow chart corresponding to a target service, where the service processing flow chart includes multiple target nodes and multiple connecting lines, and the target nodes and the connecting lines are generated in response to a flow editing operation triggered by the flow editing control;
the attribute information determining module is used for determining a plurality of target models according to the first attribute information of each model node and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line;
and the service determining module is used for splicing the plurality of target models according to the data processing time sequence and determining the service model service corresponding to the target service.
The invention provides a business process configuration method, which comprises the steps of providing a process configuration interface, wherein the process configuration interface comprises a process configuration control, and determining a business processing flow chart corresponding to a target business in response to a process configuration operation triggered by the process configuration control, wherein the business processing flow chart comprises a plurality of model nodes and connecting lines. And then determining a plurality of target models according to the first attribute information of each model node, and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line. And finally, splicing the plurality of target models according to the data processing time sequence to determine the service model service corresponding to the target service. Therefore, the process configuration of the target business can be rapidly carried out through the visual process configuration interface, when the business processing process is changed, the business processing process can be reconfigured only by replacing the corresponding model, the method can be applied to a fast iterative business scene, and the development period of the corresponding business model service is greatly reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings.
In the drawings:
fig. 1 is a flowchart illustrating steps of a method for configuring a service flow according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of another method for configuring a service flow according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a process flow diagram for creating a service in a process configuration interface according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a method for online evaluation of a service invocation service according to an embodiment of the present invention.
Fig. 5 is a block diagram of a service flow configuration apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Referring to fig. 1, a flowchart illustrating steps of a service flow configuration method provided in an embodiment of the present invention is shown, and applied to a server, where the method may include:
s101, providing a process configuration interface, wherein the process configuration interface comprises a process configuration control and a process editing control.
S102, responding to the process configuration operation triggered by the process configuration control, and determining a business processing flow chart corresponding to the target business, wherein the business processing flow chart comprises a plurality of model nodes and connecting lines, and the model nodes and the connecting lines are generated in response to the process editing operation triggered by the process editing control.
In the embodiment of the invention, the model nodes and the connecting lines can be generated based on the process editing operation of the user on the process editing control. And determining a plurality of model nodes and a plurality of connecting lines connecting the plurality of model nodes according to a plurality of times of flow editing operation of the user on the flow editing control, and finally forming a service processing diagram corresponding to the target service. After the service processing flow chart of the target service is drawn, the user can start to perform the flow configuration of the target service by clicking the flow configuration control. And the server side responds to the process configuration operation triggered by the process configuration control to acquire a processing flow chart corresponding to the target service, and the service processing flow chart can represent the complete data processing logic corresponding to the target service.
S103, determining a plurality of target models according to the first attribute information of each model node, and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line.
And S104, splicing the plurality of target models according to the data processing time sequence, and determining the service model service corresponding to the target service.
In the embodiment of the invention, in the process of generating the model nodes and the connecting lines, the user can also configure the first attribute information of the model nodes and the connecting attribute information of the connecting lines based on the process editing control. Wherein the first attribute information may include a model type and a model version number, which are used to determine a specific target model, and the connection attribute information includes direction information of a connection line, which is used to determine a data flow direction between two nodes forming a connection. Therefore, a plurality of target models can be determined according to the first attribute information of each model node, and the data processing time sequence among the plurality of target models can be determined according to the connection attribute information of each connection line. And according to the data processing time sequence, splicing a plurality of target models to determine the business model service corresponding to the target business.
In one example, the target model a and the target model B are connected through a connection line, and the data processed by the target model a is determined to be input into the target model B for processing through the connection attribute information corresponding to the connection line. When the target model A and the target model B are spliced, the data output end of the target model A is connected with the data input end of the target model B in series. And by analogy, determining the business model service corresponding to the target business. Therefore, the process configuration of the target service can be rapidly carried out through the visual process configuration interface, when the service processing process is changed, the service processing process can be reconfigured only by replacing the corresponding service model, the method can be applied to a rapid iterative service scene, and the development period of the service of the corresponding service model is greatly reduced.
Referring to fig. 2, a flowchart illustrating steps of another service flow configuration method provided in an embodiment of the present invention is shown, where the method may include:
s201, providing a process configuration interface, wherein the process configuration interface comprises a process configuration control and a process editing control.
S202, responding to the process configuration operation triggered by the process configuration control, and determining a business processing flow chart corresponding to the target business, wherein the business processing flow chart comprises a plurality of model nodes, a plurality of combination nodes, a plurality of component nodes and connecting lines, and the model nodes, the combination nodes, the component nodes and the connecting lines are generated in response to the process editing operation triggered by the process editing control.
In the embodiment of the invention, based on the process editing operation of the user on the process editing control, the model node, the combination node, the component node and the connecting line can be generated. And determining a plurality of model nodes, combination nodes, component nodes and connecting lines for connecting the two nodes according to a plurality of times of flow editing operations of the flow editing control by the user, and forming a service processing diagram corresponding to the target service.
In one example, referring to fig. 3, the process editing control includes a model control, a combination control, a component control, a connection control, and other related controls, where a corresponding model node is generated based on a click operation performed on the model control by a user, and first attribute information of the model node is configured, where the first attribute information is used to determine a specific target model. The attribute information configuration method may include a model type and a model version number, wherein in a configuration process of the first attribute information, the model type may be determined by a click operation on each model type displayed in the type control, and the model version number may be determined by a click operation on each version number displayed in the version number control. The model type may be obtained by dividing according to a structure of the model, and may include types of CNN (Convolutional Neural Networks), GNN (Graph Neural Networks), KNN (K-nearest neighbor, proximity algorithm), and the like, which are not limited herein. The model version numbers are used for distinguishing models which belong to the same model type and have differences in the aspects of model parameters and the like. Wherein the connection attribute information includes direction information of a connection line, which is used to determine a data flow direction between two nodes forming a connection.
And according to the analogy of the above contents, generating a corresponding combination node based on the clicking operation of the user on the combination control, and configuring the second attribute information of the combination node. The second attribute information is used for determining a logic combination mode among a plurality of target models. Wherein, the logic combination mode may be one of the following two types: a model fusion mode and a condition judgment mode.
And when the logic combination mode is a model fusion mode, the data output end of the combination node is connected with the data input ends corresponding to the plurality of model nodes, and the corresponding processing logic is that the plurality of target models respectively process the data output by the target model corresponding to the model node connected with the data input end of the combination node. And combining the data output by the processed target models to form new data, and then carrying out the next processing. When the logical combination mode is a condition judgment mode, it means that one of the model nodes at the data output end of the combination node needs to be selected to execute the processing of the corresponding data.
In an actual service application scenario, such as marketing recommendation, wind control, operation scheduling, etc., a target service is often completed by the cooperation of multiple sub-services. For example, when the target service is an operational schedule of a vehicle, it may involve sub-services including: route planning, driver matching, and risk assessment of whether the driver is involved in a malicious order swipe, etc.
Therefore, different service marks are adopted for distinguishing different service application scenes, and a plurality of assemblies can be predefined for each service application scene, for example, the assembly which can be spliced in a plug-in mode is generated by adopting a coding mode or other middleware modes. For example, the business components corresponding to each business may include a feature preprocessing component, a feature selection component, a result processing component, a feature library component, and the like. And storing a plurality of components corresponding to each service into a component library according to different service marks. In an embodiment, the plurality of business components may also be divided by component category. Wherein the component classes may include a pre-processing class and a result-processing class. The preprocessing-class service component is used for preprocessing the service data input into the target model, and can be spliced to the data input end of the corresponding model node in the splicing process. The preprocessing may include steps such as traffic data conversion, screening, etc. For another example, the service component of the result processing class is used to perform post-processing on the service data output from the target model, and may be spliced to the data output end of the corresponding model node in the splicing process. The post-processing may include steps such as business result conversion.
And responding to the clicking operation of each service component displayed in the component control, determining the corresponding service component, and configuring the third attribute information of the component node according to the service component. Whereby the third attribute information may include a corresponding service label and a component category.
S203, determining a plurality of target models according to the first attribute information of each model node.
And S204, determining a logic combination mode among the plurality of target models according to the second attribute information of each combination node.
S205, determining a plurality of service components corresponding to the target service according to the third attribute information of each component node.
S206, determining data processing time sequences between the target models and the service components according to the connection attribute information of the connecting lines.
S207, splicing the multiple target models and the multiple service components according to the data processing time sequence and the logic combination mode, and determining service model services corresponding to the target services.
In the embodiment of the invention, after the service end determines the service processing flow chart corresponding to the target service, a plurality of target models can be determined according to the model type and the model version number in the first attribute information of each model node. And determining a logic combination mode among the plurality of target models according to the second attribute information of each combination node. And determining a plurality of service components corresponding to the target service according to the third attribute information of each component node. And determining a data processing time sequence between the plurality of target models and the plurality of service components according to the connection attribute information of each connecting line. And finally, splicing the plurality of target models and the plurality of service components according to the data processing time sequence and the logic combination mode.
In the splicing process, for example, when it is determined that the data input ends of the target model a and the target model B are simultaneously connected with the combination node a through a connecting line and the logical combination mode corresponding to the combination node is the condition judgment mode, a judgment module matched with the condition judgment mode is connected to the data input ends of the target model a and the target model B, so that in the data processing process of the target service, the data processed by the previous node is determined to be input into the target model a or the target model B for the next processing according to the judgment module. Therefore, the process configuration of the target service can be rapidly carried out through the visual process configuration interface, when the service processing process is changed, the service processing process can be reconfigured only by replacing the corresponding service model, the method and the device are suitable for a rapid iterative service scene, and the development cycle of the corresponding service model service is greatly reduced. On the other hand, because the service components corresponding to the target service are directly spliced into the corresponding service model service, the data preprocessing and the data post-processing do not need to be performed according to different service scenes. Therefore, the service model service is a complete service call link and can be directly used by on-line services.
In an optional embodiment of the invention, the method may further include:
a model file is received.
And determining the model type and model version number of the corresponding model according to the model file.
And generating a model management list according to the model type and the model version number.
And rendering and displaying the model management list.
In the embodiment of the invention, the user uploads the model file corresponding to the trained model to the server, and after receiving the model file, the server stores the model file, for example, a model library is preset, and the model file is stored in the model library. In one embodiment, a naming rule of the model file may be preset, so that the model type and the model version number corresponding to the model file are automatically identified based on the detection of the file name of the model file. In another embodiment, the process configuration interface further includes a type creation control and/or a model version number creation control, and a user can edit the corresponding model type and/or model version number based on the type creation control and/or the model version number creation control. And the server side responds to the attribute editing operation triggered by the type creating control and/or the model version number creating control and determines the model related information corresponding to the model, wherein the model related information at least comprises the model type and the model version number.
And generating a model management list according to the model type and the model version number, wherein the service end renders the model management list and displays the model management list on the process configuration interface. In one embodiment, each model type is displayed in the type control, and each version number of the corresponding model type is displayed in the version number control, so that the corresponding target model can be determined in response to the relevant clicking operation of the user.
In another embodiment, it is considered that one target service is often performed by the cooperation of a plurality of sub-services. For example, when the target service is an operational schedule of a vehicle, it may involve sub-services including: route planning, driver matching, and risk assessment of whether the driver is involved in a malicious order swipe, etc. Correspondingly, if the service processing flowchart is configured once, the steps corresponding to the user operation are more complicated and take more time. Thus, a plurality of models can be combined in advance according to the business processing flow corresponding to each sub-business. The first processing flow refers to the logic steps followed by the sub-service when processing the service data. Therefore, the model set corresponding to each sub-service can be obtained, wherein each model set can completely complete the first processing flow corresponding to the sub-service on the service processing logic.
Correspondingly, the first attribute information of the model node may further include a service mark corresponding to each sub-service, and in the configuration process of the first attribute information, the service mark may be determined by a click operation on a set control on which different service marks are displayed. The model sets corresponding to the sub-services are set in advance, so that the situations that combination confusion among target models is caused by the fact that the target services are complex in service processing logic and the like can be avoided. For example, in the process of splicing the service model service, the model set corresponding to the sub-service can be matched through the service mark in the first attribute information of the model node. And then splicing the multiple target models, the model sets and the multiple service components according to the data processing time sequence and the logic combination mode to determine service model services corresponding to the target services.
In an alternative embodiment of the invention, the method may further include:
s401, responding to the architecture editing operation triggered by the architecture editing control, and determining service architecture information of the business model service.
S402, responding to the interface editing operation triggered by the interface editing control, and determining a language calling interface corresponding to the business model service.
S403, carrying out instance deployment on the service model service according to the service architecture information and the language calling interface to obtain a service calling service corresponding to the target service.
In the embodiment of the invention, after the business model service is determined, the instance deployment can be rapidly carried out to become the business calling service on the target business line. The instance deployment can comprise the steps of service instantiation, service architecture deployment, service calling language deployment and the like. For example, a framework editing control and an interface editing control are also included in the service configuration interface. The user can execute click operation on the service architecture information displayed in the architecture editing control and the language calling interface displayed in the interface editing control, and the service end can determine the service architecture information and the language calling interface corresponding to the business model service in response to the control editing operation triggered by the architecture editing control and the interface editing control. The service architecture information refers to a target architecture type to be converted by the service model service, and the architecture type may include REST, GRPC, dubbo, thread, and the like. The language calling interface refers to a target language interface supporting calling of the business model service. The corresponding language interfaces can comprise various language interfaces such as Java, C + +, python, golang and the like, so that different technical systems of different service teams can be fitted, the on-line service can be rapidly configured and deployed conveniently, and the flexibility of service flow configuration is greatly increased. And instantiating the service model service according to the service architecture information and the language calling interface so as to obtain the service calling service which can be directly called by a service end.
S404, collecting service response data of the service calling service, evaluating the service response data, and determining a corresponding service evaluation result.
In the embodiment of the invention, when the service calling service is called by the service end on the service calling supply line, the service on the line can be evaluated in real time. For example, an appropriate evaluation index may be selected in advance from an index library to evaluate the service, so as to obtain a service evaluation result, where the evaluation index may include ROC, AUC, and other indexes.
S405, under the condition that the service evaluation result meets the service tuning condition, acquiring training sample data.
S406, performing parameter adjustment on the service calling service according to the training sample data, and determining the trained service calling service.
In the embodiment of the invention, whether the service calling service needs to be optimized or not can be judged according to the service evaluation result. For example, a service tuning condition may be preset, and when the service evaluation result does not meet the service tuning condition, the service response data of the service call service is continuously collected and the service response data is continuously evaluated. And determining that a target model related to the service call service needs parameter adjustment under the condition that the service evaluation result meets the service tuning condition. And acquiring training sample data, wherein the training sample data is obtained in advance through labeling of a sample label. And inputting the training sample data into the service call service for processing to obtain service response data corresponding to the training sample data. And evaluating the service response data corresponding to the training sample data through the evaluation index. And finally, performing parameter adjustment on the service calling service according to a service evaluation result corresponding to the training sample data, for example, adjusting model parameters related to the service calling service, thereby determining the trained service calling service.
In one example, a user may select a reasonable sample collector or encode a custom collector, and collect online service data corresponding to a target service in real time in sampling, full-scale, timing and other manners, and add the online service data to a sample library. The online service data may include service request data and service response data. Under the condition that the service evaluation effect accords with the service tuning condition, online service data in the sample library can be quickly imported into the training sample library to supplement training and testing samples, so that the service end can acquire training sample data by inquiring the training sample library, and guarantee is provided for tuning of the service calling service.
In an alternative embodiment of the invention, the method may further include:
and monitoring the resource utilization rate of the service calling service.
And under the condition that the resource utilization rate reaches a load sharing threshold value, copying the service calling service.
And distributing the copied other service calling service to other servers.
And under the condition that a plurality of service calling services corresponding to the target service are all operated, if the resource utilization rate reaches a combined threshold value condition, reducing the service quantity of the service calling services.
In the embodiment of the invention, the service calling service is directly called by the service end, belongs to a calculation intensive task and aims to improve the utilization rate of calculation resources. And reasonable partition scheduling can be performed on GPU resources. For example, the service invocation service includes kubernets-based auto-scaling capabilities. And monitoring the resource utilization rate of the service call service. The resource utilization rate may be understood as a utilization rate and/or a load rate of the GPU resource. When the resource utilization reaches the load sharing threshold condition when the service call volume increases, for example, the load sharing threshold condition may be that the resource utilization is equal to or greater than 80%. The service invocation service may be replicated, for example, 3 additional service invocation services may be replicated and each service invocation service may be assigned to a different server. Therefore, 4 service calling services can be simultaneously operated to process the service calling amount by simultaneously utilizing GPU resources of 4 servers. The service response speed is increased and the resource calculation load is shared. Similarly, if the call volume is small, the computing resources will be occupied too much by using multiple servers to run multiple service call services. Therefore, the resource utilization rate may reach a combination threshold condition, for example, when the resource utilization rate of the GPU resource in each server is accumulated, and the accumulated resource utilization rate is equal to 70% or less than 70%. If 4 service invocation services are running at this time, one or 2 of the service invocation services may be stopped. And the service quantity of the service calling service is automatically reduced to a reasonable range, and the occupation of computing resources is reduced.
It should be noted that for simplicity of description, the method embodiments are described as a series of acts, but those skilled in the art should understand that the embodiments are not limited by the described order of acts, as some steps can be performed in other orders or simultaneously according to the embodiments. Further, those of skill in the art will recognize that the embodiments described in this specification are presently preferred embodiments and that no particular act is required to implement the embodiments of the disclosure.
Referring to fig. 5, a device for configuring a service flow according to an embodiment of the present invention is shown, where the device may include:
the interface configuration module 501 is configured to provide a process configuration interface, where the process configuration interface includes a model editing control and a component editing control.
A flow chart determining module 502, configured to determine, in response to a flow configuration operation triggered by the flow configuration control, a service processing flow chart corresponding to a target service, where the service processing flow chart includes a plurality of target nodes and a plurality of connecting lines, and the target nodes and the connecting lines are generated in response to a flow editing operation triggered by the flow editing control.
The attribute information determining module 503 is configured to determine a plurality of target models according to the first attribute information of each model node, and determine a data processing time sequence between the plurality of target models according to the connection attribute information of each connection line.
And a service determining module 504, configured to splice the multiple target models according to the data processing time sequence, and determine a service model service corresponding to the target service.
In an optional embodiment of the present invention, the service processing flowchart further includes a plurality of combination nodes, and the attribute information determining module 503 may include:
and the target model determining submodule is used for determining a plurality of target models according to the first attribute information of each model node.
And the combination mode determining submodule is used for determining a logic combination mode among a plurality of target models according to the second attribute information of each combination node, and the logic combination mode comprises a model fusion mode and a condition judgment mode.
And the processing time sequence determining submodule is used for determining the data processing time sequence among the target models according to the connection attribute information of each connecting line.
In an alternative embodiment of the invention, the service determination module 504 may be configured to:
and splicing the plurality of target models according to the data processing time sequence and the logic combination mode, and determining the service model service corresponding to the target service.
In an optional embodiment of the present invention, the business process flow diagram further includes a plurality of component nodes, and the process timing determining sub-module may include:
a service component determining unit, configured to determine, according to the third attribute information of each component node, a plurality of service components corresponding to the target service, where the service components include the following component categories: a pre-processing class and a result processing class.
And the processing time sequence determining unit is used for determining the data processing time sequences between the plurality of target models and the plurality of service components according to the connection attribute information of each connecting line.
In an optional embodiment of the invention, the service determining module 504 may be further configured to:
and splicing the plurality of target models and the plurality of service components according to the data processing time sequence and the logic combination mode, and determining the service model service corresponding to the target service.
In an optional embodiment of the present invention, the process configuration interface further includes a framework editing control and an interface editing control, and the apparatus further includes:
and the architecture information determining module is used for responding to architecture editing operation triggered by the architecture editing control and determining service architecture information of the business model service.
And the calling interface determining module is used for responding to the interface editing operation triggered by the interface editing control and determining a language calling interface corresponding to the business model service.
And the calling service determining module is used for carrying out instance deployment on the service model service according to the service architecture information and the language calling interface to obtain the service calling service corresponding to the target service.
In an optional embodiment of the present invention, the invoking service determining module may further include:
and the calling service determining submodule is used for carrying out instance deployment on the service model service according to the service architecture information and the language calling interface to obtain the service calling service corresponding to the target service.
And the evaluation result determining submodule is used for acquiring the service response data of the service calling service, evaluating the service response data and determining a corresponding service evaluation result.
And the sample data acquisition submodule is used for acquiring training sample data under the condition that the service evaluation result accords with the service tuning condition.
And the service parameter adjusting sub-module is used for adjusting parameters of the service calling service according to the training sample data and determining the trained service calling service.
To sum up, the apparatus for configuring a service process provided in an embodiment of the present invention includes providing a process configuration interface, where the process configuration interface includes a process configuration control, and determining a service processing flow diagram corresponding to a target service in response to a process configuration operation triggered by the process configuration control, where the service processing flow diagram includes a plurality of model nodes and connecting lines. And then determining a plurality of target models according to the first attribute information of each model node, and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line. And finally, splicing the plurality of target models according to the data processing time sequence to determine the service model service corresponding to the target service. Therefore, the process configuration of the target business can be rapidly carried out through the visual process configuration interface, when the business processing process is changed, the business processing process can be reconfigured only by replacing the corresponding model, the method can be applied to a fast iterative business scene, and the development period of the corresponding business model service is greatly reduced.
The embodiments in the present specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed to reflect the intent: rather, the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the devices in an embodiment may be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
An electronic device, comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods of the embodiments described above.
A computer-readable storage medium storing a computer program for use in conjunction with an electronic device, the computer program being executable by a processor to perform the method of the above embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The above detailed description is provided for a service process configuration method and a service process configuration apparatus, and specific examples are applied herein to explain the principle and implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for configuring a business process, the method comprising:
providing a process configuration interface, wherein the process configuration interface comprises a process configuration control and a process editing control;
responding to the process configuration operation triggered by the process configuration control, and determining a business processing flow chart corresponding to the target business, wherein the business processing flow chart comprises a plurality of model nodes and connecting lines, and the model nodes and the connecting lines are generated in response to the process editing operation triggered by the process editing control;
determining a plurality of target models according to the first attribute information of each model node, and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line;
and splicing the plurality of target models according to the data processing time sequence, and determining the service model service corresponding to the target service.
2. The business process configuration method of claim 1, wherein the business process flow diagram further includes a plurality of combination nodes, and the determining a plurality of target models according to the first attribute information of each model node and determining a data processing timing sequence between the plurality of target models according to the connection attribute information of each connection line includes:
determining a plurality of target models according to the first attribute information of each model node;
determining a logic combination mode among a plurality of target models according to the second attribute information of each combination node, wherein the logic combination mode comprises a model fusion mode and a condition judgment mode;
and determining a data processing time sequence among the target models according to the connection attribute information of each connecting line.
3. The business process configuration method of claim 2, wherein the splicing the plurality of target models according to the data processing time sequence to determine the business model service corresponding to the target business comprises:
and splicing the plurality of target models according to the data processing time sequence and the logic combination mode, and determining the service model service corresponding to the target service.
4. The business process configuration method of claim 3, wherein the business process flow diagram further comprises a plurality of component nodes, and the determining a data processing time sequence between a plurality of target models according to the connection attribute information of each connection line comprises:
determining a plurality of service components corresponding to the target service according to the third attribute information of each component node, wherein the service components comprise the following component types: a preprocessing class and a result processing class;
and determining a data processing time sequence between the plurality of target models and the plurality of service components according to the connection attribute information of each connecting line.
5. The business process configuration method of claim 4, wherein the step of splicing a plurality of target models according to the data processing timing sequence and the logic combination mode to determine the business model service corresponding to the target business comprises:
and splicing the plurality of target models and the plurality of service components according to the data processing time sequence and the logic combination mode, and determining the service model service corresponding to the target service.
6. The business process configuration method of claim 1 wherein the process configuration interface further comprises a framework editing control and an interface editing control, the method further comprising:
determining service architecture information of the business model service in response to architecture editing operation triggered by the architecture editing control;
responding to the interface editing operation triggered by the interface editing control, and determining a language calling interface corresponding to the business model service;
and performing instance deployment on the service model service according to the service architecture information and the language calling interface to obtain a service calling service corresponding to the target service.
7. The business process configuration method of claim 6, wherein the performing instance deployment on the business model service according to the service architecture information and the language calling interface to obtain the business calling service corresponding to the target business comprises:
according to the service architecture information and the language calling interface, carrying out instance deployment on the service model service to obtain a service calling service corresponding to the target service;
collecting service response data of the service calling service, evaluating the service response data, and determining a corresponding service evaluation result;
acquiring training sample data under the condition that the service evaluation result accords with a service tuning condition;
and performing parameter adjustment on the service calling service according to the training sample data, and determining the trained service calling service.
8. An apparatus for configuring a business process, the apparatus comprising:
the interface configuration module is used for providing a process configuration interface, and the process configuration interface comprises a model editing control and a component editing control;
a flow chart determining module, configured to determine, in response to a flow configuration operation triggered by the flow configuration control, a service processing flow chart corresponding to a target service, where the service processing flow chart includes multiple target nodes and multiple connecting lines, and the target nodes and the connecting lines are generated in response to a flow editing operation triggered by the flow editing control;
the attribute information determining module is used for determining a plurality of target models according to the first attribute information of each model node and determining a data processing time sequence among the plurality of target models according to the connection attribute information of each connecting line;
and the service determining module is used for splicing the plurality of target models according to the data processing time sequence and determining the service model service corresponding to the target service.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium storing a computer program for use in conjunction with an electronic device, the computer program being executable by a processor to perform the method of any of claims 1-7.
CN202211435442.XA 2022-11-16 2022-11-16 Business process configuration method, device, equipment and storage medium Pending CN115756642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211435442.XA CN115756642A (en) 2022-11-16 2022-11-16 Business process configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211435442.XA CN115756642A (en) 2022-11-16 2022-11-16 Business process configuration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115756642A true CN115756642A (en) 2023-03-07

Family

ID=85372063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211435442.XA Pending CN115756642A (en) 2022-11-16 2022-11-16 Business process configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115756642A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107666A (en) * 2023-04-11 2023-05-12 南京数睿数据科技有限公司 Program service flow information generation method, device, electronic equipment and computer medium
CN116431246A (en) * 2023-06-13 2023-07-14 建信金融科技有限责任公司 Office automation software configuration method and device
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107666A (en) * 2023-04-11 2023-05-12 南京数睿数据科技有限公司 Program service flow information generation method, device, electronic equipment and computer medium
CN116431246A (en) * 2023-06-13 2023-07-14 建信金融科技有限责任公司 Office automation software configuration method and device
CN116431246B (en) * 2023-06-13 2023-08-11 建信金融科技有限责任公司 Office automation software configuration method and device
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium
CN116661767B (en) * 2023-07-28 2023-10-27 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN115756642A (en) Business process configuration method, device, equipment and storage medium
CN113034095B (en) Man-machine interaction method and device combining RPA and AI, storage medium and electronic equipment
US11386128B2 (en) Automatic feature learning from a relational database for predictive modelling
CN110297911B (en) Method and system for cognitive data management in an internet of things (IOT) computing environment
CN109840111B (en) Graphical service processing system and method
CN110554958B (en) Graph database testing method, system, device and storage medium
CN112199580B (en) Service processing method and artificial intelligence platform for cloud computing and big data positioning
CN110516714B (en) Feature prediction method, system and engine
CN114936019B (en) Component and strategy linkage method, device, equipment, system and storage medium
CN114048387B (en) Content recommendation method based on big data and AI prediction and artificial intelligence cloud system
CN109743286A (en) A kind of IP type mark method and apparatus based on figure convolutional neural networks
CN107203464B (en) Method and device for positioning service problem
CN110781180A (en) Data screening method and data screening device
CN113342489A (en) Task processing method and device, electronic equipment and storage medium
CN112149838A (en) Method, device, electronic equipment and storage medium for realizing automatic model building
CN116910567B (en) Online training sample construction method and related device for recommended service
CN102546235B (en) Performance diagnosis method and system of web-oriented application under cloud computing environment
CN115935089A (en) RPA technology-based boarding point recommendation optimization method and system
CN117203680A (en) Adaptive selection of data modalities for efficient video recognition
CN114449569B (en) User traffic usage processing method, network equipment and service processing system
Ugljanin et al. Re-engineering of smart city's business processes based on social networks and Internet of Things
US11211049B2 (en) Program dialog by example
CA3106394C (en) Selecting unlabeled data objects to be processed
CN117633619A (en) Customer service telephone conversation text classification method and device
CN114416574A (en) Test data generation method, device, medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination