Business interface arrangement method and device, computer program product and electronic equipment

By generating and orchestrating business process models and automating business interface orchestration, it solves the problem of relying on manual writing of rules and scripts in existing technologies, achieves flexibility and cost reduction, is suitable for complex business processes, and meets the needs of agile project management.

CN118585191APending Publication Date: 2024-09-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410703158.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, business interface orchestration relies on manually written rules and scripts, resulting in cumbersome operations, error-prone, and difficulty in maintenance, and cannot meet the needs of agile project management.

Method used

By receiving the business demand information from the demand side, the business process model is generated, the atomic capabilities of the business nodes are determined, orchestrated and compiled, and the target business interface is generated to realize automated business interface orchestration.

Benefits of technology

It realizes automated business interface orchestration, reduces implementation costs, is suitable for various business processes, especially complex business processes, and meets the needs of agile project management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585191A
    Figure CN118585191A
Patent Text Reader

Abstract

The invention provides a business interface arrangement method and device, a computer program product and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: receiving first service demand information initiated by a demand side; generating a first business process model according to the first business demand information; determining a service node in the first service process model, and determining atomic energy corresponding to the service node from an atomic energy library; arranging the atomic power corresponding to the business node to generate a second business process model; and compiling the second business process model into a business process script, and generating a target business interface by packaging the business process script. According to the method and the device, automatic business interface arrangement is realized, and the problem of dependence on manual rule and script compiling is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a service interface arrangement method, a service interface arrangement device, a computer program product, and an electronic device. Background Art

[0002] At present, computer software development mostly adopts agile project management, emphasizing rapid iteration, continuous delivery and flexibility. In related technologies, business interface orchestration relies on manually written rules and scripts, which have problems such as cumbersome operation, prone to errors, difficult maintenance, and high cost, and cannot meet the needs of agile project management. Summary of the invention

[0003] The present disclosure provides a service interface arrangement method, a service interface arrangement device, a computer program product and an electronic device, so as to at least to some extent solve the problem in the related art that service interface arrangement relies on manually written rules and scripts.

[0004] According to a first aspect of the present disclosure, a business interface orchestration method is provided, the method comprising: receiving first business demand information initiated by a demander; generating a first business process model according to the first business demand information; determining a business node in the first business process model, and determining the atomic capability corresponding to the business node from an atomic capability library; orchestrating the atomic capability corresponding to the business node to generate a second business process model; compiling the second business process model into a business process script, and generating a target business interface by encapsulating the business process script.

[0005] According to a second aspect of the present disclosure, a business interface orchestration device is provided, the device comprising: a demand information receiving unit, configured to receive first business demand information initiated by a demander; a first processing unit, configured to generate a first business process model according to the first business demand information; a second processing unit, configured to determine a business node in the first business process model, and determine the atomic capability corresponding to the business node from an atomic capability library; a third processing unit, configured to orchestrate the atomic capability corresponding to the business node to generate a second business process model; and a fourth processing unit, configured to compile the second business process model into a business process script, and generate a target business interface by encapsulating the business process script.

[0006] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method of the first aspect and possible implementations thereof are implemented.

[0007] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the service interface orchestration method of the first aspect and its possible implementation methods by executing the executable instructions.

[0008] The technical solution disclosed in this disclosure has the following beneficial effects:

[0009] According to the first business demand information initiated by the demander, the first business process model is generated and the business node is determined, and then the corresponding atomic capabilities are called and orchestrated, compiled and packaged to form the target business interface. This realizes the automated business interface orchestration, no longer relying on manually written rules and scripts, solves the problems of cumbersome operation, prone to errors, and difficult maintenance, and reduces the implementation cost. In addition, this solution can be well applied to various business processes, especially complex business processes. It can meet the needs of agile project management. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flow chart of a service interface orchestration method in this exemplary embodiment is shown.

[0011] Figure 2 A flow chart showing a service interface update in this exemplary embodiment.

[0012] Figure 3 A flowchart of a service interface verification in this exemplary embodiment is shown.

[0013] Figure 4 A schematic diagram of a system architecture in this exemplary embodiment is shown.

[0014] Figure 5 A schematic flowchart of orchestrating a target service interface in this exemplary embodiment is shown.

[0015] Figure 6 A schematic flowchart of updating a target service interface in this exemplary embodiment is shown.

[0016] Figure 7 A schematic flowchart of verifying a target service interface in this exemplary embodiment is shown.

