Service orchestration method and device, equipment and storage medium

By automatically determining and setting resource parameters of business node resources, the business orchestration complexity and interactive experience problems are solved, and a simple and low-threshold business orchestration process is realized.

CN119311259APending Publication Date: 2025-01-14TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310861803.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

During the business orchestration process, it is difficult for the existing technology to automatically determine and set resource parameters of node resources, resulting in high complexity of business orchestration, large operation thresholds, and poor interaction experience.

Method used

By displaying the orchestration page of node resources, obtaining business orchestration requests, analyzing the indication information to determine resource identification and parameter identification, finding corresponding information and parameters in the resource and parameter set, automatically orchestrating business node resources, displaying orchestration results and adjusting pages, realizing Automatic determination of resource parameters and business orchestration.

Benefits of technology

It effectively reduces the complexity of business orchestration, makes the entire process simpler, has lower operating thresholds, and has higher interactive experiences, realizing intelligent and automated resource parameter management and protocol intuitiveization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311259A_ABST
    Figure CN119311259A_ABST
Patent Text Reader

Abstract

The invention discloses a service orchestration method and device, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying an arrangement page of node resources, wherein the arrangement page of the node resources displays at least one selectable node resource; obtaining a business arrangement request according to the selected node resource in the node resource arrangement page, wherein the arrangement request carries indication information of at least one node resource included in the business; and displaying an arrangement result corresponding to the arrangement request, the arrangement result being obtained by arranging at least one node resource included in the service according to a resource parameter corresponding to each piece of resource information, and the resource parameter being determined according to indication information of the at least one node resource. The resource parameters are automatically determined according to the arrangement request, the complexity of service arrangement is effectively reduced, the service arrangement efficiency is high, and the interactive experience feeling is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a service orchestration method, apparatus, device, and storage medium. Background Art

[0002] In the field of computer technology, the use requirements can be met by arranging services, such as computing requirements or process collaboration requirements. In this case, the service used to meet the computing requirements is a function, and the service used to meet the process collaboration requirements is a workflow. Regardless of the type of service, at least one node resource included in the service needs to be orchestrated during the service orchestration process. Therefore, a service orchestration method is needed to orchestrate at least one node resource included in the service. Summary of the invention

[0003] The embodiments of the present application provide a service orchestration method, apparatus, device and storage medium, which can be used to orchestrate at least one node resource included in a service. The technical solution is as follows:

[0004] On the one hand, an embodiment of the present application provides a service orchestration method, the method comprising:

[0005] Displaying an arrangement page of node resources, wherein the arrangement page of node resources displays at least one optional node resource;

[0006] Acquiring an orchestration request for a service according to a node resource selected in an orchestration page of the node resource, wherein the orchestration request carries indication information of at least one node resource included in the service, and the at least one node resource is determined according to the selected node resource;

[0007] The orchestration result corresponding to the orchestration request is displayed, where the orchestration result is obtained by orchestrating at least one node resource included in the service according to resource parameters corresponding to each resource information, and the resource parameters are determined according to the indication information of the at least one node resource.

[0008] In another aspect, a service arrangement device is provided, the device comprising:

[0009] A display module, configured to display an arrangement page of node resources, wherein the arrangement page of node resources displays at least one optional node resource;

[0010] an acquisition module, configured to acquire an orchestration request of a service according to a node resource selected in an orchestration page of the node resource, wherein the orchestration request carries indication information of at least one node resource included in the service, and the at least one node resource is determined according to the selected node resource;

[0011] The display module is further used to display the orchestration result corresponding to the orchestration request, where the orchestration result is obtained by orchestrating at least one node resource included in the service according to resource parameters corresponding to each resource information, and the resource parameters are determined according to the indication information of the at least one node resource.

[0012] In a possible solid line method, the display module is also used to display a creation page of the business, and the creation page of the business displays at least one component used to create the business; when the component selected in the creation page of the business is used to trigger the orchestration of node resources included in the business, the operation of displaying the orchestration page of the node resources is started.

[0013] In a possible implementation, the device also includes: a determination module, used to determine at least one resource information based on the indication information of the at least one node resource, wherein the at least one resource information is setting information of resources required to be used by the at least one node resource; determine resource parameters corresponding to each resource information in the at least one resource information; and an orchestration module, used to orchestrate at least one node resource included in the business according to the resource parameters corresponding to each resource information, and obtain an orchestration result corresponding to the orchestration request.

[0014] In one possible implementation, the determination module is used to determine at least one resource identifier based on the indication information of the at least one node resource; and based on each resource identifier in the at least one resource identifier, search in a resource set to obtain resource information corresponding to each resource identifier, and the resource set includes multiple resource information.

[0015] In a possible implementation, the determination module is used to parse the indication information of the at least one node resource, and obtain the at least one resource identifier according to the parsing result, and the indication information of the at least one node resource includes the at least one resource identifier.

[0016] In a possible implementation, the determination module is used to determine the parameter identifier corresponding to each piece of resource information based on the each piece of resource information, where the parameter identifier is the identifier of the resource parameter; and to search for the resource parameter corresponding to each piece of resource information in a parameter set based on the parameter identifier corresponding to each piece of resource information, where the parameter set includes multiple resource parameters.

[0017] In a possible implementation, the orchestration module is configured to write resource parameters corresponding to the various resource information into the various resource information; and orchestrate the at least one node resource according to the resource information after the resource parameters are written.

[0018] In a possible implementation, the device also includes: a detection module, which is used to detect the at least one node resource according to the resource parameters corresponding to the various resource information, and obtain the resource detection results of each node resource in the at least one node resource; the display module is also used to display the node status of each node resource according to the resource detection results of each node resource; select the node resource that needs to be adjusted according to the node status of each node resource; display the parameter adjustment page of the node resource that needs to be adjusted, and obtain the resource parameters of the node resource that needs to be adjusted according to the parameter adjustment page; and determine the obtained resource parameters as the resource parameters of the node resource that needs to be adjusted.

[0019] In one possible implementation, the detection module is used to obtain resource information of any node resource based on the resource identifier of any node resource when there is a corresponding resource identifier for any node resource; determine the input parameters of any node resource based on the resource information of any node resource; obtain the matching result of the resource parameters corresponding to each resource information and the input parameters of any node resource, and determine the resource detection result of any node resource based on the matching result.

[0020] In a possible implementation, the detection module is further used to redetect the node resources that need to be adjusted according to the resource parameters of the node resources that need to be adjusted to obtain the resource detection result; the display module is further used to display the node status of the node resources that need to be adjusted according to the resource detection result.

[0021] In a possible implementation, the display module is also used to display an output parameter selection page for the service, the output parameter selection page displays at least one optional output parameter; determine the output parameter selected in the output parameter selection page as the output parameter of the service; and display the output parameter of the service on the output parameter arrangement page.

[0022] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor so that the computer device implements any of the above-mentioned service orchestration methods.

[0023] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor so that a computer implements any of the above-mentioned service orchestration methods.

[0024] On the other hand, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the above-mentioned service orchestration methods.

[0025] The technical solution provided by this application brings at least the following beneficial effects:

[0026] According to the service orchestration request, the resource parameters corresponding to the resource information to be used can be automatically determined, and then at least one node resource included in the service can be automatically orchestrated according to the resource parameters, which effectively reduces the complexity of service orchestration, makes the entire service orchestration process simpler, lowers the operation threshold, and improves the interactive experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0029] Figure 2 is a flow chart of a service orchestration method provided in an embodiment of the present application;

[0030] Figure 3 It is a page schematic diagram provided in an embodiment of the present application;

[0031] Figure 4 This is a schematic diagram of an arrangement page of node resources provided in an embodiment of the present application;

