Service providing method, image processing method, computing device, storage medium, and program product

By obtaining input parameters and configuration information, determining atomic capabilities and their calling sequence, and executing functions using chain call methods, solving the complex problem of service provision methods in the existing technology, and achieving the effect of simplifying development and improving efficiency.

CN119002983APending Publication Date: 2024-11-22HANGZHOU ALIBABA INT INTERNET IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410915007.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the prior art, multiple functions need to be written and encapsulated when using computer programs to provide target services, resulting in complex and high cost. Especially when there are many functions that need to be written, it increases labor costs and development complexity.

Method used

By obtaining the input parameters and configuration information of the target service, determining the atomic capabilities involved and their calling order, and executing functions in chain calls, avoiding encapsulation operations and writing and running programs, and directly determining the function and calling order through configuration information.

Benefits of technology

The development and execution process of target services is simplified, development and execution efficiency is improved, labor costs are reduced, and service delivery is improved flexibility and maintainability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002983A_ABST
    Figure CN119002983A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a service providing method, an image processing method, computing equipment, a storage medium and a program product. The method comprises: acquiring an input parameter of a target service; according to the configuration information of the target service, determining at least one function corresponding to at least one atomic power involved in the target service and a calling sequence of the at least one function; providing input data in the input parameters to a first function, and sequentially executing the at least one function according to the calling sequence to obtain an output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function. According to the technical scheme provided by the embodiment of the invention, the development and execution efficiency of the target service is improved.
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 providing method, an image processing method, a computing device, a storage medium, and a program product. Background Art

[0002] When using a computer program to provide a target service, it is usually necessary to write a series of functions corresponding to the atomic capabilities involved in the target service, then encapsulate the function code, and finally write a running program to call the encapsulated function code to implement the target service. When there are many functions to be written, the whole process is more complicated. Summary of the invention

[0003] The embodiments of the present application provide a service providing method, an image processing method, a computing device, a storage medium and a program product to solve the technical problem that the service providing method in the prior art is relatively complicated.

[0004] In a first aspect, an embodiment of the present application provides a service providing method, including:

[0005] Get the input parameters of the target service;

[0006] Determine, according to the configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service and a calling order of the at least one function;

[0007] The input data in the input parameter is provided to the first function, and the at least one function is executed in sequence according to the calling order to obtain an output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function.

[0008] In a second aspect, an embodiment of the present application provides an image processing method, including:

[0009] Get the input parameters of the image processing service;

[0010] Determining, according to the configuration information of the image processing service, at least one function corresponding to at least one atomic capability involved in the image processing service and a calling order of the at least one function;

[0011] Provide at least one image or at least one image download address in the input parameters to the first function, and execute the at least one function in sequence according to the calling order to obtain at least one corresponding image processing result; wherein the return result of the previous function is used as input data of the input parameter of the next function.

[0012] In a third aspect, an embodiment of the present application provides a service providing method, including:

[0013] Acquire input parameters of a target service provided by a first user;

[0014] The input parameter is sent to the server, so that the server provides the input data of the input parameter to the first function of at least one function corresponding to at least one atomic capability involved in the target service, and executes the at least one function in a calling order to obtain an output result; wherein the at least one function and the calling order of the at least one function are determined by the server according to the configuration information; the return result of the previous function is used as the input data of the input parameter of the next function.

[0015] In a fourth aspect, an embodiment of the present application provides a service providing method, including:

[0016] Acquire at least one function corresponding to at least one atomic capability involved in the target service provided by the second user and a calling order of the at least one function;

[0017] The at least one function and the calling order of the at least one function are provided to the server; the at least one function and the calling order of the at least one function are used by the server to create configuration information; the configuration information is used to instruct the server to provide the input data in the input parameters to the first function, and execute the at least one function in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function.

[0018] In a fifth aspect, an embodiment of the present application provides a computing device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the service providing method as described in the first aspect above, or the image processing method as described in the second aspect above, or the service providing method as described in the third aspect above, or the service providing method as described in the fourth aspect above.

[0019] In a sixth aspect, an embodiment of the present application provides a computer storage medium storing a computer program. When the computer program is executed by a computer, it implements the service providing method as described in the first aspect above, or the image processing method as described in the second aspect above, or the service providing method as described in the third aspect above, or the service providing method as described in the fourth aspect above.

[0020] In the seventh aspect, an embodiment of the present application provides a computer program product, including a computer program / instructions, which, when executed by a computer, implements the service providing method as described in the first aspect above, or the image processing method as described in the second aspect above, or the service providing method as described in the third aspect above, or the service providing method as described in the fourth aspect above.

[0021] The embodiment of the present application obtains the input parameters of the target service; determines at least one function corresponding to at least one atomic capability involved in the target service and the calling order of the at least one function according to the configuration information of the target service; provides the input data in the input parameters to the first function, and executes the at least one function in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function. Only the input parameters need to be provided, and the calling order of at least one function to be called and the at least one function can be determined according to the configuration information, and then at least one function can be called to obtain the output result through a chain calling method, so there is no need to perform encapsulation operations or write running programs, that is, the target service can be provided to simplify the development and execution process of the target service and improve the development and execution efficiency.

[0022] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A flowchart of an embodiment of a service providing method provided by the present application is shown;

[0025] Figure 2 A schematic diagram of scene interaction in an actual application of an embodiment of the present application is shown;

[0026] Figure 3 A flowchart showing another embodiment of a service providing method provided by the present application;

[0027] Figure 4 A flowchart showing another embodiment of a service providing method provided by the present application;