[0017] Figure 8 A schematic diagram of the structure of a service interface arrangement device in this exemplary embodiment is shown.

[0018] Fig. 9 A schematic structural diagram of an electronic device in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0019] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0020] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.

[0021] With the accelerated advancement of industrial digitalization, agile project management has become a commonly used method for computer software development, emphasizing rapid iteration, continuous delivery and flexibility, and putting forward higher requirements for business interface orchestration. In related technologies, business interface orchestration usually relies on manually written rules and scripts. According to different calling systems and operating environments, the interface needs to be adaptively developed, which has problems such as cumbersome operation, prone to errors, difficult maintenance, and high cost. For example, in the intelligent interaction capabilities of the call center platform, it is necessary to connect business interfaces to solve problems raised by customers. These business interfaces rely on operators to collect and organize service scenarios, and are manually orchestrated, developed and delivered by computer developers. When business requirements change, it is also necessary to rely on developers to iteratively develop business interfaces, resulting in high development costs and weak flexibility of business interfaces. It cannot meet the needs of agile project management.

[0022] In view of the above problems, an exemplary embodiment of the present disclosure provides a service interface orchestration method. Figure 1 An exemplary process of the service interface arrangement method is shown, which may include the following steps S110 to S150:

[0023] Step S110, receiving first service demand information initiated by the demander;

[0024] Step S120, generating a first business process model according to the first business requirement information;

[0025] Step S130, determining a business node in the first business process model, and determining an atomic capability corresponding to the business node from an atomic capability library;

[0026] Step S140, orchestrating the atomic capabilities corresponding to the business nodes to generate a second business process model;

[0027] Step S150: compile the second business process model into a business process script, and generate a target business interface by encapsulating the business process script.

[0028] based on Figure 1 According to the method, the first business demand information initiated by the demander is used to generate a first business process model and determine the business node, and then the corresponding atomic capability is called and orchestrated, compiled and packaged to form a target business interface. In this way, automated business interface orchestration is achieved, which no longer relies on manually written rules and scripts, solves the problems of cumbersome operation, easy errors, and difficult maintenance, and reduces the implementation cost. In addition, this solution can be well applied to various business processes, especially complex business processes. It can meet the needs of agile project management.

[0029] Below Figure 1 Provide detailed instructions for each step.

[0030] refer to Figure 1 In step S110, first business demand information initiated by the demander is received.

[0031] The demander is the party that needs to connect to the target service interface, such as the target system. For example, in the operator business, the customer service system, the mini program business acceptance system, etc. can all serve as the demander to initiate the first business demand information.

[0032] The first business requirement information may be initial business requirement information, which is different from the second business requirement information described below. In one implementation, the first business requirement information may include, but is not limited to, business scenario information, business type information, input parameters, output parameters, and other information.

[0033] Continue to refer Figure 1 In step S120, a first business process model is generated according to the first business requirement information.

[0034] The first business process model is a model formed by a computer sorting out the business processes involved in the first business demand information. It can be a preliminary model, and its function is to enable the computer to understand the business process. Therefore, it can be an abstract, non-visual model.

[0035] In one implementation, the generating of the first business process model according to the first business requirement information may include the following steps:

[0036] Determine a target business scenario and / or a target product according to the first business demand information;

[0037] Based on the target business scenario and / or target product, a first business process model is generated through a business graph.

[0038] The target business scenario is the business scenario involved in the first business requirement information, and the target product is the product involved in the first business requirement information. The target business scenario can be determined first according to the first business requirement information, and the target product can be determined under the target business scenario. Alternatively, the target business scenario or the target product can be determined separately.

[0039] The business graph is a graph that describes the relationship between business scenarios and products, and can be configured in advance by the operation personnel. Exemplarily, the business graph includes a business blueprint and a business tree. The business scenario and product are located by matching the target business scenario and / or target product with the business tree, and the process corresponding to the target business scenario and / or target product is extracted through the business blueprint, thereby generating a first business process model.

[0040] Continue to refer Figure 1 In step S130, a business node in the first business process model is determined, and an atomic capability corresponding to the business node is determined from an atomic capability library.

[0041] The first business process model can describe the process of the target business, such as data flow, etc. By determining the business nodes in the first business process model, such as the positioning calculation link and the diagnosis factor, it is possible to further determine which atomic capabilities need to be provided in order to implement the business process, that is, determine the atomic capabilities corresponding to the business nodes.