[0032] Figure 5 This is another schematic diagram of an arrangement page of node resources provided in an embodiment of the present application;

[0033] Figure 6 is a schematic diagram of a resource set provided in an embodiment of the present application;

[0034] Figure 7 is a schematic diagram of a parameter set provided in an embodiment of the present application;

[0035] Figure 8 This is another page schematic diagram provided in an embodiment of the present application;

[0036] Fig. 9is a schematic diagram of a context entity object provided by an embodiment of the present application;

[0037] Fig.10 It is a schematic diagram of node resources included in a service provided by an embodiment of the present application;

[0038] Fig.11 This is another page schematic diagram provided in an embodiment of the present application;

[0039] Fig.12 A schematic diagram of another page provided in an embodiment of the present application;

[0040] Fig.13 Another page schematic diagram provided for an embodiment of the present application;

[0041] Fig.14 Another page schematic diagram provided for an embodiment of the present application;

[0042] Fig.15 A schematic diagram of another page provided in an embodiment of the present application;

[0043] Fig.16 Another page schematic diagram provided for an embodiment of the present application;

[0044] Fig.17 Another page schematic diagram provided for an embodiment of the present application;

[0045] Fig.18 A schematic diagram of another page provided in an embodiment of the present application;

[0046] Fig.19 An interactive flow chart of a service arrangement provided in an embodiment of the present application;

[0047] Fig. 20 A schematic diagram of an analysis result provided in an embodiment of the present application;

[0048] Fig.21 A schematic diagram of module interaction provided in an embodiment of the present application;

[0049] Fig. 22 A schematic diagram of a node detection process provided in an embodiment of the present application;

[0050] Fig.23 A schematic diagram of a resource detection result provided in an embodiment of the present application;

[0051] Fig.24 A schematic diagram of the structure of a service arrangement device provided in an embodiment of the present application;

[0052] Fig.25 A schematic diagram of the structure of a server provided in an embodiment of the present application;

[0053] Fig.26 A schematic diagram of the structure of a service orchestration device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0055] This application embodiment provides a service arrangement method, please refer to Figure 1 , which shows a schematic diagram of an implementation environment of the method provided in an embodiment of the present application. The implementation environment may include: a terminal 11 and a server 12.

[0056] Among them, the service orchestration method in the embodiment of the present application can be executed by the terminal 11, or can be jointly executed by the terminal 11 and the server 12. The process of joint execution is, for example, that the terminal 11 displays the orchestration page of the node resources, obtains the orchestration request of the service, the terminal 11 sends the indication information of at least one node resource carried by the orchestration request of the service to the server 12, and the server 12 determines the resource parameters corresponding to the resource information according to the indication information of at least one node resource. Afterwards, the server 12 orchestrates at least one node resource according to the resource parameters corresponding to each resource information. Alternatively, the server 12 sends the resource parameters corresponding to each resource information to the terminal 11, and the terminal 11 orchestrates at least one node resource according to the resource parameters corresponding to each resource information.

[0057] The server 12 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal 11 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal 11 and the server 12 can be directly or indirectly connected via wired or wireless communication, which is not limited in this application and is not limited in the embodiments of this application. The number of terminal devices 11 and servers 12 is not limited and can be one or more.

[0058] Each optional embodiment of the present application can be implemented based on cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network in a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application, which can form a resource pool and be used on demand, flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites, and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately, and all kinds of industry data require strong system backing support, which can only be achieved through cloud computing.

[0059] Cloud computing refers to the delivery and use model of IT (Internet Technology) infrastructure, which means obtaining required resources through the network in an on-demand, easily scalable manner; in a broad sense, cloud computing refers to the delivery and use model of services, which means obtaining required services through the network in an on-demand, easily scalable manner. This service can be IT and software, Internet-related, or other services. Cloud computing is the product of the integration of the development of traditional computer and network technologies such as grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balancing.

[0060] With the development of the Internet, real-time data streams, and the diversification of connected devices, as well as the demand for search services, social networks, mobile commerce, and open collaboration, cloud computing has developed rapidly. Different from the previous parallel distributed computing, the emergence of cloud computing will promote revolutionary changes in the entire Internet model and enterprise management model from a conceptual perspective.

[0061] The embodiment of the present application provides a service arrangement method, which can be applied to the above implementation environment and can arrange at least one node resource included in the service. Taking the method executed by the terminal as an example, Figure 2 As shown, the method includes the following steps.

[0062] In step 201, a node resource arrangement page is displayed, and the node resource arrangement page displays at least one selectable node resource.

[0063] The embodiments of the present application do not limit the types of services that need to be choreographed, which may be functions, processes, services, workflows, etc. The user can operate the terminal to create a service. For example, the user triggers the service creation control provided by the terminal to start creating a service. Among them, triggering the service creation control may be a click trigger, for example, the terminal displays the initial page including the service creation control, and the user triggers it by clicking. Optionally, triggering the service creation control may also be a voice trigger, for example, inputting "start creating a service" through the voice input control provided by the terminal, whereupon the terminal confirms that the user has triggered the service creation control to start creating a service. In the case of voice-triggered service creation controls, the terminal may display the initial page including the service creation controls, or may display other pages that do not include the service creation controls. For example, when the terminal is in standby mode, the other pages displayed are black pages.

[0064] In one possible implementation, in the process of creating a new business, the terminal will display the creation page of the business, and the creation page of the business will display at least one component for creating the business; when the component selected in the creation page of the business is used to trigger the orchestration of node resources included in the business, the operation of displaying the orchestration page of the node resources is started.

[0065] Business creation page example Figure 3 As shown in the left figure, Figure 3 In the example, the business includes a start component, an end component and an empty node component. The start component is used to set the input parameters of the business, the end component is used to set the output parameters of the business, and the empty node component is used to arrange the node resources included in the business. The node resources are used to execute the business steps included in the business. Taking the game account creation process as an example, the business steps included in the game account creation process are obtaining the game nickname, generating the game account id (Identity Document) and binding the game nickname with the game account id. The game account creation process includes node resources A, node resources B and node resources C. The game nickname can be obtained by calling node resource A, the game account id can be generated by calling node resource B, and the game nickname can be bound to the game account id by calling node resource C.

[0066] The above is an example of node resources and services. Next, the node resource setting process is described. Users can start setting the node resources included in the service by triggering the empty node component. The trigger can be a click trigger, a voice trigger, or other trigger methods. Figure 3Also shown is a component property page including a start component, an empty node component, and an end component. The component property page is used to display basic information of the corresponding component, such as the English name of the component, component classification, and input and output. For a detailed description of the component property page, please refer to the following embodiment.

[0067] Based on the triggering of the empty node component, the terminal obtains display information of at least one optional node resource, and displays the node resource arrangement page according to the display information, and the arrangement page includes the optional node resource. The display information of a node resource includes the component name, component description, number of uses, author who developed the node resource, and version of the node resource. Figure 4 A schematic diagram of a node resource arrangement page provided in an embodiment of the present application, see Figure 4 , the terminal displays the display information of the node resource on the arrangement page, and the user selects any node resource from the multiple node resources displayed on the terminal according to the displayed information. After selecting any node resource, the display area of ​​any node resource will display the following Figure 4 The details control and usage control shown. The details control is used to obtain the display information of any node resource, and the usage control is used to determine any node resource, such as Figure 4 The lottery template in the creation check is the selected node resource.

[0068] The node resource arrangement page displayed on the terminal can include all optional node resources, or can be displayed according to the classification of node resources. For example Figure 4 The node resource arrangement page in also includes controls such as intent search and all categories. Users can trigger intent search and enter search terms. The terminal selects node resources for display based on the search terms. The search terms can refer to the usage requirements that the arranged business needs to meet, for example, the search terms are lottery model settings, etc. Optionally, users can also trigger all category controls, first select the type of node resource, and then select the node resource to be set from at least one node resource of the type.