[0028] Figure 5 A schematic diagram showing the structure of an embodiment of a service providing device provided by the present application is shown;

[0029] Figure 6 A schematic diagram of the structure of an embodiment of a computing device provided by the present application is shown. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0031] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0032] The technical solution of the embodiment of the present application can be applied to the scenario of providing target services by computer programs. As described in the background technology, when providing target services by computer programs, it is usually necessary to write a series of functions corresponding to the atomic capabilities involved in the target services, and then encapsulate the codes of the functions, and finally write and run the program to call the encapsulated function codes to implement the target services. In the case where there are many functions to be written, the whole process is more complicated. And users are required to master certain programming basics, which increases labor costs.

[0033] In order to solve the technical problem of the relatively complex target service provision method, the inventor found that encapsulating services is to connect atomic capabilities in series, which may involve loop operations and branch operations, etc. Since encapsulating services through code is costly and complex, the inventor proposed the technical solution of this application after a series of studies. In the embodiment of this application, the input parameters of the target service are obtained; according to the configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service and the calling order of the at least one function are determined; the input data in the input parameter is provided to the first function, and the at least one function is executed in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function. Only the input parameters need to be provided, and the at least one function to be called and the calling order of at least one function can be determined according to the configuration information, and then at least one function can be called to obtain the output result through the chain calling method, so that the target service can be provided without the need for encapsulation operation or writing a running program, which can simplify the development and execution process of the target service and improve the development and execution efficiency.

[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0035] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0036] It should be noted that the technical solution of the embodiment of the present application is applicable to a network virtual environment. The users described generally refer to "virtual users". Real users can register a user account in the server through registration to obtain a user identity in the network environment.

[0037] The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.

[0038] Figure 1A flowchart of an embodiment of a service provision method provided by the present application. The technical solution of this embodiment can be executed by the server. Optionally, it can be executed by an engine configured in the server. The engine can be a component that can provide a series of predefined functions and tools to support complex task processing in a specific field. Users or developers can input data or instructions through the front-end interface or API (Application Programming Interface) provided by the engine. After receiving the user input, the engine can perform a series of processing operations to implement the defined functions and output the processing results to the user through the front-end interface or API. The method may include the following steps:

[0039] 101: Get the input parameters of the target service.

[0040] Among them, the input parameters can be provided by the user. The user can provide the input parameters of the target service through the front-end interface or by calling the API, etc. This application does not limit this.

[0041] The front-end interface may be displayed by the user terminal corresponding to the user, and therefore, step 101 may be to obtain input parameters of the target service sent by the user terminal.

[0042] 102: Determine, according to configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service and a calling order of the at least one function.

[0043] Atomic capabilities refer to reusable, composable, and independent functional units that can independently perform specific tasks. Functions can be considered as code blocks that implement atomic capabilities.