[0042] In one implementation, the above-mentioned determination of the service node in the first service process model may include the following steps:

[0043] The first business process model is parsed, and nodes in the first business process model that need to return results are used as business nodes.

[0044] In the process of the demander calling the interface, the demander will interact with the interface at different business nodes. Therefore, by parsing the first business process model, it is possible to locate which nodes need to return results to the demander, and use these nodes as business nodes. Furthermore, the atomic capabilities corresponding to the business nodes can be found and marked in the atomic capability library, and an atomic capability list can be generated for calling the atomic capabilities according to the atomic capability list when executing subsequent steps. Each business node can correspond to one or more atomic capabilities.

[0045] Continue to refer Figure 1 In step S140, the atomic capabilities corresponding to the business nodes are orchestrated to generate a second business process model.

[0046] For example, when extracting the atomic capabilities corresponding to the business nodes, the specific instructions of each business node can be determined through the activity model, such as execution judgment or result generation, to perform factor extraction and complete the arrangement of the call sequence. The parameters of the factor (such as input parameters, output parameters, etc.) are configured to generate the second business process model.

[0047] In one implementation, the above-mentioned orchestration of the atomic capabilities corresponding to the service nodes to generate the second service process model may include the following steps:

[0048] Calling the visual orchestration component to orchestrate the atomic capabilities corresponding to the business node, generating a second business process model, and visually displaying the second business process model;

[0049] If an editing instruction for the visual orchestration component and / or the second business process model is received, the second business process model is adjusted according to the editing instruction.

[0050] Among them, the visual orchestration component can be displayed in the visual interface, so that developers can see the orchestration of atomic capabilities and the second business process model. Developers can manually intervene in the orchestration process and perform editing operations on the visual orchestration component and / or the second business process model to trigger editing instructions. The system can adjust the second business process model according to the editing instructions to achieve optimization effects.

[0051] Continue to refer Figure 1 In step S150, the second business process model is compiled into a business process script, and a target business interface is generated by encapsulating the business process script.

[0052] The second business process model can be compiled according to the script format of the interface to obtain a business process script, so that the business process can be automatically executed through the script. The business process script is encapsulated to form a target business interface.

[0053] In one implementation, the above-mentioned generation of the target business interface by encapsulating the business process script may include the following steps:

[0054] Extract the interface protocol from the protocol library, write the business process script information into the interface protocol, and encapsulate to form the target business interface.

[0055] Among them, after extracting the interface protocol, the compiled business process script can be executed, and the information of the business process script, such as the input parameters and output parameters of each business node, can be written into the protocol to generate the target business interface.

[0056] Furthermore, the target business interface can be registered to a corresponding platform, such as a unified interface platform, so that the demander can connect and call the target business interface.

[0057] In one embodiment, reference Figure 2 As shown, after generating the target service interface, the service interface arrangement method may further include the following steps S210 to S240:

[0058] Step S210, receiving second business demand information initiated by the demander; the second business demand information is business demand update information or error information related to the target business interface;

[0059] Step S220, regenerating the first business process model according to the second business requirement information;

[0060] Step S230, regenerating a second business process model by orchestrating the atomic capabilities corresponding to the business nodes in the regenerated first business process model;

[0061] Step S240: compile and package the regenerated second business process model to generate an updated target business interface.

[0062] Among them, the demander can initiate business demand update information when the business demand is updated, or initiate error information when calling the target business interface abnormally. Both types of information can prompt the update of the target business interface, so they are collectively referred to as second business demand information. It can be seen that the second business demand information is not the initial demand information, which is the main difference between it and the first business demand information.

[0063] When the second service requirement information is received, the process of updating the target service interface can be started, such as steps S220 to S240, which is equivalent to re-executing Figure 1 The steps in the embodiment are to regenerate the first business process model in sequence, redefine the business nodes and the corresponding atomic capabilities, regenerate the second business process model, and generate an updated target business interface after compilation and packaging.

[0064] In one embodiment, reference Figure 3 As shown, after generating the target service interface, the service interface arrangement method may further include the following steps S310 to S330:

[0065] Step S310, generating a verification instance for verifying the target business interface, the verification instance including expected parameters;

[0066] Step S320, generating a test script according to the verification instance, using the test script to simulate calling the target business interface, and obtaining test parameters after the call;