[0069] Optionally, selecting the node resource may be selecting the node resource to be added as in the above example, or may be selecting the node resource to be deleted. Figure 5 Another node resource arrangement page provided in an embodiment of the present application, the optional node resources displayed in the node resource arrangement page include three node resources: lottery template creation verification, generation of model id (IdentityDocument, identity identification number) and model limit information delivery. The user selects the model limit information delivery from the three node resources as the node resource that needs to be deleted.

[0070] In step 202, an orchestration request for a service is obtained according to a node resource selected in a node resource orchestration page, the orchestration request carries indication information of at least one node resource included in the service, and the at least one node resource is determined according to the selected node resource.

[0071] Regardless of the interaction process based on which the user and the terminal complete the selection of node resources, the terminal will receive the orchestration request of the service and set at least one node resource included in the service according to the orchestration request. Optionally, the orchestration request received by the terminal includes a detection request and indication information of at least one node resource, and the detection request indicates to detect the node resources included in the service, which is used to trigger the operation of obtaining resource information of the node resources. The indication information is used to identify at least one node resource included in the service, including a resource identifier of at least one node resource included in the service.

[0072] Among them, at least one node resource included in the business is determined according to the selected node resource, and the business is continued. Figure 5 Taking the service including the lottery template creation verification, model id generation and model limit information delivery as an example, since the selected node resource is the model limit information delivery that needs to be deleted, the at least one node resource included in the service is the node resource after the model limit information delivery is deleted, and the node resources included are the lottery template creation verification and model id generation. Therefore, the indication information of at least one node resource carried by the orchestration request is the indication information of the lottery template creation verification and model id generation.

[0073] In the case where any node resource has resource parameters that have been determined, the indication information also includes the resource parameters of any node resource. For example, a business includes node resource A and node resource B, node resource A and node resource B have been set up, and the resource parameters of node resource A and node resource B have also been successfully determined during the setting process, and the user requests to add node resource C to the business, so the indication information received includes the resource parameters of node resource A and node resource B on the basis of the resource identifiers of node resource A, node resource B and node resource C. The indication information is, for example, DSL (Domain Specific Language, a domain-specific description language for orchestration), and the protocol type of the indication information can be JSON (JavaScript Object Notation, a lightweight text protocol for data exchange) or other protocols.

[0074] In step 203, an orchestration result corresponding to the orchestration request is displayed, where the orchestration result is obtained by orchestrating at least one node resource included in the service according to resource parameters corresponding to each resource information, where the resource parameters are determined according to indication information of at least one node resource.

[0075] After the terminal receives the orchestration request of the service, it starts to trigger the setting and detection process of the resource node based on the detection request in the orchestration request of the service to realize the orchestration of the node resources. Optionally, the process of orchestrating the node resources includes: determining at least one resource information according to the indication information of at least one node resource, and the at least one resource information is the setting information of the resource to be used by at least one node resource; determining the resource parameters corresponding to each resource information in the at least one resource information, and orchestrating at least one node resource included in the service according to the resource parameters corresponding to each resource information, and obtaining the orchestration result corresponding to the orchestration request.

[0076] Exemplarily, the terminal determines at least one resource information of the service according to the indication information of at least one resource information carried by the orchestration request, so as to set the node resources from the overall dimension of the service. In a possible implementation, the process of determining at least one resource information includes: determining at least one resource identifier according to the indication information of at least one resource information; according to each resource identifier in the at least one resource identifier, searching in a resource set to obtain the resource information corresponding to each resource identifier, and the resource set includes multiple resource information.

[0077] Optionally, the process of obtaining a resource identifier includes: extracting indication information included in the orchestration request of the service, parsing the indication information, and obtaining at least one resource identifier according to the parsing result. Taking the indication information as DSL as an example, the parsing process includes deserializing the JSON text protocol of DSL into a FlowDSL entity object, and determining the FlowDSL entity object as the parsing result. Afterwards, the terminal collects the resource identifiers used in the node array States included in the FlowDSL entity object to obtain at least one resource identifier. Among them, the resource identifier can be a resource ID (Identity Document), a resource name, or other data that can identify different resources.

[0078] In one possible case, the terminal is configured with a resource collection for unified management of multiple resource information. The resource collection provides basic management functions such as adding, deleting, modifying and searching resource information. Commonly used resource information is pre-built into the resource collection, such as resource information of HTTP (Hyper Text Transfer Protocol) calls and RPC (Remote Procedure Call). Commonly used resource information refers to resource information whose usage frequency or number of times is higher than a first threshold set based on experience.

[0079] Figure 6 A schematic diagram of a resource set provided in an embodiment of the present application, Figure 6In the example, t_resource (resource text) indicates a resource collection. When storing multiple resource information, t_resource will limit the format of the resource information. Taking resource_id_bigint(20) as an example, the structure of the resource information stored in the resource collection is explained. resource_id is the name of the resource information, bigint(20) is the format of the resource information, the resource information belongs to a class of integer, and the maximum display width is 20. The structural description of other resource information is similar to that of resource_id_bigint(20), and will not be repeated here. By storing multiple resource information in a resource collection, unified management of the type and protocol of resource information is achieved, thereby providing the resource information required for business orchestration and node resource selection.

[0080] After obtaining at least one resource identifier, the terminal can search for each resource identifier in the resource set. In one possible case, the terminal includes a resource management module for managing the resource set. The terminal calls the resource pull interface of the resource management module and transmits at least one resource identifier to the pulled resource interface. Afterwards, the resource management module queries the resource information corresponding to each resource identifier from the configured resource set according to each received resource identifier, and returns the resource information to the terminal, so that the terminal obtains the resource information.

[0081] After obtaining the resource information, the terminal can start to determine the resource parameters corresponding to the resource information. For example, the terminal determines the parameter identifier corresponding to each resource information according to the resource information; and searches the parameter set according to the parameter identifier corresponding to each resource information to obtain the resource parameter corresponding to each resource information. The parameter set includes multiple resource parameters.

[0082] In one possible case, the resource information of the node resource includes a parameter identifier, which indicates the resource parameter that needs to be configured to set the node resource. The terminal collects the parameter identifier included in the resource information by reading the resource information of at least one node resource. In addition, since the indication information of the node resource may include the parameter identifier that needs to be used, such as the indication information of the node resource A and the node resource B that have been set in step 202. Therefore, the terminal can also obtain multiple parameter identifiers based on the parameter identifier included in the parsing result of the collected indication information. Among them, the parameter identifier can be a parameter id, a parameter name, or other information that can be used to identify the parameter.

[0083] After obtaining the parameter identifier, the terminal can search for the parameter identifier in the parameter set, and obtain the resource parameters corresponding to each parameter identifier as the resource parameters corresponding to each resource information. Optionally, the terminal is configured with a parameter set to provide basic management functions such as adding, deleting, modifying and searching resource parameters. Commonly used resource parameters are pre-built into the parameter set in a built-in manner, such as the activity merchant number mp_app_id, the activity identification number mp_activity_id and other resource parameters. Commonly used resource parameters refer to resource parameters whose usage times or usage frequency is greater than a second threshold value set based on experience.