[0044] The configuration information can be located in a configuration file, and the configuration file can have multiple formats, such as JSON (JavaScript Object Notation), XML (Extensible Markup Language), YAML (YAML Ain't Markup Language, a lightweight data serialization language), INI (a key-value pair file format) or Properties Files (a key-value pair file format), etc. This application does not limit this.

[0045] The configuration information may include the function name of at least one function corresponding to at least one atomic capability involved in the target service and information related to the calling order of at least one function. The engine can determine the at least one function corresponding to the at least one function name and the calling order of at least one function by parsing the configuration information. For ease of understanding, the following example describes the configuration information in JSON format:

[0046]

[0047] Among them, "op" defines a group of at least one function. download_ossurl_2_file and file_2_base64 are the function names respectively.

[0048] 103: Provide input data in the input parameter to the first function, and execute at least one function in sequence according to the calling order to obtain an output result.

[0049] Among them, the return result of the previous function is used as the input data of the input parameter of the next function.

[0050] The data form of the input parameter of at least one function of at least one atomic capability involved in the target service may be an integer (int), a floating point number (float), a Boolean value (bool), a character (char), a string (string), an array (array), a list (list), a tuple (tuple) or a set (set), etc. The data form of the return result of at least one function may also be an integer (int), a floating point number (float), a Boolean value (bool), a character (char), a string (string), an array (array), a list (list), a tuple (tuple) or a set (set), etc. The data form of the return result of the previous function matches the data form of the input parameter of the next function. For example, when defining any function, the data form of its input parameters and return results may be clarified, or a type checking mechanism may be implemented within the function to ensure that the input parameters conform to the expected data form, etc., to ensure that the data form of the return result of the previous function matches the data form of the input parameter of the next function.

[0051] In this embodiment, the input parameters of the target service are obtained; at least one function corresponding to at least one atomic capability involved in the target service and the calling order of at least one function are determined according to the configuration information of the target service; the input data in the input parameters are provided to the first function, and at least one function is executed in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function. Only the input parameters need to be provided, because the at least one function to be called and the calling order of at least one function can be determined according to the configuration information, and then at least one function can be called to obtain the output result through the chain calling method, so that the target service can be provided without encapsulation operation or writing a running program, which can simplify the development and execution process of the target service and improve the development and execution efficiency.

[0052] Among them, the configuration information can also define parameters required by at least one function. In order to facilitate the acquisition of parameters, in some embodiments, a parameter template can be configured in the configuration information, and the parameter template can be used to obtain input parameters. The method can also include: determining the parameter template in the configuration information; updating the parameter attributes of the parameter template according to the parameter attributes of the input parameters.

[0053] The above-mentioned providing the input data of the input parameters to the first function, and executing at least one function in sequence according to the calling order to obtain the output result may include: obtaining the input data in the input parameters according to the parameter attributes in the parameter template; providing the input data to the first function, and executing at least one function in sequence according to the calling order to obtain the output result.

[0054] The input parameters may be provided in a format agreed with the configuration information. For example, the input parameters in JSON format may be:

[0055]

[0056] Among them, "sd_params" and "init_images" represent parameter attributes. sd_params is the only attribute of the JSON main object, pointing to an object containing initialization parameters. init_images is an attribute in the sd_params object, and its value is an array containing two string elements. The first element is "oss: / / doucai-daily / files / 1.jpg" and the second element is "oss: / / doucai-daily / files / 2.jpg".

[0057] Among them, the input parameters and configuration information can name parameter attributes according to the agreed method.

[0058] The configuration information in JSON format can be:

[0059]

[0060] Among them, "args" provides the parameters required by the function in "op". "{{sd_params.init_images.0}}" is also the parameter template, and init_images.0 means accessing the first element of the init_images array.

[0061] After updating the parameter attributes of the parameter template according to the parameter attributes of the input parameters, the configuration information changes to:

[0062]

[0063] In addition, if the parameter template is "{{sd_params.init_images}}", it means accessing all elements of the init_images array. After updating the parameter attributes of the parameter template according to the parameter attributes of the input parameters, the parameter configuration in the configuration information is changed to: "args":["oss: / / doucai-daily / files / 1.jpg","oss: / / doucai-daily / files / 2.jpg"].

[0064] Among them, the parameter template can manage parameter attribute information in a clear and structured way, making maintenance and updating easier. When the input data needs to be updated, the parameter template can easily modify and update the parameter attributes without modifying the program that uses the input data, making the configuration more flexible and secure.

[0065] In some embodiments, as can be seen from the foregoing description, the input data of the input parameter can be an array. The above-mentioned providing the input data in the input parameter to the first function, and executing at least one function in sequence in the calling order to obtain the output result can include: when the input data is a first array, traversing the multiple element data in the first array in sequence to iteratively perform the following operations: providing the element data to the first function, and executing at least one function in sequence in the calling order; determining a second array assembled and generated by the output data corresponding to the multiple element data, and the second array is used as the output result.

[0066] For example, the input data is the first array ["a", "b"], "a" and "b" are the element data in the first array respectively, the first function can first process "a" and assume that the output data "c" is obtained, and then the first function continues to process "b" and assumes that the output data "d" is obtained. Then the output data of the first function can be the second array ["c", "d"], and the second array is used as the input parameter of the second function to continue executing the second function.

[0067] For example, the first function may use a for loop, a While loop, or an iterator to traverse multiple elements in the first array.

[0068] Of course, if the input data provided to the function is of basic data type, the function does not need to perform iterative operations and can directly process the input data to generate return results.

[0069] In some embodiments, the input data of the input parameter may be a non-array, while the return result of any function may be an array. The above-mentioned providing the input data in the input parameter to the first function, and executing at least one function in sequence in the calling order to obtain the output result includes: determining an operation chain consisting of multiple functions according to the configuration information; providing the input data in the input parameter to the first function in the configuration information, and executing at least one function in sequence in the calling order; for the operation chain, when the input parameter of the operation chain is the first array, traversing the multiple element data in the first array in sequence to perform the following operations: providing the element data to the first function in the operation chain, and executing the multiple functions in the operation chain in sequence in the calling order; determining a third array assembled and generated by the output data corresponding to the multiple element data; and using the third array as the input data of the next function after the operation chain.

[0070] The first function in the operation chain can be the first function in the configuration information, or it can be any function instead of the first function in the configuration information. For example, at least one function defined in the configuration information can be:

[0071] "op":[["download_ossurl_2_file","file_2_base64"],"bas64s-to-flie"]

[0072] Among them, ["download_ossurl_2_file","file_2_base64"] is the operation chain, which includes two functions. "bas64s-to-flie" is the next function after the operation chain.

[0073] Among them, since the input parameters of the functions in the operation chain are all in array form, in some embodiments, the method may also include: when the input parameter of the operation chain is non-array, outputting a first abnormal prompt information.

[0074] For example, since the input parameters of the functions in the operation chain are in array form, it is possible to determine whether the input parameters, such as {sd_params.init_images}, are arrays. If not, an exception prompt message is output; if it is an array, the function "download_ossurl_2_file" can, for example, use a for loop to traverse init_images["oss: / / doucai-daily / files / 1.jpg","oss: / / doucai-daily / files / 2.jpg"], and then assemble the output data corresponding to the two elements "oss: / / doucai-daily / files / 1.jpg","oss: / / doucai-daily / files / 2.jpg", such as "data:image / a1","data:image / a2", to generate ["data:image / a1","data:image / a2"], and then ["data:image / a1","data:image / a2"] as The input data of the second function "file_2_base64" of the operation chain, the function "file_2_base64" traverses ["data:image / a1", "data:image / a2"], and then assembles the output data corresponding to the two elements "data:image / a1", "data:image / a2", such as "data:image / b1", "data:image / b2", to generate ["data:image / b1", "data:image / b2"]. At this time, all the function calls in the operation chain are completed, and ["data:image / b1", "data:image / b2"] is the third array. Then, ["data:image / b1", "data:image / b2"] is used as the input data of the next function "bas64s-to-flie" after the operation chain. For example, the function "bas64s-to-flie" can save the third array ["data:image / b1", "data:image / b2"] in a file. Among them, the function "bas64s-to-flie" operates on the third array as a whole, without traversing the third array. Of course, the next function after the operation chain can be a function that operates on the third array as a whole, or a function that traverses the third array.

[0075] In some embodiments, the above-mentioned determining at least one function corresponding to at least one atomic capability involved in the target service and the calling order of at least one function based on the configuration information of the target service may include: determining at least one function corresponding to at least one atomic capability involved in the target service, the branch logic of at least one function, and the calling order involved in any branch process based on the configuration information of the target service.

[0076] The above-mentioned providing the input data in the input parameters to the first function, and executing at least one function in sequence according to the calling order to obtain the output result may include: providing the input data in the input parameters to the first function, and executing one or more functions according to the branch logic and the calling order to obtain the output result.

[0077] Multiple branch processes can be determined based on the branch logic of at least one function. The branch logic may include the branch condition of the target function to determine whether the return result of the target function satisfies the branch condition. Different next functions may correspond to different determination results. For example, at least one function includes X1, X2, X3, and X4, and the branch logic includes the branch condition of X2. If the return result of X2 meets the branch condition, the next function is X3, otherwise the next function is X4, so that two branch processes can be determined: X1→X2→X3; and X1→X2→X4.

[0078] In some embodiments, the method may further include: searching for at least one corresponding function according to at least one function name defined in the configuration information; and outputting second abnormal prompt information if any function is not found.

[0079] For example, a function name may have a spelling error, resulting in a failure to find a matching function, and the second exception prompt message is output.

[0080] In some embodiments, in order to facilitate the acquisition of output parameters, the configuration information may also set a save instruction. The method may also include: according to the save instruction in the configuration information, assigning the return result of the previous function to the input parameter as input data of the next function.

[0081] The return result of the last function is also used as the output parameter of the target service. Therefore, in some embodiments, the method may further include: assigning the output result to the input parameter to serve as the output parameter of the target service.

[0082] For example, the input parameters are:

[0083]

[0084] The configuration information is:

[0085]

[0086] According to the above description, the parameter template "{{sd_params.init_images}}" means accessing all elements of the init_images array. Among them, the save instruction "save":"sd_params.init_images" can assign the return result of the function "download_ossurl_2_file", such as ["data:image / a1","data:image / a2"] to the input parameter, i.e., the init_images array, from ["oss: / / doucai-daily / files / 1.jpg","oss: / / doucai-daily / files / 2.jpg"] to ["data:image / a1","data:image / a2"] , the next function "file_2_base64" can access the init_images array ["data:image / a1", "data:image / a2"] through the parameter template "{{sd_params.init_images}}", then ["data:image / a1", "data:image / a2"] is used as the input data of the function "file_2_base64", and the return result of the function "file_2_base64", for example ["data:image / b1", "data:image / b2"], can be assigned to the input parameter, i.e. the init_images array. Among them, after all functions are called, the output result of the function "file_2_base64" ["data:image / b1", "data:image / b2"] is also the output parameter of the target service. Since ["data:image / b1", "data:image / b2"] is assigned to the input parameter, the input parameter, i.e. the init_images array, can be used as the output parameter of the target service.

[0087] In some embodiments, obtaining the input parameters of the target service may include: obtaining the input parameters of the target service provided by the first user.

[0088] Accordingly, the method may further include: providing the output parameter to the first user.

[0089] In a practical application, the technical solution of the embodiment of the present application can be applied to a test scenario of at least one atomic capability involved in the target service, and the output parameter is used to evaluate at least one function corresponding to at least one atomic capability involved in the target service to determine whether to adjust the at least one function.

[0090] For example, the first user may evaluate at least one function corresponding to at least one atomic capability involved in the target service according to whether the output parameter meets the expected result.

[0091] In another practical application, the technical solution of the embodiments of the present application can be applied to a service application scenario. In some embodiments, the target service can be any one of multiple services. When the multiple services are executed, a call request for the target service will be triggered. Therefore, obtaining the input parameters of the target service may include: obtaining the input parameters of the target service in response to the call request of the target service.

[0092] The method may further include: returning an output result.

[0093] In some embodiments, returning the output result may include: determining the next to-be-executed service of the target service; and saving the output result to the download address according to the download address of the to-be-executed service configured in the configuration information.

[0094] For example, after the target service is executed by the engine, the next service needs to be executed. Therefore, the output result of executing the target service can be downloaded to the download address of the service to be executed, so that the service to be executed can obtain the output result of the target service from the download address for processing.

[0095] In some embodiments, the configuration information may be pre-configured and generated by the second user, and the second user and the first user may be the same user or different users. The method may also include: creating the configuration information according to at least one function provided by the second user and the calling order of at least one function.

[0096] In some embodiments, for ease of configuration, the engine may also provide a service orchestration interface, and the method may further include: providing multiple nodes corresponding to atomic capabilities in the service orchestration interface; determining at least one atomic capability based on a node selection request; and obtaining at least one function corresponding to at least one atomic capability.

[0097] That is, each node can correspond to an atomic capability, and the second user can select the corresponding node in the service orchestration interface according to the required atomic capability. The service orchestration interface provided by this embodiment is more intuitive, which is convenient for the second user to quickly find the required atomic capability. The second user can flexibly select the corresponding node according to the needs, and the second user does not need to directly change the configuration information, thereby reducing the learning cost and error risk of the second user.

[0098] The technical solution of the embodiment of the present application can be applied to an image processing scenario in a practical application, and the target service can refer to an image processing service. The image processing service may include, for example, an image classification service, an image recognition service, an image generation service, an image retrieval service, etc. The at least one atomic capability involved in the image processing service may include, for example, image acquisition, image preprocessing, image segmentation, feature extraction, image synthesis, image coding, image compression, image compression, image storage, and / or image retrieval, etc., which can be set in combination with different processing types and processing requirements. Taking the image classification service as an example, at least one function corresponding to at least one atomic capability involved in the image classification service may include, for example, an image preprocessing function, a feature extraction function, a prediction function, etc. The image preprocessing function may be used to adjust the image size, etc., the feature extraction function may use a feature extraction model to extract features from the image, and the prediction function may be used to use an image classification model to predict the category to which it belongs based on the extracted features, etc.; for example, at least one function corresponding to at least one atomic capability involved in the image generation service may include, for example, an image acquisition function, an image encoding function, an image generation function, etc. The image acquisition function may, for example, acquire an image, the image encoding function may, for example, encode the acquired image into a feature vector, and the image generation function may, for example, generate a new image based on the feature vector, etc.

[0099] Through the technical solution of the embodiment of the present application, image batch processing operations can be implemented, and the first user can provide multiple images or multiple image download addresses as input parameters. The configuration information can define at least one function corresponding to at least one atomic capability involved in the image processing service and the calling order of at least one function. The second user can also configure or adjust at least one function defined in the configuration information and the calling order of at least one function through the API or interface provided by the engine. In actual applications, the first user and the second user may be the same or different. For example, the second user may be a service provider that provides image processing services to the first user, and the first user may be a customer who uses the image processing service.

[0100] The engine can parse the configuration information, provide the multiple images provided by the first user as input data to at least one function, call at least one function in a calling order, and then the engine can output the image processing result generated by calling at least one function to the user end.

[0101] According to the above description, the technical solution of the embodiment of the present application can be applied to the evaluation scenario, and the output parameter can be used to evaluate at least one function corresponding to at least one atomic capability involved in the target service to determine whether to adjust the at least one function. In the image processing scenario, the output parameter can be, for example, multiple image processing results. The first user can, for example, determine whether to adjust at least one function by evaluating the proportion of the multiple image processing results reaching the expected results, for example, the proportion of reaching the expected results is less than 90%.

[0102] Of course, the technical solution of the embodiment of the present application can also be applied to the actual operating environment to process the image actually provided by the user. Therefore, the embodiment of the present application also provides an image processing method, which may include the following steps:

[0103] Obtain input parameters of an image processing service; determine at least one function corresponding to at least one atomic capability involved in the image processing service and the calling order of the at least one function based on the configuration information of the image processing service; provide at least one image or at least one image download address in the input parameters to a first function, and execute the at least one function in sequence according to the calling order to obtain at least one corresponding image processing result; wherein the return result of the previous function is used as input data of the input parameter of the next function.

[0104] The input parameters of the image processing service can be provided by the user, and the input parameters can include at least one image. In a batch processing scenario, the input parameters can include multiple images. The first function can process at least one image in the input parameters and use the returned result as the input data of the input parameter of the next function until the output result of the last function is obtained. The output result can include the image processing result corresponding to at least one image. For example, when the image processing service is an image classification service, the image processing result can be the image category. When the image processing service is an image generation service, the image processing result can be the generated new target image. When the image processing service is an image recognition service, the image processing result can be, for example, the target object identified from the image.

[0105] Of course, as another implementation, the input parameter may include at least one image download address, so that the first function may be an image acquisition function for acquiring at least one image according to at least one image download address.

[0106] For ease of understanding, Figure 2 A schematic diagram of scene interaction in a practical application of the present application is shown.

[0107] The server 201 may be configured with an engine to provide an interface or API to the first client 202 and the second client 203, so as to facilitate interaction with a first user of the first client 202 and a second user of the second client 203. The first user and the second user may be the same user or different users, and the first client 202 and the second client 203 may be the same client or different clients.

[0108] The second user may provide the service end 201 with the function name and calling sequence of at least one function corresponding to at least one atomic capability involved in the target service through the second user end 203 to create configuration information.

[0109] The first user may provide the input parameters of the target service to the server 201 through the first user terminal 202 . For example, the server 201 may obtain the input parameters through a parameter template in the configuration information.

[0110] The server 201 can parse the configuration information through the configured engine, provide the input data in the input parameter to the first function in the at least one function, and execute the at least one function in sequence according to the calling order to obtain the output result. The return result of the previous function is used as the input data of the input parameter of the next function.

[0111] Among them, the data format of the input parameters provided by the first user terminal 202 can be judged. For example, the input parameters of the function in the operation chain should be in array form. If the data format of the input parameters provided by the first user terminal 202 is not an array, the server 201 can output a first abnormal prompt message to the first user terminal 202.

[0112] If the function name of any one of the at least one function provided by the second user is wrong, resulting in failure to find the corresponding function, the server 201 may output second abnormal prompt information to the second user 203 .

[0113] The server 201 may use the output result of executing at least one function as an output parameter of the target service, and provide the output parameter to the first user 202 .

[0114] In this embodiment, only the second user needs to provide input parameters, and the first user needs to provide at least one function and the calling order of at least one function to create configuration information. The server can determine at least one function to be called and the calling order of at least one function based on the configuration information, and then call at least one function to obtain the output result through a chain calling method. Therefore, there is no need for encapsulation operations or writing running programs, and the target service can be provided, which can simplify the development and execution process of the target service and improve the development and execution efficiency.

[0115] Figure 3This is a flow chart of an embodiment of a service providing method provided by the present application. The technical solution of this embodiment can be executed by a first user terminal. The method may include the following steps:

[0116] 301: Obtain input parameters of a target service provided by a first user.

[0117] 302: Send the input parameter to the server, so that the server provides the input data of the input parameter to the first function of at least one function corresponding to at least one atomic capability involved in the target service, and executes at least one function in the calling order to obtain the output result.

[0118] Among them, at least one function and the calling order of at least one function are determined by the server according to the configuration information; the return result of the previous function is used as input data of the input parameter of the next function.

[0119] In this embodiment, by obtaining the input parameters of the target service provided by the first user, the input parameters are sent to the server, so that the server can provide the input data of the input parameters to the first function of at least one function corresponding to at least one atomic capability involved in the target service, and execute at least one function in the calling order to obtain the output result. Among them, at least one function and the calling order of at least one function are determined by the server according to the configuration information; the return result of the previous function is used as the input data of the input parameter of the next function. Only the first user needs to provide the input parameters, and the server can determine the at least one function to be called and the calling order of at least one function according to the configuration information, and then call at least one function to obtain the output result through a chain call method, so there is no need to perform encapsulation operations or write running programs, that is, the target service can be provided to simplify the development and execution process of the target service and improve the development and execution efficiency.

[0120] In some embodiments, when the input parameter of the target service provided by the first user end to the server end according to the operation chain determined by the configuration information is non-array, the first user end may accept the first abnormal prompt information output by the server end.

[0121] In some embodiments, the first user end may receive an output parameter sent by the service end, and the output parameter may be used by the first user to evaluate at least one function corresponding to at least one atomic capability involved in the target service.

[0122] In the image processing scenario, the target service may refer to the image processing service.

[0123] Figure 4 This is a flow chart of an embodiment of a service providing method provided by the present application. The technical solution of this embodiment can be executed by a second user terminal. The method may include the following steps:

[0124] 401: Obtain at least one function corresponding to at least one atomic capability involved in a target service provided by a second user and a calling order of the at least one function.

[0125] 402: Provide at least one function and a calling order of at least one function to the server.

[0126] Among them, at least one function and the calling order of at least one function are used for the server to create configuration information; the configuration information is used to instruct the server to provide the input data in the input parameters to the first function, and execute at least one function in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function.

[0127] For example, the second user end may provide the function name and calling order of at least one function corresponding to at least one atomic capability involved in the target service to the server end so that the server end can create configuration information.

[0128] In this embodiment, at least one function and the calling order of at least one function corresponding to at least one atomic capability involved in the target service provided by the second user are obtained, and the at least one function and the calling order of at least one function are provided to the server, so that the server can create configuration information; the configuration information is used to instruct the server to provide the input data in the input parameter to the first function, and execute at least one function in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function. The server can determine the at least one function to be called and the calling order of at least one function according to the configuration information, and then provide the input data in the input parameter to the first function, and call at least one function to obtain the output result through the chain calling method, so that there is no need to perform encapsulation operations or write running programs, and the target service can be provided to simplify the development and execution process of the target service and improve the development and execution efficiency.

[0129] In some embodiments, when any function name provided by the second user and obtained by the second user terminal is wrong, resulting in the server terminal being unable to find the corresponding function, the second user terminal can receive second abnormal prompt information output by the server terminal.

[0130] In the image processing scenario, the target service may refer to the image processing service.

[0131] Figure 5 A schematic diagram of a structure of an embodiment of a service providing device provided in an embodiment of the present application, wherein the method device comprises:

[0132] Acquisition module 501, used to acquire input parameters of the target service;

[0133] A determination module 502, configured to determine, according to configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service and a calling order of the at least one function;

[0134] The execution module 503 is used to provide the input data in the input parameter to the first function, and execute at least one function in sequence according to the calling order to obtain an output result.

[0135] Among them, the return result of the previous function is used as the input data of the input parameter of the next function.

[0136] Among them, the configuration information can also define the parameters required by at least one function. In order to facilitate the acquisition of parameters, in some embodiments, a parameter template can be configured in the configuration information, and the parameter template can be used to obtain the input parameters. The device can be used to: determine the parameter template in the configuration information; update the parameter attributes of the parameter template according to the parameter attributes of the input parameters.

[0137] In some embodiments, the execution module provides the input data of the input parameters to the first function, and executes at least one function in sequence in the calling order to obtain the output result, which may include: obtaining the input data in the input parameters according to the parameter attributes in the parameter template; providing the input data to the first function, and executing at least one function in sequence in the calling order to obtain the output result.

[0138] In some embodiments, the execution module provides the input data in the input parameters to the first function, and executes at least one function in sequence in the calling order to obtain the output result, which may include: when the input data is a first array, traversing the multiple element data in the first array in sequence to iteratively perform the following operations: providing the element data to the first function, and executing at least one function in sequence in the calling order; determining a second array assembled and generated by the output data corresponding to the multiple element data, and the second array is used as the output result.

[0139] In some embodiments, the execution module provides the input data in the input parameters to the first function, and executes at least one function in sequence in the calling order to obtain the output result, including: determining an operation chain consisting of multiple functions according to the configuration information; providing the input data in the input parameters to the first function in the configuration information, and executing at least one function in sequence in the calling order; for the operation chain, when the input parameter of the operation chain is the first array, traversing the multiple element data in the first array in sequence to perform the following operations: providing the element data to the first function in the operation chain, and executing the multiple functions in the operation chain in sequence in the calling order; determining a third array assembled and generated by the output data corresponding to the multiple element data; using the third array as the input data of the next function after the operation chain.

[0140] The device may also be used to: output a first abnormal prompt message when the input parameter of the operation chain is not an array.

[0141] In some embodiments, the determination module determines at least one function corresponding to at least one atomic capability involved in the target service and the calling order of at least one function based on the configuration information of the target service, which may include: determining at least one function corresponding to at least one atomic capability involved in the target service, the branch logic of at least one function, and the calling order involved in any branch process based on the configuration information of the target service.

[0142] Accordingly, the execution module provides the input data in the input parameters to the first function, and executes at least one function in sequence according to the calling order to obtain the output result, which may include: providing the input data in the input parameters to the first function, and executing one or more functions in accordance with the branch logic and the calling order to obtain the output result.

[0143] In some embodiments, the method may further include: searching for at least one corresponding function according to at least one function name defined in the configuration information; and outputting second abnormal prompt information if any function is not found.

[0144] In some embodiments, in order to facilitate the acquisition of output parameters, the configuration information may also set a save instruction. The method may also include: according to the save instruction in the configuration information, assigning the return result of the previous function to the input parameter as input data of the next function.

[0145] The return result of the last function is also used as the output parameter of the target service. Therefore, in some embodiments, the method may further include: assigning the output result to the input parameter to serve as the output parameter of the target service.

[0146] In some embodiments, in order to facilitate the acquisition of output parameters, the configuration information can also set a save instruction, and the device can also be used to: assign the return result of the previous function to the input parameter according to the save instruction in the configuration information as input data for the next function.

[0147] The return result of the last function is also used as the output parameter of the target service. Therefore, in some embodiments, the device can also be used to: assign the output result to the input parameter to serve as the output parameter of the target service.

[0148] In some embodiments, the acquiring module acquiring the input parameters of the target service may include: acquiring the input parameters of the target service provided by a user.

[0149] Accordingly, the device can also provide output parameters to the user.

[0150] In some embodiments, the apparatus may also be used to obtain input parameters of a target service, which may include: obtaining the input parameters of the target service in response to a call request of the target service.

[0151] Among them, the device can also return output results.

[0152] In some embodiments, the output result returned by the device may specifically determine the next service to be executed of the target service; and according to the download address of the service to be executed configured in the configuration information, the output result is saved to the download address.

[0153] In some embodiments, the apparatus may also be used to create configuration information according to at least one function provided by a user and a calling order of the at least one function.

[0154] In some embodiments, the device may also be used to: provide multiple nodes corresponding to atomic capabilities in a service orchestration interface; determine at least one atomic capability based on a node selection request; and obtain at least one function corresponding to at least one atomic capability.

[0155] In some embodiments, the target service may be an image processing service.

[0156] The acquisition module may be specifically used to obtain input parameters of the image processing service;

[0157] The determination module may be specifically used to determine at least one function corresponding to at least one atomic capability involved in the image processing service and a calling order of the at least one function according to the configuration information of the image processing service;

[0158] The execution module may be used to provide at least one image or at least one image download address in the input parameters to the first function, and execute at least one function in sequence according to the calling order to obtain an output result.

[0159] Figure 5 The service providing device can execute Figure 1 The implementation principle and technical effect of the service providing method described in the illustrated embodiment will not be described in detail. The specific manner in which each module and unit performs operations in the service providing device in the above embodiment has been described in detail in the embodiment of the method, and will not be described in detail here.

[0160] The present application also provides a computing device, such as Figure 6 As shown, the device may include a storage component 601 and a processing component 602;

[0161] The storage component 601 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component to implement the following Figure 1 The service providing method described in the illustrated embodiment.

[0162] Of course, the computing device may also include other components, such as input / output interfaces, display components, communication components, etc.

[0163] The input / output interface provides an interface between the processing component and the peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices.

[0164] The processing component 602 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0165] The storage component 601 is configured to store various types of data to support operations at the terminal. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0166] The display component may be an electroluminescent (EL) element, a liquid crystal display or a micro display having a similar structure, or a retinal direct display or a similar laser scanning display.