[0067] Step S330, comparing the test parameters with the expected parameters, if the comparison is successful, it is confirmed that the verification of the target business interface has passed.

[0068] Each time the target service interface is generated or updated, you can switch Figure 3 The verification process shown. Business process configuration information can be obtained, such as atomic capability orchestration results, input parameters, output parameters, etc. According to the obtained business process configuration information, the business process and related parameters are disassembled and reorganized, and verification instances are generated according to test cases. The verification instance includes the predicted parameters (such as expected output parameters) obtained by testing according to the simulation parameters (such as simulated input parameters), and can also include the interface name, input parameter format, output parameter format, etc. Generate a test script based on the verification instance, and perform a simulation test to simulate the process of calling the target business interface in the actual business to perform the test and obtain the test parameters (such as test output parameters). Confirm whether the verification is passed by comparing the test parameters with the expected parameters. If the verification fails, the corresponding error message can be returned, and the system can re-execute the process of business interface orchestration.

[0069] Figure 4 The system structure of this exemplary embodiment is shown. Among them, the target system is the demand side, which can initiate a call demand (i.e., the first business demand information). The business interface arrangement method in this exemplary embodiment can be implemented by a business interface arrangement system, which can include the following modules or components:

[0070] The RPA (Robotic Process Automation) module introduces technologies such as artificial intelligence, machine learning, and natural language processing, and is an automatic execution capability module encapsulated through automated execution scripts.

[0071] The visual orchestration component is similar to a low-code script orchestration module and is used for sequence orchestration of atomic capabilities, setting conditions and loops, and other logical controls. It facilitates technical personnel to quickly develop business interfaces and supports automated orchestration of RPA modules.

[0072] Business graphs are graphical models that describe business scenarios, business processes, and related capabilities, which can help identify and select appropriate atomic capabilities;

[0073] The cache module is used to cache relevant information or data during the process of business interface orchestration and encapsulation, such as cache demand analysis, atomic capability list, verification use cases and other information.

[0074] The protocol library is used to store interface protocol templates to help implement interface recompilation for protocol compatibility.

[0075] The verification module performs interface verification on the encapsulated business interface, including interface call sequence and parameter configuration, to ensure that it meets the expected business requirements and specifications.

[0076] The configuration module optimizes the configuration of relevant algorithms and information of the RPA module and business graph, and performs capacity training, and can adjust and optimize the model according to actual needs.

[0077] The atomic capability library provides available atomic capabilities, which can come from various capabilities in the business platform (or business system), such as various applications in the application cloud, various capabilities in the service cloud, various data warehouses in the data cloud, etc.

[0078] The business interface library includes various business interfaces that can be called by the target system. In this exemplary embodiment, the orchestrated and encapsulated business interfaces can be registered in the business interface library for the target system to call.

[0079] Figure 5 The schematic process of arranging the target service interface is shown, including the following steps:

[0080] Based on business needs and service scenarios, operators configure and optimize the RPA modules and business graphs through configuration modules, and train the required machine learning models to adapt to the industry and service scenarios.

[0081] The target system initiates a call request (i.e., the first business demand information) to the unified interface platform, providing demand information such as business scenarios, input parameters, and output parameters.

[0082] When the RPA module receives a call request, it first obtains the business blueprint through the business graph to match the business tree and locate the product, scenario, and first business process model.

[0083] The RPA module sorts out the business process, determines each node in the process that needs to return results, and locates business nodes and diagnostic factors.

[0084] The RPA module marks the required atomic capabilities in the atomic capability library through the business process analysis results and the first business process model provided by the business graph.

[0085] The RPA module summarizes the annotated atomic capabilities and generates an atomic capability list which is stored in the cache module;

[0086] The RPA module calls the visual orchestration component to perform atomic capability orchestration, and extracts factors through the activity model; sets the logical relationship of factors through the control model, such as result judgment, process cycle, etc., to complete the orchestration of the call sequence; configures the parameters of the control model to complete the configuration of input and output parameters; the RPA module automatically performs orchestration directly in the visual orchestration component and generates a visual second business process model. The visual orchestration component provides human intervention capabilities, which can manually monitor and intervene in the orchestration results.

[0087] The RPA module caches the second business process model that completes capability orchestration into the cache module.

[0088] The RPA module compiles the second business process model according to the interface "process section" script format, and caches the compilation result in the cache module.