[0084] Figure 7 A schematic diagram of a parameter set provided in an embodiment of the present application, Figure 7 The t_dict (dictionary text) in the parameter set is another name for the parameter set. When storing multiple resource parameters, the parameter set will limit the name and type of the resource parameters to achieve unified management of resource parameters. Figure 7 Taking field_id bigint(20) in the parameter set as an example, the resource parameters stored in the parameter set are explained. Among them, field_id (region ID) is the name of the resource parameter, bigint(20) is the format of the resource parameter, field_id bigint(20) belongs to a type of integer, and the maximum display width is 20. The structural description of other resource parameters in the parameter set is similar to the structural description of field_id bigint(20), and will not be repeated here. By storing multiple resource parameters in a parameter set, the parameter set can be used to determine the resource parameters required in the business orchestration process. The determination process is simple and efficient.

[0085] In a possible implementation, the terminal includes a parameter management module for determining resource parameters according to parameter identifiers. The terminal calls the parameter management module's parameter pull interface, inputs the collected parameter identifiers to the pull parameter interface, and the parameter management module searches in the parameter set according to the received parameter identifiers, obtains resource parameters corresponding to each parameter identifier, and outputs the resource parameters obtained by the search. The terminal thereby obtains resource parameters corresponding to each resource information. Among them, the resource parameters corresponding to the resource information include the input parameters and output parameters of the node resource corresponding to the resource information. The resource information of a node resource may correspond to at least one resource parameter.

[0086] By setting input parameters and output parameters, the parameters that each node resource needs to obtain and the processing results of the parameters are clarified. Because the multiple node resources included in the business have a constraint relationship in the process of processing parameters. For example, the output parameter of node resource A is the input parameter of node resource B, and the output parameter of node resource B is the input parameter of node resource C. Therefore, after adding or deleting at least one node resource included in the business, the resource information of the node resources included in the entire business will be obtained, and the resource parameters of the entire business will be re-set to ensure that there is no conflict in the constraint relationship between the various node resources, thereby achieving smooth operation of the business.

[0087] In addition, in addition to obtaining resource information and resource parameters according to steps 201 to 203, the terminal can also obtain resource information and resource parameters of node resources input by the user based on the interaction with the user. For example, the terminal provides a resource input control for receiving resource information and resource parameters of node resources imported by the user.

[0088] After determining the resource parameters corresponding to each resource information, the terminal can set at least one node resource according to the resource parameters to achieve the orchestration of the service. Optionally, the process of setting at least one node resource according to the resource parameters includes: writing the resource parameters corresponding to each resource information into each resource information; and orchestrating at least one node resource according to the resource information after writing the resource parameters to obtain an orchestration result. The writing process is, for example, that the terminal serializes the resource parameters into a string and saves it in the corresponding resource information.

[0089] Create a component based on the node resource as the lottery model. The resource parameters include input parameters and output parameters. The resource information includes Figure 6 Taking the resource_inputs_text and resource_outputs_text shown in as an example, the terminal serializes the input parameters into strings and saves them in the resource_inputs_text of the lottery model creation component, and serializes the output parameters into strings and saves them in the resource_outputs_text of the lottery model creation component. Afterwards, the terminal creates a lottery model creation component based on the resource_inputs_text and resource_outputs_text in which the input parameters and output parameters are written. The page diagram of the basic properties of the created lottery model creation component is as follows: Figure 8 As shown, it includes the resource ID, resource English name, input parameters, output parameters and the author who created the component.

[0090] In one possible case, after setting at least one node resource included in the service, the terminal will also detect at least one node resource according to the resource parameters corresponding to each resource information, and obtain the resource detection results of each node resource in the at least one node resource; display the node status of each node resource according to the resource detection results of each node resource; select the node resource that needs to be adjusted according to the node status of each node resource; display the parameter adjustment page of the node resource that needs to be adjusted, and obtain the resource parameters of the node resource that needs to be adjusted according to the parameter adjustment page; and determine the obtained resource parameters as the resource parameters of the node resource that needs to be adjusted.

[0091] Taking the indication information in step 203 as DSL, and the parsing result obtained by parsing DSL as a FlowDSL entity object as an example, the terminal loops through each node resource in the node list states of the FlowDSL entity object, and detects each node resource to obtain the resource detection result of each node resource. Since the process of determining the resource detection result of each node resource is similar, the detection process is described below by taking the resource detection result of any node resource as an example. Optionally, the terminal determines whether there is a resource identifier for any node resource. If not, it determines that the resource detection result is a detection failure, and returns a stateresult (state result) entity indicating the detection failure. If it exists, the node detection continues.

[0092] In one possible case, there may be a node resource without a corresponding resource identifier among at least one node resource included in the service. For example, node resource C is an empty node without resource information configured, so there is no corresponding resource identifier for node resource C. The terminal thus determines that the resource detection result of node resource C is a detection failure, and returns a stateresult (state result) entity indicating the detection failure.

[0093] Optionally, when there is a corresponding resource identifier for any node resource, the terminal obtains the resource information of any node resource based on the resource identifier of any node resource; determines the input parameters of any node resource based on the resource information of any node resource; obtains the matching results of the resource parameters corresponding to each resource information and the input parameters of any node resource, and determines the resource detection result of any node resource based on the matching results.

[0094] Exemplarily, the terminal may call a resource set and obtain resource information according to a resource identifier. If the acquisition fails, the resource detection result is determined to be a detection failure, and a stateresult entity indicating the detection failure is returned. If the acquisition is successful, a parameter set is called to determine the input parameters of any node resource according to the parameter identifier in the resource information. Among them, the process of obtaining resource information is similar to the process of obtaining resource information according to the resource identifier in step 203, and the process of obtaining resource parameters is similar to the process of obtaining resource parameters according to the parameter identifier in step 203. For detailed description, please refer to the relevant embodiments, which will not be repeated here.

[0095] After obtaining the input parameters of any node resource, the terminal will determine the matching results of the input parameters of any node resource and the resource parameters corresponding to each resource information. In one possible implementation, the terminal creates a context entity object for the business, and the context entity object is used to run at least one node resource included in the business. The context entity object is, for example, a CVAR (a context entity object) with a hash structure. The terminal can directly construct and generate a CVAR through a programming language, such as new (a function for dynamically allocating memory) in the GO language (a compiled language). In addition, the context entity object can also be in other data formats.

[0096] For example Fig. 9 As shown, after creating CVAR, the terminal writes the input parameters of the service into the hash structure included in CVAR, and simulates the service operation through CVAR. The input parameters of the service are obtained according to the resource parameters of each node resource. After that, the terminal determines the matching result between the context parameters generated during the service operation process included in the context entity object and the input parameters of any node resource. For example Fig. 9 As shown, the matching result of the input parameters of any node resource included in the CVAR and the TDict is determined. In addition, the context parameters in the matching process of different node resources may be different, for example, the context parameters change according to the simulation running process of the CVAR during the detection process.

[0097] Optionally, the terminal searches for input parameters of any node resource in the context entity object, and if the search is successful, the matching result is determined to indicate a successful match, and the resource detection result of any node resource is a successful detection. Otherwise, the matching result is determined to indicate a failed match, and the resource detection result of any node resource is a failed detection.

[0098] Since the resource parameters corresponding to each resource information are resource parameters determined by the terminal from the overall dimension of the business, the input parameters included in the resource parameters meet the constraints between each node resource. The input parameters of any node resource are the input parameters required to set any node resource determined by the terminal from the node dimension, and the input parameters meet the operation requirements of any node resource. By matching the input parameters in the resource parameters of each node resource with the input parameters of any node resource, when the matching result indicates a successful match, it means that the input parameters will not cause a conflict between any node resource and other node resources included in the business while meeting the operation requirements of any node resource. The terminal thus determines that the resource detection result of any node resource is a successful detection.

[0099] The terminal detects the input parameters of the node resources by traversing each node resource. If the resource detection result of any node resource is a successful detection, the terminal determines that any node resource is set successfully. If the resource detection result of any node resource is a failed detection, the terminal determines that any node resource is set unsuccessfully.