[0167] It should be noted that the above computing device can be a physical device or an elastic computing host provided by a cloud computing platform, etc. It can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device.

[0168] It should be noted that the above computing device implements Figure 1 In the case of the service providing method described in the illustrated embodiment, it can be a physical device or an elastic computing host provided by a cloud computing platform, etc. It can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device.

[0169] The computing device described above implements Figure 3 The service providing method described in the embodiment shown or Figure 4 In the case of the service providing method described in the illustrated embodiment, it can be specifically implemented as an electronic device. The electronic device can refer to a device used by a user and having the computing, Internet access, communication and other functions required by the user, such as a mobile phone, tablet computer, personal computer, wearable device, etc.

[0170] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 1 The service providing method described in the embodiment shown or Figure 3 The service providing method described in the embodiment shown or Figure 4 The service providing method described in the illustrated embodiment. The computer readable medium may be included in the electronic device described in the above embodiment; or it may exist independently without being assembled into the electronic device.

[0171] The present application also provides a computer program product, which includes a computer program carried on a computer-readable storage medium. When the computer program is executed by a computer, the computer program can achieve the above-mentioned Figure 1 Service providing method described in the illustrated embodiment Figure 3 The service providing method described in the embodiment shown or Figure 4 The service providing method described in the illustrated embodiment. In such an embodiment, the computer program can be downloaded and installed from a network, and / or installed from a removable medium. When the computer program is executed by a processor, various functions defined in the system of the present application are executed.