[0089] The subsequent RPA module can also extract the corresponding protocol from the protocol library, execute the compiled business process script, write the information of the business process script, such as the input and output parameters of each business node, into the protocol, and generate the target business interface.

[0090] Figure 6 The schematic process of updating the target service interface is shown, including the following steps:

[0091] When the target system finds a connection anomaly or a service update occurs, it may initiate a second service requirement message to the service interface orchestration system, which may include service requirement update information or error information.

[0092] The RPA module updates information or reports error information according to business requirements and verifies the second business process model.

[0093] The RPA module obtains the business blueprint through the business graph to match the business tree and re-update the product, service and first business process model.

[0094] The RPA module re-determines each node in the process that needs to return a result for the updated first business process model, and locates the business nodes and diagnostic factors.

[0095] The RPA module updates the annotation information in the atomic capability library and forms a new atomic capability list based on the business process analysis results and the first business process model provided by the business map; and recompiles the newly-arranged process model.

[0096] The RPA module updates information or error messages based on the operating environment and business requirements provided by the target system, redefines the docking protocol, and obtains the interface script through the protocol library.

[0097] The RPA module compiles, compiles and encapsulates the script according to the interface encapsulation script; the RPA module saves the completed encapsulation interface in the cache module.

[0098] The RPA module will complete the verification of the interface and register it in the business interface library, thereby completing the interface update. The target system can reconnect with the updated business interface.

[0099] When the RPA module completes interface encapsulation and caches the interface in the cache library, the interface verification process can be started. Figure 7The schematic process of verifying the target service interface is shown, including the following steps:

[0100] Step S710, the first business process model is passed from the RPA module to the verification module; wherein the result verification module may be an independent module for automatically generated interface verification.

[0101] Step S720, disassemble the first business process model, and obtain the business process (business demand analysis results), orchestration model (atomic capability orchestration results), input parameters, business trips and other configuration parameters.

[0102] Step S730, obtaining a verification instance. Exemplarily, the verification module disassembles and reorganizes the obtained process, model and parameters, and generates a verification instance in a test case manner, the instance including the interface name, input parameter format, output parameter format, simulated input parameter and expected results of the business trip;

[0103] Step S740, generate an interface test script and simulate the generation of input parameters.

[0104] Step S750, performing interface call test by simulating interface call.

[0105] Step S760, compare the expected results, if they are consistent, the verification is passed, if not, return to recompile. For example, after executing the interface call test, you can get the output parameters and compare them with the expected output parameters. If they are consistent, push the verification success notification to the RPA module, execute the next step of the interface registration result verification module to start the interface verification process, if they are inconsistent, determine that the verification failed, return an error report to notify the RPA module to re-update the capability orchestration and interface encapsulation.

[0106] This exemplary implementation introduces RPA module automation capabilities, machine learning capabilities, etc., to achieve automated orchestration and optimization of complex business processes, and highly automated business interface orchestration processing. The target system only needs to provide business requirements to automatically generate the required business interfaces, without the need to manually write rules and scripts, thereby reducing labor costs. By combining RPA module automation with business graphs, business processes are modeled and analyzed with the help of business graphs, making the orchestration of business interfaces more intelligent and flexible. By verifying the target business interface, related issues of the interface can be discovered and corrected in a timely manner, and corresponding measures can be taken, such as adjusting the atomic capability call sequence and parameter configuration to reduce the error rate.

[0107] The exemplary embodiment of the present disclosure also provides a service interface arrangement device. Figure 8 As shown, the service interface arrangement device 800 may include the following program units:

[0108] The demand information receiving unit 810 is configured to receive first business demand information initiated by the demander;

[0109] A first processing unit 820 is configured to generate a first business process model according to the first business requirement information;

[0110] The second processing unit 830 is configured to determine a service node in the first service process model, and determine an atomic capability corresponding to the service node from an atomic capability library;

[0111] The third processing unit 840 is configured to orchestrate the atomic capabilities corresponding to the business nodes to generate a second business process model;

[0112] The fourth processing unit 850 is configured to compile the second business process model into a business process script, and generate a target business interface by encapsulating the business process script.

[0113] In one embodiment, generating a first business process model based on the first business demand information includes: determining a target business scenario and / or a target product based on the first business demand information; and generating the first business process model through a business graph based on the target business scenario and / or the target product.

[0114] In one implementation, determining the business node in the first business process model includes: parsing the first business process model, and taking the node in the first business process model that needs to return a result as the business node.