[0100] Optionally, when the resource detection result of any node resource is a detection failure, the terminal marks the node resource as a first color indicating failure, and the first color may be red to display the node status indicating failure. Fig.10 As shown in the figure, since the resource detection result of the node resource named lottery template creation verification is a detection failure, the terminal will mark the outer frame of the lottery template creation verification in red. If the resource detection result of any node resource is a detection success, the terminal will not mark the node resource with a color to display the node status indicating success.

[0101] After the node status of each node resource is displayed, the user selects the node resource that needs to be adjusted from the node resources marked with the first color. For example, the outer frame of the user's verification based on the lottery template is red, and the lottery template is selected to create a verification as a node resource that needs to be adjusted. Exemplarily, the user triggers the node control corresponding to the node resource that needs to be adjusted, and the terminal displays the parameter adjustment page of the node resource, which displays the matching results of each input parameter of the node resource that needs to be adjusted.

[0102] For example, terminal click Fig.10 The lottery template creation verification in the display parameter adjustment page is as follows Fig.11 As shown, since the matching results of each of the four input parameters of the lottery template creation verification component are all matching failures, the status identification of the four input parameters is Fig.10 The error mark “×” is shown. The error mark can be the same initial color as other characters, such as black, or can be the first color used to indicate failure, such as red.

[0103] Fig.11 The input parameters and output parameters shown in the figure include two types: actual parameters and formal parameters. Among them, the full name of formal parameters is formal parameters, which are not actual variables and can be called virtual variables in some cases. Formal parameters are parameters used in the process of defining node resources, and their purpose is to receive parameters passed in when calling the node resources. Actual parameters are short for actual parameters, and actual parameters can be constants, variables, expressions or functions, etc. Among them, the resource parameters obtained in the above embodiments are formal parameters.

[0104] The status identifiers of various resource parameters are displayed on the parameter adjustment page, and the user determines the resource parameters that need to be adjusted based on the status identifiers of various resource parameters. The terminal obtains the resource parameters of the node resources that need to be adjusted based on the user's operations on the parameter adjustment page, and replaces the resource parameters that need to be adjusted with the obtained resource parameters.

[0105] because Fig.10 The first node resource included in the business is the lottery template creation verification. The input parameters of this business are also the input parameters of the lottery template creation verification. Therefore, the user can click Fig.10 The start component shown in the figure resets the input parameters of the lottery template creation verification. Based on the triggering of the start component, the terminal displays the parameter selection page as follows Fig.12 As shown in the figure, the user clicks the Add Field control to start setting input parameters. After the Add Field control is triggered, the terminal displays the page as follows Fig.13 As shown, a pop-up window will pop up for the user to select resource parameters in the parameter set as input parameters of the node resource.

[0106] In one possible case, the terminal can choose to display all resource parameters in the parameter set on the add parameter page, or can choose to collapse the resource parameters and provide Fig.13 The user searches for resource parameters according to the search box, and the terminal obtains the resource parameters of the node resources that need to be adjusted.

[0107] After selecting the input parameters of any node resource, the user can click the OK button to add the selected input parameters to determine the acquired input parameters as the input parameters of the node resource that needs to be adjusted. Fig.14 As shown, the adjusted input parameters will be displayed. The user can view and adjust the input parameters of the node resources multiple times during the process of setting the node resources.

[0108] After adjusting the input parameters included in the resource parameters of the node resources, the terminal re-detects the node resources that need to be adjusted according to the resource parameters of the node resources that need to be adjusted, and obtains the resource detection result; and displays the node status of the node resources that need to be adjusted according to the resource detection result. The process of re-detecting the node resources that need to be adjusted is similar to the process of detecting any node resource in the above embodiment, and can refer to the relevant description, which will not be repeated here.

[0109] In a possible implementation, when the resource detection result indicates that the detection is successful, the terminal cancels the marking of the first color during the process of displaying the node status of the node resource, for example Fig.10 The edge of the lottery template creation check in the is no longer displayed in red, and the user can determine that the node resource detection is successful. In this case, click Fig.10 Create a validation control in the lottery template in the example above. The parameter adjustment page is as follows: Fig.15 As shown, the parameter adjustment page includes the input parameters of the node resource. Since the input parameter verification of the node resource is successful, the status mark of the input parameter is a success mark. Fig.15 In the present invention, "√" is used as a success mark. In some cases, the color of the success mark is a second color different from the failure mark, such as green.

[0110] Optionally, the above is a process for detecting node resources when the input parameters are resource parameters included in the parameter set. In one possible implementation, the input parameters may also not use the resource parameters included in the parameter set, such as the resource parameters and resource information of the user input node resources illustrated in step 203. In this case, the terminal may carry a prompt message in the resource detection result that the input parameter does not belong to the parameter set, and display a drop-down selection box in the actual parameter column in the interactive page according to the prompt information in the resource detection result, so that the user can manually select the input parameter to which the formal parameter corresponding to the actual parameter needs to be mapped.

[0111] Alternatively, the resource management module also includes a resource registration function. In the process of registering the resource information of the node resource, a mapping relationship can be established between the input parameters and output parameters of the registered node resource and the parameter set. After the node resource is detected, verification is performed based on the mapping relationship.

[0112] Regardless of the method used to complete the detection of node resources, for node resources with successful detection results, the terminal will write the output parameters of the node resources into the context entity object. When the resource detection result of each node resource in at least one node resource included in the business is successful, the terminal determines whether the context entity object contains the output parameters of each node resource included in the business; if the context entity object includes the output parameters of each node resource, the context entity object is used to call each node resource. By writing the output parameters of each node resource into the context entity object, the node resource can be smoothly called, thereby ensuring the smooth operation of the business.

[0113] In one possible case, the terminal can also detect the node resource through the output parameter. The detection principle is similar to the detection principle of the input parameter, which will not be repeated here. Alternatively, the terminal detects the node resource according to the input parameter and the output parameter. When the matching result of any resource parameter is a matching failure, the resource detection result of the node resource is determined to be a detection failure.

[0114] therefore, Fig.11 and Fig.15 In the example, the output parameter of the node resource is a success mark, which means that the matching result of the output parameter is a successful match, or the output parameter is not detected, and the status mark defaults to a success mark. For example, due to a change in the input parameter of the node resource, the output parameter of the node resource may also change. Therefore, when the matching result of the input parameter of the node resource is a failed match and the input parameter needs to be adjusted, the terminal suspends the detection of the output parameter and defaults the status mark of the output parameter to a success mark. This avoids the need to adjust the output parameter after detecting the output parameter and re-detect the adjusted output parameter, resulting in low detection efficiency and high cost.

[0115] The above is a process of detecting the node resources included in the service. In a possible implementation, the terminal will also set the output parameters of the entire service after detecting the node resources. Exemplarily, the terminal may determine the output parameters of the last node resource included in the service as the output parameters of the service. Alternatively, the terminal displays an output parameter selection page for the service, and the output parameter selection page displays at least one optional output parameter; determines the output parameter selected in the output parameter selection page as the output parameter of the service; and displays the output parameters of the service on the output parameter arrangement page.

[0116] For example, when a user triggers the end component, the output parameter arrangement page displayed on the terminal is as follows: Fig.16As shown, the user can select the output parameters of the service by triggering the add field control in the output parameter arrangement page. Optionally, based on the triggering of the add field control, the terminal obtains the context parameters of the service, uses the context parameters as optional output parameters, and displays the context parameters in the output parameter selection page. The output parameter selection page is, for example, Fig.17 The user can select output parameters from the displayed context parameters, and after selecting the output parameters, click the confirmation control. The terminal determines the selected output parameters as the output parameters of the business based on the triggering of the confirmation control. After that, the output parameter arrangement page displayed on the terminal is as follows: Fig.18 As shown, the output parameters of the service are displayed in the output parameter arrangement page, and the service arrangement is completed.