[0172] In the above corresponding embodiments, the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device.

[0173] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0174] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0175] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

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

Claims

1. A service providing method, characterized in that: include: Get the input parameters of the target service; Determine, according to the configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service and a calling order of the at least one function; The input data in the input parameter is provided to the first function, and the at least one function is executed in sequence according to the calling order to obtain an output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function.

2. The method according to claim 1, characterized in that Also includes: Determine a reference template in the configuration information; According to the parameter attributes of the input parameters, the parameter attributes of the reference template are updated; Providing the input data of the input parameter to the first function, and sequentially executing the at least one function in the calling order to obtain the output result comprises: According to the parameter attributes in the parameter acquisition template, the input data in the input parameter is obtained; The input data is provided to a first function, and the at least one function is executed sequentially according to the calling order to obtain an output result.

3. The method according to claim 1, characterized in that Providing the input data in the input parameter to the first function, and executing the at least one function in sequence according to the calling order to obtain the output result includes: In the case where the input data is a first array, traverse the plurality of element data in the first array in sequence to iteratively perform the following operations: provide the element data to a first function, and execute the at least one function in sequence according to the calling order; A second array generated by assembling the output data respectively corresponding to the plurality of element data is determined, and the second array is used as an output result.

4. The method according to claim 1, characterized in that: Providing the input data in the input parameter to the first function, and executing the at least one function in sequence according to the calling order to obtain the output result includes: Determine, according to the configuration information, an operation chain consisting of a plurality of functions; Providing the input data in the input parameter to the first function in the configuration information, and executing the at least one function in sequence according to the calling order; For the operation chain, when the input parameter of the operation chain is a first array, traverse the multiple element data in the first array in sequence to perform the following operations: provide the element data to the first function in the operation chain, and execute the multiple functions in the operation chain in sequence according to the calling order; Determine a third array generated by assembling the output data corresponding to the plurality of element data respectively; The third array is used as input data of the next function after the operation chain.