[0115] In one embodiment, the orchestration of the atomic capabilities corresponding to the business nodes to generate a second business process model includes: calling a visualization orchestration component to orchestrate the atomic capabilities corresponding to the business nodes to generate the second business process model, and visually displaying the second business process model; if an editing instruction is received for the visualization orchestration component and / or the second business process model, adjusting the second business process model according to the editing instruction.

[0116] In one implementation, generating the target business interface by encapsulating the business process script includes: extracting an interface protocol from a protocol library, writing information of the business process script into the interface protocol, and encapsulating to form the target business interface.

[0117] In one embodiment, the fourth processing unit 850 is further configured to: after generating the target business interface, receive second business demand information initiated by the demander; the second business demand information is business demand update information or error information related to the target business interface; regenerate the first business process model according to the second business demand information; regenerate the second business process model by orchestrating the atomic capabilities corresponding to the business nodes in the regenerated first business process model; compile and package the regenerated second business process model to generate an updated target business interface.

[0118] In one embodiment, the fourth processing unit 850 is further configured to: after generating the target business interface, generate a verification instance for verifying the target business interface, the verification instance including expected parameters; generate a test script according to the verification instance, use the test script to simulate calling the target business interface, and obtain the test parameters after the call; compare the test parameters with the expected parameters, and if the comparison is successful, confirm that the verification of the target business interface has passed.

[0119] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0120] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0121] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the above-mentioned service interface arrangement method is implemented.

[0122] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.

[0123] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0124] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0125] Computer programs can be carried or transmitted through electrical, magnetic, optical, electromagnetic, infrared and other signals. Electronic devices can convert signals carrying computer programs into digital signals to run computer programs. When a computer program runs on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device can execute) the method steps of various exemplary embodiments of the present disclosure, such as the above-mentioned business interface orchestration method, which includes the following steps: Step S110, receiving the first business demand information initiated by the demander; Step S120, generating a first business process model according to the first business demand information; Step S130, determining the business nodes in the first business process model, and determining the atomic capabilities corresponding to the business nodes from the atomic capability library; Step S140, orchestrating the atomic capabilities corresponding to the business nodes to generate a second business process model; Step S150, compiling the second business process model into a business process script, and generating a target business interface by encapsulating the business process script.

[0126] The above method steps are implemented through a computer program. According to the first business demand information initiated by the demander, a first business process model is generated and the business node is determined, and then the corresponding atomic capabilities are called and orchestrated, compiled and packaged to form a target business interface. In this way, automated business interface orchestration is achieved, which no longer relies on manually written rules and scripts, solves the problems of cumbersome operations, prone to errors, and difficult maintenance, and reduces the implementation cost. In addition, this solution can be well applied to various business processes, especially complex business processes. It can meet the needs of agile project management.

[0127] The exemplary embodiments of the present disclosure also provide an electronic device. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as a computer program. The processor executes the method steps of various exemplary embodiments of the present disclosure by executing the executable instructions.

[0128] Reference below Fig. 9 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig. 9 The electronic device 900 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0129] like Fig. 9 As shown, the electronic device 900 may include: a processor 910 , a memory 920 , a bus 930 , an I / O (input / output) interface 940 , and a network adapter 950 .

[0130] The memory 920 may include a volatile memory, such as a RAM 921, a cache unit 922, and may also include a non-volatile memory, such as a ROM 923. The memory 920 may also include one or more program modules 924, such program modules 924 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 924 may include each module in the above-mentioned device.

[0131] The processor 910 may include one or more processing units. For example, the processor 910 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.

[0132] The processor 910 can be used to execute executable instructions stored in the memory 920, such as the above-mentioned business interface orchestration method, which includes the following steps: step S19, receiving first business demand information initiated by the demander; step S120, generating a first business process model according to the first business demand information; step S130, determining the business nodes in the first business process model, and determining the atomic capabilities corresponding to the business nodes from the atomic capability library; step S140, orchestrating the atomic capabilities corresponding to the business nodes to generate a second business process model; step S150, compiling the second business process model into a business process script, and generating a target business interface by encapsulating the business process script.