[0117] The embodiments of the present application are intended to illustrate the process of terminal orchestration services, rather than to limit the orchestration process. The nouns in the above embodiments may differ according to different usage scenarios. For example, node resources may be referred to as nodes, resource information may be referred to as resources, and resource detection results may be referred to as node detection results. In addition, in the process of displaying pages, the terminal in the embodiments of the present application may display one page or multiple pages at the same time. For example, when displaying the following Fig.11 During the process of adjusting the parameters shown in the page, the following will be displayed on the left: Fig.10 Business process diagram shown.

[0118] To sum up, the business orchestration method provided in the embodiment of the present application can automatically determine the resource information to be used according to the orchestration request, and then further determine the resource parameters of the resource information, thereby realizing automatic determination of the resource parameters, effectively reducing the complexity of business orchestration, making the entire business orchestration process simpler, with a lower operating threshold and a high interactive experience.

[0119] Through the interactive operation between the terminal and the user, the input parameters and output parameters are determined intelligently and automatically, without the need for the user to manually assemble and select parameters according to the protocol format, and the resource parameters used in the business orchestration process are uniformly managed. The protocol part of the business orchestration process is more intuitive and visual, making the business orchestration smoother. It does not limit the type of protocol involved in the business orchestration process, has high flexibility, and is applicable to a wider range of scenarios, and is suitable for high-concurrency, immediacy, and high-performance backend service scenarios.

[0120] The above describes the method of the embodiment of the present application from the perspective of method steps. Fig.19 To further describe. Fig.19The interactive diagram of a service orchestration provided in the embodiment of the present application is divided into a front end, an orchestration engine, a resource management and a dictionary management. Among them, the front end, the orchestration engine, the resource management and the dictionary management can be the four modules included in the terminal in the above embodiment, or they can be four modules configured on different devices. The process of the four modules interacting to orchestrate the service is similar to Figure 2 The process of arranging services by the terminal in the embodiment shown is similar. Fig.19 It is only used to introduce the interaction between the front end, orchestration engine, resource management and dictionary management. For a detailed description, see Figure 2 The embodiment shown.

[0121] In step 1901, the front end creates an orchestration process.

[0122] Exemplarily, the front end is used to display pages for interacting with users. Taking the orchestrated business process as an example, the front end creates an orchestration process based on the interaction with the user.

[0123] In step 1902, the front end adds / removes the input and output parameter dictionary fields of the process.

[0124] Exemplarily, the input and output parameter dictionary fields of the add / remove process correspond to the settings of the start component and the end component in the above embodiment. For detailed description, see the above Figure 2 The description of creating a business in step 201 of the embodiment shown is not repeated here. In addition, the embodiment of the present application does not limit the execution times and execution order of setting the input and output parameter dictionary fields of the process, and can be set multiple times during the process of arranging the process.

[0125] In step 1903, after completing the input and output parameter dictionary fields of the add / remove process, the front end adds / deletes the node resources included in the process.

[0126] Optionally, the front end returns DSL, that is, the orchestration request of the service, to the orchestration engine, and the orchestration engine starts intelligent detection of the process according to the DSL to set the node resources included in the process. The setting process includes steps 1904 to 1909.

[0127] In step 1904, the orchestration engine parses the DSL to obtain the FlowDSL.

[0128] For example, the process of parsing DSL by the orchestration engine is the same as above. Figure 2 The process of parsing the indication information in step 203 of the illustrated embodiment is similar, and reference may be made to the relevant description, which will not be repeated here.

[0129] In step 1905, the orchestration engine collects the resource ID set used by DSL according to FlowDSL.

[0130] Fig. 20A schematic diagram of a FlowDSL provided in an embodiment of the present application, the orchestration engine can collect resource IDs according to the FlowDSL to obtain State(I), that is, a resource ID set, and State(I) includes the resource ID of at least one node resource.

[0131] In step 1906, the orchestration engine pulls resources according to the resource ID set.

[0132] Optionally, the orchestration engine calls the resource management service provided by the resource management, pulls the resource interface of the resource management, sends the resource id set, and the resource management can query the resource library according to the resource id set and respond to the resource set. The resource management corresponds to the resource management module in the above embodiment, and the resource library corresponds to the resource collection in the above embodiment. Fig.21 As shown, the resource library has built-in commonly used resources in advance, and the built-in commonly used resources are also the commonly used resource information in the above embodiments.

[0133] In step 1907, the orchestration engine collects the field ID sets used by the DSL and resources.

[0134] Exemplarily, the field ID set includes at least one field ID corresponding to resource information. The process of collecting the field ID set is the same as above. Figure 2 The process of collecting parameter identifiers in step 203 of the illustrated embodiment is similar, and reference may be made to the relevant description, which will not be repeated here.

[0135] In step 1908, the orchestration engine pulls fields according to the field id set.

[0136] Exemplarily, the orchestration engine calls the dictionary management service of the dictionary management, pulls the field interface, inputs the field id set to the field interface, and the dictionary management module queries the dictionary library according to the field id set and responds to the field set. Among them, the dictionary management corresponds to the parameter management module in the above embodiment, such as Fig.21 As shown, the dictionary management includes a dictionary library, which has commonly used fields built in advance. The dictionary library corresponds to the parameter set in the above embodiment, and the commonly used fields correspond to the commonly used resource parameters in the above embodiment.

[0137] like Fig.21 As shown, in the process of setting node resources, the orchestration engine uses dictionary fields for resource input and output parameters, dictionary fields for process input and output parameters, and dictionary fields for orchestration resource input and output parameters.

[0138] In step 1909, the orchestration engine triggers the intelligent detection mapping mechanism through the field set, detects the node resources, and obtains the resource detection results.

[0139] For example, Fig.21 Process orchestration Fig.19 The orchestration engine in Fig.21 It can be seen that the orchestration engine has built-in intelligent detection and mapping algorithms to detect the node resources included in the process. Fig. 22 A node resource detection flow chart provided in an embodiment of the present application. Fig. 22 ,The orchestration engine generates the current process context CVAR and writes the process input parameter fields into the CVAR.,For example, the dictionary fields in the input array of the FlowDSL entity are written into the CVAR.,Then the orchestration engine loops through the DSL entity node list and performs node detection on each node.

[0140] The process of node detection for each node is as follows: Fig. 22 As shown, it includes: judging whether the node has a resource ID, if not, determining that the resource detection result is a detection failure, and if it exists, obtaining resource information according to the resource ID. When the resource information fails to be obtained, the resource detection result is determined to be a detection failure. When the resource information is successfully obtained, the input parameter field of the resource information is obtained, and it is determined whether the input parameter field is included in the CVAR. If it is not included, the resource detection result is determined to be a detection failure. If it is included, the output parameter field of the node is written into the CVAR, and the resource detection result is determined to be a detection success. The node detection ends and the resource detection result is returned. Among them, the input parameter field corresponds to the input parameter in the above embodiment, the output parameter field corresponds to the output parameter in the above embodiment, and the node corresponds to the node resource in the above embodiment.

[0141] The front-end engine obtains the resource detection results of each node resource by looping, writes the resource detection results into DSLCheckResult, and determines whether CVAR contains all process output fields when the resource detection results of each node indicate that the detection is successful. Write the judgment result into DSLCheckResult, and output Fig.23 The DSLCheckResult shown.

[0142] In step 1910, the front end determines whether the detection is correct based on the resource detection result.

