WO2023115738A1 - Service interface configuration method and device combining rpa and ai - Google Patents
Service interface configuration method and device combining rpa and ai Download PDFInfo
- Publication number
- WO2023115738A1 WO2023115738A1 PCT/CN2022/083161 CN2022083161W WO2023115738A1 WO 2023115738 A1 WO2023115738 A1 WO 2023115738A1 CN 2022083161 W CN2022083161 W CN 2022083161W WO 2023115738 A1 WO2023115738 A1 WO 2023115738A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sub
- service interface
- service
- configuration information
- relationship
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- This application relates to the technical fields of Robotic Process Automation (RPA) and Artificial Intelligence (AI), in particular to a configuration method, device, device and medium for a service interface combining RPA and AI.
- RPA Robotic Process Automation
- AI Artificial Intelligence
- Robotic Process Automation uses specific "robot software” to simulate human operations on computers and automatically execute process tasks according to rules.
- AI Artificial Intelligence
- RPA and AI technologies have the advantages of high degree of automation, high precision, and low cost, and have been widely used.
- the present application aims to solve one of the technical problems in the above-mentioned technologies at least to a certain extent.
- the first purpose of this application is to propose a method for configuring service interfaces combining RPA and AI, which can automatically configure AI service interfaces based on the association relationship between sub-AI service requirements, and is suitable for multi-category AI services
- the application scenario of the required AI service interface has good scalability, which improves the development efficiency of the AI service interface.
- the second purpose of this application is to propose a method for invoking a service interface combining RPA and AI.
- the third purpose of the present application is to propose a device for configuring a service interface combining RPA and AI.
- the fourth purpose of the present application is to propose a device for invoking a service interface combining RPA and AI.
- the fifth object of the present application is to provide an electronic device.
- the sixth object of the present application is to provide a computer-readable storage medium.
- the embodiment of the first aspect of the present application proposes a method for configuring a service interface combining RPA and AI, including: the RPA system obtains the AI service requirements of the AI service interface to be configured; The AI service requirements are split to generate multiple sub-AI service requirements of a single category; the RPA system identifies the association relationship between the sub-AI service requirements, wherein the association relationship includes a parallel relationship and a series relationship. At least one: the RPA system configures the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship.
- the AI service requirements of the AI service interface to be configured can be split to generate multiple sub-AI service requirements of a single category, and the AI service requirements can be realized. Automatically split and identify the association relationship between sub-AI service requirements, and configure the AI service interface based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- configuring the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship includes: obtaining the sub-AI by the RPA system The first configuration information of the service interface; the RPA system generates the second configuration information of the AI service interface based on the first configuration information of each sub-AI service interface and the association relationship; the RPA system Configure the AI service interface based on the second configuration information.
- the second configuration information of the AI service interface is generated based on the first configuration information of each sub-AI service interface and the association relationship, including: the RPA The system recognizes that the association relationship is the first sub-AI service interface of the parallel relationship; the RPA system obtains multiple fields of the AI service interface; the RPA system constructs the first sub-AI service interface of the first sub-AI service interface. A mapping relationship between configuration information and the fields, generating the second configuration information based on the mapping relationship.
- the second configuration information of the AI service interface is generated based on the first configuration information of each sub-AI service interface and the association relationship, including: the RPA The system recognizes that the association relationship is the second sub-AI service interface of a series relationship; the RPA system sorts the sub-AI service requirements corresponding to the second sub-AI service interface according to the call time from early to late, and generates the The first ordering of the sub-AI service requirements corresponding to the second sub-AI service interface; the RPA system generates the first ordering of the sub-AI service requirements corresponding to the second sub-AI service interface. The second sorting of the first configuration information of the second sub-AI service interface; the RPA system splices the first configuration information of the second sub-AI service interface according to the second sorting to generate the the second configuration information.
- the second configuration information of the AI service interface is generated based on the first configuration information of each sub-AI service interface and the association relationship, including: the RPA The system identifies that the association relationship includes a third sub-AI service interface with a parallel relationship and a serial relationship; for the third sub-AI service interface whose association relationship is a parallel relationship, the RPA system acquires multiple fields of the AI service interface The RPA system constructs the mapping relationship between the first configuration information of the third sub-AI service interface and the field, and generates the first candidate configuration information based on the mapping relationship; for those whose association relationship is a serial relationship For the third sub-AI service interface, the RPA system sorts the sub-AI service requirements corresponding to the third sub-AI service interface according to the call time from early to late, and generates the third sub-AI service interface corresponding The first ranking of the sub-AI service requirements; the RPA system generates the third sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the third sub-AI service interface The
- the configuration information includes a Schema file and a Resolver based on the GraphQL query language.
- the splitting the AI service requirements to generate multiple sub-AI service requirements of a single category includes: the RPA system identifies the AI service requirements involved in the AI service requirements based on natural language processing (NLP) multiple single categories; for any identified single category, the RPA system extracts the sub-AI service requirements of any single category from the AI service requirements.
- NLP natural language processing
- the sub-AI service requirements include at least one of NLP, optical character recognition (OCR), speech synthesis, speech recognition, and image annotation.
- the embodiment of the second aspect of the present application proposes a method for invoking a service interface combining RPA and AI, including: obtaining a GraphQL query language for invoking the AI service interface; converting the GraphQL query language, Acquiring a Resolver of the AI service interface; calling the AI service interface based on the resolver.
- the GraphQL query language can be converted to obtain the resolver Resolver of the AI service interface, based on the resolver , call the AI service interface.
- the AI service interface can be automatically converted into a front-end operation interface based on the GraphQL query language, so as to realize the connection between the AI service interface and the low-code platform, and improve the development efficiency of the AI service interface.
- the embodiment of the third aspect of the present application proposes a configuration device for a service interface combining RPA and AI, including: an acquisition module for acquiring the AI service requirements of the AI service interface to be configured; a split module, It is used to split the AI service requirements to generate multiple sub-AI service requirements of a single category; the identification module is used to identify the association relationship between the sub-AI service requirements, wherein the association relationship includes parallel relationship and At least one of the serial relationships; a configuration module configured to configure the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship.
- the configuration device of the service interface combining RPA and AI in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize automatic AI service requirements Split and identify the relationship between the sub-AI service requirements, and configure the AI service interface based on the sub-AI service interface and the relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- the configuration module is further configured to: obtain the first configuration information of the sub-AI service interface; based on the first configuration information and the Association relationship, generating second configuration information of the AI service interface; configuring the AI service interface based on the second configuration information.
- the configuration module is further configured to: identify that the association relationship is a first sub-AI service interface of a parallel relationship; obtain multiple fields of the AI service interface; construct the first sub-AI service interface; The second configuration information is generated based on the mapping relationship between the first configuration information of the sub-AI service interface and the fields.
- the configuration module is further configured to: identify the second sub-AI service interface in which the association relationship is a series relationship; configure the sub-AI service interface corresponding to the second sub-AI service interface The requirements are sorted from early to late according to the calling time, and the first sorting of the sub-AI service requirements corresponding to the second sub-AI service interface is generated; based on the sub-AI service requirements corresponding to the second sub-AI service interface the first sorting of the first sub-AI service interface to generate a second sorting of the first configuration information of the second sub-AI service interface; and the first configuration information of the second sub-AI service interface according to the second sorting Splicing is performed to generate the second configuration information.
- the configuration module is further configured to: identify the third sub-AI service interface whose association relationship includes a parallel relationship and a serial relationship; A service interface, acquiring multiple fields of the AI service interface; constructing a mapping relationship between the first configuration information of the third sub-AI service interface and the fields, and generating a first candidate configuration based on the mapping relationship Information; for the third sub-AI service interface whose association relationship is a series relationship, sort the sub-AI service requirements corresponding to the third sub-AI service interface according to the call time from early to late, and generate the third sub-AI service interface.
- a first ranking of the sub-AI service requirements corresponding to the sub-AI service interface generating the third sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the third sub-AI service interface the second sorting of the first configuration information; splicing the first configuration information of the third sub-AI service interface according to the second sorting to generate second candidate configuration information; wherein, the second The configuration information includes the first candidate configuration information and the second candidate configuration information.
- the configuration information includes a Schema file and a Resolver based on the GraphQL query language.
- the splitting module is further configured to: identify multiple single categories involved in the AI service requirements based on natural language processing NLP; for any identified single category, from the The sub-AI service requirements of any single category are extracted from the AI service requirements.
- the sub-AI service requirements include at least one of NLP, optical character recognition (OCR), speech synthesis, speech recognition, and image annotation.
- the embodiment of the fourth aspect of the present application proposes a service interface calling device combining RPA and AI, including: an acquisition module for acquiring the GraphQL query language used to call the AI service interface; a conversion module for using Converting the GraphQL query language to obtain a Resolver of the AI service interface; a calling module, configured to call the AI service interface based on the resolver.
- the configuration device of the service interface combining RPA and AI in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize automatic AI service requirements Split and identify the relationship between the sub-AI service requirements, and configure the AI service interface based on the sub-AI service interface and the relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- the embodiment of the fifth aspect of the present application proposes an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the configuration of the service interface combining RPA and AI as described in the embodiment of the first aspect of the present application method, or execute the calling method of the service interface combining RPA and AI as described in the embodiment of the second aspect of the present application.
- the electronic device in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured through the processor to execute the instructions stored in the memory, so as to generate multiple sub-AI service requirements of a single category, and realize the AI service.
- the requirements are automatically split, and the association relationship between the sub-AI service requirements is identified, and the AI service interface is configured based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- the embodiment of the sixth aspect of the present application proposes a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the combined RPA as described in the embodiment of the first aspect of the application is realized.
- the computer-readable storage medium of the embodiment of the present application can split the AI service requirements of the AI service interface to be configured by storing the computer program and executing it by the processor, so as to generate multiple sub-AI service requirements of a single category, which can realize Automatically split AI service requirements, identify the relationship between sub-AI service requirements, and configure AI service interfaces based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- FIG. 1 is a schematic flowchart of a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
- FIG. 2 is a schematic flowchart of configuring an AI service interface in a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
- FIG. 3 is a schematic flowchart of generating second configuration information of an AI service interface in a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
- FIG. 4 is a schematic flowchart of generating second configuration information of an AI service interface in a method for configuring a service interface combining RPA and AI according to another embodiment of the present application.
- FIG. 5 is a schematic flowchart of generating second configuration information of an AI service interface in a method for configuring a service interface combining RPA and AI according to another embodiment of the present application.
- FIG. 6 is a schematic flowchart of a method for invoking a service interface combining RPA and AI according to an embodiment of the present application.
- Fig. 7 is a block diagram of an AI service system according to an embodiment of the present application.
- FIG. 8 is a block diagram of an AI service system in the related art.
- FIG. 9 is a block diagram of an apparatus for configuring a service interface combining RPA and AI according to an embodiment of the present application.
- Fig. 10 is a block diagram of a device for invoking a service interface combining RPA and AI according to an embodiment of the present application.
- FIG. 11 is a block diagram of an electronic device according to an embodiment of the present application.
- AI service interface refers to the AI service interface to be configured.
- AI service requirements refers to the AI service requirements and/or AI capabilities corresponding to the AI service interface to be configured, and there are multiple corresponding service categories.
- AI service requirements include but are not limited to natural language Processing (Natural Language Processing, NLP), Optical Character Recognition (Optical Character Recognition, OCR), speech synthesis, speech recognition, image annotation, etc.
- sub-AI service requirements refers to the sub-AI service requirements after the AI service requirements are split, and there is one corresponding service category.
- sub-AI service interface refers to the sub-AI service interface corresponding to the sub-AI service requirements.
- association relationship refers to the relationship between sub-AI service requirements, including at least one of a parallel relationship and a serial relationship.
- configuration information refers to the configuration information used to configure the service interface, including the first configuration information and the second configuration information
- first configuration information refers to the configuration information used to configure the sub-AI service interface
- second configuration information refers to configuration information used to configure the AI service interface
- call time refers to the call time of the sub-AI service interface.
- the invocation time of sub-AI service interfaces with a parallel relationship is the same, and the invocation time of sub-AI service interfaces with a serial relationship is different.
- GraphQL query language refers to the query language Query Language with better query performance on graph data Graph.
- Scheme file refers to a file used to define the operations supported by the service interface, including input parameters and returned fields.
- resolver refers to a resolver for obtaining each returned field in a Schema file, including a resolver function.
- low-code platform refers to a development platform that can quickly generate applications without coding or with a small amount of code.
- the method of developing applications through visualization allows developers to use graphical user interfaces. Create web pages and applications using drag-and-drop components and model-driven logic.
- FIG. 1 is a schematic flowchart of a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
- the configuration method of the service interface combining RPA and AI in the embodiment of the present application includes:
- the RPA system obtains the AI service requirements of the AI service interface to be configured.
- the execution subject of the configuration method of the service interface combining RPA and AI in the embodiment of the present application may be a robotic process automation (Robotic Process Automation, RPA) system, and may also be the combination of RPA and AI in the embodiment of the present application.
- the device for configuring the service interface, the above-mentioned RPA system and/or the device for configuring the service interface combining RPA and AI can be configured in any electronic device to implement the method for configuring the service interface combining RPA and AI according to the embodiment of the present application.
- the above RPA system may include an RPA robot.
- the RPA system can obtain the AI service requirements of the artificial intelligence (Artificial Intelligence, AI) service interface to be configured.
- AI Artificial Intelligence
- the AI service interface refers to the interface used to connect to the AI server, where the AI server includes but is not limited to AI algorithms, models, and so on.
- AI service requirements include but are not limited to natural language processing (Natural Language Processing, NLP), optical character Recognition (Optical Character Recognition, OCR), speech synthesis, speech recognition, image annotation, etc.
- natural language processing Natural Language Processing, NLP
- optical character Recognition Optical Character Recognition, OCR
- speech synthesis speech recognition
- image annotation etc.
- obtaining the AI service requirements of the AI service interface to be configured may include the RPA system receiving a configuration request from the user, and the configuration request carries the AI service requirements of the AI service interface to be configured.
- the RPA system can receive the user's configuration request and extract the AI service requirements of the AI service interface to be configured from the configuration request.
- the RPA system can open the low-code platform, log in to the low-code platform with a preset account, and obtain the AI service requirements of the AI service interface to be configured from the list to be configured on the low-code platform.
- the default account is the login account for the RPA system to log in to the low-code platform, which can be set according to the actual situation, and there are no too many restrictions here. Therefore, in this method, the RPA system can automatically open and log in to the low-code platform, and automatically obtain the AI service requirements of the AI service interface to be configured from the to-be-configured list of the low-code platform, which can realize the automatic acquisition of AI service requirements.
- the RPA system splits the AI service requirements to generate multiple sub-AI service requirements of a single category.
- the RPA system can split the AI service requirements to generate multiple sub-AI service requirements of a single category, that is, each sub-AI service requirement after splitting has one service category.
- the AI service requirements of the AI service interface A to be configured include text recognition and form recognition
- the above AI service requirements can be split
- the generated sub-AI service requirements include text recognition and form recognition
- the AI service requirements of the AI service interface B to be configured include optical character recognition and natural language processing
- the above AI service requirements can be split
- the generated sub-AI service requirements include optical character recognition and natural language processing
- the AI service requirements of the AI service interface C to be configured include voice recognition and voice interaction
- the above AI service requirements can be split
- the generated sub-AI service requirements include voice recognition and voice interaction
- splitting the AI service requirements to generate multiple sub-AI service requirements of a single category may include the RPA system identifying multiple single categories involved in the AI service requirements based on NLP, and the RPA system for any identified sub-categories A single category, extract any single category of sub-AI service requirements from AI service requirements. Therefore, the RPA system can realize the automatic splitting of AI service requirements based on NLP.
- the AI service requirement of the AI service interface I to be configured is intelligent document processing.
- the document includes pictures, and the pictures carry text and tables.
- the RPA system can identify multiple single categories involved in the above AI service requirements based on NLP, and identify The multiple single categories include text recognition and form recognition, and for the recognized text recognition, extract the sub-AI service requirements for text recognition from the above AI service requirements, and extract the sub AI service requirements for the recognized form recognition from the above AI service requirements Sub-AI service requirements identified by the table.
- the RPA system identifies an association relationship between sub-AI service requirements, wherein the association relationship includes at least one of a parallel relationship and a serial relationship.
- sub-AI service requirements have an association relationship, wherein the association relationship includes at least one of a parallel relationship and a serial relationship.
- the association relationship between sub-AI service requirements only includes parallel relationship.
- sub-AI service requirements include text recognition and form recognition, and the relationship between text recognition and form recognition is a parallel relationship.
- sub-AI service requirements only includes a series relationship.
- sub-AI service requirements include optical character recognition and natural language processing.
- the correlation between optical character recognition and natural language processing is a serial relationship, and the processing time of optical character recognition is earlier than that of natural language processing.
- the association relationship between sub-AI service requirements includes a parallel relationship and a serial relationship.
- sub-AI service requirements include text recognition, form recognition, and natural language processing.
- the association between text recognition and form recognition is a parallel relationship
- the association between natural language processing, text recognition, and form recognition is serial relationship
- the processing time of natural language processing is later than that of text recognition and form recognition.
- mapping relationship or a mapping table between sub-AI service requirements and association relationships can be established in advance, and after the sub-AI service requirements are obtained, the mapping relationship or mapping table can be queried to obtain the corresponding association relationship. It should be noted that the above mapping relationship or mapping table can be set according to actual conditions, and there is no excessive limitation here.
- the RPA system configures the AI service interface based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement.
- configuring the AI service interface based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement may include that the RPA system constructs the sub-AI service interface based on the association relationship between the sub-AI service requirements. The above association relationship is used to configure the AI service interface.
- the sub-AI service requirements corresponding to the AI service requirements of AI service interface A to be configured include text recognition and form recognition, the association between text recognition and form recognition is a parallel relationship, and the sub-AI services corresponding to text recognition and form recognition
- the interfaces are sub-AI service interfaces D and E, and the RPA system can build a parallel relationship between sub-AI service interfaces D and E to configure AI service interface A.
- the sub-AI service requirements corresponding to the AI service requirements of AI service interface B to be configured include optical character recognition and natural language processing.
- the association relationship between optical character recognition and natural language processing is a serial relationship, optical character recognition and natural language
- the corresponding sub-AI service interfaces are respectively sub-AI service interfaces F and G, and the RPA system can build a serial relationship between sub-AI service interfaces F and G to configure AI service interface B.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing.
- the association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively The association relationship with text recognition and form recognition is a serial relationship.
- the sub-AI service interfaces corresponding to text recognition, form recognition and natural language processing are respectively sub-AI service interfaces D, E, and G.
- the RPA system can build sub-AI service interfaces The parallel relationship between D and E, the serial relationship between sub-AI service interfaces D and G, and the serial relationship between sub-AI service interfaces E and G are constructed to configure AI service interface H.
- the RPA system can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize the AI service requirements Automatic splitting of sub-AI service requirements, identifying the relationship between sub-AI service requirements, and configuring AI service interfaces based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement. Therefore, the RPA system can automatically configure the AI service interface based on the correlation between the sub-AI service requirements, which is suitable for the application scenarios of the AI service interface for multi-category AI service requirements. It has good scalability and improves the AI service interface. Development efficiency.
- step S103 configuring the AI service interface based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement may include:
- the RPA system acquires first configuration information of a sub-AI service interface.
- the RPA system can acquire the first configuration information of the sub-AI service interface.
- the first configuration information refers to the configuration information used to configure the sub-AI service interface, and the type of configuration information is not limited too much.
- the configuration information may include Schema files based on the GraphQL query language, parser Resolver.
- the RPA system can pre-establish the mapping relationship or mapping table between the sub-AI service interface and the first configuration information. After obtaining the sub-AI service interface, query the mapping relationship or mapping table to obtain the corresponding The first configuration information. It should be noted that the above mapping relationship or mapping table can be set according to actual conditions, and there is no excessive limitation here.
- the RPA system generates second configuration information of the AI service interface based on the first configuration information and the association relationship of each sub-AI service interface.
- generating the second configuration information of the AI service interface based on the first configuration information and the association relationship of each sub-AI service interface may include the RPA system performing the first configuration information of each sub-service interface according to the association relationship combined to generate the second configuration information of the AI service interface.
- the RPA system may combine the first configuration information of sub-service interfaces whose association relationship is a parallel relationship according to a parallel relationship, and/or combine the first configuration information of sub-service interfaces whose association relationship is a serial relationship according to a series relationship, Generate second configuration information of the AI service interface.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing.
- the association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively
- the association relationship with text recognition and form recognition is a series relationship.
- the sub-AI service interfaces corresponding to text recognition, form recognition and natural language processing are sub-AI service interfaces D, E, and G respectively.
- the RPA system can use sub-AI service interfaces Combine the first configuration information of D and E according to the parallel relationship, combine the first configuration information of the sub-AI service interfaces D and G according to the serial relationship, and combine the first configuration information of the sub-AI service interfaces E and G according to the serial relationship Combine them to generate the second configuration information of the AI service interface H.
- the RPA system configures the AI service interface based on the second configuration information.
- configuring the AI service interface based on the second configuration information may include the RPA system storing the second configuration information in a target storage space in the low-code platform, and the target storage space is used to store the configuration of the AI service interface information. It should be noted that the target storage space is not limited too much.
- the RPA system can also generate a front-end operation interface of the AI service interface.
- the front-end operation interface refers to the interface used to respond to user operations, and there are no excessive restrictions on the types of front-end operation interfaces.
- front-end operation interfaces include but are not limited to front-end operation interfaces based on query languages, such as based on GraphQL's front-end operation interface.
- the RPA system can generate the second configuration information of the AI service interface based on the first configuration information and the association relationship of each sub-AI service interface, and configure the AI service interface based on the second configuration information to realize the AI service Automatic configuration of interfaces.
- step S202 based on the first configuration information and association relationship of each sub-AI service interface, the second configuration information of the AI service interface is generated, which may include:
- the RPA system identifies that the association relationship is the first sub-AI service interface of the parallel relationship.
- the sub-AI service requirements corresponding to the AI service requirements of AI service interface A to be configured include text recognition and form recognition, the association between text recognition and form recognition is a parallel relationship, and the sub-AI services corresponding to text recognition and form recognition
- the interfaces are respectively sub-AI service interfaces D and E, and the first sub-AI service interface for which the RPA system recognizes that the association relationship is a parallel relationship includes sub-AI service interfaces D and E.
- the RPA system acquires multiple fields of the AI service interface.
- fields of the AI service interface to be configured can be obtained. It should be noted that the fields refer to the fields fed back by the AI service interface, and the fields are not limited too much. For example, fields include, but are not limited to, name, address, title, title, introduction, outline, and the like.
- the RPA system constructs a mapping relationship between the first configuration information and fields of the first sub-AI service interface, and generates second configuration information based on the mapping relationship.
- the RPA system can construct the mapping relationship between the data extraction DataFetcher configuration information of the first sub-AI service interface and the fields in the Schema file, and generate the second configuration information based on the mapping relationship.
- the data fetching configuration information is used to define an interface for fetching data.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface A to be configured include text recognition and form recognition
- the sub-AI service interfaces corresponding to text recognition and form recognition are sub-AI service interfaces D and E respectively, identifying association relationships
- the first sub-AI service interface of the parallel relationship includes sub-AI service interfaces D and E.
- the fields in the Schema file of AI service interface A include name, title, introduction, number of table rows, and number of table columns.
- the RPA system can build sub-AIs
- the mapping relationship between the data extraction configuration information of service interface D and the name, title, and introduction, as well as the mapping relationship between the data extraction configuration information of the sub-AI service interface E and the number of table rows and table columns, are generated based on the mapping relationship The second configuration information of AI service interface A.
- the RPA system may construct a mapping relationship between the Resolver of the first sub-service interface and fields in the Schema file, and generate the second configuration information based on the mapping relationship. It should be noted that, for the related content of constructing the mapping relationship between the parser and the fields, refer to the above-mentioned embodiments, and details are not repeated here.
- the RPA system can obtain multiple fields of the AI service interface for the first sub-AI service interface whose association relationship is a parallel relationship, and construct a mapping between the first configuration information and the fields of the first sub-AI service interface
- the second configuration information is generated based on the mapping relationship, which can realize the parallel invocation of multiple first sub-AI service interfaces.
- step S202 based on the first configuration information and association relationship of each sub-AI service interface, the second configuration information of the AI service interface is generated, which may include:
- the RPA system identifies the second sub-AI service interface whose association relationship is a serial relationship.
- the sub-AI service requirements corresponding to the AI service requirements of AI service interface B to be configured include optical character recognition and natural language processing.
- the association relationship between optical character recognition and natural language processing is a serial relationship, optical character recognition and natural language
- the sub-AI service interfaces corresponding to the processing are respectively sub-AI service interfaces F and G, and the second sub-AI service interface that the RPA system recognizes as a serial relationship includes sub-AI service interfaces F and G.
- the RPA system sorts the sub-AI service requirements corresponding to the second sub-AI service interface from early to late according to the invocation time, and generates a first ranking of the sub-AI service requirements corresponding to the second sub-AI service interface.
- the invocation time of sub-AI service requirements corresponding to different second sub-AI service interfaces is different.
- the second sub-AI service interface that identifies the association relationship as a series relationship includes sub-AI service interfaces F and G, and the invocation time of the sub-AI service requirement (optical character recognition) corresponding to sub-AI service interface F is earlier than that of sub-AI service interface G
- the invocation time of the corresponding sub-AI service requirement naturally language processing
- the RPA system can sort the sub-AI service requirements corresponding to the second sub-AI service interface according to the call time from early to late, and generate the first sub-AI service requirements corresponding to the second sub-AI service interface. Sorting, that is, the sub-AI service requirements with the earliest calling time are sorted first, and the sub-AI service requirements with the late calling time are sorted at the bottom.
- the second sub-AI service interface that identifies the association relationship as a series relationship includes sub-AI service interfaces F and G, and the invocation time of the sub-AI service requirement (optical character recognition) corresponding to sub-AI service interface F is earlier than that of sub-AI service interface G
- the first ranking of the sub-AI service requirements corresponding to the second sub-AI service interfaces F and G is optical character recognition and natural language processing.
- the RPA system generates a second ranking of first configuration information of the second sub-AI service interface based on the first ranking of sub-AI service requirements corresponding to the second sub-AI service interface.
- the RPA system can generate the second ranking of the first configuration information of the second sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the second sub-AI service interface, that is, the one with the earliest call time
- the ranking of the first configuration information corresponding to the sub-AI service requirements is higher, and the ranking of the first configuration information corresponding to the sub-AI service requirements with a later call time is lower.
- the first ranking of the sub-AI service requirements corresponding to the second sub-AI service interfaces F and G is optical character recognition and natural language processing
- the second ranking of the first configuration information of the second sub-AI service interfaces F and G is No.
- the RPA system splices the first configuration information of the second sub-AI service interface according to the second order to generate second configuration information.
- the RPA system can splice the Schema files of the second sub-AI service interface according to the second order to generate the second configuration information.
- the RPA system can splice the last field of the first Schema file with the first field of the second Schema file, wherein the first Schema file and the second Schema file are adjacently sorted Schema files , and the sorting of the first Schema file is higher than that of the second Schema file.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface B to be configured include optical character recognition and natural language processing.
- the corresponding sub-AI service interfaces are respectively sub-AI service interfaces F and G, and the second sub-AI service interface that identifies the association relationship as a series relationship includes sub-AI service interfaces F and G, and the Schema of the second sub-AI service interfaces F and G
- the second sorting of the files is the Schema file of the second sub-AI service interface F, the Schema file of the second sub-AI service interface G, and the RPA system can combine the Schema file of the second sub-AI service interface F, the second sub-AI service interface G
- the Schema files are spliced according to the above-mentioned second sorting to generate the second configuration information of the AI service interface B.
- the RPA system can splice the last field of the Schema file of the second sub-AI service interface F with the first field of the Schema file of the second sub-
- the RPA system can sort the sub-AI service requirements corresponding to the second sub-AI service interface according to the call time from early to late for the second sub-AI service interface whose association relationship is a series relationship, and obtain the first ranking Based on the first sorting, the second sorting of the first configuration information of the second sub-AI service interface is generated, and the first configuration information of the second sub-AI service interface is spliced according to the second sorting to generate the second configuration information, which can realize multiple A serial call of the second sub-AI service interface.
- step S202 based on the first configuration information and association relationship of each sub-AI service interface, the second configuration information of the AI service interface is generated, which may include:
- the RPA system identifies a third sub-AI service interface whose association relationship includes a parallel relationship and a serial relationship.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing.
- the association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively
- the association relationship with text recognition and form recognition is a series relationship.
- the sub-AI service interfaces corresponding to text recognition, form recognition, and natural language processing are sub-AI service interfaces D, E, and G respectively.
- the RPA system identification association relationship includes a parallel relationship
- the third sub-AI service interface of the serial relationship includes sub-AI service interfaces D, E, G, wherein the third sub-AI service interface with a parallel relationship includes sub-AI service interfaces D and E, and the associated relationship is a serial relationship
- the third sub-AI service interface includes sub-AI service interfaces D and G
- the third sub-AI service interface with a serial relationship includes sub-AI service interfaces E and G.
- the RPA system acquires multiple fields of the AI service interface; the RPA system constructs a mapping relationship between the first configuration information and the fields of the third sub-AI service interface, based on The mapping relationship generates first candidate configuration information.
- the second configuration information includes first candidate configuration information.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing.
- the association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively
- the association relationship with text recognition and form recognition is a series relationship.
- the sub-AI service interfaces corresponding to text recognition, form recognition, and natural language processing are sub-AI service interfaces D, E, and G respectively.
- the RPA system identification association relationship includes a parallel relationship
- the third sub-AI service interface in series relationship includes sub-AI service interfaces D, E, and G.
- the third sub-AI service interface whose association relationship is a parallel relationship includes sub-AI service interfaces D and E, and for the sub-AI service interfaces D and E whose association relationship is a parallel relationship, the RPA system can obtain multiple fields of the AI service interface H , constructing a mapping relationship between the first configuration information and fields of the sub-AI service interfaces D and E, and generating first candidate configuration information based on the mapping relationship.
- step S502 may refer to the above-mentioned embodiments, and details are not repeated here.
- the RPA system sorts the sub-AI service requirements corresponding to the third sub-AI service interface according to the calling time from early to late, and generates the corresponding sub-AI service requirements of the third sub-AI service interface The first sorting of the sub-AI service requirements; the RPA system generates the second sorting of the first configuration information of the third sub-AI service interface based on the first sorting of the sub-AI service requirements corresponding to the third sub-AI service interface; The first configuration information of the three sub-AI service interfaces is spliced according to the second ranking to generate second candidate configuration information.
- the second configuration information further includes second candidate configuration information.
- the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing.
- the association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively
- the association relationship with text recognition and form recognition is a series relationship.
- the sub-AI service interfaces corresponding to text recognition, form recognition, and natural language processing are sub-AI service interfaces D, E, and G respectively.
- the RPA system identification association relationship includes a parallel relationship
- the third sub-AI service interface in series relationship includes sub-AI service interfaces D, E, and G.
- the third sub-AI service interface whose association relationship is a serial relationship includes sub-AI service interfaces D and G, and the third sub-AI service interface whose association relationship is a serial relationship includes sub-AI service interfaces E and G.
- the RPA system can sort the sub-AI service requirements corresponding to sub-AI service interfaces D and G according to the call time from early to late, and generate sub-AI service interfaces D and G The first ordering of the corresponding sub-AI service requirements; the RPA system generates the second ordering of the first configuration information of the sub-AI service interfaces D and G based on the first ordering of the sub-AI service requirements corresponding to the sub-AI service interfaces D and G; The first configuration information of the sub-AI service interfaces D and G are spliced according to the second ranking to generate second candidate configuration information.
- the RPA system can sort the sub-AI service requirements corresponding to the sub-AI service interfaces E and G according to the call time from early to late, and generate sub-AI service interfaces E and G The first ordering of the corresponding sub-AI service requirements; the RPA system generates the second ordering of the first configuration information of the sub-AI service interfaces E and G based on the first ordering of the sub-AI service requirements corresponding to the sub-AI service interfaces E and G; The first configuration information of the sub-AI service interfaces E and G are spliced according to the second ranking to generate second candidate configuration information.
- step S503 may refer to the above-mentioned embodiments, and details are not repeated here.
- the RPA system can generate first candidate configuration information for the first configuration information of the third sub-AI service interface with a parallel relationship based on the association relationship , generate second candidate configuration information for the first configuration information of the third sub-AI service interface in a series relationship based on the association relationship, the second configuration information includes the first candidate configuration information and the second candidate configuration information, and multiple third sub-AI service interfaces can be implemented.
- Parallel call and serial call of AI service interface can be implemented.
- FIG. 6 is a schematic flowchart of a method for invoking a service interface combining RPA and AI according to an embodiment of the present application.
- the calling method of the service interface combining RPA and AI in the embodiment of the present application includes:
- the RPA system obtains the GraphQL query language used to call the AI service interface.
- the execution subject of the invocation method of the service interface combining RPA and AI in the embodiment of the present application may be a robotic process automation (Robotic Process Automation, RPA) system, and may also be the combination of RPA and AI in the embodiment of the present application.
- the device for invoking the service interface, the RPA system and/or the device for invoking the service interface combining RPA and AI can be configured in any electronic device to execute the method for invoking the service interface combining RPA and AI according to the embodiment of the present application.
- the above RPA system may include an RPA robot.
- the user can input the GraphQL query language used to call the AI service interface on the low-code platform, and correspondingly, the RPA system can obtain the above-mentioned GraphQL query language.
- the RPA system converts the GraphQL query language to obtain a Resolver for the AI service interface.
- the AI service system may include a business base, an automatic conversion layer, and a low-code platform.
- the business base includes multiple sub-AI service terminals and multiple sub-AI service interfaces, and each sub-AI server corresponds to a sub-AI service interface.
- the RPA system obtains the GraphQL query language used to call the AI service interface, it can send the GraphQL query language to the automatic conversion layer, and the automatic conversion layer converts the GraphQL query language, obtains the parser of the AI service interface, and receives the automatic conversion layer The parser for feedback.
- the AI service system includes a business base and a low-code platform.
- a business base In order to realize the connection between the AI service interface and the low-code platform, it is necessary to carry out the development of the connection between the AI service interface and the low-code platform.
- the RPA system calls the AI service interface based on the parser.
- the RPA system can call at least one sub-AI service interface on the business base based on the parser. It should be noted that there are no too many restrictions on the calling method, for example, the calling method includes at least one of parallel calling and serial calling.
- the RPA system may establish a connection between the low-code platform and the AI server based on the AI service interface.
- the low-code platform can receive data fed back by the AI server through the AI service interface.
- the RPA system after the RPA system obtains the GraphQL query language used to call the AI service interface, it can convert the GraphQL query language to obtain the resolver Resolver of the AI service interface, based on the analysis server to call the AI service interface.
- the RPA system can automatically convert the AI service interface into a front-end operation interface based on the GraphQL query language, so as to realize the connection between the AI service interface and the low-code platform, and improve the development efficiency of the AI service interface.
- FIG. 9 is a block diagram of an apparatus for configuring a service interface combining RPA and AI according to an embodiment of the present application.
- the configuration device 100 of the service interface combining RPA and AI in the embodiment of the present application includes: an acquisition module 110 , a splitting module 120 , an identification module 130 and a configuration module 140 .
- the obtaining module 110 is used to obtain the AI service requirements of the AI service interface to be configured.
- the splitting module 120 is configured to split the AI service requirement to generate multiple sub-AI service requirements of a single category.
- the identification module 130 is configured to identify the association relationship between the sub-AI service requirements, wherein the association relationship includes at least one of a parallel relationship and a serial relationship.
- the configuration module 140 is configured to configure the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship.
- the configuration module 140 is further configured to: obtain the first configuration information of the sub-AI service interface; based on the first configuration information and the Association relationship, generating second configuration information of the AI service interface; configuring the AI service interface based on the second configuration information.
- the configuration module 140 is further configured to: identify that the association relationship is a first sub-AI service interface of a parallel relationship; acquire multiple fields of the AI service interface; construct the first sub-AI service interface; The second configuration information is generated based on the mapping relationship between the first configuration information of the sub-AI service interface and the fields.
- the configuration module 140 is further configured to: identify the second sub-AI service interface in which the association relationship is a serial relationship; configure the sub-AI service interface corresponding to the second sub-AI service interface The requirements are sorted from early to late according to the calling time, and the first sorting of the sub-AI service requirements corresponding to the second sub-AI service interface is generated; based on the sub-AI service requirements corresponding to the second sub-AI service interface the first sorting of the first sub-AI service interface to generate a second sorting of the first configuration information of the second sub-AI service interface; and the first configuration information of the second sub-AI service interface according to the second sorting Splicing is performed to generate the second configuration information.
- the configuration module 140 is further configured to: identify the third sub-AI service interface whose association relationship includes a parallel relationship and a serial relationship; for the third sub-AI whose association relationship is a parallel relationship A service interface, acquiring multiple fields of the AI service interface; constructing a mapping relationship between the first configuration information of the third sub-AI service interface and the fields, and generating a first candidate configuration based on the mapping relationship Information; for the third sub-AI service interface whose association relationship is a series relationship, sort the sub-AI service requirements corresponding to the third sub-AI service interface according to the call time from early to late, and generate the third sub-AI service interface.
- a first ranking of the sub-AI service requirements corresponding to the sub-AI service interface generating the third sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the third sub-AI service interface the second sorting of the first configuration information; splicing the first configuration information of the third sub-AI service interface according to the second sorting to generate second candidate configuration information; wherein, the second The configuration information includes the first candidate configuration information and the second candidate configuration information.
- the configuration information includes a Schema file and a Resolver based on the GraphQL query language.
- the splitting module 120 is further configured to: identify multiple single categories involved in the AI service requirements based on natural language processing (NLP); The sub-AI service requirements of any single category are extracted from the AI service requirements.
- NLP natural language processing
- the sub-AI service requirements include at least one of natural language processing (NLP), optical character recognition (OCR), speech synthesis, speech recognition, and image annotation.
- NLP natural language processing
- OCR optical character recognition
- speech synthesis speech recognition
- speech recognition speech recognition
- the configuration device of the service interface combining RPA and AI in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize AI service
- the requirements are automatically split, and the association relationship between the sub-AI service requirements is identified, and the AI service interface is configured based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- Fig. 10 is a block diagram of a device for invoking a service interface combining RPA and AI according to an embodiment of the present application.
- the invocation device 200 of the service interface combining RPA and AI in the embodiment of the present application includes: an acquisition module 210 , a conversion module 220 and an invocation module 230 .
- the obtaining module 210 is used to obtain the GraphQL query language used to call the AI service interface.
- the converting module 220 is configured to convert the GraphQL query language, and acquire the Resolver of the AI service interface.
- the calling module 230 is used for calling the AI service interface based on the parser.
- the calling device combining RPA and AI service interface after obtaining the GraphQL query language used to call the AI service interface, can convert the GraphQL query language to obtain the resolver Resolver of the AI service interface, based on The parser calls the AI service interface.
- the AI service interface can be automatically converted into a front-end operation interface based on the GraphQL query language, so as to realize the connection between the AI service interface and the low-code platform, and improve the development efficiency of the AI service interface.
- the present application also proposes an electronic device 300, including at least one processor 310; and a memory 320 communicatively connected to the at least one processor 310; wherein, the memory 320 Instructions that can be executed by the at least one processor 310 are stored, and the instructions are executed by the at least one processor 310, so that the at least one processor 310 can execute the above-mentioned AI service interface configuration method, or execute the above-mentioned The calling method of the AI service interface.
- the electronic device in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured through the processor to execute the instructions stored in the memory, so as to generate multiple sub-AI service requirements of a single category, and realize the AI service.
- the requirements are automatically split, and the association relationship between the sub-AI service requirements is identified, and the AI service interface is configured based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- the present application also proposes a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, implements the configuration method of the above-mentioned AI service interface, or implements the calling method of the above-mentioned AI service interface.
- the computer-readable storage medium of the embodiment of the present application can split the AI service requirements of the AI service interface to be configured by storing the computer program and executing it by the processor, so as to generate multiple sub-AI service requirements of a single category, which can realize Automatically split AI service requirements, identify the relationship between sub-AI service requirements, and configure AI service interfaces based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement.
- the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
- B corresponding to A means that B is associated with A, and B can be determined according to A.
- determining B based on A does not mean determining B only based on A, and B can also be determined based on A and/or other information.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
- the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory.
- the technical solution of the present application in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present application.
- ROM read-only Memory
- RAM random access memory
- PROM programmable read-only memory
- EPROM Erasable Programmable Read Only Memory
- OTPROM One-time Programmable Read-Only Memory
- EEPROM Electronically Erasable Programmable Read-Only Memory
- CD-ROM Compact Disc Read-Only Memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Resources & Organizations (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Stored Programmes (AREA)
Abstract
Description
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111592699.1、申请日为2021年12月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111592699.1 and a filing date of December 23, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
本申请涉及机器人流程自动化(Robotic Process Automation,RPA)、人工智能(Artificial Intelligence,AI)技术领域,特别涉及一种结合RPA和AI的服务接口的配置方法、装置、设备及介质。This application relates to the technical fields of Robotic Process Automation (RPA) and Artificial Intelligence (AI), in particular to a configuration method, device, device and medium for a service interface combining RPA and AI.
机器人流程自动化(Robotic Process Automation,RPA)是通过特定的“机器人软件”,模拟人在计算机上的操作,按规则自动执行流程任务。Robotic Process Automation (RPA) uses specific "robot software" to simulate human operations on computers and automatically execute process tasks according to rules.
人工智能(Artificial Intelligence,AI)是研究、开发用于模拟、延伸和扩展人的智能的理论、方法、技术及应用系统的一门技术科学。Artificial Intelligence (AI) is a technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
目前,RPA和AI技术具有自动化程度高、精确度高、成本低的优点,得到了广泛的应用。At present, RPA and AI technologies have the advantages of high degree of automation, high precision, and low cost, and have been widely used.
相关技术中,由于业务需求的类别、业务数据的格式、存储方式均较多,往往需要开发多个AI服务接口,比如,开发人员需要根据每种业务需求开发一个AI服务接口,存在重复性开发多、开发工作量大等问题。In related technologies, due to the variety of business requirements, business data formats, and storage methods, it is often necessary to develop multiple AI service interfaces. For example, developers need to develop an AI service interface according to each business requirement, resulting in repetitive development. Many, large development workload and other issues.
发明内容Contents of the invention
本申请旨在至少在一定程度上解决上述技术中的技术问题之一。The present application aims to solve one of the technical problems in the above-mentioned technologies at least to a certain extent.
为此,本申请的第一个目的在于提出一种结合RPA和AI的服务接口的配置方法,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。For this reason, the first purpose of this application is to propose a method for configuring service interfaces combining RPA and AI, which can automatically configure AI service interfaces based on the association relationship between sub-AI service requirements, and is suitable for multi-category AI services The application scenario of the required AI service interface has good scalability, which improves the development efficiency of the AI service interface.
本申请的第二个目的在于提出一种结合RPA和AI的服务接口的调用方法。The second purpose of this application is to propose a method for invoking a service interface combining RPA and AI.
本申请的第三个目的在于提出一种结合RPA和AI的服务接口的配置装置。The third purpose of the present application is to propose a device for configuring a service interface combining RPA and AI.
本申请的第四个目的在于提出一种结合RPA和AI的服务接口的调用装置。The fourth purpose of the present application is to propose a device for invoking a service interface combining RPA and AI.
本申请的第五个目的在于提出一种电子设备。The fifth object of the present application is to provide an electronic device.
本申请的第六个目的在于提出一种计算机可读存储介质。The sixth object of the present application is to provide a computer-readable storage medium.
为达到上述目的,本申请第一方面实施例提出了一种结合RPA和AI的服务接口的配置方法,包括:所述RPA系统获取待配置的AI服务接口的AI服务需求;所述RPA系统对所述AI服务需求进行拆分,生成单类别的多个子AI服务需求;所述RPA系统识别所述子AI服务需求之间的关联关系,其中,所述关联关系包括并联关系和串联关系中的至少一种;所述RPA系统基于每个所述子AI服务需求对应的子AI服务接口和所述关联关系,配置所述 AI服务接口。In order to achieve the above purpose, the embodiment of the first aspect of the present application proposes a method for configuring a service interface combining RPA and AI, including: the RPA system obtains the AI service requirements of the AI service interface to be configured; The AI service requirements are split to generate multiple sub-AI service requirements of a single category; the RPA system identifies the association relationship between the sub-AI service requirements, wherein the association relationship includes a parallel relationship and a series relationship. At least one: the RPA system configures the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship.
根据本申请实施例的结合RPA和AI的服务接口的配置方法,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。According to the configuration method of the service interface combining RPA and AI in the embodiment of the present application, the AI service requirements of the AI service interface to be configured can be split to generate multiple sub-AI service requirements of a single category, and the AI service requirements can be realized. Automatically split and identify the association relationship between sub-AI service requirements, and configure the AI service interface based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
在本申请的一个实施例中,所述基于每个所述子AI服务需求对应的子AI服务接口和所述关联关系,配置所述AI服务接口,包括:所述RPA系统获取所述子AI服务接口的第一配置信息;所述RPA系统基于每个所述子AI服务接口的所述第一配置信息和所述关联关系,生成所述AI服务接口的第二配置信息;所述RPA系统基于所述第二配置信息,配置所述AI服务接口。In an embodiment of the present application, configuring the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship includes: obtaining the sub-AI by the RPA system The first configuration information of the service interface; the RPA system generates the second configuration information of the AI service interface based on the first configuration information of each sub-AI service interface and the association relationship; the RPA system Configure the AI service interface based on the second configuration information.
在本申请的一个实施例中,所述基于每个所述子AI服务接口的所述第一配置信息和所述关联关系,生成所述AI服务接口的第二配置信息,包括:所述RPA系统识别所述关联关系为并联关系的第一子AI服务接口;所述RPA系统获取所述AI服务接口的多个字段;所述RPA系统构建所述第一子AI服务接口的所述第一配置信息与所述字段之间的映射关系,基于所述映射关系生成所述第二配置信息。In an embodiment of the present application, the second configuration information of the AI service interface is generated based on the first configuration information of each sub-AI service interface and the association relationship, including: the RPA The system recognizes that the association relationship is the first sub-AI service interface of the parallel relationship; the RPA system obtains multiple fields of the AI service interface; the RPA system constructs the first sub-AI service interface of the first sub-AI service interface. A mapping relationship between configuration information and the fields, generating the second configuration information based on the mapping relationship.
在本申请的一个实施例中,所述基于每个所述子AI服务接口的所述第一配置信息和所述关联关系,生成所述AI服务接口的第二配置信息,包括:所述RPA系统识别所述关联关系为串联关系的第二子AI服务接口;所述RPA系统将所述第二子AI服务接口对应的所述子AI服务需求按照调用时间从早到晚进行排序,生成所述第二子AI服务接口对应的所述子AI服务需求的第一排序;所述RPA系统基于所述第二子AI服务接口对应的所述子AI服务需求的所述第一排序,生成所述第二子AI服务接口的所述第一配置信息的第二排序;所述RPA系统将所述第二子AI服务接口的所述第一配置信息按照所述第二排序进行拼接,生成所述第二配置信息。In an embodiment of the present application, the second configuration information of the AI service interface is generated based on the first configuration information of each sub-AI service interface and the association relationship, including: the RPA The system recognizes that the association relationship is the second sub-AI service interface of a series relationship; the RPA system sorts the sub-AI service requirements corresponding to the second sub-AI service interface according to the call time from early to late, and generates the The first ordering of the sub-AI service requirements corresponding to the second sub-AI service interface; the RPA system generates the first ordering of the sub-AI service requirements corresponding to the second sub-AI service interface. The second sorting of the first configuration information of the second sub-AI service interface; the RPA system splices the first configuration information of the second sub-AI service interface according to the second sorting to generate the the second configuration information.
在本申请的一个实施例中,所述基于每个所述子AI服务接口的所述第一配置信息和所述关联关系,生成所述AI服务接口的第二配置信息,包括:所述RPA系统识别所述关联关系包括并联关系和串联关系的第三子AI服务接口;针对关联关系为并联关系的所述第三子AI服务接口,所述RPA系统获取所述AI服务接口的多个字段;所述RPA系统构建所述第三子AI服务接口的所述第一配置信息与所述字段之间的映射关系,基于所述映射关系生成第一候选配置信息;针对关联关系为串联关系的所述第三子AI服务接口,所述RPA系统将所述第三子AI服务接口对应的所述子AI服务需求按照调用时间从早到晚进行排序,生成所述第三子AI服务接口对应的所述子AI服务需求的第一排序;所述RPA系统基于所述第三子AI服务接口对应的所述子AI服务需求的所述第一排序,生成所述第三子AI服务接口的所述第一配置信息的第二排序;所述RPA系统将所述第三子AI服务接口的所述第一配置信息按照所述第二排序进行拼接,生成第二候选配置信息;其中,所述第二配置信息包括所述第一候选配置信息和所述第二候选配置信息。In an embodiment of the present application, the second configuration information of the AI service interface is generated based on the first configuration information of each sub-AI service interface and the association relationship, including: the RPA The system identifies that the association relationship includes a third sub-AI service interface with a parallel relationship and a serial relationship; for the third sub-AI service interface whose association relationship is a parallel relationship, the RPA system acquires multiple fields of the AI service interface The RPA system constructs the mapping relationship between the first configuration information of the third sub-AI service interface and the field, and generates the first candidate configuration information based on the mapping relationship; for those whose association relationship is a serial relationship For the third sub-AI service interface, the RPA system sorts the sub-AI service requirements corresponding to the third sub-AI service interface according to the call time from early to late, and generates the third sub-AI service interface corresponding The first ranking of the sub-AI service requirements; the RPA system generates the third sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the third sub-AI service interface The second sorting of the first configuration information; the RPA system splices the first configuration information of the third sub-AI service interface according to the second sorting to generate second candidate configuration information; wherein, the The second configuration information includes the first candidate configuration information and the second candidate configuration information.
在本申请的一个实施例中,所述配置信息包括基于GraphQL查询语言的Schema文件和解析器Resolver。In one embodiment of the present application, the configuration information includes a Schema file and a Resolver based on the GraphQL query language.
在本申请的一个实施例中,所述对所述AI服务需求进行拆分,生成单类别的多个子AI服务需求,包括:所述RPA系统基于自然语言处理NLP识别所述AI服务需求所涉及的多个单类别;所述RPA系统针对识别到的任一单类别,从所述AI服务需求中提取出所述任一单类别的所述子AI服务需求。In one embodiment of the present application, the splitting the AI service requirements to generate multiple sub-AI service requirements of a single category includes: the RPA system identifies the AI service requirements involved in the AI service requirements based on natural language processing (NLP) multiple single categories; for any identified single category, the RPA system extracts the sub-AI service requirements of any single category from the AI service requirements.
在本申请的一个实施例中,所述子AI服务需求包括NLP、光学字符识别OCR、语音合成、语音识别、图像标注中的至少一种。In an embodiment of the present application, the sub-AI service requirements include at least one of NLP, optical character recognition (OCR), speech synthesis, speech recognition, and image annotation.
为达到上述目的,本申请第二方面实施例提出了一种结合RPA和AI的服务接口的调用方法,包括:获取用于调用AI服务接口的GraphQL查询语言;对所述GraphQL查询语言进行转换,获取所述AI服务接口的解析器Resolver;基于所述解析器,调用所述AI服务接口。In order to achieve the above purpose, the embodiment of the second aspect of the present application proposes a method for invoking a service interface combining RPA and AI, including: obtaining a GraphQL query language for invoking the AI service interface; converting the GraphQL query language, Acquiring a Resolver of the AI service interface; calling the AI service interface based on the resolver.
根据本申请实施例的结合RPA和AI的服务接口的调用方法,获取用于调用AI服务接口的GraphQL查询语言之后,可对GraphQL查询语言进行转换,获取AI服务接口的解析器Resolver,基于解析器,调用AI服务接口。由此,可自动将AI服务接口转换为基于GraphQL查询语言的前端操作接口,以实现AI服务接口与低代码平台之间的对接,提高了AI服务接口的开发效率。According to the call method of the service interface combining RPA and AI in the embodiment of the present application, after obtaining the GraphQL query language used to call the AI service interface, the GraphQL query language can be converted to obtain the resolver Resolver of the AI service interface, based on the resolver , call the AI service interface. As a result, the AI service interface can be automatically converted into a front-end operation interface based on the GraphQL query language, so as to realize the connection between the AI service interface and the low-code platform, and improve the development efficiency of the AI service interface.
为达到上述目的,本申请第三方面实施例提出了一种结合RPA和AI的服务接口的配置装置,包括:获取模块,用于获取待配置的AI服务接口的AI服务需求;拆分模块,用于对所述AI服务需求进行拆分,生成单类别的多个子AI服务需求;识别模块,用于识别所述子AI服务需求之间的关联关系,其中,所述关联关系包括并联关系和串联关系中的至少一种;配置模块,用于基于每个所述子AI服务需求对应的子AI服务接口和所述关联关系,配置所述AI服务接口。In order to achieve the above purpose, the embodiment of the third aspect of the present application proposes a configuration device for a service interface combining RPA and AI, including: an acquisition module for acquiring the AI service requirements of the AI service interface to be configured; a split module, It is used to split the AI service requirements to generate multiple sub-AI service requirements of a single category; the identification module is used to identify the association relationship between the sub-AI service requirements, wherein the association relationship includes parallel relationship and At least one of the serial relationships; a configuration module configured to configure the AI service interface based on the sub-AI service interface corresponding to each sub-AI service requirement and the association relationship.
本申请实施例的结合RPA和AI的服务接口的配置装置,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。The configuration device of the service interface combining RPA and AI in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize automatic AI service requirements Split and identify the relationship between the sub-AI service requirements, and configure the AI service interface based on the sub-AI service interface and the relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
在本申请的一个实施例中,所述配置模块,还用于:获取所述子AI服务接口的第一配置信息;基于每个所述子AI服务接口的所述第一配置信息和所述关联关系,生成所述AI服务接口的第二配置信息;基于所述第二配置信息,配置所述AI服务接口。In an embodiment of the present application, the configuration module is further configured to: obtain the first configuration information of the sub-AI service interface; based on the first configuration information and the Association relationship, generating second configuration information of the AI service interface; configuring the AI service interface based on the second configuration information.
在本申请的一个实施例中,所述配置模块,还用于:识别所述关联关系为并联关系的第一子AI服务接口;获取所述AI服务接口的多个字段;构建所述第一子AI服务接口的所述第一配置信息与所述字段之间的映射关系,基于所述映射关系生成所述第二配置信息。In an embodiment of the present application, the configuration module is further configured to: identify that the association relationship is a first sub-AI service interface of a parallel relationship; obtain multiple fields of the AI service interface; construct the first sub-AI service interface; The second configuration information is generated based on the mapping relationship between the first configuration information of the sub-AI service interface and the fields.
在本申请的一个实施例中,所述配置模块,还用于:识别所述关联关系为串联关系的第二子AI服务接口;将所述第二子AI服务接口对应的所述子AI服务需求按照调用时间从早到晚进行排序,生成所述第二子AI服务接口对应的所述子AI服务需求的第一排序;基于所述第二子AI服务接口对应的所述子AI服务需求的所述第一排序,生成所述第二子AI服务接口的所述第一配置信息的第二排序;将所述第二子AI服务接口的所述第一配置信息按照所述第二排序进行拼接,生成所述第二配置信息。In an embodiment of the present application, the configuration module is further configured to: identify the second sub-AI service interface in which the association relationship is a series relationship; configure the sub-AI service interface corresponding to the second sub-AI service interface The requirements are sorted from early to late according to the calling time, and the first sorting of the sub-AI service requirements corresponding to the second sub-AI service interface is generated; based on the sub-AI service requirements corresponding to the second sub-AI service interface the first sorting of the first sub-AI service interface to generate a second sorting of the first configuration information of the second sub-AI service interface; and the first configuration information of the second sub-AI service interface according to the second sorting Splicing is performed to generate the second configuration information.
在本申请的一个实施例中,所述配置模块,还用于:识别所述关联关系包括并联关系和串联关系的第三子AI服务接口;针对关联关系为并联关系的所述第三子AI服务接口,获取所述AI服务接口的多个字段;构建所述第三子AI服务接口的所述第一配置信息与所述字段之间的映射关系,基于所述映射关系生成第一候选配置信息;针对关联关系为串联关系的所述第三子AI服务接口,将所述第三子AI服务接口对应的所述子AI服务需求按照调用时间从早到晚进行排序,生成所述第三子AI服务接口对应的所述子AI服务需求的第一排序;基于所述第三子AI服务接口对应的所述子AI服务需求的所述第一排序,生成所述第三子AI服务接口的所述第一配置信息的第二排序;将所述第三子AI服务接口的所述第一配置信息按照所述第二排序进行拼接,生成第二候选配置信息;其中,所述第二配置信息包括所述第一候选配置信息和所述第二候选配置信息。In an embodiment of the present application, the configuration module is further configured to: identify the third sub-AI service interface whose association relationship includes a parallel relationship and a serial relationship; A service interface, acquiring multiple fields of the AI service interface; constructing a mapping relationship between the first configuration information of the third sub-AI service interface and the fields, and generating a first candidate configuration based on the mapping relationship Information; for the third sub-AI service interface whose association relationship is a series relationship, sort the sub-AI service requirements corresponding to the third sub-AI service interface according to the call time from early to late, and generate the third sub-AI service interface. A first ranking of the sub-AI service requirements corresponding to the sub-AI service interface; generating the third sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the third sub-AI service interface the second sorting of the first configuration information; splicing the first configuration information of the third sub-AI service interface according to the second sorting to generate second candidate configuration information; wherein, the second The configuration information includes the first candidate configuration information and the second candidate configuration information.
在本申请的一个实施例中,所述配置信息包括基于GraphQL查询语言的Schema文件和解析器Resolver。In one embodiment of the present application, the configuration information includes a Schema file and a Resolver based on the GraphQL query language.
在本申请的一个实施例中,所述拆分模块,还用于:基于自然语言处理NLP识别所述AI服务需求所涉及的多个单类别;针对识别到的任一单类别,从所述AI服务需求中提取出所述任一单类别的所述子AI服务需求。In one embodiment of the present application, the splitting module is further configured to: identify multiple single categories involved in the AI service requirements based on natural language processing NLP; for any identified single category, from the The sub-AI service requirements of any single category are extracted from the AI service requirements.
在本申请的一个实施例中,所述子AI服务需求包括NLP、光学字符识别OCR、语音合成、语音识别、图像标注中的至少一种。In an embodiment of the present application, the sub-AI service requirements include at least one of NLP, optical character recognition (OCR), speech synthesis, speech recognition, and image annotation.
为达到上述目的,本申请第四方面实施例提出了一种结合RPA和AI的服务接口的调用装置,包括:获取模块,用于获取用于调用AI服务接口的GraphQL查询语言;转换模块,用于对所述GraphQL查询语言进行转换,获取所述AI服务接口的解析器Resolver;调用模块,用于基于所述解析器,调用所述AI服务接口。In order to achieve the above-mentioned purpose, the embodiment of the fourth aspect of the present application proposes a service interface calling device combining RPA and AI, including: an acquisition module for acquiring the GraphQL query language used to call the AI service interface; a conversion module for using Converting the GraphQL query language to obtain a Resolver of the AI service interface; a calling module, configured to call the AI service interface based on the resolver.
本申请实施例的结合RPA和AI的服务接口的配置装置,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。The configuration device of the service interface combining RPA and AI in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize automatic AI service requirements Split and identify the relationship between the sub-AI service requirements, and configure the AI service interface based on the sub-AI service interface and the relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
为达到上述目的,本申请第五方面实施例提出了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如本申请第一方面实施例所述的结合RPA和AI的服务接口的配置方法,或者执行如本申请第二方面实施例所述的结合RPA和AI的服务接口的调用方法。To achieve the above purpose, the embodiment of the fifth aspect of the present application proposes an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the configuration of the service interface combining RPA and AI as described in the embodiment of the first aspect of the present application method, or execute the calling method of the service interface combining RPA and AI as described in the embodiment of the second aspect of the present application.
本申请实施例的电子设备,通过处理器执行存储在存储器上的指令,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。The electronic device in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured through the processor to execute the instructions stored in the memory, so as to generate multiple sub-AI service requirements of a single category, and realize the AI service. The requirements are automatically split, and the association relationship between the sub-AI service requirements is identified, and the AI service interface is configured based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
为达到上述目的,本申请第六方面实施例提出了一种计算机可读存储介质,其上存储有 计算机程序,该程序被处理器执行时实现如本申请第一方面实施例所述的结合RPA和AI的服务接口的配置方法,或者实现如本申请第二方面实施例所述的结合RPA和AI的服务接口的调用方法。In order to achieve the above purpose, the embodiment of the sixth aspect of the present application proposes a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the combined RPA as described in the embodiment of the first aspect of the application is realized. A configuration method of a service interface with AI, or a method of invoking a service interface combining RPA and AI as described in the embodiment of the second aspect of the present application.
本申请实施例的计算机可读存储介质,通过存储计算机程序并被处理器执行,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。The computer-readable storage medium of the embodiment of the present application can split the AI service requirements of the AI service interface to be configured by storing the computer program and executing it by the processor, so as to generate multiple sub-AI service requirements of a single category, which can realize Automatically split AI service requirements, identify the relationship between sub-AI service requirements, and configure AI service interfaces based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:
图1为根据本申请一个实施例的结合RPA和AI的服务接口的配置方法的流程示意图。FIG. 1 is a schematic flowchart of a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
图2为根据本申请一个实施例的结合RPA和AI的服务接口的配置方法中配置AI服务接口的流程示意图。FIG. 2 is a schematic flowchart of configuring an AI service interface in a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
图3为根据本申请一个实施例的结合RPA和AI的服务接口的配置方法中生成AI服务接口的第二配置信息的流程示意图。FIG. 3 is a schematic flowchart of generating second configuration information of an AI service interface in a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
图4为根据本申请另一个实施例的结合RPA和AI的服务接口的配置方法中生成AI服务接口的第二配置信息的流程示意图。FIG. 4 is a schematic flowchart of generating second configuration information of an AI service interface in a method for configuring a service interface combining RPA and AI according to another embodiment of the present application.
图5为根据本申请另一个实施例的结合RPA和AI的服务接口的配置方法中生成AI服务接口的第二配置信息的流程示意图。FIG. 5 is a schematic flowchart of generating second configuration information of an AI service interface in a method for configuring a service interface combining RPA and AI according to another embodiment of the present application.
图6为根据本申请一个实施例的结合RPA和AI的服务接口的调用方法的流程示意图。FIG. 6 is a schematic flowchart of a method for invoking a service interface combining RPA and AI according to an embodiment of the present application.
图7为根据本申请一个实施例的AI服务系统的框图。Fig. 7 is a block diagram of an AI service system according to an embodiment of the present application.
图8为相关技术中AI服务系统的框图。FIG. 8 is a block diagram of an AI service system in the related art.
图9为根据本申请一个实施例的结合RPA和AI的服务接口的配置装置的框图。FIG. 9 is a block diagram of an apparatus for configuring a service interface combining RPA and AI according to an embodiment of the present application.
图10为根据本申请一个实施例的结合RPA和AI的服务接口的调用装置的框图。Fig. 10 is a block diagram of a device for invoking a service interface combining RPA and AI according to an embodiment of the present application.
图11为根据本申请一个实施例的电子设备的框图。FIG. 11 is a block diagram of an electronic device according to an embodiment of the present application.
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.
为了便于理解,首先介绍本申请涉及的术语。For ease of understanding, terms involved in this application are firstly introduced.
在本申请的描述中,术语“多个”指两个或两个以上。In the description of the present application, the term "plurality" means two or more.
在本申请的描述中,术语“AI服务接口”指待配置的AI服务接口。In the description of this application, the term "AI service interface" refers to the AI service interface to be configured.
在本申请的描述中,术语“AI服务需求”指待配置的AI服务接口对应的AI服务需求和/或AI能力,对应的服务类别为多个,比如,AI服务需求包括但不限于自然语言处理(Natural Language Processing,NLP)、光学字符识别(Optical Character Recognition,OCR)、 语音合成、语音识别、图像标注等。In the description of this application, the term "AI service requirements" refers to the AI service requirements and/or AI capabilities corresponding to the AI service interface to be configured, and there are multiple corresponding service categories. For example, AI service requirements include but are not limited to natural language Processing (Natural Language Processing, NLP), Optical Character Recognition (Optical Character Recognition, OCR), speech synthesis, speech recognition, image annotation, etc.
在本申请的描述中,术语“子AI服务需求”指AI服务需求拆分后的子AI服务需求,对应的服务类别为一个。In the description of this application, the term "sub-AI service requirements" refers to the sub-AI service requirements after the AI service requirements are split, and there is one corresponding service category.
在本申请的描述中,术语“子AI服务接口”指子AI服务需求对应的子AI服务接口。In the description of this application, the term "sub-AI service interface" refers to the sub-AI service interface corresponding to the sub-AI service requirements.
在本申请的描述中,术语“关联关系”指子AI服务需求之间的关联关系,包括并联关系和串联关系中的至少一种。In the description of this application, the term "association relationship" refers to the relationship between sub-AI service requirements, including at least one of a parallel relationship and a serial relationship.
在本申请的描述中,术语“配置信息”指用于配置服务接口的配置信息,包括第一配置信息和第二配置信息,第一配置信息指的是用于配置子AI服务接口的配置信息,第二配置信息指的是用于配置AI服务接口的配置信息。In the description of this application, the term "configuration information" refers to the configuration information used to configure the service interface, including the first configuration information and the second configuration information, and the first configuration information refers to the configuration information used to configure the sub-AI service interface , the second configuration information refers to configuration information used to configure the AI service interface.
在本申请的描述中,术语“调用时间”指子AI服务接口的调用时间。关联关系为并联关系的子AI服务接口的调用时间相同,关联关系为串联关系的子AI服务接口的调用时间不同。In the description of this application, the term "call time" refers to the call time of the sub-AI service interface. The invocation time of sub-AI service interfaces with a parallel relationship is the same, and the invocation time of sub-AI service interfaces with a serial relationship is different.
在本申请的描述中,术语“GraphQL查询语言”指针对图状数据Graph进行查询性能较好的查询语言Query Language。In the description of this application, the term "GraphQL query language" refers to the query language Query Language with better query performance on graph data Graph.
在本申请的描述中,术语“Schema文件”指用于定义服务接口支持的操作的文件,包括输入的参数和返回的字段。In the description of this application, the term "Schema file" refers to a file used to define the operations supported by the service interface, including input parameters and returned fields.
在本申请的描述中,术语“解析器Resolver”指用于获取Schema文件中的每个返回的字段的解析器,包括解析器函数。In the description of this application, the term "Resolver" refers to a resolver for obtaining each returned field in a Schema file, including a resolver function.
在本申请的描述中,术语“低代码平台”指无需编码或通过少量代码就可快速生成应用程序的开发平台,通过可视化进行应用程序开发的方法,使开发人员可通过图形化的用户界面,使用拖拽组件和模型驱动的逻辑来创建网页和应用程序。In the description of this application, the term "low-code platform" refers to a development platform that can quickly generate applications without coding or with a small amount of code. The method of developing applications through visualization allows developers to use graphical user interfaces. Create web pages and applications using drag-and-drop components and model-driven logic.
下面结合附图来描述本申请实施例的AI服务接口的配置方法、调用方法、装置、电子设备和计算机可读存储介质。The configuration method, calling method, device, electronic device, and computer-readable storage medium of the AI service interface of the embodiments of the present application are described below with reference to the accompanying drawings.
图1为根据本申请一个实施例的结合RPA和AI的服务接口的配置方法的流程示意图。FIG. 1 is a schematic flowchart of a method for configuring a service interface combining RPA and AI according to an embodiment of the present application.
如图1所示,本申请实施例的结合RPA和AI的服务接口的配置方法,包括:As shown in Figure 1, the configuration method of the service interface combining RPA and AI in the embodiment of the present application includes:
S101,RPA系统获取待配置的AI服务接口的AI服务需求。S101. The RPA system obtains the AI service requirements of the AI service interface to be configured.
需要说明的是,本申请实施例的结合RPA和AI的服务接口的配置方法的执行主体可为机器人流程自动化(Robotic Process Automation,RPA)系统,还可为本申请实施例的结合RPA和AI的服务接口的配置装置,上述RPA系统和/或结合RPA和AI的服务接口的配置装置可以配置在任意电子设备中,以执行本申请实施例的结合RPA和AI的服务接口的配置方法。可选的,上述RPA系统可包括RPA机器人。It should be noted that the execution subject of the configuration method of the service interface combining RPA and AI in the embodiment of the present application may be a robotic process automation (Robotic Process Automation, RPA) system, and may also be the combination of RPA and AI in the embodiment of the present application. The device for configuring the service interface, the above-mentioned RPA system and/or the device for configuring the service interface combining RPA and AI can be configured in any electronic device to implement the method for configuring the service interface combining RPA and AI according to the embodiment of the present application. Optionally, the above RPA system may include an RPA robot.
本申请的实施例中,RPA系统可获取待配置的人工智能(Artificial Intelligence,AI)服务接口的AI服务需求。In the embodiment of the present application, the RPA system can obtain the AI service requirements of the artificial intelligence (Artificial Intelligence, AI) service interface to be configured.
需要说明的是,AI服务接口指的是用于连接AI服务端的接口,其中,AI服务端包括但不限于AI算法、模型等。It should be noted that the AI service interface refers to the interface used to connect to the AI server, where the AI server includes but is not limited to AI algorithms, models, and so on.
需要说明的是,AI服务需求的服务类别为多个,对AI服务需求的服务类别不做过多限定,比如,AI服务需求包括但不限于自然语言处理(Natural Language Processing,NLP)、光学字符识别(Optical Character Recognition,OCR)、语音合成、语音识别、图像标注等。It should be noted that there are multiple service categories for AI service requirements, and the service categories for AI service requirements are not too limited. For example, AI service requirements include but are not limited to natural language processing (Natural Language Processing, NLP), optical character Recognition (Optical Character Recognition, OCR), speech synthesis, speech recognition, image annotation, etc.
在一种实施方式中,获取待配置的AI服务接口的AI服务需求,可包括RPA系统接收 用户的配置请求,配置请求中携带待配置的AI服务接口的AI服务需求。比如,用户可在低代码平台上发布配置请求,相应的,RPA系统可接收用户的配置请求,从配置请求中提取出待配置的AI服务接口的AI服务需求。In one embodiment, obtaining the AI service requirements of the AI service interface to be configured may include the RPA system receiving a configuration request from the user, and the configuration request carries the AI service requirements of the AI service interface to be configured. For example, a user can issue a configuration request on a low-code platform. Correspondingly, the RPA system can receive the user's configuration request and extract the AI service requirements of the AI service interface to be configured from the configuration request.
在一种实施方式中,RPA系统可打开低代码平台,使用预设账号登录低代码平台,从低代码平台上的待配置列表中获取待配置的AI服务接口的AI服务需求。其中,预设账号为RPA系统登录低代码平台的登录账号,可根据实际情况进行设置,这里不做过多限定。由此,该方法中RPA系统可自动打开并登录低代码平台,并自动从低代码平台的待配置列表中获取待配置的AI服务接口的AI服务需求,可实现AI服务需求的自动获取。In one embodiment, the RPA system can open the low-code platform, log in to the low-code platform with a preset account, and obtain the AI service requirements of the AI service interface to be configured from the list to be configured on the low-code platform. Among them, the default account is the login account for the RPA system to log in to the low-code platform, which can be set according to the actual situation, and there are no too many restrictions here. Therefore, in this method, the RPA system can automatically open and log in to the low-code platform, and automatically obtain the AI service requirements of the AI service interface to be configured from the to-be-configured list of the low-code platform, which can realize the automatic acquisition of AI service requirements.
S102,RPA系统对AI服务需求进行拆分,生成单类别的多个子AI服务需求。S102. The RPA system splits the AI service requirements to generate multiple sub-AI service requirements of a single category.
本申请的实施例中,RPA系统可对AI服务需求进行拆分,生成单类别的多个子AI服务需求,即拆分后的每个子AI服务需求的服务类别为1个。In the embodiment of this application, the RPA system can split the AI service requirements to generate multiple sub-AI service requirements of a single category, that is, each sub-AI service requirement after splitting has one service category.
例如,待配置的AI服务接口A的AI服务需求包括文字识别和表格识别,可将上述AI服务需求进行拆分,生成的子AI服务需求包括文字识别和表格识别。For example, the AI service requirements of the AI service interface A to be configured include text recognition and form recognition, the above AI service requirements can be split, and the generated sub-AI service requirements include text recognition and form recognition.
例如,待配置的AI服务接口B的AI服务需求包括光学字符识别和自然语言处理,可将上述AI服务需求进行拆分,生成的子AI服务需求包括光学字符识别和自然语言处理。For example, the AI service requirements of the AI service interface B to be configured include optical character recognition and natural language processing, the above AI service requirements can be split, and the generated sub-AI service requirements include optical character recognition and natural language processing.
例如,待配置的AI服务接口C的AI服务需求包括语音识别和语音交互,可将上述AI服务需求进行拆分,生成的子AI服务需求包括语音识别和语音交互。For example, the AI service requirements of the AI service interface C to be configured include voice recognition and voice interaction, the above AI service requirements can be split, and the generated sub-AI service requirements include voice recognition and voice interaction.
在一种实施方式中,对AI服务需求进行拆分,生成单类别的多个子AI服务需求,可包括RPA系统基于NLP识别AI服务需求所涉及的多个单类别,RPA系统针对识别到的任一单类别,从AI服务需求中提取出任一单类别的子AI服务需求。由此,RPA系统可基于NLP实现AI服务需求的自动拆分。In one embodiment, splitting the AI service requirements to generate multiple sub-AI service requirements of a single category may include the RPA system identifying multiple single categories involved in the AI service requirements based on NLP, and the RPA system for any identified sub-categories A single category, extract any single category of sub-AI service requirements from AI service requirements. Therefore, the RPA system can realize the automatic splitting of AI service requirements based on NLP.
比如,待配置的AI服务接口I的AI服务需求为智能文档处理,文档中包括图片,图片携带有文字和表格,RPA系统可基于NLP识别上述AI服务需求所涉及的多个单类别,识别到的多个单类别包括文字识别和表格识别,并针对识别到的文字识别,从上述AI服务需求中提取出文字识别的子AI服务需求,针对识别到的表格识别,从上述AI服务需求中提取出表格识别的子AI服务需求。For example, the AI service requirement of the AI service interface I to be configured is intelligent document processing. The document includes pictures, and the pictures carry text and tables. The RPA system can identify multiple single categories involved in the above AI service requirements based on NLP, and identify The multiple single categories include text recognition and form recognition, and for the recognized text recognition, extract the sub-AI service requirements for text recognition from the above AI service requirements, and extract the sub AI service requirements for the recognized form recognition from the above AI service requirements Sub-AI service requirements identified by the table.
S103,RPA系统识别子AI服务需求之间的关联关系,其中,关联关系包括并联关系和串联关系中的至少一种。S103. The RPA system identifies an association relationship between sub-AI service requirements, wherein the association relationship includes at least one of a parallel relationship and a serial relationship.
本申请的实施例中,子AI服务需求之间具有关联关系,其中,关联关系包括并联关系和串联关系中的至少一种。In the embodiment of the present application, sub-AI service requirements have an association relationship, wherein the association relationship includes at least one of a parallel relationship and a serial relationship.
在一种实施方式中,子AI服务需求之间的关联关系仅包括并联关系。例如,子AI服务需求包括文字识别和表格识别,文字识别和表格识别之间的关联关系为并联关系。In one embodiment, the association relationship between sub-AI service requirements only includes parallel relationship. For example, sub-AI service requirements include text recognition and form recognition, and the relationship between text recognition and form recognition is a parallel relationship.
在一种实施方式中,子AI服务需求之间的关联关系仅包括串联关系。例如,子AI服务需求包括光学字符识别和自然语言处理,光学字符识别和自然语言处理之间的关联关系为串联关系,光学字符识别的处理时间早于自然语言处理的处理时间。In an implementation manner, the association relationship between sub-AI service requirements only includes a series relationship. For example, sub-AI service requirements include optical character recognition and natural language processing. The correlation between optical character recognition and natural language processing is a serial relationship, and the processing time of optical character recognition is earlier than that of natural language processing.
在一种实施方式中,子AI服务需求之间的关联关系包括并联关系和串联关系。例如,子AI服务需求包括文字识别、表格识别和自然语言处理,其中,文字识别和表格识别之间的关联关系为并联关系,自然语言处理分别与文字识别、表格识别之间的关联关系为串联关系,且自然语言处理的处理时间晚于文字识别、表格识别的处理时间。In an implementation manner, the association relationship between sub-AI service requirements includes a parallel relationship and a serial relationship. For example, sub-AI service requirements include text recognition, form recognition, and natural language processing. Among them, the association between text recognition and form recognition is a parallel relationship, and the association between natural language processing, text recognition, and form recognition is serial relationship, and the processing time of natural language processing is later than that of text recognition and form recognition.
在一种实施方式中,可预先建立子AI服务需求和关联关系之间的映射关系或者映射表,在获取到子AI服务需求之后,查询映射关系或者映射表,能够获取到对应的关联关系。应说明的是,上述映射关系或者映射表均可根据实际情况进行设置,这里不做过多限定。In one embodiment, a mapping relationship or a mapping table between sub-AI service requirements and association relationships can be established in advance, and after the sub-AI service requirements are obtained, the mapping relationship or mapping table can be queried to obtain the corresponding association relationship. It should be noted that the above mapping relationship or mapping table can be set according to actual conditions, and there is no excessive limitation here.
S104,RPA系统基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。S104. The RPA system configures the AI service interface based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement.
在一种实施方式中,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口,可包括RPA系统基于子AI服务需求之间的关联关系,构建子AI服务接口之间的关联关系,上述关联关系用于配置AI服务接口。In one embodiment, configuring the AI service interface based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement may include that the RPA system constructs the sub-AI service interface based on the association relationship between the sub-AI service requirements. The above association relationship is used to configure the AI service interface.
例如,待配置的AI服务接口A的AI服务需求对应的子AI服务需求包括文字识别和表格识别,文字识别和表格识别之间的关联关系为并联关系,文字识别和表格识别对应的子AI服务接口分别为子AI服务接口D、E,RPA系统可构建子AI服务接口D、E之间的并联关系,以配置AI服务接口A。For example, the sub-AI service requirements corresponding to the AI service requirements of AI service interface A to be configured include text recognition and form recognition, the association between text recognition and form recognition is a parallel relationship, and the sub-AI services corresponding to text recognition and form recognition The interfaces are sub-AI service interfaces D and E, and the RPA system can build a parallel relationship between sub-AI service interfaces D and E to configure AI service interface A.
例如,待配置的AI服务接口B的AI服务需求对应的子AI服务需求包括光学字符识别和自然语言处理,光学字符识别和自然语言处理之间的关联关系为串联关系,光学字符识别和自然语言处理对应的子AI服务接口分别为子AI服务接口F、G,RPA系统可构建子AI服务接口F、G之间的串联关系,以配置AI服务接口B。For example, the sub-AI service requirements corresponding to the AI service requirements of AI service interface B to be configured include optical character recognition and natural language processing. The association relationship between optical character recognition and natural language processing is a serial relationship, optical character recognition and natural language The corresponding sub-AI service interfaces are respectively sub-AI service interfaces F and G, and the RPA system can build a serial relationship between sub-AI service interfaces F and G to configure AI service interface B.
例如,待配置的AI服务接口H的AI服务需求对应的子AI服务需求包括文字识别、表格识别和自然语言处理,其中,文字识别和表格识别之间的关联关系为并联关系,自然语言处理分别与文字识别、表格识别之间的关联关系为串联关系,文字识别、表格识别和自然语言处理对应的子AI服务接口分别为子AI服务接口D、E、G,RPA系统可构建子AI服务接口D、E之间的并联关系,构建子AI服务接口D、G之间的串联关系,以及构建子AI服务接口E、G之间的串联关系,以配置AI服务接口H。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing. The association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively The association relationship with text recognition and form recognition is a serial relationship. The sub-AI service interfaces corresponding to text recognition, form recognition and natural language processing are respectively sub-AI service interfaces D, E, and G. The RPA system can build sub-AI service interfaces The parallel relationship between D and E, the serial relationship between sub-AI service interfaces D and G, and the serial relationship between sub-AI service interfaces E and G are constructed to configure AI service interface H.
综上,根据本申请实施例的AI服务接口的配置方法,RPA系统能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,RPA系统可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。To sum up, according to the configuration method of the AI service interface of the embodiment of the present application, the RPA system can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize the AI service requirements Automatic splitting of sub-AI service requirements, identifying the relationship between sub-AI service requirements, and configuring AI service interfaces based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement. Therefore, the RPA system can automatically configure the AI service interface based on the correlation between the sub-AI service requirements, which is suitable for the application scenarios of the AI service interface for multi-category AI service requirements. It has good scalability and improves the AI service interface. Development efficiency.
在上述任一实施例的基础上,如图2所示,步骤S103中基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口,可包括:On the basis of any of the above embodiments, as shown in FIG. 2, in step S103, configuring the AI service interface based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement may include:
S201,RPA系统获取子AI服务接口的第一配置信息。S201. The RPA system acquires first configuration information of a sub-AI service interface.
本申请的实施例中,RPA系统可获取子AI服务接口的第一配置信息。应说明的是,第一配置信息指的是用于配置子AI服务接口的配置信息,对配置信息的类别不做过多限定,比如,配置信息可包括基于GraphQL查询语言的Schema文件、解析器Resolver。In the embodiment of the present application, the RPA system can acquire the first configuration information of the sub-AI service interface. It should be noted that the first configuration information refers to the configuration information used to configure the sub-AI service interface, and the type of configuration information is not limited too much. For example, the configuration information may include Schema files based on the GraphQL query language, parser Resolver.
在一种实施方式中,RPA系统可预先建立子AI服务接口和第一配置信息之间的映射关系或者映射表,在获取到子AI服务接口之后,查询映射关系或者映射表,能够获取到对应的第一配置信息。应说明的是,上述映射关系或者映射表均可根据实际情况进行设置,这里不做过多限定。In one embodiment, the RPA system can pre-establish the mapping relationship or mapping table between the sub-AI service interface and the first configuration information. After obtaining the sub-AI service interface, query the mapping relationship or mapping table to obtain the corresponding The first configuration information. It should be noted that the above mapping relationship or mapping table can be set according to actual conditions, and there is no excessive limitation here.
S202,RPA系统基于每个子AI服务接口的第一配置信息和关联关系,生成AI服务接 口的第二配置信息。S202. The RPA system generates second configuration information of the AI service interface based on the first configuration information and the association relationship of each sub-AI service interface.
在一种实施方式中,基于每个子AI服务接口的第一配置信息和关联关系,生成AI服务接口的第二配置信息,可包括RPA系统将每个子服务接口的第一配置信息按照关联关系进行组合,生成AI服务接口的第二配置信息。In one embodiment, generating the second configuration information of the AI service interface based on the first configuration information and the association relationship of each sub-AI service interface may include the RPA system performing the first configuration information of each sub-service interface according to the association relationship combined to generate the second configuration information of the AI service interface.
例如,RPA系统可将关联关系为并联关系的子服务接口的第一配置信息按照并联关系进行组合,和/或将关联关系为串联关系的子服务接口的第一配置信息按照串联关系进行组合,生成AI服务接口的第二配置信息。For example, the RPA system may combine the first configuration information of sub-service interfaces whose association relationship is a parallel relationship according to a parallel relationship, and/or combine the first configuration information of sub-service interfaces whose association relationship is a serial relationship according to a series relationship, Generate second configuration information of the AI service interface.
比如,待配置的AI服务接口H的AI服务需求对应的子AI服务需求包括文字识别、表格识别和自然语言处理,其中,文字识别和表格识别之间的关联关系为并联关系,自然语言处理分别与文字识别、表格识别之间的关联关系为串联关系,文字识别、表格识别和自然语言处理对应的子AI服务接口分别为子AI服务接口D、E、G,RPA系统可将子AI服务接口D、E的第一配置信息按照并联关系进行组合,将子AI服务接口D、G的第一配置信息按照串联关系进行组合,以及将子AI服务接口E、G的第一配置信息按照串联关系进行组合,生成AI服务接口H的第二配置信息。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing. The association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively The association relationship with text recognition and form recognition is a series relationship. The sub-AI service interfaces corresponding to text recognition, form recognition and natural language processing are sub-AI service interfaces D, E, and G respectively. The RPA system can use sub-AI service interfaces Combine the first configuration information of D and E according to the parallel relationship, combine the first configuration information of the sub-AI service interfaces D and G according to the serial relationship, and combine the first configuration information of the sub-AI service interfaces E and G according to the serial relationship Combine them to generate the second configuration information of the AI service interface H.
S203,RPA系统基于第二配置信息,配置AI服务接口。S203. The RPA system configures the AI service interface based on the second configuration information.
在一种实施方式中,基于第二配置信息,配置AI服务接口,可包括RPA系统将第二配置信息存储至低代码平台中的目标存储空间中,目标存储空间用于存储AI服务接口的配置信息。应说明的是,对目标存储空间不做过多限定。In one embodiment, configuring the AI service interface based on the second configuration information may include the RPA system storing the second configuration information in a target storage space in the low-code platform, and the target storage space is used to store the configuration of the AI service interface information. It should be noted that the target storage space is not limited too much.
在一种实施方式中,RPA系统还可生成AI服务接口的前端操作接口。应说明的是,前端操作接口指的是用于响应用户操作的接口,对前端操作接口的类别不做过多限定,比如,前端操作接口包括但不限于基于查询语言的前端操作接口,比如基于GraphQL的前端操作接口。In one embodiment, the RPA system can also generate a front-end operation interface of the AI service interface. It should be noted that the front-end operation interface refers to the interface used to respond to user operations, and there are no excessive restrictions on the types of front-end operation interfaces. For example, front-end operation interfaces include but are not limited to front-end operation interfaces based on query languages, such as based on GraphQL's front-end operation interface.
由此,该方法中RPA系统可基于每个子AI服务接口的第一配置信息和关联关系,生成AI服务接口的第二配置信息,并基于第二配置信息,配置AI服务接口,可实现AI服务接口的自动配置。Therefore, in this method, the RPA system can generate the second configuration information of the AI service interface based on the first configuration information and the association relationship of each sub-AI service interface, and configure the AI service interface based on the second configuration information to realize the AI service Automatic configuration of interfaces.
在上述任一实施例的基础上,如图3所示,步骤S202中基于每个子AI服务接口的第一配置信息和关联关系,生成AI服务接口的第二配置信息,可包括:On the basis of any of the above embodiments, as shown in FIG. 3, in step S202, based on the first configuration information and association relationship of each sub-AI service interface, the second configuration information of the AI service interface is generated, which may include:
S301,RPA系统识别关联关系为并联关系的第一子AI服务接口。S301. The RPA system identifies that the association relationship is the first sub-AI service interface of the parallel relationship.
例如,待配置的AI服务接口A的AI服务需求对应的子AI服务需求包括文字识别和表格识别,文字识别和表格识别之间的关联关系为并联关系,文字识别和表格识别对应的子AI服务接口分别为子AI服务接口D、E,RPA系统识别关联关系为并联关系的第一子AI服务接口包括子AI服务接口D、E。For example, the sub-AI service requirements corresponding to the AI service requirements of AI service interface A to be configured include text recognition and form recognition, the association between text recognition and form recognition is a parallel relationship, and the sub-AI services corresponding to text recognition and form recognition The interfaces are respectively sub-AI service interfaces D and E, and the first sub-AI service interface for which the RPA system recognizes that the association relationship is a parallel relationship includes sub-AI service interfaces D and E.
S302,RPA系统获取AI服务接口的多个字段。S302. The RPA system acquires multiple fields of the AI service interface.
本申请的实施例中,可获取待配置的AI服务接口的多个字段。应说明的是,字段指的是AI服务接口反馈的字段,对字段不做过多限定。比如,字段包括但不限于姓名、地址、名称、标题、简介、大纲等。In the embodiment of the present application, multiple fields of the AI service interface to be configured can be obtained. It should be noted that the fields refer to the fields fed back by the AI service interface, and the fields are not limited too much. For example, fields include, but are not limited to, name, address, title, title, introduction, outline, and the like.
S303,RPA系统构建第一子AI服务接口的第一配置信息与字段之间的映射关系,基于映射关系生成第二配置信息。S303. The RPA system constructs a mapping relationship between the first configuration information and fields of the first sub-AI service interface, and generates second configuration information based on the mapping relationship.
在一种实施方式中,RPA系统可构建第一子AI服务接口的数据取出DataFetcher配置信 息与Schema文件中的字段之间的映射关系,基于映射关系生成第二配置信息。应说明的是,数据取出配置信息用于定义取数据的接口。In one embodiment, the RPA system can construct the mapping relationship between the data extraction DataFetcher configuration information of the first sub-AI service interface and the fields in the Schema file, and generate the second configuration information based on the mapping relationship. It should be noted that the data fetching configuration information is used to define an interface for fetching data.
比如,待配置的AI服务接口A的AI服务需求对应的子AI服务需求包括文字识别和表格识别,文字识别和表格识别对应的子AI服务接口分别为子AI服务接口D、E,识别关联关系为并联关系的第一子AI服务接口包括子AI服务接口D、E,AI服务接口A的Schema文件中的字段包括名称、标题、简介、表格行数、表格列数,RPA系统可构建子AI服务接口D的数据取出配置信息与名称、标题、简介之间的映射关系,以及构建子AI服务接口E的数据取出配置信息与表格行数、表格列数之间的映射关系,基于映射关系生成AI服务接口A的第二配置信息。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface A to be configured include text recognition and form recognition, and the sub-AI service interfaces corresponding to text recognition and form recognition are sub-AI service interfaces D and E respectively, identifying association relationships The first sub-AI service interface of the parallel relationship includes sub-AI service interfaces D and E. The fields in the Schema file of AI service interface A include name, title, introduction, number of table rows, and number of table columns. The RPA system can build sub-AIs The mapping relationship between the data extraction configuration information of service interface D and the name, title, and introduction, as well as the mapping relationship between the data extraction configuration information of the sub-AI service interface E and the number of table rows and table columns, are generated based on the mapping relationship The second configuration information of AI service interface A.
在一种实施方式中,RPA系统可构建第一子服务接口的解析器Resolver与Schema文件中的字段之间的映射关系,基于映射关系生成第二配置信息。应说明的是,构建解析器与字段之间的映射关系的相关内容,可参见上述实施例,这里不再赘述。In an implementation manner, the RPA system may construct a mapping relationship between the Resolver of the first sub-service interface and fields in the Schema file, and generate the second configuration information based on the mapping relationship. It should be noted that, for the related content of constructing the mapping relationship between the parser and the fields, refer to the above-mentioned embodiments, and details are not repeated here.
由此,该方法中RPA系统针对关联关系为并联关系的第一子AI服务接口,可获取AI服务接口的多个字段,构建第一子AI服务接口的第一配置信息与字段之间的映射关系,基于映射关系生成第二配置信息,可实现多个第一子AI服务接口的并联调用。Therefore, in this method, the RPA system can obtain multiple fields of the AI service interface for the first sub-AI service interface whose association relationship is a parallel relationship, and construct a mapping between the first configuration information and the fields of the first sub-AI service interface The second configuration information is generated based on the mapping relationship, which can realize the parallel invocation of multiple first sub-AI service interfaces.
在上述任一实施例的基础上,如图4所示,步骤S202中基于每个子AI服务接口的第一配置信息和关联关系,生成AI服务接口的第二配置信息,可包括:On the basis of any of the above embodiments, as shown in FIG. 4, in step S202, based on the first configuration information and association relationship of each sub-AI service interface, the second configuration information of the AI service interface is generated, which may include:
S401,RPA系统识别关联关系为串联关系的第二子AI服务接口。S401. The RPA system identifies the second sub-AI service interface whose association relationship is a serial relationship.
例如,待配置的AI服务接口B的AI服务需求对应的子AI服务需求包括光学字符识别和自然语言处理,光学字符识别和自然语言处理之间的关联关系为串联关系,光学字符识别和自然语言处理对应的子AI服务接口分别为子AI服务接口F、G,RPA系统识别关联关系为串联关系的第二子AI服务接口包括子AI服务接口F、G。For example, the sub-AI service requirements corresponding to the AI service requirements of AI service interface B to be configured include optical character recognition and natural language processing. The association relationship between optical character recognition and natural language processing is a serial relationship, optical character recognition and natural language The sub-AI service interfaces corresponding to the processing are respectively sub-AI service interfaces F and G, and the second sub-AI service interface that the RPA system recognizes as a serial relationship includes sub-AI service interfaces F and G.
S402,RPA系统将第二子AI服务接口对应的子AI服务需求按照调用时间从早到晚进行排序,生成第二子AI服务接口对应的子AI服务需求的第一排序。S402. The RPA system sorts the sub-AI service requirements corresponding to the second sub-AI service interface from early to late according to the invocation time, and generates a first ranking of the sub-AI service requirements corresponding to the second sub-AI service interface.
可以理解的是,不同的第二子AI服务接口对应的子AI服务需求的调用时间不同。比如,识别关联关系为串联关系的第二子AI服务接口包括子AI服务接口F、G,子AI服务接口F对应的子AI服务需求(光学字符识别)的调用时间早于子AI服务接口G对应的子AI服务需求(自然语言处理)的调用时间。It can be understood that the invocation time of sub-AI service requirements corresponding to different second sub-AI service interfaces is different. For example, the second sub-AI service interface that identifies the association relationship as a series relationship includes sub-AI service interfaces F and G, and the invocation time of the sub-AI service requirement (optical character recognition) corresponding to sub-AI service interface F is earlier than that of sub-AI service interface G The invocation time of the corresponding sub-AI service requirement (natural language processing).
本申请的实施例中,RPA系统可将第二子AI服务接口对应的子AI服务需求按照调用时间从早到晚进行排序,,生成第二子AI服务接口对应的子AI服务需求的第一排序,即调用时间早的子AI服务需求的排序靠前,调用时间晚的子AI服务需求的排序靠后。比如,识别关联关系为串联关系的第二子AI服务接口包括子AI服务接口F、G,子AI服务接口F对应的子AI服务需求(光学字符识别)的调用时间早于子AI服务接口G对应的子AI服务需求(自然语言处理)的调用时间,则第二子AI服务接口F、G对应的子AI服务需求的第一排序为光学字符识别、自然语言处理。In the embodiment of this application, the RPA system can sort the sub-AI service requirements corresponding to the second sub-AI service interface according to the call time from early to late, and generate the first sub-AI service requirements corresponding to the second sub-AI service interface. Sorting, that is, the sub-AI service requirements with the earliest calling time are sorted first, and the sub-AI service requirements with the late calling time are sorted at the bottom. For example, the second sub-AI service interface that identifies the association relationship as a series relationship includes sub-AI service interfaces F and G, and the invocation time of the sub-AI service requirement (optical character recognition) corresponding to sub-AI service interface F is earlier than that of sub-AI service interface G For the invocation time of the corresponding sub-AI service requirement (natural language processing), the first ranking of the sub-AI service requirements corresponding to the second sub-AI service interfaces F and G is optical character recognition and natural language processing.
S403,RPA系统基于第二子AI服务接口对应的子AI服务需求的第一排序,生成第二子AI服务接口的第一配置信息的第二排序。S403. The RPA system generates a second ranking of first configuration information of the second sub-AI service interface based on the first ranking of sub-AI service requirements corresponding to the second sub-AI service interface.
本申请的实施例中,RPA系统可基于第二子AI服务接口对应的子AI服务需求的第一排序,生成第二子AI服务接口的第一配置信息的第二排序,即调用时间早的子AI服务需求 对应的第一配置信息的排序靠前,调用时间晚的子AI服务需求对应的第一配置信息的排序靠后。In the embodiment of this application, the RPA system can generate the second ranking of the first configuration information of the second sub-AI service interface based on the first ranking of the sub-AI service requirements corresponding to the second sub-AI service interface, that is, the one with the earliest call time The ranking of the first configuration information corresponding to the sub-AI service requirements is higher, and the ranking of the first configuration information corresponding to the sub-AI service requirements with a later call time is lower.
例如,第二子AI服务接口F、G对应的子AI服务需求的第一排序为光学字符识别、自然语言处理,第二子AI服务接口F、G的第一配置信息的第二排序为第二子AI服务接口F的第一配置信息、第二子AI服务接口G的第一配置信息。For example, the first ranking of the sub-AI service requirements corresponding to the second sub-AI service interfaces F and G is optical character recognition and natural language processing, and the second ranking of the first configuration information of the second sub-AI service interfaces F and G is No. The first configuration information of the second sub-AI service interface F, and the first configuration information of the second sub-AI service interface G.
S404,RPA系统将第二子AI服务接口的第一配置信息按照第二排序进行拼接,生成第二配置信息。S404. The RPA system splices the first configuration information of the second sub-AI service interface according to the second order to generate second configuration information.
在一种实施方式中,RPA系统可将第二子AI服务接口的Schema文件按照第二排序进行拼接,生成第二配置信息。In one embodiment, the RPA system can splice the Schema files of the second sub-AI service interface according to the second order to generate the second configuration information.
在一种实施方式中,RPA系统可将第一Schema文件的最后一个字段与第二Schema文件的第一个字段进行拼接,其中,第一Schema文件、第二Schema文件为相邻排序的Schema文件,且第一Schema文件的排序比第二Schema文件的排序靠前。In one embodiment, the RPA system can splice the last field of the first Schema file with the first field of the second Schema file, wherein the first Schema file and the second Schema file are adjacently sorted Schema files , and the sorting of the first Schema file is higher than that of the second Schema file.
比如,待配置的AI服务接口B的AI服务需求对应的子AI服务需求包括光学字符识别和自然语言处理,光学字符识别和自然语言处理之间的关联关系为串联关系,光学字符识别和自然语言处理对应的子AI服务接口分别为子AI服务接口F、G,识别关联关系为串联关系的第二子AI服务接口包括子AI服务接口F、G,第二子AI服务接口F、G的Schema文件的第二排序为第二子AI服务接口F的Schema文件、第二子AI服务接口G的Schema文件,RPA系统可将第二子AI服务接口F的Schema文件、第二子AI服务接口G的Schema文件按照上述第二排序进行拼接,生成AI服务接口B的第二配置信息。比如,RPA系统可将第二子AI服务接口F的Schema文件的最后一个字段与第二子AI服务接口G的Schema文件的第一个字段进行拼接,,生成AI服务接口B的第二配置信息。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface B to be configured include optical character recognition and natural language processing. The corresponding sub-AI service interfaces are respectively sub-AI service interfaces F and G, and the second sub-AI service interface that identifies the association relationship as a series relationship includes sub-AI service interfaces F and G, and the Schema of the second sub-AI service interfaces F and G The second sorting of the files is the Schema file of the second sub-AI service interface F, the Schema file of the second sub-AI service interface G, and the RPA system can combine the Schema file of the second sub-AI service interface F, the second sub-AI service interface G The Schema files are spliced according to the above-mentioned second sorting to generate the second configuration information of the AI service interface B. For example, the RPA system can splice the last field of the Schema file of the second sub-AI service interface F with the first field of the Schema file of the second sub-AI service interface G to generate the second configuration information of the AI service interface B .
由此,该方法中RPA系统针对关联关系为串联关系的第二子AI服务接口,可将第二子AI服务接口对应的子AI服务需求按照调用时间从早到晚进行排序,得到第一排序,基于第一排序生成第二子AI服务接口的第一配置信息的第二排序,将第二子AI服务接口的第一配置信息按照第二排序进行拼接,生成第二配置信息,可实现多个第二子AI服务接口的串联调用。Therefore, in this method, the RPA system can sort the sub-AI service requirements corresponding to the second sub-AI service interface according to the call time from early to late for the second sub-AI service interface whose association relationship is a series relationship, and obtain the first ranking Based on the first sorting, the second sorting of the first configuration information of the second sub-AI service interface is generated, and the first configuration information of the second sub-AI service interface is spliced according to the second sorting to generate the second configuration information, which can realize multiple A serial call of the second sub-AI service interface.
在上述任一实施例的基础上,如图5所示,步骤S202中基于每个子AI服务接口的第一配置信息和关联关系,生成AI服务接口的第二配置信息,可包括:On the basis of any of the above embodiments, as shown in FIG. 5, in step S202, based on the first configuration information and association relationship of each sub-AI service interface, the second configuration information of the AI service interface is generated, which may include:
S501,RPA系统识别关联关系包括并联关系和串联关系的第三子AI服务接口。S501. The RPA system identifies a third sub-AI service interface whose association relationship includes a parallel relationship and a serial relationship.
例如,待配置的AI服务接口H的AI服务需求对应的子AI服务需求包括文字识别、表格识别和自然语言处理,其中,文字识别和表格识别之间的关联关系为并联关系,自然语言处理分别与文字识别、表格识别之间的关联关系为串联关系,文字识别、表格识别和自然语言处理对应的子AI服务接口分别为子AI服务接口D、E、G,RPA系统识别关联关系包括并联关系和串联关系的第三子AI服务接口包括子AI服务接口D、E、G,其中,关联关系为并联关系的第三子AI服务接口包括子AI服务接口D、E,关联关系为串联关系的第三子AI服务接口包括子AI服务接口D、G,关联关系为串联关系的第三子AI服务接口包括子AI服务接口E、G。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing. The association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively The association relationship with text recognition and form recognition is a series relationship. The sub-AI service interfaces corresponding to text recognition, form recognition, and natural language processing are sub-AI service interfaces D, E, and G respectively. The RPA system identification association relationship includes a parallel relationship The third sub-AI service interface of the serial relationship includes sub-AI service interfaces D, E, G, wherein the third sub-AI service interface with a parallel relationship includes sub-AI service interfaces D and E, and the associated relationship is a serial relationship The third sub-AI service interface includes sub-AI service interfaces D and G, and the third sub-AI service interface with a serial relationship includes sub-AI service interfaces E and G.
S502,针对关联关系为并联关系的第三子AI服务接口,RPA系统获取AI服务接口的多个字段;RPA系统构建第三子AI服务接口的第一配置信息与字段之间的映射关系,基于 映射关系生成第一候选配置信息。S502, for the third sub-AI service interface whose association relationship is a parallel relationship, the RPA system acquires multiple fields of the AI service interface; the RPA system constructs a mapping relationship between the first configuration information and the fields of the third sub-AI service interface, based on The mapping relationship generates first candidate configuration information.
本申请的实施例中,第二配置信息包括第一候选配置信息。In the embodiment of the present application, the second configuration information includes first candidate configuration information.
比如,待配置的AI服务接口H的AI服务需求对应的子AI服务需求包括文字识别、表格识别和自然语言处理,其中,文字识别和表格识别之间的关联关系为并联关系,自然语言处理分别与文字识别、表格识别之间的关联关系为串联关系,文字识别、表格识别和自然语言处理对应的子AI服务接口分别为子AI服务接口D、E、G,RPA系统识别关联关系包括并联关系和串联关系的第三子AI服务接口包括子AI服务接口D、E、G。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing. The association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively The association relationship with text recognition and form recognition is a series relationship. The sub-AI service interfaces corresponding to text recognition, form recognition, and natural language processing are sub-AI service interfaces D, E, and G respectively. The RPA system identification association relationship includes a parallel relationship The third sub-AI service interface in series relationship includes sub-AI service interfaces D, E, and G.
其中,关联关系为并联关系的第三子AI服务接口包括子AI服务接口D、E,针对关联关系为并联关系的子AI服务接口D、E,RPA系统可获取AI服务接口H的多个字段,构建子AI服务接口D、E的第一配置信息与字段之间的映射关系,基于映射关系生成第一候选配置信息。Among them, the third sub-AI service interface whose association relationship is a parallel relationship includes sub-AI service interfaces D and E, and for the sub-AI service interfaces D and E whose association relationship is a parallel relationship, the RPA system can obtain multiple fields of the AI service interface H , constructing a mapping relationship between the first configuration information and fields of the sub-AI service interfaces D and E, and generating first candidate configuration information based on the mapping relationship.
需要说明的是,步骤S502的相关内容可参见上述实施例,这里不再赘述。It should be noted that, relevant content of step S502 may refer to the above-mentioned embodiments, and details are not repeated here.
S503,针对关联关系为串联关系的第三子AI服务接口,RPA系统将第三子AI服务接口对应的子AI服务需求按照调用时间从早到晚进行排序,生成第三子AI服务接口对应的子AI服务需求的第一排序;RPA系统基于第三子AI服务接口对应的子AI服务需求的第一排序,生成第三子AI服务接口的第一配置信息的第二排序;RPA系统将第三子AI服务接口的第一配置信息按照第二排序进行拼接,生成第二候选配置信息。S503, for the third sub-AI service interface whose association relationship is a serial relationship, the RPA system sorts the sub-AI service requirements corresponding to the third sub-AI service interface according to the calling time from early to late, and generates the corresponding sub-AI service requirements of the third sub-AI service interface The first sorting of the sub-AI service requirements; the RPA system generates the second sorting of the first configuration information of the third sub-AI service interface based on the first sorting of the sub-AI service requirements corresponding to the third sub-AI service interface; The first configuration information of the three sub-AI service interfaces is spliced according to the second ranking to generate second candidate configuration information.
本申请的实施例中,第二配置信息还包括第二候选配置信息。In the embodiment of the present application, the second configuration information further includes second candidate configuration information.
比如,待配置的AI服务接口H的AI服务需求对应的子AI服务需求包括文字识别、表格识别和自然语言处理,其中,文字识别和表格识别之间的关联关系为并联关系,自然语言处理分别与文字识别、表格识别之间的关联关系为串联关系,文字识别、表格识别和自然语言处理对应的子AI服务接口分别为子AI服务接口D、E、G,RPA系统识别关联关系包括并联关系和串联关系的第三子AI服务接口包括子AI服务接口D、E、G。For example, the sub-AI service requirements corresponding to the AI service requirements of the AI service interface H to be configured include text recognition, form recognition, and natural language processing. The association between text recognition and form recognition is a parallel relationship, and natural language processing is respectively The association relationship with text recognition and form recognition is a series relationship. The sub-AI service interfaces corresponding to text recognition, form recognition, and natural language processing are sub-AI service interfaces D, E, and G respectively. The RPA system identification association relationship includes a parallel relationship The third sub-AI service interface in series relationship includes sub-AI service interfaces D, E, and G.
其中,关联关系为串联关系的第三子AI服务接口包括子AI服务接口D、G,关联关系为串联关系的第三子AI服务接口包括子AI服务接口E、G。Wherein, the third sub-AI service interface whose association relationship is a serial relationship includes sub-AI service interfaces D and G, and the third sub-AI service interface whose association relationship is a serial relationship includes sub-AI service interfaces E and G.
针对关联关系为串联关系的子AI服务接口D、G,RPA系统可将子AI服务接口D、G对应的子AI服务需求按照调用时间从早到晚进行排序,生成子AI服务接口D、G对应的子AI服务需求的第一排序;RPA系统基于子AI服务接口D、G对应的子AI服务需求的第一排序,生成子AI服务接口D、G的第一配置信息的第二排序;将子AI服务接口D、G的第一配置信息按照第二排序进行拼接,生成第二候选配置信息。For sub-AI service interfaces D and G whose association relationship is in series, the RPA system can sort the sub-AI service requirements corresponding to sub-AI service interfaces D and G according to the call time from early to late, and generate sub-AI service interfaces D and G The first ordering of the corresponding sub-AI service requirements; the RPA system generates the second ordering of the first configuration information of the sub-AI service interfaces D and G based on the first ordering of the sub-AI service requirements corresponding to the sub-AI service interfaces D and G; The first configuration information of the sub-AI service interfaces D and G are spliced according to the second ranking to generate second candidate configuration information.
针对关联关系为串联关系的子AI服务接口E、G,RPA系统可将子AI服务接口E、G对应的子AI服务需求按照调用时间从早到晚进行排序,生成子AI服务接口E、G对应的子AI服务需求的第一排序;RPA系统基于子AI服务接口E、G对应的子AI服务需求的第一排序,生成子AI服务接口E、G的第一配置信息的第二排序;将子AI服务接口E、G的第一配置信息按照第二排序进行拼接,生成第二候选配置信息。For the sub-AI service interfaces E and G whose relationship is in series, the RPA system can sort the sub-AI service requirements corresponding to the sub-AI service interfaces E and G according to the call time from early to late, and generate sub-AI service interfaces E and G The first ordering of the corresponding sub-AI service requirements; the RPA system generates the second ordering of the first configuration information of the sub-AI service interfaces E and G based on the first ordering of the sub-AI service requirements corresponding to the sub-AI service interfaces E and G; The first configuration information of the sub-AI service interfaces E and G are spliced according to the second ranking to generate second candidate configuration information.
需要说明的是,步骤S503的相关内容可参见上述实施例,这里不再赘述。It should be noted that, relevant content of step S503 may refer to the above-mentioned embodiments, and details are not repeated here.
由此,该方法中RPA系统针对关联关系包括并联关系和串联关系的第三子AI服务接口,可基于关联关系为并联关系的第三子AI服务接口的第一配置信息生成第一候选配置信息,基于关联关系为串联关系的第三子AI服务接口的第一配置信息生成第二候选配置信息,第 二配置信息包括第一候选配置信息和第二候选配置信息,可实现多个第三子AI服务接口的并联调用和串联调用。Therefore, in this method, for the third sub-AI service interface whose association relationship includes a parallel relationship and a serial relationship, the RPA system can generate first candidate configuration information for the first configuration information of the third sub-AI service interface with a parallel relationship based on the association relationship , generate second candidate configuration information for the first configuration information of the third sub-AI service interface in a series relationship based on the association relationship, the second configuration information includes the first candidate configuration information and the second candidate configuration information, and multiple third sub-AI service interfaces can be implemented. Parallel call and serial call of AI service interface.
图6为根据本申请一个实施例的结合RPA和AI的服务接口的调用方法的流程示意图。FIG. 6 is a schematic flowchart of a method for invoking a service interface combining RPA and AI according to an embodiment of the present application.
如图6所示,本申请实施例的结合RPA和AI的服务接口的调用方法,包括:As shown in Figure 6, the calling method of the service interface combining RPA and AI in the embodiment of the present application includes:
S601,RPA系统获取用于调用AI服务接口的GraphQL查询语言。S601. The RPA system obtains the GraphQL query language used to call the AI service interface.
需要说明的是,本申请实施例的结合RPA和AI的服务接口的调用方法的执行主体可为机器人流程自动化(Robotic Process Automation,RPA)系统,还可为本申请实施例的结合RPA和AI的服务接口的调用装置,上述RPA系统和/或结合RPA和AI的服务接口的调用装置可以配置在任意电子设备中,以执行本申请实施例的结合RPA和AI的服务接口的调用方法。可选的,上述RPA系统可包括RPA机器人。It should be noted that the execution subject of the invocation method of the service interface combining RPA and AI in the embodiment of the present application may be a robotic process automation (Robotic Process Automation, RPA) system, and may also be the combination of RPA and AI in the embodiment of the present application. The device for invoking the service interface, the RPA system and/or the device for invoking the service interface combining RPA and AI can be configured in any electronic device to execute the method for invoking the service interface combining RPA and AI according to the embodiment of the present application. Optionally, the above RPA system may include an RPA robot.
在一种实施方式中,用户可在低代码平台上输入用于调用AI服务接口的GraphQL查询语言,相应的,RPA系统可获取上述GraphQL查询语言。In one embodiment, the user can input the GraphQL query language used to call the AI service interface on the low-code platform, and correspondingly, the RPA system can obtain the above-mentioned GraphQL query language.
S602,RPA系统对GraphQL查询语言进行转换,获取AI服务接口的解析器Resolver。S602. The RPA system converts the GraphQL query language to obtain a Resolver for the AI service interface.
在一种实施方式中,如图7所示,AI服务系统可包括业务底座、自动转换层和低代码平台。其中,业务底座包括多个子AI服务端和多个子AI服务接口,每个子AI服务端对应一个子AI服务接口。RPA系统获取用于调用AI服务接口的GraphQL查询语言之后,可将GraphQL查询语言发送至自动转换层,由自动转换层对GraphQL查询语言进行转换,获取AI服务接口的解析器,并接收自动转换层反馈的解析器。In one implementation, as shown in Figure 7, the AI service system may include a business base, an automatic conversion layer, and a low-code platform. Wherein, the business base includes multiple sub-AI service terminals and multiple sub-AI service interfaces, and each sub-AI server corresponds to a sub-AI service interface. After the RPA system obtains the GraphQL query language used to call the AI service interface, it can send the GraphQL query language to the automatic conversion layer, and the automatic conversion layer converts the GraphQL query language, obtains the parser of the AI service interface, and receives the automatic conversion layer The parser for feedback.
相关技术中,如图8所示,AI服务系统包括业务底座和低代码平台。为了实现AI服务接口与低代码平台之间的对接,需要进行AI服务接口和低代码平台之间的对接开发。In related technologies, as shown in Figure 8, the AI service system includes a business base and a low-code platform. In order to realize the connection between the AI service interface and the low-code platform, it is necessary to carry out the development of the connection between the AI service interface and the low-code platform.
S603,RPA系统基于解析器,调用AI服务接口。S603, the RPA system calls the AI service interface based on the parser.
在一种实施方式中,如图7所示,RPA系统可基于解析器,调用业务底座上的至少一个子AI服务接口。应说明的是,对调用方式不做过多限定,比如,调用方式包括并联调用和串联调用中的至少一种。In one implementation manner, as shown in FIG. 7 , the RPA system can call at least one sub-AI service interface on the business base based on the parser. It should be noted that there are no too many restrictions on the calling method, for example, the calling method includes at least one of parallel calling and serial calling.
在一种实施方式中,调用AI服务接口之后,可包括RPA系统基于AI服务接口,建立低代码平台和AI服务端之间的连接。比如,低代码平台可通过AI服务接口接收AI服务端反馈的数据。In one embodiment, after invoking the AI service interface, the RPA system may establish a connection between the low-code platform and the AI server based on the AI service interface. For example, the low-code platform can receive data fed back by the AI server through the AI service interface.
综上,根据本申请实施例的AI服务接口的调用方法,RPA系统获取用于调用AI服务接口的GraphQL查询语言之后,可对GraphQL查询语言进行转换,获取AI服务接口的解析器Resolver,基于解析器,调用AI服务接口。由此,RPA系统可自动将AI服务接口转换为基于GraphQL查询语言的前端操作接口,以实现AI服务接口与低代码平台之间的对接,提高了AI服务接口的开发效率。In summary, according to the calling method of the AI service interface in the embodiment of the present application, after the RPA system obtains the GraphQL query language used to call the AI service interface, it can convert the GraphQL query language to obtain the resolver Resolver of the AI service interface, based on the analysis server to call the AI service interface. As a result, the RPA system can automatically convert the AI service interface into a front-end operation interface based on the GraphQL query language, so as to realize the connection between the AI service interface and the low-code platform, and improve the development efficiency of the AI service interface.
图9为根据本申请一个实施例的结合RPA和AI的服务接口的配置装置的框图。FIG. 9 is a block diagram of an apparatus for configuring a service interface combining RPA and AI according to an embodiment of the present application.
如图9所示,本申请实施例的结合RPA和AI的服务接口的配置装置100,包括:获取模块110、拆分模块120、识别模块130和配置模块140。As shown in FIG. 9 , the
获取模块110用于获取待配置的AI服务接口的AI服务需求。The obtaining
拆分模块120用于对所述AI服务需求进行拆分,生成单类别的多个子AI服务需求。The
识别模块130用于识别所述子AI服务需求之间的关联关系,其中,所述关联关系包括并联关系和串联关系中的至少一种。The
配置模块140用于基于每个所述子AI服务需求对应的子AI服务接口和所述关联关系,配置所述AI服务接口。The
在本申请的一个实施例中,所述配置模块140还用于:获取所述子AI服务接口的第一配置信息;基于每个所述子AI服务接口的所述第一配置信息和所述关联关系,生成所述AI服务接口的第二配置信息;基于所述第二配置信息,配置所述AI服务接口。In an embodiment of the present application, the
在本申请的一个实施例中,所述配置模块140还用于:识别所述关联关系为并联关系的第一子AI服务接口;获取所述AI服务接口的多个字段;构建所述第一子AI服务接口的所述第一配置信息与所述字段之间的映射关系,基于所述映射关系生成所述第二配置信息。In an embodiment of the present application, the
在本申请的一个实施例中,所述配置模块140还用于:识别所述关联关系为串联关系的第二子AI服务接口;将所述第二子AI服务接口对应的所述子AI服务需求按照调用时间从早到晚进行排序,生成所述第二子AI服务接口对应的所述子AI服务需求的第一排序;基于所述第二子AI服务接口对应的所述子AI服务需求的所述第一排序,生成所述第二子AI服务接口的所述第一配置信息的第二排序;将所述第二子AI服务接口的所述第一配置信息按照所述第二排序进行拼接,生成所述第二配置信息。In an embodiment of the present application, the
在本申请的一个实施例中,所述配置模块140还用于:识别所述关联关系包括并联关系和串联关系的第三子AI服务接口;针对关联关系为并联关系的所述第三子AI服务接口,获取所述AI服务接口的多个字段;构建所述第三子AI服务接口的所述第一配置信息与所述字段之间的映射关系,基于所述映射关系生成第一候选配置信息;针对关联关系为串联关系的所述第三子AI服务接口,将所述第三子AI服务接口对应的所述子AI服务需求按照调用时间从早到晚进行排序,生成所述第三子AI服务接口对应的所述子AI服务需求的第一排序;基于所述第三子AI服务接口对应的所述子AI服务需求的所述第一排序,生成所述第三子AI服务接口的所述第一配置信息的第二排序;将所述第三子AI服务接口的所述第一配置信息按照所述第二排序进行拼接,生成第二候选配置信息;其中,所述第二配置信息包括所述第一候选配置信息和所述第二候选配置信息。In an embodiment of the present application, the
在本申请的一个实施例中,所述配置信息包括基于GraphQL查询语言的Schema文件和解析器Resolver。In one embodiment of the present application, the configuration information includes a Schema file and a Resolver based on the GraphQL query language.
在本申请的一个实施例中,所述拆分模块120还用于:基于自然语言处理NLP识别所述AI服务需求所涉及的多个单类别;针对识别到的任一单类别,从所述AI服务需求中提取出所述任一单类别的所述子AI服务需求。In one embodiment of the present application, the
在本申请的一个实施例中,所述子AI服务需求包括自然语言处理NLP、光学字符识别OCR、语音合成、语音识别、图像标注中的至少一种。In an embodiment of the present application, the sub-AI service requirements include at least one of natural language processing (NLP), optical character recognition (OCR), speech synthesis, speech recognition, and image annotation.
需要说明的是,本申请实施例的结合RPA和AI的服务接口的配置装置中未披露的细节,请参照本申请上述实施例中的AI服务接口的配置方法所披露的细节,这里不再赘述。It should be noted that, for details not disclosed in the configuration device of the service interface combining RPA and AI in the embodiment of the present application, please refer to the details disclosed in the configuration method of the AI service interface in the above-mentioned embodiment of the application, and will not be repeated here. .
综上,本申请实施例的结合RPA和AI的服务接口的配置装置,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。To sum up, the configuration device of the service interface combining RPA and AI in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured to generate multiple sub-AI service requirements of a single category, which can realize AI service The requirements are automatically split, and the association relationship between the sub-AI service requirements is identified, and the AI service interface is configured based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
图10为根据本申请一个实施例的结合RPA和AI的服务接口的调用装置的框图。Fig. 10 is a block diagram of a device for invoking a service interface combining RPA and AI according to an embodiment of the present application.
如图10所示,本申请实施例的结合RPA和AI的服务接口的调用装置200,包括:获取模块210、转换模块220和调用模块230。As shown in FIG. 10 , the
获取模块210用于获取用于调用AI服务接口的GraphQL查询语言。The obtaining
转换模块220用于对所述GraphQL查询语言进行转换,获取所述AI服务接口的解析器Resolver。The converting
调用模块230用于基于所述解析器,调用所述AI服务接口。The calling
需要说明的是,本申请实施例的结合RPA和AI的服务接口的调用装置中未披露的细节,请参照本申请上述实施例中的结合RPA和AI的服务接口的调用方法所披露的细节,这里不再赘述。It should be noted that, for details not disclosed in the calling device of the service interface combining RPA and AI in the embodiment of the present application, please refer to the details disclosed in the calling method of the service interface combining RPA and AI in the above-mentioned embodiments of the application, I won't go into details here.
综上,本申请实施例的结合RPA和AI的服务接口的调用装置,获取用于调用AI服务接口的GraphQL查询语言之后,可对GraphQL查询语言进行转换,获取AI服务接口的解析器Resolver,基于解析器,调用AI服务接口。由此,可自动将AI服务接口转换为基于GraphQL查询语言的前端操作接口,以实现AI服务接口与低代码平台之间的对接,提高了AI服务接口的开发效率。To sum up, in the embodiment of the present application, the calling device combining RPA and AI service interface, after obtaining the GraphQL query language used to call the AI service interface, can convert the GraphQL query language to obtain the resolver Resolver of the AI service interface, based on The parser calls the AI service interface. As a result, the AI service interface can be automatically converted into a front-end operation interface based on the GraphQL query language, so as to realize the connection between the AI service interface and the low-code platform, and improve the development efficiency of the AI service interface.
为了实现上述实施例,如图11所示,本申请还提出一种电子设备300,包括至少一个处理器310;以及与所述至少一个处理器310通信连接的存储器320;其中,所述存储器320存储有可被所述至少一个处理器310执行的指令,所述指令被所述至少一个处理器310执行,以使所述至少一个处理器310能够执行上述AI服务接口的配置方法,或者执行上述AI服务接口的调用方法。In order to realize the above-mentioned embodiment, as shown in FIG. 11 , the present application also proposes an electronic device 300, including at least one processor 310; and a memory 320 communicatively connected to the at least one processor 310; wherein, the memory 320 Instructions that can be executed by the at least one processor 310 are stored, and the instructions are executed by the at least one processor 310, so that the at least one processor 310 can execute the above-mentioned AI service interface configuration method, or execute the above-mentioned The calling method of the AI service interface.
本申请实施例的电子设备,通过处理器执行存储在存储器上的指令,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。The electronic device in the embodiment of the present application can split the AI service requirements of the AI service interface to be configured through the processor to execute the instructions stored in the memory, so as to generate multiple sub-AI service requirements of a single category, and realize the AI service. The requirements are automatically split, and the association relationship between the sub-AI service requirements is identified, and the AI service interface is configured based on the sub-AI service interface and the association relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
为了实现上述实施例,本申请还提出一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现上述AI服务接口的配置方法,或者实现上述AI服务接口的调用方法。In order to realize the above-mentioned embodiments, the present application also proposes a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, implements the configuration method of the above-mentioned AI service interface, or implements the calling method of the above-mentioned AI service interface.
本申请实施例的计算机可读存储介质,通过存储计算机程序并被处理器执行,能够将待配置的AI服务接口的AI服务需求进行拆分,以生成单类别的多个子AI服务需求,可实现AI服务需求的自动拆分,并识别子AI服务需求之间的关联关系,基于每个子AI服务需求对应的子AI服务接口和关联关系,配置AI服务接口。由此,可基于子AI服务需求之间的关联关系,自动配置AI服务接口,适用于多类别的AI服务需求的AI服务接口的应用场景,扩展性较好,提高了AI服务接口的开发效率。The computer-readable storage medium of the embodiment of the present application can split the AI service requirements of the AI service interface to be configured by storing the computer program and executing it by the processor, so as to generate multiple sub-AI service requirements of a single category, which can realize Automatically split AI service requirements, identify the relationship between sub-AI service requirements, and configure AI service interfaces based on the sub-AI service interface and association relationship corresponding to each sub-AI service requirement. As a result, the AI service interface can be automatically configured based on the correlation between the sub-AI service requirements, which is suitable for the application scenario of the AI service interface for multiple types of AI service requirements, and has good scalability and improves the development efficiency of the AI service interface. .
在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In various embodiments of the present application, it should be understood that the sequence numbers of the above-mentioned processes do not necessarily mean the order of execution. The implementation of the examples constitutes no limitation.
在本申请所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可 以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其他信息确定B。In the examples provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B based on A does not mean determining B only based on A, and B can also be determined based on A and/or other information.
另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请的各个实施例上述方法的部分或全部步骤。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present application.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本申请实施例公开的一种AI服务接口的配置方法、训练方法、装置、设备及介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The configuration method, training method, device, equipment and medium of an AI service interface disclosed in the embodiment of the application have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the application. The above embodiment The description is only used to help understand the method of the present application and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. In summary, As stated above, the contents of this specification should not be construed as limiting the application.
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111592699.1 | 2021-12-23 | ||
| CN202111592699.1A CN114416049B (en) | 2021-12-23 | 2021-12-23 | Configuration method and device of service interface combining RPA and AI |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023115738A1 true WO2023115738A1 (en) | 2023-06-29 |
Family
ID=81267263
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/083161 Ceased WO2023115738A1 (en) | 2021-12-23 | 2022-03-25 | Service interface configuration method and device combining rpa and ai |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114416049B (en) |
| WO (1) | WO2023115738A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117172214A (en) * | 2023-11-02 | 2023-12-05 | 企查查科技股份有限公司 | API file conversion method, system and computer storage medium |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113596002B (en) * | 2021-07-20 | 2022-11-18 | 中国联合网络通信集团有限公司 | A service providing method and device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180052664A1 (en) * | 2016-08-16 | 2018-02-22 | Rulai, Inc. | Method and system for developing, training, and deploying effective intelligent virtual agent |
| CN111427677A (en) * | 2020-03-20 | 2020-07-17 | 网易(杭州)网络有限公司 | Artificial intelligence product generation method and device and server |
| CN112235411A (en) * | 2020-06-30 | 2021-01-15 | 北京来也网络科技有限公司 | AI-based RPA process control end server communication method, device, equipment and medium |
| CN113535419A (en) * | 2020-04-16 | 2021-10-22 | 北京沃东天骏信息技术有限公司 | A service orchestration method and device |
| CN113741864A (en) * | 2021-08-16 | 2021-12-03 | 广州木链云科技有限公司 | Automatic design method and system of semantic service interface based on natural language processing |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107798098A (en) * | 2017-10-27 | 2018-03-13 | 链家网(北京)科技有限公司 | A kind of method and device for realizing dynamic socket field |
| GB201805302D0 (en) * | 2018-03-29 | 2018-05-16 | Benevolentai Tech Limited | Ensemble Model Creation And Selection |
| CN109992244B (en) * | 2018-12-06 | 2022-08-02 | 中国船舶重工集团公司第七0九研究所 | Discrete division method for requirements of service information system |
| US20210097274A1 (en) * | 2019-09-30 | 2021-04-01 | UiPath, Inc. | Document processing framework for robotic process automation |
| CN113268352B (en) * | 2021-06-11 | 2024-03-08 | 中科院软件研究所南京软件技术研究院 | Multi-instruction responsive task collaborative management method for universal service robot |
| CN113420567A (en) * | 2021-07-28 | 2021-09-21 | 东莞市常学常玩教育科技有限公司 | E-commerce service demand processing method based on big data and E-commerce AI system |
-
2021
- 2021-12-23 CN CN202111592699.1A patent/CN114416049B/en active Active
-
2022
- 2022-03-25 WO PCT/CN2022/083161 patent/WO2023115738A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180052664A1 (en) * | 2016-08-16 | 2018-02-22 | Rulai, Inc. | Method and system for developing, training, and deploying effective intelligent virtual agent |
| CN111427677A (en) * | 2020-03-20 | 2020-07-17 | 网易(杭州)网络有限公司 | Artificial intelligence product generation method and device and server |
| CN113535419A (en) * | 2020-04-16 | 2021-10-22 | 北京沃东天骏信息技术有限公司 | A service orchestration method and device |
| CN112235411A (en) * | 2020-06-30 | 2021-01-15 | 北京来也网络科技有限公司 | AI-based RPA process control end server communication method, device, equipment and medium |
| CN113741864A (en) * | 2021-08-16 | 2021-12-03 | 广州木链云科技有限公司 | Automatic design method and system of semantic service interface based on natural language processing |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117172214A (en) * | 2023-11-02 | 2023-12-05 | 企查查科技股份有限公司 | API file conversion method, system and computer storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114416049A (en) | 2022-04-29 |
| CN114416049B (en) | 2023-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111190522B (en) | Generate 3D digital content from natural language requests | |
| US20240428788A1 (en) | Voice Application Platform | |
| US9436507B2 (en) | Composing and executing workflows made up of functional pluggable building blocks | |
| CN101431573B (en) | Method and equipment for implementing automatic customer service through human-machine interaction technology | |
| CN118093813A (en) | Information processing method, device, storage medium and equipment based on large language model | |
| JP2004252976A (en) | Method, system and program for managing device in network | |
| US11226832B2 (en) | Dynamic generation of user interfaces based on dialogue | |
| CN105912717A (en) | Image-based information searching method and device | |
| CN110110049A (en) | Service consulting method, device, system, service robot and storage medium | |
| CN111506608A (en) | Method and device for comparing structured texts | |
| WO2023115738A1 (en) | Service interface configuration method and device combining rpa and ai | |
| WO2023142451A1 (en) | Workflow generation methods and apparatuses, and electronic device | |
| CN112232198A (en) | Table content extraction method, device, equipment and medium based on RPA and AI | |
| CN113626223A (en) | Interface calling method and device | |
| CN111598707A (en) | Page generation method and electronic equipment | |
| US8862609B2 (en) | Expanding high level queries | |
| CN113760297B (en) | Strategic class division method, system, computer equipment and medium | |
| JP2023120862A (en) | Data management device, data management method, and program | |
| US20190272278A1 (en) | Data sorting system and implementation method thereof | |
| CN110838338B (en) | Biological analysis item establishment system, biological analysis item establishment method, storage medium, and electronic device | |
| US10853740B2 (en) | Natural language interface to interactive, operating-system shell and techniques for creating training data for the same | |
| KR20210004505A (en) | Automatic mapping system for management standard specification | |
| CN115374063A (en) | File processing method, device, equipment and storage medium | |
| US20200379786A1 (en) | Keyboard interaction model for software builder canvas nodes | |
| CN113961178B (en) | SDK interface testing method, system, and computer-readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22909076 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.10.2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22909076 Country of ref document: EP Kind code of ref document: A1 |