5. The method according to claim 1, characterized in that The step of determining, according to the configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service and a calling order of the at least one function comprises: Determine, according to the configuration information of the target service, at least one function corresponding to at least one atomic capability involved in the target service, branch logic of the at least one function, and a calling sequence involved in any branch process; Providing the input data in the input parameter to the first function, and executing the at least one function in sequence according to the calling order to obtain the output result includes: The input data in the input parameter is provided to the first function, and one or more functions are executed according to the branch logic and the calling sequence to obtain an output result.

6. The method according to claim 1, characterized in that The input parameters for obtaining the target service include: Acquire input parameters of the target service provided by the first user; The method further comprises: The output parameter is provided to the first user, where the output parameter is used to evaluate at least one function corresponding to at least one atomic capability involved in the target service.

7. The method according to claim 4, characterized in that Also includes: When the input parameter of the operation chain is not an array, a first abnormal prompt message is output.

8. The method according to claim 1, characterized in that Also includes: According to at least one function name defined in the configuration information, searching for at least one corresponding function; If any function is not found, the second exception prompt message is output.

9. The method according to claim 1, characterized in that: The obtaining of the input parameters of the target service comprises: obtaining the input parameters of the target service in response to a call request of the target service; The method further comprises: Returns the output result.

10. The method according to claim 9, characterized in that The returning of the output result comprises: Determine the next service to be executed of the target service; According to the download address of the to-be-executed service configured in the configuration information, the output result is saved to the download address.