[0143] For example, the front end may be Fig.23 As shown, the StateResult is obtained according to the DSLCheckResult, and the StateError is determined according to the StateResult to determine whether the detection is correct according to the StateError. Fig.23If the StateError contains fields, the detection is incorrect, and steps 1902 to 1910 are repeated to adjust the input and output parameter dictionary fields. If the StateError does not contain fields, the detection is correct, and the front end performs the operation of step 1911.

[0144] In step 1911, when the resource detection result indicates that the detection is correct, the front end determines whether the process orchestration is completed.

[0145] Optionally, the front end may determine that the process orchestration is not finished according to the interactive operation with the user, if the user continues to request to add / delete node resources, then perform the operation of step 1903 to step 1911 to continue to add / delete node resources. Otherwise, it is determined that the process orchestration is finished and the operation ends.

[0146] See also Fig.24 , an embodiment of the present application provides a service arrangement device, the device comprising:

[0147] Display module 2401, used to display an arrangement page of node resources, where the arrangement page of node resources displays at least one optional node resource;

[0148] The acquisition module 2402 is used to acquire an orchestration request of a service according to the node resource selected in the node resource orchestration page, where the orchestration request carries indication information of at least one node resource included in the service, and the at least one node resource is determined according to the selected node resource;

[0149] The display module 2401 is also used to display the orchestration result corresponding to the orchestration request, which is obtained by orchestrating at least one node resource included in the business according to the resource parameters corresponding to each resource information, and the resource parameters are determined according to the indication information of the at least one node resource.

[0150] In one possible implementation, the display module 2401 is also used to display a creation page for a business, where the creation page for the business displays at least one component for creating the business; when the component selected in the creation page for the business is used to trigger the orchestration of node resources included in the business, an operation of displaying the orchestration page for the node resources is started.

[0151] In a possible implementation, the device also includes: a determination module, used to determine at least one resource information based on indication information of at least one node resource, the at least one resource information being setting information of a resource that the at least one node resource needs to use; determining resource parameters corresponding to each resource information in the at least one resource information; and an orchestration module, used to orchestrate at least one node resource included in the service according to the resource parameters corresponding to each resource information, and obtain an orchestration result corresponding to the orchestration request.

[0152] In a possible implementation, a determination module is used to determine at least one resource identifier based on indication information of at least one node resource; and based on each resource identifier in the at least one resource identifier, search in a resource set to obtain resource information corresponding to each resource identifier, and the resource set includes multiple resource information.

[0153] In a possible implementation, the determination module is used to parse the indication information of at least one node resource and obtain at least one resource identifier according to the parsing result, and the indication information of at least one node resource includes at least one resource identifier.

[0154] In a possible implementation, a determination module is used to determine a parameter identifier corresponding to each resource information based on each resource information, where the parameter identifier is an identifier of a resource parameter; and to search a parameter set for a resource parameter corresponding to each resource information based on the parameter identifier corresponding to each resource information, where the parameter set includes multiple resource parameters.

[0155] In a possible implementation, the orchestration module is used to write resource parameters corresponding to each piece of resource information into each piece of resource information; and orchestrate at least one node resource according to the resource information after the resource parameters are written.

[0156] In a possible implementation, the device also includes: a detection module, which is used to detect at least one node resource according to the resource parameters corresponding to each resource information, and obtain the resource detection results of each node resource in the at least one node resource; a display module 2401, which is also used to display the node status of each node resource according to the resource detection results of each node resource; select the node resource that needs to be adjusted according to the node status of each node resource; display the parameter adjustment page of the node resource that needs to be adjusted, and obtain the resource parameters of the node resource that needs to be adjusted according to the parameter adjustment page; determine the obtained resource parameters as the resource parameters of the node resource that needs to be adjusted.

[0157] In one possible implementation, the detection module is used to obtain resource information of any node resource based on the resource identifier of any node resource when there is a corresponding resource identifier for any node resource; determine the input parameters of any node resource based on the resource information of any node resource; obtain the matching result of the resource parameters corresponding to each resource information and the input parameters of any node resource, and determine the resource detection result of any node resource based on the matching result.

[0158] In a possible implementation, the detection module is also used to re-detect the node resources that need to be adjusted according to the resource parameters of the node resources that need to be adjusted to obtain the resource detection results; the display module 2401 is also used to display the node status of the node resources that need to be adjusted according to the resource detection results.

[0159] In a possible implementation, the display module 2401 is also used to display an output parameter selection page for the business, where the output parameter selection page displays at least one optional output parameter; the output parameter selected in the output parameter selection page is determined as the output parameter of the business; and the output parameter of the business is displayed on the output parameter arrangement page.

[0160] The above-mentioned device can automatically determine the resource parameters corresponding to the resource information to be used according to the orchestration request, and then automatically orchestrate at least one node resource included in the service according to the resource parameters, effectively reducing the complexity of service orchestration, making the entire service orchestration process simpler, with a lower operating threshold and a high interactive experience.

[0161] It should be understood that the above Fig.24 When the device provided realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0162] Fig.25 It is a structural diagram of a server provided in an embodiment of the present application. The server may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Unit, CPU) 2501 and one or more memories 2502, wherein the one or more memories 2502 store at least one computer program, and the at least one computer program is loaded and executed by the one or more processors 2501, so that the server implements the business orchestration method provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0163] Fig.26 1 is a schematic diagram of a service orchestration device provided in an embodiment of the present application. The device may be a terminal, such as a smart phone, a tablet computer, a player, a laptop computer, or a desktop computer. The terminal may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.

[0164] Typically, the terminal includes: a processor 2601 and a memory 2602 .

[0165] The processor 2601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0166] The memory 2602 may include one or more computer-readable storage media, which may be non-transitory. The memory 2602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2602 is used to store at least one instruction, which is used to be executed by the processor 2601 so that the terminal implements the service orchestration method provided in the method embodiment of the present application.

[0167] In some embodiments, the terminal may also optionally include: a peripheral device interface 2603 and at least one peripheral device. The processor 2601, the memory 2602 and the peripheral device interface 2603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2603 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2604, a display screen 2605, a camera assembly 2606, an audio circuit 2607 and a power supply 2608.

[0168] The peripheral device interface 2603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2601 and the memory 2602. In some embodiments, the processor 2601, the memory 2602, and the peripheral device interface 2603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2601, the memory 2602, and the peripheral device interface 2603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0169] The radio frequency circuit 2604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 2604 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0170] The display screen 2605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2605 is a touch display screen, the display screen 2605 also has the ability to collect touch signals on the surface or above the surface of the display screen 2605. The touch signal can be input to the processor 2601 as a control signal for processing. At this time, the display screen 2605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 2605 can be one, which is set on the front panel of the terminal; in other embodiments, the display screen 2605 can be at least two, which are respectively set on different surfaces of the terminal or are folded; in other embodiments, the display screen 2605 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal. Even, the display screen 2605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 2605 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0171] The camera assembly 2606 is used to capture images or videos. Optionally, the camera assembly 2606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2606 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0172] The audio circuit 2607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 2601 for processing, or input them into the RF circuit 2604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 2601 or the RF circuit 2604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2607 may also include a headphone jack.

[0173] The power supply 2608 is used to power various components in the terminal. The power supply 2608 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2608 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0174] In some embodiments, the terminal further includes one or more sensors 2609 , including but not limited to: an acceleration sensor 2610 , a gyroscope sensor 2611 , a pressure sensor 2612 , an optical sensor 2613 , and a proximity sensor 2614 .

[0175] The acceleration sensor 2610 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal. For example, the acceleration sensor 2610 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 2601 can control the display screen 2605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 2610. The acceleration sensor 2610 can also be used for collecting game or user motion data.

