CN-121997314-A - Application cooperation method, electronic device and storage medium
Abstract
The application provides an application collaboration method, electronic equipment and a storage medium. The method comprises the steps of responding to a user request, identifying user intention in the user request, determining an agent corresponding to the user intention, determining a target interface in an application program corresponding to the user request and interface information of the target interface through the agent, generating a call request for the target interface according to user identity information and the interface information, and calling the target interface through an interface management platform based on the call request to obtain a request result corresponding to the user request. By using the method, the automatic response to the user request can be realized, so that the request result corresponding to the user request can be accurately and rapidly obtained, and further the user experience and the service efficiency can be improved.
Inventors
- LU XIN
- ZHANG YUYONG
Assignees
- 富泰华工业(深圳)有限公司
- 鸿海精密工业股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241029
Claims (10)
- 1. An application collaboration method, the method comprising: identifying a user intent in a user request in response to the user request; determining a target interface in an application program corresponding to the user request and interface information of the target interface through an agent corresponding to the user intention; Generating a call request for the target interface according to the user identity information and the interface information; And calling the target interface through an interface management platform based on the calling request to obtain a request result corresponding to the user request.
- 2. The application collaboration method of claim 1, wherein the user intent has a corresponding interface and an information template, the information template including an information name, the request result obtaining method further comprising: Determining target information corresponding to the information name in the user request; filling the target information into a corresponding information column in the information template; And if all the information columns in the information template are filled with the corresponding target information, calling an interface corresponding to the user intention by taking the target information as a calling parameter to obtain the request result.
- 3. The application collaboration method of claim 2, wherein if at least one unfilled information field is included in the information template, the method further comprises: generating an acquisition request of target information corresponding to the unfilled information field according to the information name corresponding to the unfilled information field; and taking the reply information of the user aiming at the acquisition request as target information corresponding to the unfilled information column.
- 4. The application collaboration method as specified in claim 1 wherein the determining, by the agent corresponding to the user intent, a target interface in the application corresponding to the user request and interface information of the target interface comprises: And determining the application program through analysis of the user request by a first language model in the intelligent agent, determining the target interface from interfaces of the application program, and generating the interface information.
- 5. The application collaboration method as specified in claim 4 wherein the method further comprises: Acquiring training data, wherein the training data comprises interface information corresponding to interfaces of a plurality of application programs, description information of each application program and description information of each interface of each application program; and training the first language model according to the training data.
- 6. The application collaboration method of claim 1, wherein invoking the target interface via an interface management platform based on the invocation request to obtain a request result corresponding to the user request comprises: identifying the access authority of the user to the application program through the interface management platform according to the identity information in the call request; And if the user has the access right, calling the target interface through the interface management platform according to the interface information in the calling request to obtain the request result.
- 7. The application collaboration method of claim 1, wherein the method further comprises: acquiring knowledge information of a plurality of fields; Constructing an agent corresponding to each field based on knowledge information of each field; acquiring user intention corresponding to each field; and constructing a corresponding relation between the user intention corresponding to each field and the intelligent agent.
- 8. The application collaboration method of claim 1, wherein the method further comprises: acquiring the request result from the interface management platform through the intelligent agent; And inputting the request result to a second language model for adjustment through the intelligent agent, and sending the adjusted request result to the terminal equipment of the user.
- 9. An electronic device, the electronic device comprising: A memory storing at least one instruction, and A processor executing the at least one instruction to implement the application collaboration method of any of claims 1 to 8.
- 10. A computer-readable storage medium, wherein at least one instruction is stored in the computer-readable storage medium, which when executed by a processor in an electronic device, implements the application collaboration method of any of claims 1-8.
Description
Application cooperation method, electronic device and storage medium Technical Field The present application relates to the field of computer technologies, and in particular, to an application collaboration method, an electronic device, and a storage medium. Background With the continuous advancement of enterprise informatization, various Application programs (APP) become important tools for improving service processing efficiency and interacting with users. However, when the user's demands span multiple applications, because sharing and interaction of data between application programs are not smooth, the collaboration efficiency between application programs is low, so it is often necessary to manually acquire data from multiple application programs respectively in an off-line manner, and then combine the acquired data by manual or systematic tools. The operation mode easily causes the service flow to be split, thereby causing poor service efficiency. Disclosure of Invention In view of the foregoing, it is necessary to provide an application collaboration method, an electronic device, and a storage medium, which can solve the technical problem of poor service efficiency caused by poor collaboration efficiency between application programs due to poor sharing and interaction of data between application programs. In one aspect, the application provides an application collaboration method, which comprises the steps of responding to a user request, identifying user intention in the user request, determining a target interface in an application program corresponding to the user request and interface information of the target interface through an agent corresponding to the user intention, generating a call request for the target interface according to user identity information and the interface information, and calling the target interface through an interface management platform based on the call request to obtain a request result corresponding to the user request. In some embodiments of the present application, the user intention has a corresponding interface and an information template, the information template includes an information name, the method for obtaining the request result further includes determining the target information corresponding to the information name in the user request, filling the target information into corresponding information fields in the information template, and if all the information fields in the information template are filled with the corresponding target information, calling the interface corresponding to the user intention with the target information as a calling parameter to obtain the request result. In some embodiments of the present application, if the information template includes at least one unfilled information field, the method further includes generating an acquisition request for target information corresponding to the unfilled information field according to an information name corresponding to the unfilled information field, and taking reply information of the user for the acquisition request as target information corresponding to the unfilled information field. In some embodiments of the present application, the determining, by the agent corresponding to the user intention, a target interface in an application program corresponding to the user request and interface information of the target interface includes determining, by a first language model in the agent, an analysis of the user request, determining the application program, determining the target interface from interfaces of the application program, and generating the interface information. In some embodiments of the present application, the method further includes obtaining training data, where the training data includes interface information corresponding to interfaces of a plurality of applications, description information of each application, and description information of each interface of each application, and training the first language model according to the training data. In some embodiments of the present application, the calling the target interface through an interface management platform based on the call request, and obtaining the request result corresponding to the user request includes identifying, through the interface management platform, an access right of the user to the application program according to the identity information in the call request, and if the user has the access right, calling the target interface through the interface management platform according to the interface information in the call request, and obtaining the request result. In some embodiments of the present application, the method further includes obtaining knowledge information of a plurality of domains, constructing an agent corresponding to each domain based on the knowledge information of each domain, obtaining a user intention corresponding to each domain, and constructing a correspondence between the user