[0133] The processor 910 executes the above method steps, generates a first business process model and determines the business node according to the first business demand information initiated by the demander, and then calls the corresponding atomic capability and performs orchestration, compilation and packaging to form a target business interface. This realizes the automated orchestration of business interfaces, no longer relying on manually written rules and scripts, solves the problems of cumbersome operation, error-prone, and difficult maintenance, and reduces the implementation cost. In addition, this solution can be well applied to various business processes, especially complex business processes. It can meet the needs of agile project management.

[0134] The bus 930 is used to realize the connection between different components of the electronic device 900, and may include a data bus, an address bus, and a control bus.

[0135] The electronic device 900 can communicate with one or more external devices 1000 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 940 .

[0136] The electronic device 900 can communicate with one or more networks through the network adapter 950. For example, the network adapter 950 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 950 can communicate with other modules of the electronic device 900 through the bus 930.

[0137] although Fig. 9 Not shown, other hardware and / or software modules may also be provided in the electronic device 900, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID system, a tape drive, and a data backup storage system.

[0138] As can be seen from the above, the technical solution of the present disclosure can be implemented as a method, an apparatus, a system, a computer program product, a storage medium, an electronic device, etc. Those skilled in the art can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, such as being respectively referred to as a "circuit", "module" or "system".

[0139] It should be understood that the present disclosure is not limited to the specific method steps or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. Those skilled in the art will easily think of other embodiments based on the specific embodiments provided by the present disclosure. Therefore, the specific embodiments provided by the present disclosure are only exemplary, and the scope and spirit of the present disclosure are indicated by the claims, and any variations, uses or adaptive changes of the present disclosure should be covered, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure.

Claims

1. A service interface arrangement method, characterized in that: The method comprises: Receiving first business demand information initiated by a demander; Generate a first business process model according to the first business requirement information; Determine a service node in the first service process model, and determine an atomic capability corresponding to the service node from an atomic capability library; Orchestrate the atomic capabilities corresponding to the business nodes to generate a second business process model; The second business process model is compiled into a business process script, and a target business interface is generated by encapsulating the business process script.

2. The method according to claim 1, characterized in that Generating a first business process model according to the first business requirement information includes: Determine a target business scenario and / or a target product according to the first business demand information; Based on the target business scenario and / or target product, the first business process model is generated through a business graph.

3. The method according to claim 1, characterized in that The determining of the service node in the first service process model includes: The first business process model is parsed, and the node in the first business process model that needs to return a result is used as the business node.

4. The method according to claim 1, characterized in that: The step of orchestrating the atomic capabilities corresponding to the business nodes to generate a second business process model includes: Calling a visual orchestration component to orchestrate the atomic capabilities corresponding to the business node, generating the second business process model, and visually displaying the second business process model; If an editing instruction for the visual orchestration component and / or the second business process model is received, the second business process model is adjusted according to the editing instruction.

5. The method according to claim 1, characterized in that The generating a target business interface by encapsulating the business process script includes: An interface protocol is extracted from a protocol library, and information of the business process script is written into the interface protocol to encapsulate and form the target business interface.

6. The method according to any one of claims 1 to 5, characterized in that: After generating the target service interface, the method further includes: receiving second business demand information initiated by the demander; the second business demand information is business demand update information or error information related to the target business interface; Regenerate the first business process model according to the second business requirement information; Regenerate the second business process model by orchestrating the atomic capabilities corresponding to the business nodes in the regenerated first business process model; The regenerated second business process model is compiled and packaged to generate an updated target business interface.

7. The method according to any one of claims 1 to 5, characterized in that: After generating the target service interface, the method further includes: generating a verification instance for verifying the target service interface, wherein the verification instance includes expected parameters; Generate a test script according to the verification instance, use the test script to simulate calling the target business interface, and obtain test parameters after calling; The test parameters are compared with the expected parameters. If the comparison is successful, it is confirmed that the target service interface has been verified.

8. A service interface arrangement device, characterized in that: The device comprises: A demand information receiving unit, configured to receive first business demand information initiated by a demander; A first processing unit, configured to generate a first business process model according to the first business requirement information; A second processing unit is configured to determine a service node in the first service process model, and determine an atomic capability corresponding to the service node from an atomic capability library; A third processing unit is configured to orchestrate the atomic capabilities corresponding to the business nodes to generate a second business process model; The fourth processing unit is configured to compile the second business process model into a business process script, and generate a target business interface by encapsulating the business process script.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.

Citation Information

Cited By

  • Functional component arrangement method and device and storage medium

    CN118779457A

  • Browser script-based business process automatic processing system

    CN120447872A