[0176] The gyro sensor 2611 can detect the body direction and rotation angle of the terminal, and the gyro sensor 2611 can cooperate with the acceleration sensor 2610 to collect the user's 3D actions on the terminal. The processor 2601 can implement the following functions based on the data collected by the gyro sensor 2611: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0177] The pressure sensor 2612 may be provided at the side frame of the terminal and / or the lower layer of the display screen 2605. When the pressure sensor 2612 is provided at the side frame of the terminal, it may detect the user's holding signal of the terminal, and the processor 2601 may perform left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 2612. When the pressure sensor 2612 is provided at the lower layer of the display screen 2605, the processor 2601 may control the operability control on the UI interface according to the user's pressure operation on the display screen 2605. The operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0178] The optical sensor 2613 is used to collect the ambient light intensity. In one embodiment, the processor 2601 can control the display brightness of the display screen 2605 according to the ambient light intensity collected by the optical sensor 2613. Specifically, when the ambient light intensity is high, the display brightness of the display screen 2605 is increased; when the ambient light intensity is low, the display brightness of the display screen 2605 is reduced. In another embodiment, the processor 2601 can also dynamically adjust the shooting parameters of the camera assembly 2606 according to the ambient light intensity collected by the optical sensor 2613.

[0179] The proximity sensor 2614, also known as a distance sensor, is usually arranged on the front panel of the terminal. The proximity sensor 2614 is used to collect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 2614 detects that the distance between the user and the front of the terminal is gradually decreasing, the processor 2601 controls the display screen 2605 to switch from the screen-on state to the screen-off state; when the proximity sensor 2614 detects that the distance between the user and the front of the terminal is gradually increasing, the processor 2601 controls the display screen 2605 to switch from the screen-off state to the screen-on state.

[0180] Those skilled in the art will understand that Fig.26 The structure shown in the figure does not constitute a limitation on the service orchestration device, and may include more or less components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0181] In an exemplary embodiment, a computer device is also provided, the computer device comprising a processor and a memory, wherein at least one computer program is stored in the memory. The at least one computer program is loaded and executed by one or more processors, so that the computer device implements any of the above-mentioned service orchestration methods.

[0182] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-mentioned service orchestration methods.

[0183] In one possible implementation, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0184] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the above-mentioned service orchestration methods.

[0185] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the orchestration requests for the services involved in this application are all obtained with full authorization.

[0186] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0187] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A service arrangement method, characterized in that: The method comprises: Displaying an arrangement page of node resources, wherein the arrangement page of node resources displays at least one optional node resource; Acquiring an orchestration request for a service according to a node resource selected in an orchestration page of the node resource, wherein the orchestration request carries indication information of at least one node resource included in the service, and the at least one node resource is determined according to the selected node resource; The orchestration result corresponding to the orchestration request is displayed, where the orchestration result is obtained by orchestrating at least one node resource included in the service according to resource parameters corresponding to each resource information, and the resource parameters are determined according to the indication information of the at least one node resource.

2. The method according to claim 1, characterized in that Before displaying the arrangement page of node resources, the following is also included: Displaying a creation page for the service, wherein the creation page for the service displays at least one component for creating the service; In the case where the component selected in the creation page of the service is used to trigger the arrangement of the node resources included in the service, an operation of displaying the arrangement page of the node resources is started.

3. The method according to claim 1, characterized in that: Before displaying the arrangement result corresponding to the arrangement request, the method further includes: Determine at least one piece of resource information according to the indication information of the at least one node resource, where the at least one piece of resource information is setting information of a resource that the at least one node resource needs to use; Determine resource parameters corresponding to each piece of resource information in the at least one piece of resource information, and orchestrate at least one node resource included in the service according to the resource parameters corresponding to each piece of resource information to obtain an orchestration result corresponding to the orchestration request.

4. The method according to claim 3, characterized in that The determining at least one piece of resource information according to the indication information of the at least one node resource comprises: Determining at least one resource identifier according to the indication information of the at least one node resource; According to each resource identifier in the at least one resource identifier, resource information corresponding to each resource identifier is searched in a resource set, and the resource set includes a plurality of resource information.

5. The method according to claim 4, characterized in that The determining at least one resource identifier according to the indication information of the at least one node resource comprises: Parse the indication information of the at least one node resource, and acquire the at least one resource identifier according to the parsing result, wherein the indication information of the at least one node resource includes the at least one resource identifier.

6. The method according to any one of claims 3 to 5, characterized in that: The determining of resource parameters corresponding to each piece of resource information in the at least one piece of resource information includes: Determine, according to each piece of resource information, a parameter identifier corresponding to each piece of resource information, wherein the parameter identifier is an identifier of a resource parameter; The resource parameters corresponding to the various resource information are searched in a parameter set according to the parameter identifiers corresponding to the various resource information, and the parameter set includes a plurality of resource parameters.

7. The method according to any one of claims 3 to 5, characterized in that: The arranging at least one node resource included in the service according to the resource parameters corresponding to the respective resource information includes: Writing resource parameters corresponding to each piece of resource information into each piece of resource information; Arrange the at least one node resource according to the resource information after the resource parameters are written.

8. The method according to any one of claims 1 to 5, characterized in that: After displaying the arrangement result corresponding to the arrangement request, the method further includes: Detecting the at least one node resource according to the resource parameters corresponding to the respective resource information, and obtaining a resource detection result of each node resource in the at least one node resource; Displaying the node status of each node resource according to the resource detection result of each node resource; Selecting a node resource that needs to be adjusted according to the node status of each node resource; Displaying a parameter adjustment page of the node resource that needs to be adjusted, and acquiring resource parameters of the node resource that needs to be adjusted according to the parameter adjustment page; The acquired resource parameters are determined as the resource parameters of the node resources that need to be adjusted.

9. The method according to claim 8, characterized in that The detecting the at least one node resource according to the resource parameters corresponding to the respective resource information to obtain the resource detection result of each node resource in the at least one node resource includes: In the case where a corresponding resource identifier exists for any node resource, obtaining resource information of the any node resource according to the resource identifier of the any node resource; Determining input parameters of any node resource according to resource information of any node resource; A matching result between the resource parameters corresponding to each resource information and the input parameters of any node resource is obtained, and a resource detection result of any node resource is determined according to the matching result.

10. The method according to claim 8, characterized in that After determining the acquired resource parameters as the resource parameters of the node resources that need to be adjusted, the method further includes: Redetecting the node resources that need to be adjusted according to the resource parameters of the node resources that need to be adjusted to obtain a resource detection result; The node status of the node resource that needs to be adjusted is displayed according to the resource detection result.

11. The method according to any one of claims 1 to 5, characterized in that: After displaying the arrangement result corresponding to the arrangement request, the method further includes: Displaying an output parameter selection page for the service, wherein the output parameter selection page displays at least one optional output parameter; Determining the output parameter selected in the output parameter selection page as the output parameter of the service; The output parameters of the service are displayed on the output parameter arrangement page.

12. A service arrangement device, characterized in that: The device comprises: A display module, configured to display an arrangement page of node resources, wherein the arrangement page of node resources displays at least one optional node resource; an acquisition module, configured to acquire an orchestration request of a service according to a node resource selected in an orchestration page of the node resource, wherein the orchestration request carries indication information of at least one node resource included in the service, and the at least one node resource is determined according to the selected node resource; The display module is further used to display the orchestration result corresponding to the orchestration request, where the orchestration result is obtained by orchestrating at least one node resource included in the service according to resource parameters corresponding to each resource information, and the resource parameters are determined according to the indication information of the at least one node resource.

13. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor, so that the computer device implements the service orchestration method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer implements the service orchestration method according to any one of claims 1 to 11.