11. The method according to claim 1, characterized in that: Also includes: According to the save instruction in the configuration information, the return result of the previous function is assigned to the input parameter to serve as input data for the next function.

12. The method according to claim 1, characterized in that Also includes: The configuration information is created according to at least one function provided by a second user and a calling order of the at least one function.

13. The method according to claim 1, characterized in that Also includes: Provide multiple nodes corresponding to atomic capabilities in the service orchestration interface; Determining at least one atomic capability based on the node selection request; Obtain at least one function corresponding to the at least one atomic capability.

14. An image processing method, characterized in that: include: Get the input parameters of the image processing service; Determining, according to the configuration information of the image processing service, at least one function corresponding to at least one atomic capability involved in the image processing service and a calling order of the at least one function; Provide at least one image or at least one image download address in the input parameters to the first function, and execute the at least one function in sequence according to the calling order to obtain at least one corresponding image processing result; wherein the return result of the previous function is used as input data of the input parameter of the next function.

15. A service providing method, characterized in that: include: Acquire input parameters of a target service provided by a first user; The input parameter is sent to the server, so that the server provides the input data of the input parameter to the first function of at least one function corresponding to at least one atomic capability involved in the target service, and executes the at least one function in a calling order to obtain an output result; wherein the at least one function and the calling order of the at least one function are determined by the server according to the configuration information; the return result of the previous function is used as the input data of the input parameter of the next function.

16. A service providing method, characterized in that: include: Acquire at least one function corresponding to at least one atomic capability involved in the target service provided by the second user and a calling order of the at least one function; Providing the at least one function and the calling order of the at least one function to the server; the at least one function and the calling order of the at least one function are used by the server to create configuration information; The configuration information is used to instruct the server to provide the input data in the input parameters to the first function, and to execute the at least one function in sequence according to the calling order to obtain the output result; wherein the return result of the previous function is used as the input data of the input parameter of the next function.

17. A computing device, characterized in that It comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the service providing method as described in any one of claims 1 to 13, the image processing method as described in claim 14, the service providing method as described in claim 15, or the service providing method as described in claim 16.

18. A computer storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a computer, the service providing method according to any one of claims 1 to 13 or the image processing method according to claim 14 or the service providing method according to claim 15 or the service providing method according to claim 16 is implemented.

19. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a computer, implements the service providing method according to any one of claims 1 to 13, the image processing method according to claim 14, the service providing method according to claim 15, or the service providing method according to claim 16.