Agent-based bill service processing method and device

Through the bill service processing method based on the agent, the task generation model is used to automatically process electronic bills, which solves the problem of low electronic bill processing efficiency in online services, and realizes an efficient and convenient bill processing process.

CN119917296BActive Publication Date: 2025-08-19ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510415047.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-08-19
Estimated Expiration
2045-04-03

AI Technical Summary

Technical Problem

How to better process electronic bills through online services, especially as the number of electronic bills continues to increase processing efficiency and convenience.

Method used

Adopt the bill service processing method based on the agent, send interactive data through the user terminal to call the bill agent, use the task generation model to generate a task sequence for bill processing, and generate service response data.

Benefits of technology

It improves the efficiency and convenience of electronic bill processing, and can automatically complete bill application, sorting, collection and reimbursement operations based on user needs, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917296B_ABST
    Figure CN119917296B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide an agent-based ticket service processing method and device, wherein an agent-based ticket service processing method includes: during the operation of the ticket service, receiving interaction data sent by the user terminal after entering the ticket service, calling the ticket agent of the ticket service based on the interaction data to perform ticket processing, the bill agent inputs the interaction data into the task generation model corresponding to the intention category of the interaction data to generate a task sequence for bill processing, executes the task sequence to obtain the bill processing result, generates service response data based on the bill processing result returned by the bill agent and sends it to the user terminal, so as to help the user to process the bill through the bill agent during the user's use of the bill service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of data processing technology, and in particular to a method and device for processing bill services based on an intelligent agent. Background Art

[0002] With the continuous development of Internet technology and the continuous improvement of computer technology, the application scope of online services is becoming wider and wider. More and more users are beginning to use corresponding functions through online services in their daily lives. For example, users can process electronic invoices through online services. However, as the number of electronic invoices continues to rise, how to better process electronic invoices through online services has become a key issue of concern to all parties. Summary of the Invention

[0003] One or more embodiments of this specification provide an agent-based ticket service processing method, comprising: receiving interaction data sent by a user terminal after entering a ticket service; invoking a ticket agent of the ticket service based on the interaction data to perform ticket processing; the ticket processing comprising inputting the interaction data into a task generation model corresponding to the intent category of the interaction data to generate a task sequence for performing ticket processing; executing the task sequence to obtain a ticket processing result; obtaining the ticket processing result returned by the ticket agent, generating service response data based on the ticket processing result, and transmitting the result to the user terminal.

[0004] One or more embodiments of this specification provide another agent-based ticket service processing method, comprising: obtaining interaction data submitted by a user on an interactive page for a ticket service; sending the interaction data to a server to invoke a ticket agent for ticket processing; the ticket processing comprising inputting the interaction data into a corresponding task generation model to obtain a task sequence for ticket processing, executing the task sequence, and obtaining a ticket processing result; and receiving service response data generated and sent by the server based on the ticket processing result, and displaying the result on the interactive page.

[0005] One or more embodiments of the present specification provide a bill service processing device based on an intelligent agent, including: an interactive data receiving module, configured to receive interactive data sent by a user terminal after entering a bill service. A bill agent calling module, configured to call the bill agent of the bill service to perform bill processing based on the interactive data. The bill processing includes inputting the interactive data into a task generation model corresponding to the intention category of the interactive data to generate a task sequence for bill processing, and executing the task sequence to obtain a bill processing result. A service response data generating module, configured to obtain the bill processing result returned by the bill agent, generate service response data based on the bill processing result, and send it to the user terminal.

[0006] One or more embodiments of this specification provide another agent-based bill service processing device, including: an interactive data acquisition module, configured to acquire interactive data submitted by a user on an interactive page of a bill service. An interactive data sending module, configured to send the interactive data to a server to call a bill agent for bill processing. The bill processing includes inputting the interactive data into a corresponding task generation model to obtain a task sequence for bill processing and executing the task sequence to obtain a bill processing result. A service response data receiving module, configured to receive the service response data generated and sent by the server based on the bill processing result, and display it on the interactive page.

[0007] One or more embodiments of the present specification provide an agent-based ticket service processing device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor: receives interaction data sent by a user terminal after entering a ticket service. Based on the interaction data, the ticket agent of the ticket service is called to perform ticket processing. The ticket processing includes inputting the interaction data into a task generation model corresponding to the intent category of the interaction data to generate a task sequence for performing ticket processing, and executing the task sequence to obtain a ticket processing result. The ticket processing result returned by the ticket agent is obtained, and service response data is generated according to the ticket processing result and sent to the user terminal.

[0008] One or more embodiments of this specification provide another agent-based bill service processing device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein when executed, the computer-executable instructions cause the processor to: obtain interaction data submitted by a user on an interactive page of a bill service. Send the interaction data to a server to call a bill agent for bill processing. The bill processing includes inputting the interaction data into a corresponding task generation model to obtain a task sequence for bill processing and executing the task sequence to obtain a bill processing result. Receive service response data generated and sent by the server based on the bill processing result, and display it on the interactive page.

[0009] One or more embodiments of this specification provide a computer-readable storage medium for storing computer-executable instructions, which, when executed, implement the following process: receiving interaction data sent by a user terminal after entering a ticket service. Based on the interaction data, calling the ticket agent of the ticket service to perform ticket processing. The ticket processing includes inputting the interaction data into a task generation model corresponding to the intent category of the interaction data to generate a task sequence for performing ticket processing, and executing the task sequence to obtain a ticket processing result. Obtaining the ticket processing result returned by the ticket agent, generating service response data based on the ticket processing result, and sending it to the user terminal.

[0010] One or more embodiments of this specification provide another computer-readable storage medium for storing computer-executable instructions. When executed, the computer-executable instructions implement the following process: obtaining interaction data submitted by a user on an interactive page for a ticket service; sending the interaction data to a server to invoke a ticket agent for ticket processing; the ticket processing includes inputting the interaction data into a corresponding task generation model to obtain a task sequence for ticket processing, executing the task sequence, and obtaining a ticket processing result; receiving service response data generated and sent by the server based on the ticket processing result, and displaying the data on the interactive page. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate one or more embodiments of this specification or technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments described in this specification. Those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0012] Figure 1 A schematic diagram of an implementation environment for an agent-based ticket service processing method provided in one or more embodiments of this specification;

[0013] Figure 2 A flowchart of an agent-based bill service processing method provided in one or more embodiments of this specification;

[0014] Figure 3 A schematic diagram of an interactive page for a first ticket service provided in one or more embodiments of this specification;

[0015] Figure 4 A schematic diagram of an interactive page for a second ticket service provided in one or more embodiments of this specification;

[0016] Figure 5A schematic diagram of an interactive page for a third type of ticket service provided in one or more embodiments of this specification;

[0017] Figure 6 A schematic diagram of a code scanning page for a ticket service provided in one or more embodiments of this specification;

[0018] Figure 7 A flowchart of an agent-based bill service processing method for bill reimbursement scenarios provided in one or more embodiments of this specification;

[0019] Figure 8 A flowchart of an agent-based bill service processing method for bill application scenarios provided in one or more embodiments of this specification;

[0020] Figure 9 A flowchart of another agent-based ticket service processing method provided in one or more embodiments of this specification;

[0021] Figure 10 A schematic diagram of an embodiment of an agent-based ticket service processing device provided in one or more embodiments of this specification;

[0022] Figure 11 A schematic diagram of another embodiment of an agent-based ticket service processing device provided in accordance with one or more embodiments of this specification;

[0023] Figure 12 A schematic diagram of the structure of an agent-based ticket service processing device provided in one or more embodiments of this specification;

[0024] Figure 13 A schematic structural diagram of another agent-based ticket service processing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this document.

[0026] The agent-based bill service processing method provided in one or more embodiments of this specification can be applied to the implementation environment of bill service operation. Figure 1 , the implementation environment includes at least:

[0027] User terminal 101 of the user, server 102 of the ticket service, ticket agent 103 of the ticket service;

[0028] The user terminal 101 is used to access the ticket service, send interaction data to the server 102, receive service response data sent by the server 102, and display the service response data. Furthermore, the user terminal 101 may also be installed with a client for the ticket service, which may be an application, a subroutine of the application, or a service module of the application. The user terminal 101 may specifically be a mobile phone, a personal computer, a tablet computer, an e-book reader, a device for information interaction based on VR (Virtual Reality), an in-vehicle terminal, an IoT device, a wearable smart device, a laptop computer, a desktop computer, and the like.

[0029] The bill service server 102 is used to receive the interactive data sent by the user terminal 101, call the bill agent 103 based on the interactive data, generate service response data according to the bill processing result returned by the bill agent 103, and send it to the user terminal 101. Specifically, the payment server 102 can be a server, or a server cluster composed of several servers, or one or more cloud servers in a cloud computing platform.

[0030] The bill agent 103 of the bill service is used to input the interaction data into the task generation model corresponding to the intention category of the interaction data to generate a task sequence, and execute the task sequence to obtain the bill processing result; multiple task generation models can be configured or connected to the bill agent 103, and the task sequence for bill processing is generated by the task generation model; the bill agent 103 can be deployed independently, and the server 102 interacts with the bill agent 103 by calling. The bill agent 103 can be deployed in a server, or in a server cluster composed of several servers, or in one or more cloud servers in a cloud computing platform. In addition, the bill agent 103 can also be deployed inside the server 102.

[0031] In this implementation environment, the user terminal 101 obtains the interaction data submitted by the user in the bill service and sends it to the server 102. The server 102 calls the bill agent 103 of the bill service based on the interaction data to perform bill processing. The bill agent 103 responds to the call by inputting the interaction data into the task generation model corresponding to the intention category of the interaction data to generate a task sequence for bill processing, executes the task sequence to obtain the bill processing result and returns it to the server 102. The server 102 generates service response data based on the bill processing result and sends it to the user terminal 101. The user terminal 101 displays the service response data on the bill service, thereby helping the user to process the bill by calling the agent during the user's use of the bill service.

[0032] One or more embodiments of an agent-based ticket service processing method provided in this specification are as follows:

[0033] Reference Figure 2 The present embodiment provides an agent-based bill service processing method, which specifically includes steps S202 to S206.

[0034] Step S202: receiving interaction data sent by the user terminal after entering the ticket service.

[0035] The ticket service described in this embodiment can be a service related to electronic tickets. Users can access the ticket service to process tickets. The ticket service can be a ticket application, a ticket subroutine or a ticket service module of an application, or the ticket service can be provided to users in the form of a ticket application, a subroutine of a ticket application and / or a service module of a ticket application. In addition, the ticket service can also be provided through an application and / or a subroutine of an application. Among them, the ticket service can provide multiple different functions, and users can use these functions in the ticket service.

[0036] For example, users can use the bill application function in the bill service to apply for electronic bills, users can also use the bill collection function in the bill service to collect electronic bills, users can also use the bill sorting function in the bill service to sort or query electronic bills, and users can also use the bill reimbursement function in the bill service to reimburse electronic bills; in addition, users can also use the Q&A function in the bill service to ask bill-related questions.

[0037] Specifically, the bill service can be configured with a bill agent, and the bill service can perform bill processing through the bill agent to cooperate with the implementation of the functions of the bill service. The bill agent can perform corresponding bill processing based on the interaction data submitted by the user; the interaction data is the data submitted by the user in the bill service to describe the user's needs for bill processing, which can be used as the call input of the bill agent. The bill agent can select a task generation model based on the intention category of the interaction data. The interaction data may include interaction data entered and submitted by the user, and may also include preset interaction data triggered and submitted by the user; optionally, the interaction data includes interaction text and / or interaction voice.

[0038] Among them, the bill agent refers to an agent that is connected to the bill service, or an agent that is configured in the bill service. The bill agent can cooperate with the bill service to realize the functions of the bill service. The bill agent can be deployed outside the bill service or in the bill service. The bill agent can be configured with multiple task generation models, or the bill agent can be connected to multiple task generation models. The task generation model can generate a task sequence for bill processing. The task generation model can correspond to the intent category of the interaction data. The bill agent can determine the task generation model to call based on the interaction data to generate a task sequence for bill processing. In addition, the task generation model can correspond to the function of the bill service to generate a task sequence for bill processing. Optionally, the intent category includes: bill reimbursement intent, bill sorting intent, bill collection intent and / or bill application intent.

[0039] For example, the task generation model corresponding to the bill reimbursement intention can generate a task sequence for bill reimbursement, and the bill agent executes the task sequence to generate a reimbursement form for the electronic bill; the task generation model corresponding to the bill sorting intention can generate a task sequence for bill sorting, and the bill agent executes the task sequence to query the bill information of the electronic bill; the task generation model corresponding to the bill collection intention can generate a task sequence for bill collection, and the bill agent executes the task sequence to add the electronic bill to the user's bill collection; the task generation model corresponding to the bill application intention can generate a task sequence for bill application, and the bill agent executes the task sequence to apply for the user's electronic bill.

[0040] In addition, the bill agent can also be connected to the large language model to cooperate with the bill service to realize the question and answer function of the bill service; optionally, bill processing includes inputting the interactive data into the large language model for bill processing to obtain the bill processing result; for example, when the user asks questions related to the bill, the bill agent can call the large language model to generate the reply text.

[0041] In a specific implementation, when a user accesses the ticket service, the user can interact with the ticket service by submitting interactive data to use the functions of the ticket service. For this purpose, a preset interactive text can be configured in the ticket service, and the user can trigger and submit the preset interactive text to be sent through the user terminal, thereby improving the convenience of interaction. In an optional implementation provided in this embodiment, the interactive data is obtained in the following manner:

[0042] The preset interaction text triggered and submitted by the user on the interactive page of the bill service is obtained and used as the interaction data. Optionally, the preset interaction text is generated based on the bill information of the electronic bill to be reimbursed in the user's bill collection.

[0043] Specifically, the user can trigger the interface corresponding to the preset interactive text on the interactive page of the ticket service, and submit the preset interactive text after triggering the interface, so that the user terminal sends the preset interactive text as interactive data to the server. Figure 3 As shown, the user can trigger button 301 corresponding to "Help me organize the bills for [X month X city]". After triggering button 301, the user submits "Help me organize the bills for [X month X city]" as interaction data. Optionally, the interaction data includes preset interaction text triggered and submitted by the user on the interaction page of the bill service.

[0044] In addition, when a user accesses the ticket service, the user may also enter and submit interactive data in the ticket service to be sent to the server via the user terminal. In another optional implementation provided by this embodiment, the interactive data is submitted after the user enters it on the interactive page of the ticket service. Optionally, the interactive data includes the interactive data entered by the user on the interactive page of the ticket service. For example, Figure 3 As shown, the user can enter interactive text in the input box 302 and submit the interactive text after triggering the "Send" button.

[0045] Furthermore, before receiving interaction data, a preset interaction text may be generated based on the bill information of the electronic invoices to be reimbursed in the user's bill collection. This allows the user to trigger the interface for the preset interaction text and submit the interaction data, thereby improving interaction convenience. In an optional implementation provided by this embodiment, before receiving interaction data, the process further includes generating a preset interaction text based on the bill information of the electronic invoices to be reimbursed in the user's bill collection. Specifically, the user's intent category may be predicted based on the bill information of the electronic invoices to be reimbursed in the user's bill collection, and the preset interaction text may be generated based on the predicted intent category and the bill information.

[0046] In specific implementation, the interactive data submitted by the user on the interactive page of the ticket service is obtained through the user terminal. After obtaining the interactive data, the user terminal sends the interactive data. Correspondingly, the interactive data sent by the user terminal after entering the ticket service is received here.

[0047] Step S204: Call the bill agent of the bill service to perform bill processing based on the interaction data.

[0048] In a specific implementation, the bill service's bill agent is invoked to process the bill based on the interaction data sent by the user terminal. Accordingly, the bill service's bill agent, in response to the agent call, determines the intent category of the interaction data, selects a task generation model corresponding to the intent category, inputs the interaction data into the task generation model, generates a task sequence for bill processing, and executes the task sequence to obtain the bill processing result. Optionally, bill processing includes inputting the interaction data into the task generation model corresponding to the intent category of the interaction data, generating a task sequence for bill processing, and executing the task sequence to obtain the bill processing result.

[0049] Specifically, in the process of calling the bill intelligent body, the interactive data can be used as the calling input of the bill intelligent body to call the bill intelligent body. Specifically, the application programming interface (Application Programming Interface, API) of the bill intelligent body can be called based on the interactive data to send the interactive data to the bill intelligent body.

[0050] After the above-mentioned bill agent is called based on the interactive data sent by the user terminal, the bill agent of the bill service responds to the call and performs bill processing. During the specific execution process, the corresponding task generation model can be called according to the interactive data to obtain the task sequence for bill processing and execute it to obtain the bill processing result, so as to use the bill processing result as the return result of the agent call; optionally, the bill processing includes inputting the interactive data into the corresponding task generation model to obtain the task sequence for bill processing and execute it to obtain the bill processing result.

[0051] Specifically, in the process of determining the task generation model, the bill intelligent agent can extract the intention category of the interaction data, and select the task generation model corresponding to the intention category from the multiple task generation models connected. Specifically, the intention category can be preset for the task generation model in advance, and the intention category obtained based on the intention recognition of the interaction data is matched with the preset intention category, and the task generation model is determined according to the matching results; alternatively, the task generation model can also correspond to the interaction data, and the bill intelligent agent determines the task generation model based on the interaction data.

[0052] The bill processing result is the result of the bill agent executing the bill processing task sequence, representing the bill processing result. The task generation model can also correspond to different functions of the bill service. Accordingly, the generated task sequence can also correspond to different functions, and the bill processing result can also correspond to different functions. Specifically, the bill processing result can include different data. Optionally, the bill processing result includes: reimbursement form data, electronic invoice information, and / or bill data. In addition, the bill processing result can also include reply text.

[0053] For example, corresponding to the bill reimbursement function, the bill processing result may include a reimbursement form constructed based on the bill information of the electronic invoice and the bill data of the associated bill; corresponding to the bill sorting function, the bill processing result may include the bill information of the queried electronic invoice; corresponding to the bill collection function, the bill processing result may include the bill information of the collected electronic invoice; corresponding to the bill application function, the bill processing result may include the bill information of the applied electronic invoice.

[0054] Specifically, during the task sequence generation process, the task generation model may determine the tasks to be configured in the preset task sequence based on the interaction data, and configure the keywords in the interaction data to the corresponding tasks to be configured to obtain a task sequence. In an optional implementation provided by this embodiment, generating the task sequence includes:

[0055] Extract multiple keywords from the interaction data and select tasks to be configured that match each keyword from the preset task set;

[0056] Each keyword is configured to its corresponding task to be configured to obtain a plurality of bill processing tasks, and a task sequence is constructed based on the preset execution relationship of the task to be configured and each bill processing task.

[0057] Specifically, during the execution of the task sequence, the bill processing tasks in the task sequence may be read and each bill processing task may be executed according to the execution relationship to obtain the bill processing result. In an optional implementation provided by this embodiment, executing the task sequence includes:

[0058] Read multiple bill processing tasks contained in the task sequence and the execution relationship between the bill processing tasks;

[0059] Execute each bill processing task according to the execution relationship to obtain the bill processing result.

[0060] In actual scenarios, the task generation model may correspond to different intent categories, or may correspond to different functions of the bill service. The bill processing required for different intent categories and / or functions may be different. Accordingly, the task sequence generated by the task generation model and the bill processing results obtained by the bill agent executing the task sequence may also be different. For example: the preset task sequence of the task generation model corresponding to the bill reimbursement function may include a query task to be configured, a verification task to be configured, and a reimbursement form generation task to be configured. The generated task sequence can be expressed as: [query task → verification task → reimbursement form generation task]; the preset task sequence of the task generation model corresponding to the bill application function may include a bill query task to be configured, a bill application task to be configured, and a bill collection task to be configured. The generated task sequence can be expressed as: [bill query task → bill application task → bill collection task].

[0061] In view of this, specifically during the execution of the task sequence, the task sequence can be executed according to the bill processing task in the task sequence. The following specifically describes the execution process of the task sequences generated by the above four task generation models.

[0062] (1) Execution of the task sequence for bill reimbursement generated by the task generation model corresponding to the bill reimbursement intention

[0063] During the specific execution process, the task sequence for bill reimbursement may include a query task, a verification task, and a reimbursement form generation task. The query task may be executed to query the electronic bills and bills for reimbursement, the verification task may be executed to verify the electronic bills and bills, and the reimbursement form generation task may be executed to obtain a reimbursement form, which may be used as the bill reimbursement result. In the first optional implementation provided in this embodiment, executing the task sequence includes:

[0064] Execute the query task in the task sequence to query the user's ticket collection for electronic tickets that match the keywords in the interaction data and query the bills associated with the electronic tickets;

[0065] Execute verification tasks in the task sequence to verify electronic receipts and bills according to reimbursement verification rules;

[0066] If the verification passes, the reimbursement form generation task in the task sequence is executed to write the bill information of the electronic invoice and the bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form.

[0067] Specifically, the query task is first executed to extract the keywords contained in the interactive data, and then search the user's bill collection for electronic bills that match the keywords in the interactive data. The bill data is also searched for bills associated with the electronic bills. The bill information of the electronic bill and the bill data of the bill are used as the task execution input of the verification task. Each electronic bill and bill is verified and processed according to the preset reimbursement verification rules. If the verification fails, no processing is performed. If the verification passes, the reimbursement form generation task is executed, and the bill information and bill data are written to the reimbursement form to be configured to obtain the reimbursement form. The electronic bill that matches the keyword can be an electronic bill that matches any keyword, or an electronic bill that matches two or more keywords at the same time. Optionally, the keywords include time keywords, regional keywords, and / or merchant keywords.

[0068] For example, execute the query task in the task sequence to query the user's bill collection for electronic invoices with an issue date within X months and in X city, as well as the bills associated with the electronic invoices. Execute the verification task to verify each electronic invoice and bill according to the amount verification rules of the user's institution. After verification, execute the reimbursement form generation task to write the electronic invoice information and bill data into the reimbursement form to be configured to obtain the reimbursement form.

[0069] In addition, if the verification fails, the reimbursement form generation task in the task sequence may not be executed, and the message generation task in the task sequence may be executed to generate a verification failure message based on the bill information and bill data as the bill reimbursement result; further, the bill processing result and / or the bill reimbursement result may also include the reimbursement form and the verification failure message; for example, if the verification passes, the reimbursement form generation task is executed to generate a reimbursement form based on the verified electronic bills and bills; if the verification fails, the message generation task is executed to generate a verification failure message based on the failed electronic bills and bills, and the reimbursement form and the verification failure message are used as the bill reimbursement result.

[0070] Among them, during the execution of the task sequence for bill reimbursement generated by the task generation model corresponding to the bill reimbursement intention, the subsequent tasks in the task sequence can also be executed directly according to the verification results. For example: after the verification task is executed, the reimbursement form generation task in the task sequence can be executed to write the bill information of the verified electronic invoice and the bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form; or, after the verification task is executed, the message generation task in the task sequence can be executed to generate a verification failure message based on the bill information of the electronic invoice that failed the verification.

[0071] (2) Execution of the task sequence for bill sorting generated by the task generation model corresponding to the bill sorting intention

[0072] During the specific execution process, the task sequence for bill sorting may include a query task and a sorting task. The query task may be executed to query electronic bills, and the sorting task may be executed to sort the electronic bills to obtain bill information of the sorted electronic bills. The bill information may be used as the bill sorting result. In a second optional implementation provided in this embodiment, executing the task sequence includes:

[0073] Execute the query task in the task sequence to query the user's ticket collection for electronic tickets whose ticket information matches the time information, region information and / or merchant information configured in the query task;

[0074] Execute the sorting task in the task sequence to sort the electronic bills obtained by the query according to the sorting method configured by the sorting task, and obtain bill information of the sorted electronic bills.

[0075] Specifically, the query task in the task sequence is first executed, and the query keywords in the query task's configuration information, such as time information, region information, and / or merchant information, are read. The user's receipt collection is searched for electronic receipts matching the keywords. A sorting task is then executed to sort the electronic receipts obtained from the query according to the sorting method configured for the sorting task, thereby obtaining receipt information for the sorted electronic receipts. The electronic receipts matching the keywords may be any one of the keywords, or may be any two or more of the keywords simultaneously. Optionally, the sorting methods include time sorting, amount sorting, and / or consumption type sorting.

[0076] For example, execute the query task in the task sequence, read the time information, area information and merchant information in the configuration information of the query task, query the electronic invoices that match the time information, the electronic invoices that match the area information and the electronic invoices that match the merchant information in the user's invoice collection, execute the sorting task to sort the above three electronic invoices obtained from the query according to time, and obtain the invoice information of the sorted electronic invoices.

[0077] (3) Execution of the task sequence for bill application generated by the task generation model corresponding to the bill application intention

[0078] During the specific execution process, the task sequence for bill application may include a bill query task, a bill application task, and a bill collection task. The bill query task may be executed to query the bill, the bill application task may be executed to apply for the electronic bill corresponding to the bill, and the bill collection task may be executed to add the received electronic bill to the bill collection, so that the bill information of the electronic bill is used as the bill application result. In the third optional implementation provided by this embodiment, executing the task sequence includes:

[0079] Executing a bill query task in the task sequence to query the user's bill data for bill data corresponding to the merchant information and / or time information in the interaction data;

[0080] Execute the bill application task in the task sequence to call the merchant's bill application interface to apply for a bill based on the bill application information and bill data pre-configured by the user in the bill service;

[0081] Execute the bill collection task in the task sequence to add the electronic bill returned by the interface call to the user's bill collection.

[0082] Specifically, execute the bill query task in the task sequence, extract the merchant information and / or time information in the interactive data, query the bill data of the bill corresponding to the merchant information and / or time information in the user's bill data, execute the bill application task, call the merchant's bill application interface to apply for a bill based on the bill data and the user's preset bill application information, execute the bill collection task, and add the electronic bill returned by the interface call to the user's bill collection.

[0083] For example, execute the bill query task, query the bill data for the bill corresponding to the merchant information within the time range, execute the bill application task, call the merchant's bill application interface to apply for the bill based on the bill data of the bill and the user's bill application information, and execute the bill application task to add the electronic bill returned by the merchant to the user's bill collection.

[0084] In addition, in actual applications, there are situations where merchants need to respond to bill applications, and users may not receive electronic bills after applying for bills, or may receive electronic bills after a period of time. In this case, after executing the bill application task, if the bill application is successful, the above-mentioned bill collection task can be executed; if the bill application fails, the message generation task can be executed to generate an application failure message; if the bill application is not responded to, the message generation task can be executed to generate an application waiting message. In addition, there are situations where multiple electronic bills are applied for at one time. The successfully applied electronic bills can be added to the user's bill collection, and an application failure message can be generated for failed applications, and an application waiting message can be generated for unresponsive applications. Optionally, the bill processing result includes: bill information of the electronic bill, an application failure message, and / or an application waiting message.

[0085] (4) Execution of the task sequence for bill collection generated by the task generation model corresponding to the bill collection intention

[0086] During the specific execution process, the task sequence for bill collection may include a query task and a collection task. The query task may be executed to query the user's bill mailbox for undownloaded bills, and the collection task may be executed to download the undownloaded bills and add them to the user's bill collection, so that the bill information of the added electronic bill is used as the bill collection result. In the fourth optional implementation provided by this embodiment, the task sequence is executed, including:

[0087] Execute the query task in the task sequence and query the user's ticket mailbox for undownloaded tickets;

[0088] Execute the collected tasks in the task sequence, download the undownloaded tickets and add them to the user's ticket collection.

[0089] It should be noted that, in the specific implementation process, any one of the four implementation methods provided above can be selected for implementation according to actual needs. It should be noted that the four implementation methods mentioned above can also be combined as a whole with any two or more of them according to actual needs, and corresponding technical means can also be selected from the four implementation methods according to actual needs to combine and form a new implementation method; taking the execution of the task sequence for bill reimbursement generated by the task generation model corresponding to the bill reimbursement intention as an example, for example: executing the query task in the task sequence to query the electronic bills and bills associated with the electronic bills that match the keywords in the interaction data in the user's bill collection; executing the verification task in the task sequence to verify the electronic bills and bills; executing the reimbursement form generation task in the task sequence to obtain the reimbursement form; for example: executing the bill application task in the task sequence to call the merchant's bill application interface to apply for the bill based on the bill application information pre-configured by the user in the bill service and the bill data of the selected bill; executing the reimbursement form generation task in the task sequence to write the obtained electronic invoice information and bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form.

[0090] In actual applications, there are also situations where there are multiple intent categories in the interaction data submitted by users, for example: the intent categories corresponding to the interaction data are bill application intention and bill reimbursement intention; in response to this, the bill agent can select multiple task generation models based on the multiple intent categories of the interaction information to generate multiple task sequences, and execute multiple task sequences according to the preset execution relationship of the task sequences to obtain the bill processing results.

[0091] For example, if the interaction data is "Help me apply for last month's invoice and get reimbursed", the bill agent can call the task generation model corresponding to the bill application intention to generate a task sequence for bill application and execute it to obtain the bill application result. It can also call the task generation model corresponding to the bill reimbursement intention to generate a task sequence for bill reimbursement and execute it to obtain the bill reimbursement result, and use the bill reimbursement result as the bill processing result.

[0092] For another example, the interactive data is "Help me organize the invoices applied for last month and reimburse them". The bill agent can call the task generation model corresponding to the bill organization intention to generate a task sequence for bill organization, and call the task generation model corresponding to the bill reimbursement intention to generate a task sequence for bill reimbursement, execute the task sequence for bill organization to obtain the bill organization result, execute the task sequence for bill reimbursement to obtain the bill reimbursement result, and use the bill reimbursement result as the bill processing result.

[0093] Step S206: Obtain the bill processing result returned by the bill agent, generate service response data according to the bill processing result, and send it to the user terminal.

[0094] In specific implementations, the bill agent performs bill processing to obtain a bill processing result and returns the bill processing result. Accordingly, the bill agent obtains the bill processing result obtained by the bill agent, generates service response data based on the bill processing result, and sends the service response data to the user terminal. Specifically, the data contained in the bill processing result can be parsed and the service response data generated based on the data.

[0095] The service response data refers to the response data in response to the interactive data sent by the user terminal. The user terminal may display the service response data in the ticket service, specifically on the interactive page of the ticket service. Specifically, the service response data may be displayed in the form of a message, rich text, and / or a waistband. Optionally, the service response data includes: electronic ticket information, text data, and / or service interface configuration information.

[0096] Specifically, during the process of generating service response data, a service response message corresponding to the interaction data may be generated based on the bill processing result. A message template corresponding to the data type of the data contained in the bill processing result may be selected, and the data in the bill processing result may be written into the message template to obtain a service response message. In an optional implementation provided by this embodiment, generating service response data based on the bill processing result includes:

[0097] Determine the data type of the data contained in the bill processing result and select a corresponding message template based on the data type. Write the data contained in the bill processing result into the message template to obtain a service response message. Optionally, the message template configures the service interface corresponding to the data type. Service interfaces include: reimbursement submission interface, viewing interface, bill addition interface, and / or bill export interface.

[0098] Specifically, the reimbursement form can be submitted after the reimbursement submission interface is triggered, the electronic invoice and / or reimbursement form can be viewed after the viewing interface is triggered, the electronic invoice selected by the user can be added to the reimbursement item after the invoice addition interface is triggered, and the electronic invoice can be exported after the invoice export interface is triggered.

[0099] For example, Figure 4 As shown, the bill processing result includes a reimbursement form, select the message template corresponding to the reimbursement form and write the reimbursement form into the message template to obtain a service response message 401; for example, Figure 5 As shown, the bill processing result includes the bill information of the electronic bill, a message template corresponding to the bill information is selected and the bill information is written into the message template to obtain a service response message 501.

[0100] After the service response data is sent to the user terminal, during the specific execution process, the user can also submit interactive data for interactive processing, which can be done by submitting preset interactive data or by inputting interactive data. For example, the user can trigger the preset interactive text and submit "Help me analyze the bill expenses" to obtain the analysis results of the bill expenses.

[0101] To address this, a bill agent can be called to detect whether the intent category corresponding to the interactive text is the preset intent category. If not, the bill information corresponding to the interactive text and the bill processing result can be input into the large language model to generate a service text, which is then sent to the user terminal to enhance the user's interactive perception. In an optional implementation provided by this embodiment, after sending the service response data to the user terminal, the following is also included:

[0102] Based on the interactive text submitted by the user terminal, the bill agent is called for service processing; the service text returned by the bill agent is sent to the user terminal. Optionally, the interactive text is submitted after the interface configured on the interactive page of the bill service is triggered.

[0103] Optionally, the service processing includes: detecting whether the intent category corresponding to the interactive text is a preset intent category; if not, inputting the interactive text and the bill information in the bill processing result into the large language model for service processing to obtain the service text; if so, no processing is performed.

[0104] For example, Figure 4 As shown, after the user triggers button 403, he submits the interactive text "Help me analyze the expenses", and calls the bill agent based on the interactive text. Accordingly, the bill agent detects the intention category of the interactive text and deploys it in the preset intention category. The interactive text and bill information are input into the large language model for service processing to obtain the service text and return it. The service text returned by the bill agent is obtained and sent to the user terminal.

[0105] In addition, when the bill agent detects that the intention category of the interactive text belongs to the preset intention category, it can also input the interactive text into the task generation model corresponding to the intention category to generate a task sequence, execute the task sequence to obtain the bill processing result and return it, and accordingly, generate service response data based on the bill processing result and respond to the user terminal to send it; in addition, it can also directly input the interactive text and bill information into the large language model to generate service text without performing detection operations.

[0106] In actual applications, after obtaining the service response data, the user can also interact through the service response data, for example, after triggering the service interface configured by the service response data, export the electronic invoice and / or submit the expense report, so as to improve the convenience of operation; in this regard, the user terminal can submit a bill processing request after the user triggers the service interface configured by the service response data, and accordingly, the service processing is performed in response to the bill processing request, and the service processing result is sent to the user terminal after it is obtained; in an optional implementation manner provided by this embodiment, after sending the service response data, the following is also included:

[0107] Obtain a bill processing request submitted by a user terminal; perform service processing on the user's electronic bill according to the bill processing method corresponding to the bill processing request, and send the service processing result to the user terminal. Optionally, the bill processing request is generated after the user triggers the service interface configured with the service response data.

[0108] The service processing result may be a service result corresponding to the bill processing request. Specifically, it may be sent to the user terminal in the form of a message for display on the user terminal. For example, the service processing result for a bill export request may be an export success message and / or an export failure message, and the service processing result for a bill reimbursement request may be a submission success message and / or a submission failure message. Optionally, the service processing result includes a service processing message.

[0109] During the specific execution process, the reimbursement form corresponding to the service response data, or the reimbursement form included in the bill processing result, may also be submitted to the reimbursement service corresponding to the user according to the configuration information of the reimbursement submission interface in the bill processing request. In another optional implementation provided by this embodiment, service processing is performed according to the bill processing method, including:

[0110] Obtain the reimbursement form included in the bill processing result and query the data transmission interface of the user's associated reimbursement service;

[0111] The reimbursement form is used as the interface call input to call the data transmission interface for data transmission, so that the reimbursement service can process the reimbursement based on the electronic receipt in the reimbursement form.

[0112] For example, Figure 4As shown, the user triggers the reimbursement submission interface 402 on the interactive page of the bill service to submit a bill processing request through the user terminal. After receiving the bill processing request, the reimbursement form in the bill processing result is obtained, and the data transmission interface of the reimbursement service associated with the user is queried. The data transmission interface is called based on the reimbursement form for data transmission, so that the user can perform reimbursement processing based on the electronic bill in the reimbursement form in the reimbursement service.

[0113] Alternatively, the electronic invoice selected by the user may be sent to the invoice recipient according to the configuration information of the invoice export interface in the invoice processing request. In an optional implementation provided by this embodiment, service processing is performed according to the invoice processing method, including:

[0114] Filter out the electronic invoice corresponding to the invoice information in the invoice processing request from the user's invoice collection, generate a invoice link for the electronic invoice; send the invoice link to the invoice recipient included in the invoice processing request, so that the invoice recipient can download the electronic invoice through the invoice link.

[0115] For example, Figure 5 As shown, after the user selects an electronic invoice on the interactive page of the invoice service, the invoice export interface 502 is triggered to submit a invoice processing request through the user terminal. After receiving the invoice processing request, the electronic invoice is selected from the user's invoice collection based on the invoice information in the invoice processing request, and a invoice link of the electronic invoice is generated and sent to the invoice recipient, so that the invoice recipient can download the electronic invoice through the invoice link.

[0116] In addition, the bill service can also provide the function of scanning the merchant's bill code to apply for a bill. Specifically, the user can trigger the bill application interface on the bill service page to submit a bill application instruction. The user terminal generates a bill application based on the bill application instruction and submits it. Correspondingly, based on the bill application submitted by the user terminal, a scan code page is sent to the user terminal, allowing the user to scan the merchant's bill code to enter the merchant's bill service window and fill in the bill application information. Optionally, the bill application interface includes: a scan code invoice interface; the bill application instruction includes a scan code invoice instruction; and the bill application includes a scan code invoice request.

[0117] In actual applications, users need to fill in lengthy bill application information during the bill application process, and different merchants may have different bill service providers. The bill application information pre-stored by users in the bill service provider is usually not shared. To address this, the bill intelligent entity can be called to fill in the application information after the user terminal enters the merchant's bill service window. The bill intelligent entity fills in the bill application information of the bill applicant selected by the user on the scan code page in the merchant's bill service window, avoiding the user's search for bill application information and improving convenience. An optional implementation method provided by this embodiment also includes: sending a scan code page to the user terminal based on the bill application submitted by the user terminal; calling the bill intelligent entity to fill in the application information after the user terminal enters the merchant's bill service window. Specifically, after the user terminal enters the merchant's bill service window, the bill intelligent entity is called to fill in the application information based on the application information of the bill applicant selected by the user on the scan code page.

[0118] Specifically, the ticket agent can respond to the call by writing the user's pre-selected ticket information into the ticket service window to automatically fill in the ticket application information. In an optional implementation provided by this embodiment, filling in the application information includes: performing element recognition on the ticket service window to obtain a text element corresponding to the ticket application; and writing the user's ticket application information into the text area corresponding to the text element in the ticket service window. Optionally, the ticket application information is determined based on the ticket application party selected by the user on the QR code scanning page.

[0119] For example, after the user triggers the bill application interface on the bill service page, the user enters Figure 6 In the scan code page shown, the user triggers interface 601 on the scan code page to select institution A as the billing party, and triggers interface 602 to add the applied bill to project A.

[0120] Based on the above-mentioned process of users applying for bills by scanning a QR code through a user terminal, after submitting a bill application to a merchant, the user can also return to the bill service from the bill service window. Accordingly, after receiving the page return instruction submitted by the user terminal, the page to be issued can be determined based on the bill application result. Specifically, if the bill application is successful, an interactive page of the bill service is generated and issued to the user terminal, so that the user terminal returns to the interactive page; if the bill application fails, a service page of the bill service is generated and issued to the user terminal, so that the user terminal returns to the service page. For example, after applying for a bill and obtaining an electronic bill, the user can return to the interactive page of the bill service to process the obtained bill.

[0121] In summary, the agent-based ticket service processing method provided in this embodiment can be applied to a server. When a user accesses a ticket service, the server receives interaction data sent by the user terminal, invokes a ticket agent based on the interaction data to perform ticket processing, and generates service response data based on the ticket processing result returned by the ticket agent and sends it to the user terminal. This improves service response efficiency through agent invocation and enhances the user's interactive perception through service response data.

[0122] Furthermore, the bill agent can input the interaction data into the corresponding task generation model to generate a task sequence for bill processing, execute the task sequence to obtain the bill processing result, and improve the reliability of the bill processing result by calling the task generation model to generate the task sequence.

[0123] The above steps S202 to S206 provided in this embodiment can be executed by the server of the ticket service. It should be noted that the above steps S202 to S206 executed by the server and the steps S902 to S906 executed by the user terminal in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S902 to S906 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S202 to S206 provided in this embodiment.

[0124] The following is an example of an application of an agent-based bill service processing method in a bill reimbursement scenario provided by this embodiment. Figure 7 , for further explanation of the agent-based bill service processing method provided in this embodiment, see Figure 7 , an agent-based bill service processing method applied to bill reimbursement scenarios specifically includes the following steps.

[0125] Step S706: receiving interaction data sent by the user terminal.

[0126] Step S708: Call the bill agent of the bill service based on the interaction data to perform bill processing.

[0127] Here, bill processing includes: inputting the interaction data into the task generation model corresponding to the intention category of the interaction data to generate a task sequence for bill reimbursement, executing the query task in the task sequence to query the electronic bills and bills for reimbursement, executing the verification task in the task sequence to verify the electronic bills and bills, executing the reimbursement form generation task in the task sequence to obtain the reimbursement form, and using the reimbursement form as the bill reimbursement result.

[0128] Step S710: Obtain a message template corresponding to the reimbursement form in the bill reimbursement result.

[0129] Step S712: Write the reimbursement form into the message template to obtain a service response message and send it to the user terminal.

[0130] Step S718: Query the data transmission interface of the reimbursement service associated with the user.

[0131] Step S720: Use the reimbursement form as an interface call input to call the data transmission interface to transmit the reimbursement form.

[0132] Among them, executing the query task in the task sequence includes: searching the user's bill collection for electronic bills and bills associated with the electronic bills that match the keywords in the interaction data; executing the verification task in the task sequence includes: verifying and processing the electronic bills and bills in accordance with the reimbursement verification rules of the user's institution; executing the reimbursement form generation task in the task sequence includes: writing the bill information of the verified electronic bill and the bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form.

[0133] It should be noted that any one or any combination of steps from step S706 to step S712, and steps from step S718 to step S720 can be combined with any one or any combination of steps from step S202 to step S206 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or any multiple technical features can be selected from steps S706 to step S712, and steps from step S718 to step S720, and combined with any one or more technical features provided by steps S202 to step S206 to form a new implementation method; or, any one or any multiple technical features from steps S706 to step S712, and steps S718 to step S720 can also be replaced by any one or more technical features provided by steps S202 to step S206 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0134] In addition, it should be noted that the above-mentioned steps S706 to S712, and steps S718 to S720 provided in this embodiment can be executed by the server. It should be noted that the above-mentioned steps S706 to S712, and steps S718 to S720 executed by the server, and steps S702 to S704 and steps S714 to S716 executed by the user terminal in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S702 to S704 and steps S714 to S716 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S706 to S712, and steps S718 to S720 provided in this embodiment.

[0135] The following is an example of an application of an agent-based bill service processing method in a bill application scenario provided by this embodiment. Figure 8 , for further explanation of the agent-based bill service processing method provided in this embodiment, see Figure 8 , an agent-based bill service processing method applied to bill application scenarios specifically includes the following steps.

[0136] Step S806: receiving the interactive text sent by the user terminal.

[0137] Step S808: Call the bill agent of the bill service based on the interactive text to perform bill processing.

[0138] Here, bill processing includes: inputting the interactive text into the task generation model corresponding to the intention category of the interactive text to generate a task sequence for bill application, executing the bill query task in the task sequence to query the bill, executing the bill application task in the task sequence to apply for the electronic bill corresponding to the bill, executing the bill collection task in the task sequence to add the received electronic bill to the bill collection, so as to use the bill information of the electronic bill as the bill application result.

[0139] Step S810: Obtain a message template corresponding to the electronic bill in the bill application result.

[0140] Step S812: Write the bill information of the electronic bill into the message template to obtain a service response message and send it to the user terminal.

[0141] Step S818: Receive a bill export request, and filter out electronic bills corresponding to the bill information in the bill export request from the user's bill collection.

[0142] Step S820: Generate a bill link for the electronic bill and send it to the bill recipient included in the bill export request.

[0143] Among them, executing the bill query task in the task sequence includes: querying the bill data of the bill corresponding to the merchant information in the interactive text in the user's bill data; executing the bill application task in the task sequence includes: calling the merchant's bill application interface to apply for a bill based on the bill application information and bill data pre-configured by the user in the bill service; executing the bill collection task in the task sequence includes: adding the electronic bill returned by the interface call to the user's bill collection, and using the bill information of the returned electronic bill as the bill application result.

[0144] It should be noted that any one of steps S806 to S812 and any combination of multiple steps from step S818 to step S820 can be combined with any one of steps S202 to step S206 or any combination of multiple steps to form a new implementation method according to the needs of implementation deployment; in addition, any one or multiple technical features can be selected from steps S806 to step S812 and steps S818 to step S820 according to the needs of actual deployment, and combined with any one or multiple technical features provided by steps S202 to step S206 to form a new implementation method; or, any one or multiple technical features from steps S806 to step S812 and steps S818 to step S820 can be replaced with any one or multiple technical features provided by steps S202 to step S206 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0145] In addition, it should be noted that the above-mentioned steps S806 to S812 and steps S818 to S820 provided in this embodiment can be executed by the server. It should be noted that the above-mentioned steps S806 to S812 and steps S818 to S820 executed by the server and steps S802 to S804 and steps S814 to S816 executed by the user terminal in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S802 to S804 and steps S814 to S816 provided in the following method embodiment. When reading the following method embodiment, please refer to the corresponding contents of steps S806 to S812 and steps S818 to S820 provided in this embodiment.

[0146] One or more embodiments of another agent-based ticket service processing method provided in this specification are as follows:

[0147] Reference Figure 9 The present embodiment provides an agent-based bill service processing method, which specifically includes steps S902 to S906.

[0148] Step S902: Acquire the interaction data submitted by the user on the interaction page of the ticket service.

[0149] The ticket service described in this embodiment can be a service related to electronic tickets. Users can access the ticket service to process tickets. The ticket service can be a ticket application, a ticket subroutine or a ticket service module of an application, or the ticket service can be provided to users in the form of a ticket application, a subroutine of a ticket application and / or a service module of a ticket application. In addition, the ticket service can also be provided through an application and / or a subroutine of an application. Among them, the ticket service can provide multiple different functions, and users can use these functions in the ticket service.

[0150] For example, users can use the bill application function in the bill service to issue electronic invoices, users can also use the bill collection function in the bill service to collect electronic invoices, users can also use the bill sorting function in the bill service to sort or query electronic invoices, and users can also use the bill reimbursement function in the bill service to reimburse electronic invoices; in addition, users can also use the Q&A function in the bill service to ask bill-related questions, and users can also export electronic invoices in the bill service.

[0151] Specifically, the bill service can be configured with a bill agent, and the bill service can perform bill processing through the bill agent to cooperate with the implementation of the functions of the bill service. The bill agent can perform corresponding bill processing based on the interaction data submitted by the user; the interaction data is the data submitted by the user in the bill service to describe the user's needs for bill processing, which can be used as the call input of the bill agent. The bill agent can select a task generation model based on the intention category of the interaction data. The interaction data may include interaction data entered and submitted by the user, and may also include preset interaction data triggered and submitted by the user; optionally, the interaction data includes interaction text and / or interaction voice.

[0152] Among them, the bill agent refers to an agent that is connected to the bill service, or an agent that is configured in the bill service. The bill agent can cooperate with the bill service to realize the functions of the bill service. The bill agent can be deployed outside the bill service or in the bill service. The bill agent can be configured with multiple task generation models, or the bill agent can be connected to multiple task generation models. The task generation model can generate a task sequence for bill processing. The task generation model can correspond to the intent category of the interaction data. The bill agent can determine the task generation model to call based on the interaction data to generate a task sequence for bill processing. In addition, the task generation model can correspond to the function of the bill service to generate a task sequence for bill processing. Optionally, the intent category includes: bill reimbursement intent, bill sorting intent, bill collection intent and / or bill application intent.

[0153] For example, the task generation model corresponding to the bill reimbursement intention can generate a task sequence for bill reimbursement, and the bill agent executes the task sequence to generate a reimbursement form for the electronic bill; the task generation model corresponding to the bill sorting intention can generate a task sequence for bill sorting, and the bill agent executes the task sequence to query the bill information of the electronic bill; the task generation model corresponding to the bill collection intention can generate a task sequence for bill collection, and the bill agent executes the task sequence to add the electronic bill to the user's bill collection; the task generation model corresponding to the bill application intention can generate a task sequence for bill application, and the bill agent executes the task sequence to apply for the user's electronic bill.

[0154] In addition, the bill agent can also be connected to the large language model to cooperate with the bill service to realize the question and answer function of the bill service; optionally, bill processing includes inputting the interactive data into the large language model for bill processing to obtain the bill processing result; for example, when the user asks questions related to the bill, the bill agent can call the large language model to generate the reply text.

[0155] In a specific implementation, when a user accesses the ticket service, the user can use the functions of the ticket service by submitting interactive data in the ticket service. For this purpose, a preset interactive text can be configured in the ticket service, and the user can trigger and submit the preset interactive text to be sent through the user terminal, thereby improving the convenience of interaction. In an optional implementation provided by this embodiment, obtaining the interactive data includes:

[0156] Obtain interaction data triggered and submitted by the user on the interactive page of the bill service. Optionally, the interaction data includes preset interaction text; the preset interaction text is generated based on the bill information of the electronic bill to be reimbursed in the user's bill collection.

[0157] Specifically, the user can trigger the interface corresponding to the preset interactive text on the interactive page of the ticket service, and submit the preset interactive text after triggering the interface, so that the user terminal sends the preset interactive text as interactive data to the server.

[0158] In addition, when a user accesses the ticket service, the user may also enter interactive data in the ticket service and submit it for transmission to the server via the user terminal. In another optional implementation provided by this embodiment, the interactive data is submitted by the user after entering it on the interactive page of the ticket service. Optionally, the interactive data includes the interactive data entered by the user on the interactive page of the ticket service.

[0159] In a specific implementation, when a user accesses the ticket service, he or she interacts on the interactive page of the ticket service and submits the interactive data. Accordingly, the interactive data submitted by the user on the interactive page of the ticket service is obtained.

[0160] It should be noted that the user may not interact and submit interaction data on the interaction page. The ticket service may also provide a floating window, window and / or run in the background to interact with the user through voice interaction; step S902 can be replaced by: obtaining the interaction data submitted by the user on the ticket service.

[0161] Step S904: Send the interaction data to the server.

[0162] In a specific implementation, the interaction data is sent to the server, causing the server to invoke the bill agent of the bill service to perform bill processing. Accordingly, the bill agent of the bill service determines the intent category of the interaction data in response to the agent call, selects a task generation model corresponding to the intent category, inputs the interaction data into the task generation model, generates a task sequence for bill processing, and executes the task sequence to obtain the bill processing result. Optionally, bill processing includes inputting the interaction data into the task generation model corresponding to the intent category of the interaction data to generate a task sequence for bill processing, and executing the task sequence to obtain the bill processing result.

[0163] Specifically, in the process of calling the bill intelligent body, the interactive data can be used as the calling input of the bill intelligent body to call the bill intelligent body. Specifically, the application programming interface (Application Programming Interface, API) of the bill intelligent body can be called based on the interactive data to send the interactive data to the bill intelligent body.

[0164] After the above-mentioned server calls the bill agent based on the interactive data sent by the user terminal, the bill agent of the bill service responds to the call and performs bill processing. During the specific execution process, the corresponding task generation model can be called according to the interactive data to obtain the task sequence for bill processing and execute it to obtain the bill processing result, so as to use the bill processing result as the return result of the agent call; optionally, the bill processing includes inputting the interactive data into the corresponding task generation model to obtain the task sequence for bill processing and execute it to obtain the bill processing result.

[0165] Specifically, in the process of determining the task generation model, the bill intelligent agent can extract the intention category of the interaction data, and select the task generation model corresponding to the intention category from the multiple task generation models connected. Specifically, the intention category can be preset for the task generation model in advance, and the intention category obtained based on the intention recognition of the interaction data is matched with the preset intention category, and the task generation model is determined according to the matching results; alternatively, the task generation model can also correspond to the interaction data, and the bill intelligent agent determines the task generation model based on the interaction data.

[0166] The bill processing result is the result of the bill agent executing the bill processing task sequence, representing the bill processing result. The task generation model can also correspond to different functions of the bill service. Accordingly, the generated task sequence can also correspond to different functions, and the bill processing result can also correspond to different functions. Specifically, the bill processing result can include different data. Optionally, the bill processing result includes: reimbursement form data, electronic invoice information, and / or bill data. In addition, the bill processing result can also include reply text.

[0167] For example, corresponding to the bill reimbursement function, the bill processing result may include a reimbursement form constructed based on the bill information of the electronic invoice and the bill data of the associated bill; corresponding to the bill sorting function, the bill processing result may include the bill information of the queried electronic invoice; corresponding to the bill collection function, the bill processing result may include the bill information of the collected electronic invoice; corresponding to the bill application function, the bill processing result may include the bill information of the applied electronic invoice.

[0168] Specifically, during the task sequence generation process, the task generation model may determine the tasks to be configured in the preset task sequence based on the interaction data, and configure the keywords in the interaction data to the corresponding tasks to be configured to obtain a task sequence. In an optional implementation provided by this embodiment, generating the task sequence includes:

[0169] Extract multiple keywords from the interaction data and select tasks to be configured that match each keyword from the preset task set;

[0170] Each keyword is configured to its corresponding task to be configured to obtain a plurality of bill processing tasks, and a task sequence is constructed based on the preset execution relationship of the task to be configured and each bill processing task.

[0171] Specifically, during the execution of the task sequence, the bill processing tasks in the task sequence may be read and each bill processing task may be executed according to the execution relationship to obtain the bill processing result. In an optional implementation provided by this embodiment, executing the task sequence includes:

[0172] Read multiple bill processing tasks contained in the task sequence and the execution relationship between the bill processing tasks;

[0173] Execute each bill processing task according to the execution relationship to obtain the bill processing result.

[0174] In actual scenarios, the task generation model corresponds to different intent categories, or corresponds to different functions of the bill service. The bill processing required for different intent categories and / or functions may be different. Accordingly, the task sequence generated by the task generation model and the bill processing results obtained by the bill agent executing the task sequence may also be different. For example: the preset task sequence of the task generation model corresponding to the bill reimbursement function may include a query task to be configured, a verification task to be configured, and a reimbursement form generation task to be configured. The generated task sequence can be expressed as: [query task → verification task → reimbursement form generation task]; the preset task set of the task generation model corresponding to the bill application function may include a bill query task to be configured, a bill application task to be configured, and a bill collection task to be configured. The generated task sequence can be expressed as: [bill query task → bill application task → bill collection task].

[0175] Based on this, specifically during the execution of the task sequence, the task sequence can be executed according to the bill processing tasks and execution relationships in the task sequence. The following specifically describes the execution process of the task sequences generated by the above four task generation models.

[0176] (1) Execution of the task sequence for bill reimbursement generated by the task generation model corresponding to the bill reimbursement intention

[0177] During the specific execution process, the task sequence for bill reimbursement may include a query task, a verification task, and a reimbursement form generation task. The query task may be executed to query the electronic bills and bills for reimbursement, the verification task may be executed to verify the electronic bills and bills, and the reimbursement form generation task may be executed to obtain a reimbursement form, which may be used as the bill reimbursement result. In the first optional implementation provided in this embodiment, executing the task sequence includes:

[0178] Execute the query task in the task sequence to query the user's ticket collection for electronic tickets and bills associated with the electronic tickets that match the keywords in the interaction data;

[0179] Execute verification tasks in the task sequence to verify electronic receipts and bills according to reimbursement verification rules;

[0180] If the verification passes, the reimbursement form generation task in the task sequence is executed to write the bill information of the electronic invoice and the bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form.

[0181] Specifically, the query task is first executed to extract the keywords contained in the interactive data, and then search the user's bill collection for electronic bills that match the keywords in the interactive data. The bill data is also searched for bills associated with the electronic bills. The bill information of the electronic bill and the bill data of the bill are used as the task execution input of the verification task. Each electronic bill and bill is verified and processed according to the preset reimbursement verification rules. If the verification fails, no processing is performed. If the verification passes, the reimbursement form generation task is executed, and the bill information and bill data are written to the reimbursement form to be configured to obtain the reimbursement form. The electronic bill that matches the keyword can be an electronic bill that matches any keyword, or an electronic bill that matches two or more keywords at the same time. Optionally, the keywords include time keywords, regional keywords, and / or merchant keywords.

[0182] For example, execute the query task in the task sequence to query the user's bill collection for electronic invoices with an issue date within X months and in X city, as well as the bills associated with the electronic invoices. Execute the verification task to verify each electronic invoice and bill according to the amount verification rules of the user's institution. After verification, execute the reimbursement form generation task to write the electronic invoice information and bill data into the reimbursement form to be configured to obtain the reimbursement form.

[0183] In addition, if the verification fails, the reimbursement form generation task in the task sequence may not be executed, and the message generation task in the task sequence may be executed to generate a verification failure message based on the bill information and bill data as the bill reimbursement result; further, the bill processing result and / or the bill reimbursement result may also include the reimbursement form and the verification failure message; for example, if the verification passes, the reimbursement form generation task is executed to generate a reimbursement form based on the verified electronic bills and bills; if the verification fails, the message generation task is executed to generate a verification failure message based on the failed electronic bills and bills, and the reimbursement form and the verification failure message are used as the bill reimbursement result.

[0184] Among them, during the execution of the task sequence for bill reimbursement generated by the task generation model corresponding to the bill reimbursement intention, the subsequent tasks in the task sequence can also be executed directly according to the verification results. For example: after the verification task is executed, the reimbursement form generation task in the task sequence can be executed to write the bill information of the verified electronic invoice and the bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form; or, after the verification task is executed, the message generation task in the task sequence can be executed to generate a verification failure message based on the bill information of the electronic invoice that failed the verification.

[0185] (2) Execution of the task sequence for bill sorting generated by the task generation model corresponding to the bill sorting intention

[0186] During the specific execution process, the task sequence for bill sorting may include a query task and a sorting task. The query task may be executed to query electronic bills, and the sorting task may be executed to sort the electronic bills to obtain bill information of the sorted electronic bills. The bill information may be used as the bill sorting result. In a second optional implementation provided in this embodiment, executing the task sequence includes:

[0187] Execute the query task in the task sequence to query the user's ticket collection for electronic tickets whose ticket information matches the time information, region information and / or merchant information configured in the query task;

[0188] Execute the sorting task in the task sequence to sort the electronic bills obtained by the query according to the sorting method configured by the sorting task, and obtain bill information of the sorted electronic bills.

[0189] Specifically, the query task in the task sequence is first executed, and the query keywords in the query task's configuration information, such as time information, region information, and / or merchant information, are read. The user's receipt collection is searched for electronic receipts matching the keywords. A sorting task is then executed to sort the electronic receipts obtained from the query according to the sorting method configured for the sorting task, thereby obtaining receipt information for the sorted electronic receipts. The electronic receipts matching the keywords may be any one of the keywords, or may be any two or more of the keywords simultaneously. Optionally, the sorting methods include time sorting, amount sorting, and / or consumption type sorting.

[0190] For example, execute the query task in the task sequence, read the time information, area information and merchant information in the configuration information of the query task, query the electronic invoices that match the time information, the electronic invoices that match the area information and the electronic invoices that match the merchant information in the user's invoice collection, execute the sorting task to sort the above three electronic invoices obtained from the query according to time, and obtain the invoice information of the sorted electronic invoices.

[0191] (3) Execution of the task sequence for bill application generated by the task generation model corresponding to the bill application intention

[0192] During the specific execution process, the task sequence for bill application may include a bill query task, a bill application task, and a bill collection task. The bill query task may be executed to query the bill, the bill application task may be executed to apply for the electronic bill corresponding to the bill, and the bill collection task may be executed to add the received electronic bill to the bill collection, so that the bill information of the electronic bill is used as the bill application result. In the third optional implementation provided by this embodiment, executing the task sequence includes:

[0193] Executing a bill query task in the task sequence to query the user's bill data for bill data corresponding to the merchant information and / or time information in the interaction data;

[0194] Execute the bill application task in the task sequence to call the merchant's bill application interface to apply for a bill based on the bill application information and bill data pre-configured by the user in the bill service;

[0195] Execute the bill collection task in the task sequence to add the electronic bill returned by the interface call to the user's bill collection.

[0196] Specifically, execute the bill query task in the task sequence, extract the merchant information and / or time information in the interactive data, query the bill data of the bill corresponding to the merchant information and / or time information in the user's bill data, execute the bill application task, call the merchant's bill application interface to apply for a bill based on the bill data and the user's preset bill application information, execute the bill collection task, and add the electronic bill returned by the interface call to the user's bill collection.

[0197] For example, execute the bill query task, query the bill data for the bill corresponding to the merchant information within the time range, execute the bill application task, call the merchant's bill application interface to apply for the bill based on the bill data of the bill and the user's bill application information, and execute the bill application task to add the electronic bill returned by the merchant to the user's bill collection.

[0198] In addition, in actual applications, there is a process in which merchants need to respond to bill applications. There is a situation where the electronic bill is not obtained after the bill application, or the electronic bill is obtained after a period of time. In response to this, after executing the bill application task, if the bill application is successful, the above-mentioned bill collection task is executed; if the bill application fails, the message generation task is executed to generate an application failure message; if the bill application is not responded to, the message generation task is executed to generate an application waiting message; further, there is a situation in which multiple electronic bills are applied for at one time. The successfully applied electronic bills can be added to the user's bill collection, and an application failure message is generated for failed applications, and an application waiting message is generated for unresponsive applications.

[0199] (4) Execution of the task sequence for bill collection generated by the task generation model corresponding to the bill collection intention

[0200] During the specific execution process, the task sequence for bill collection may include a query task and a collection task. The query task may be executed to query the user's bill mailbox for undownloaded bills, and the collection task may be executed to download the undownloaded bills and add them to the user's bill collection, so that the bill information of the added electronic bill is used as the bill collection result. In the fourth optional implementation provided by this embodiment, the task sequence is executed, including:

[0201] Execute the query task in the task sequence and query the user's ticket mailbox for undownloaded tickets;

[0202] Execute the collected tasks in the task sequence, download the undownloaded tickets and add them to the user's ticket collection.

[0203] It should be noted that, in the specific implementation process, any one of the four implementation methods provided above can be selected for implementation according to actual needs. It should be noted that the four implementation methods mentioned above can also be combined as a whole with any two or more of them according to actual needs, and corresponding technical means can also be selected from the four implementation methods according to actual needs to combine and form a new implementation method; taking the execution of the task sequence for bill reimbursement generated by the task generation model corresponding to the bill reimbursement intention as an example, for example: executing the query task in the task sequence to query the electronic bills and bills associated with the electronic bills that match the keywords in the interaction data in the user's bill collection; executing the verification task in the task sequence to verify the electronic bills and bills; executing the reimbursement form generation task in the task sequence to obtain the reimbursement form; for example: executing the bill application task in the task sequence to call the merchant's bill application interface to apply for the bill based on the bill application information pre-configured by the user in the bill service and the bill data of the selected bill; executing the reimbursement form generation task in the task sequence to write the obtained electronic invoice information and bill data of the bill into the reimbursement form to be configured to obtain the reimbursement form.

[0204] In actual applications, there are also situations where there are multiple intent categories in the interaction data submitted by users, for example: the intent categories corresponding to the interaction data are bill application intention and bill reimbursement intention; in response to this, the bill agent can select multiple task generation models based on the multiple intent categories of the interaction information to generate multiple task sequences, and execute multiple task sequences according to the preset execution relationship of the task sequences to obtain the bill processing results.

[0205] Step S906: receiving service response data generated and sent by the server according to the bill processing result, and displaying it on the interactive page.

[0206] In specific implementations, the bill agent performs bill processing and obtains a bill processing result, which is then returned to the server. The server obtains the bill processing result obtained by the bill agent, generates and sends service response data based on the bill processing result, and then receives and displays the service response data generated and sent by the server based on the bill processing result on the interactive page. The service response data can be generated based on the data contained in the bill processing result.

[0207] The service response data refers to the response data in response to the interactive data sent by the user terminal. The user terminal may display the service response data in the ticket service, specifically on the interactive page of the ticket service. Specifically, the service response data may be displayed in the form of a message, rich text, and / or a waistband. Optionally, the service response data includes: electronic ticket information, text data, and / or service interface configuration information.

[0208] Specifically, during the process of generating service response data, a service response message corresponding to the interaction data may be generated based on the bill processing result. A message template corresponding to the data type of the data contained in the bill processing result may be selected, and the data in the bill processing result may be written into the message template to obtain a service response message. In an optional implementation provided by this embodiment, generating service response data based on the bill processing result includes:

[0209] Determine the data type of the data contained in the bill processing result and select a corresponding message template based on the data type. Write the data contained in the bill processing result into the message template to obtain a service response message. Optionally, the message template configures the service interface corresponding to the data type. Service interfaces include: reimbursement submission interface, viewing interface, bill addition interface, and / or bill export interface.

[0210] Specifically, the reimbursement form can be submitted after the reimbursement submission interface is triggered, the electronic invoice and / or reimbursement form can be viewed after the viewing interface is triggered, the electronic invoice selected by the user can be added to the reimbursement item after the invoice addition interface is triggered, and the electronic invoice can be exported after the invoice export interface is triggered.

[0211] After receiving the service response data, during the specific execution process, the user may also submit interaction data for interaction processing, which may be done by submitting preset interaction data or by inputting interaction data. In this regard, the interaction text triggered and submitted by the user may be submitted to the server, and the service text issued by the server may be obtained and displayed. In an optional implementation provided by this embodiment, after displaying the service response data, the following is further included:

[0212] After detecting that the user triggers the interface corresponding to the interactive text configured on the interactive page, the interactive text is submitted to the server; or the interactive text triggered and submitted by the user is submitted to the server;

[0213] The server obtains the service text generated by calling the bill agent based on the interactive text and displays the service text on the interactive page. Optionally, the service processing includes calling a large language model based on the interactive text to generate the service text.

[0214] For example, Figure 4 As shown, after the user triggers button 403, he submits the interactive text "Help me analyze the cost", and obtains the service text returned by the server and displays it on the interactive page.

[0215] Correspondingly, the server can call the bill intelligent body to perform service processing. The specific execution process can refer to the execution process provided in the above embodiment, which will not be repeated in this embodiment.

[0216] In actual applications, after receiving the service response data, users can also interact through the service response data, for example, exporting electronic receipts and / or submitting expense reports after triggering the service interface configured by the service response data, to improve operational convenience;

[0217] To this end, after the user triggers the service interface configured with the service response data, a ticket processing request can be submitted, and the service processing result sent by the server can be received. In an optional implementation provided by this embodiment, after displaying the service response data, the following is also included:

[0218] If it is detected that the user has triggered the service interface configured by the service response data, a ticket processing request is generated according to the configuration information of the service interface and submitted to the server; or, a ticket processing request is generated according to the configuration information of the service interface triggered by the user and submitted to the server;

[0219] The receiving server performs service processing on the user's electronic bill according to the bill processing method corresponding to the bill processing request and displays the service processing result sent.

[0220] The service processing result may be a service result corresponding to the bill processing request. Specifically, it may be sent to the user terminal in the form of a message for display on the user terminal. Optional service processing results include service processing messages. For example, the service processing result for a bill export request may be an export success message and / or an export failure message, and the service processing result for a bill reimbursement request may be a submission success message and / or a submission failure message.

[0221] For example, Figure 4As shown, the user triggers the reimbursement submission interface 402 on the interactive page of the bill service to submit a bill processing request through the user terminal. After processing, the server sends a submission success message to the user terminal and displays it on the interactive page;

[0222] For example, Figure 5 As shown, after the user selects an electronic invoice on the interactive page of the invoice service, the invoice export interface 502 is triggered to submit an invoice processing request through the user terminal. After processing, the server sends an export success message to the user terminal and displays it on the interactive page.

[0223] In addition, the bill service can also provide a function of scanning the merchant's bill code to apply for a bill. Specifically, the user can trigger the bill application interface on the service page of the bill service to submit a bill application instruction. The user terminal generates a bill application based on the bill application instruction and submits it. Optionally, the bill application interface includes: a scan code invoice interface; the bill application instruction includes a scan code invoice instruction; the bill application includes a scan code invoice request; an optional implementation method provided in this embodiment also includes:

[0224] Generate a ticket application and submit it to the server after the user triggers the ticket application interface configured on the service page of the ticket service; or generate a ticket application according to the ticket application instruction submitted by the user and send it to the server;

[0225] Receive and display the code scanning page sent by the server, and enter the merchant's bill service window after scanning the merchant's bill code to fill in the application information; submit the invoice request to the merchant according to the confirmation instruction submitted by the user.

[0226] After submitting the invoicing request, the merchant can also obtain the electronic invoice returned and add it to the reimbursement item selected by the user on the scan code page. Optionally, the application information is filled in by calling the invoice agent on the server.

[0227] For example, Figure 6 As shown, after the user triggers the bill application interface configured on the service page of the bill service, he jumps to the code scanning page, triggers interface 601 to select institution A as the bill issuer, and triggers interface 602 to add the applied bill to project A. According to the scanning result of the bill code, he enters the merchant's bill service window, and submits the billing request to the merchant after filling in the form to obtain an electronic bill.

[0228] Based on the above process of the user applying for a bill through the user terminal, after submitting the bill application to the merchant, the user can also return to the bill service from the bill service window and submit a page return instruction to the server so that the server returns a page based on the bill application result. In an optional implementation provided by this embodiment, after submitting the billing request, the following is also included:

[0229] Send the page return instruction submitted by the user to the server; if the ticket application is successful, obtain the interactive page returned by the server and display it; if the ticket application fails and / or the ticket application is not responded to, no processing is required. In addition, if the ticket application fails and / or the ticket application is not responded to, it can return to the service page of the ticket service; after submitting the invoice request, it also includes: sending the page return instruction submitted by the user to the server; if the ticket application fails and / or the ticket application is not responded to, obtain the service page returned by the server and display it.

[0230] In actual applications, users need to fill in lengthy bill application information during the bill application process, and different merchants may have different bill service providers. The bill application information pre-stored by users in the bill service provider is usually not shared. To address this, the bill intelligent entity can be called to fill in the application information after the user terminal enters the merchant's bill service window. The bill intelligent entity fills in the bill application information of the bill applicant selected by the user on the scan code page in the merchant's bill service window, avoiding the user's search for bill application information and improving convenience. An optional implementation method provided by this embodiment also includes: sending a scan code page to the user terminal based on the bill application submitted by the user terminal; calling the bill intelligent entity to fill in the application information after the user terminal enters the merchant's bill service window. Specifically, after the user terminal enters the merchant's bill service window, the bill intelligent entity is called to fill in the application information based on the application information of the bill applicant selected by the user on the scan code page.

[0231] Specifically, the ticket agent can respond to the call by writing the user's pre-selected ticket information into the ticket service window to automatically fill in the ticket application information. In an optional implementation provided by this embodiment, filling in the application information includes: performing element recognition on the ticket service window to obtain a text element corresponding to the ticket application; and writing the user's ticket application information into the text area corresponding to the text element in the ticket service window. Optionally, the ticket application information is determined based on the ticket application party selected by the user on the QR code scanning page.

[0232] In summary, this embodiment provides another agent-based ticket service processing method that can be applied to a user terminal. When a user accesses a ticket service, the method obtains the interaction data submitted by the user in the ticket service, sends the interaction data to the server, receives the service response data generated and sent by the server, and displays it on the interactive page. This interactive method improves user convenience during the ticket processing process and enhances the user's interactive perception.

[0233] Furthermore, the server can call the bill agent for service processing based on the interactive data, improving the service response efficiency through the agent call method;

[0234] Furthermore, the bill agent can input the interaction data into the corresponding task generation model to generate a task sequence for bill processing, execute the task sequence to obtain the bill processing results, and improve the stability of the bill processing results by calling the task generation model.

[0235] The following is an example of an application of an agent-based bill service processing method in a bill reimbursement scenario provided by this embodiment. Figure 7 , for further explanation of the agent-based bill service processing method provided in this embodiment, see Figure 7 , an agent-based bill service processing method applied to bill reimbursement scenarios specifically includes the following steps.

[0236] Step S702: Acquire the interaction data entered by the user on the interaction page of the ticket service.

[0237] Step S704: Send the interaction data to the server.

[0238] Step S714: Receive the service response message sent by the server and display it on the interactive page.

[0239] Step S716: Generate and send a bill reimbursement request based on the configuration information of the reimbursement submission interface configured by the service response message triggered by the user.

[0240] After step S716 is executed, the following steps may be performed: jumping to the reimbursement service according to the user's instruction to perform reimbursement processing based on the electronic receipt in the reimbursement form.

[0241] It should be noted that any one of steps S702 to S704 and any combination of multiple steps in steps S714 to S716 can be combined with any one of steps S902 to S906 or any combination of multiple steps to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S702 to S704 and steps S714 to S716 and combined with any one or multiple technical features provided in steps S902 to S906 to form a new implementation method; or, any one or multiple technical features in steps S702 to S704 and steps S714 to S716 can be replaced with any one or multiple technical features provided in steps S902 to S906 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0242] The following is an example of an application of an agent-based bill service processing method in a bill application scenario provided by this embodiment. Figure 8, for further explanation of the agent-based bill service processing method provided in this embodiment, see Figure 8 , an agent-based bill service processing method applied to bill application scenarios specifically includes the following steps.

[0243] Step S802: Acquire the interactive text triggered and submitted by the user.

[0244] Here, the interactive text is determined by the server and / or the bill agent according to the bill information of the electronic bill to be reimbursed in the user's bill collection.

[0245] Step S804: Send the interactive text to the server.

[0246] Step S814: Receive the service response message sent by the server and display it on the interactive page.

[0247] Step S816: Generate and send a bill export request based on the configuration information of the bill export interface configured by the service response message triggered by the user.

[0248] It should be noted that any one of steps S802 to S804 and any combination of multiple steps from steps S814 to S816 can be combined with any one of steps S902 to S906 or any combination of multiple steps to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S802 to S804 and steps S814 to S816 and combined with any one or multiple technical features provided in steps S902 to S906 to form a new implementation method; or, any one or multiple technical features from steps S802 to S804 and steps S814 to S816 can be replaced with any one or multiple technical features provided in steps S902 to S906 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0249] An embodiment of an agent-based bill service processing device provided in this specification is as follows:

[0250] In the above embodiment, an agent-based bill service processing method is provided, and correspondingly, an agent-based bill service processing device is also provided, which is described below with reference to the accompanying drawings.

[0251] Reference Figure 10 , which shows a schematic diagram of an embodiment of an intelligent-based ticket service processing device provided in this embodiment.

[0252] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0253] This embodiment provides an agent-based bill service processing device, comprising:

[0254] The interactive data receiving module 1002 is configured to receive interactive data sent by the user terminal after entering the ticket service;

[0255] The bill agent invocation module 1004 is configured to invoke the bill agent of the bill service based on the interaction data to perform bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the intent category of the interaction data to generate a task sequence for bill processing, and executing the task sequence to obtain a bill processing result;

[0256] The service response data generation module 1006 is configured to obtain the bill processing result returned by the bill agent, generate service response data according to the bill processing result, and send the service response data to the user terminal.

[0257] Another embodiment of an agent-based bill service processing device provided in this specification is as follows:

[0258] In the above embodiment, another agent-based bill service processing method is provided. Correspondingly, another agent-based bill service processing device is also provided, which is described below with reference to the accompanying drawings.

[0259] Reference Figure 11 , which shows a schematic diagram of an embodiment of an intelligent-based ticket service processing device provided in this embodiment.

[0260] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0261] This embodiment provides an agent-based bill service processing device, comprising:

[0262] The interaction data acquisition module 1102 is configured to acquire the interaction data submitted by the user on the interaction page of the ticket service;

[0263] The interactive data sending module 1104 is configured to send the interactive data to the server to invoke the bill agent to perform bill processing; the bill processing includes inputting the interactive data into the corresponding task generation model to obtain a task sequence for bill processing and executing it to obtain a bill processing result;

[0264] The service response data receiving module 1106 is configured to receive the service response data generated and sent by the server according to the bill processing result, and display it on the interactive page.

[0265] An embodiment of an agent-based bill service processing device provided in this specification is as follows:

[0266] Corresponding to the agent-based ticket service processing method described above, based on the same technical concept, one or more embodiments of this specification further provide an agent-based ticket service processing device, which is used to execute the agent-based ticket service processing method provided above. Figure 12 A schematic structural diagram of an agent-based ticket service processing device provided in one or more embodiments of this specification.

[0267] This embodiment provides an agent-based bill service processing device, including:

[0268] like Figure 12 As shown, an agent-based ticket service processing device can vary significantly depending on its configuration or performance. It may include one or more processors 1201 and memory 1202. Memory 1202 may store one or more applications or data. Memory 1202 may be either ephemeral or persistent. Applications stored in memory 1202 may include one or more modules (not shown), each of which may comprise a series of computer-executable instructions within the agent-based ticket service processing device. Furthermore, processor 1201 may be configured to communicate with memory 1202 to execute the series of computer-executable instructions within memory 1202 on the agent-based ticket service processing device. The agent-based ticket service processing device may also include one or more power supplies 1203, one or more wired or wireless network interfaces 1204, one or more input / output interfaces 1205, one or more keyboards 1206, and the like.

[0269] In a specific embodiment, an agent-based ticket service processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the agent-based ticket service processing device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0270] Receive interaction data sent by the user terminal after entering the ticket service;

[0271] Based on the interaction data, the bill agent of the bill service is called to perform bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the intention category of the interaction data to generate a task sequence for bill processing, and executing the task sequence to obtain a bill processing result;

[0272] The bill processing result returned by the bill agent is obtained, service response data is generated according to the bill processing result, and the service response data is sent to the user terminal.

[0273] Another embodiment of an agent-based bill service processing device provided in this specification is as follows:

[0274] Corresponding to the above-described another agent-based ticket service processing method, based on the same technical concept, one or more embodiments of this specification also provide another agent-based ticket service processing device, which is used to execute the above-described another agent-based ticket service processing method. Figure 13 A schematic structural diagram of another agent-based ticket service processing device provided for one or more embodiments of this specification.

[0275] This embodiment provides an agent-based bill service processing device, including:

[0276] like Figure 13 As shown, an agent-based ticket service processing device can vary significantly depending on its configuration or performance. It may include one or more processors 1301 and memory 1302. Memory 1302 may store one or more applications or data. Memory 1302 may be either ephemeral or persistent. Applications stored in memory 1302 may include one or more modules (not shown), each of which may comprise a series of computer-executable instructions within the agent-based ticket service processing device. Furthermore, processor 1301 may be configured to communicate with memory 1302 to execute the series of computer-executable instructions within memory 1302 on the agent-based ticket service processing device. The agent-based ticket service processing device may also include one or more power supplies 1303, one or more wired or wireless network interfaces 1304, one or more input / output interfaces 1305, one or more keyboards 1306, and the like.

[0277] In a specific embodiment, an agent-based ticket service processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the agent-based ticket service processing device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0278] Obtain the interaction data submitted by the user on the interactive page of the ticket service;

[0279] Sending the interaction data to the server to call the bill agent to process the bill; the bill processing includes inputting the interaction data into the corresponding task generation model to obtain a task sequence for bill processing and executing it to obtain a bill processing result;

[0280] Receive the service response data generated and sent by the server according to the bill processing result, and display it on the interactive page.

[0281] An embodiment of a computer-readable storage medium provided in this specification is as follows:

[0282] Corresponding to the above-described agent-based ticket service processing method, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.

[0283] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed, the following process is implemented:

[0284] Receive interaction data sent by the user terminal after entering the ticket service;

[0285] Based on the interaction data, the bill agent of the bill service is called to perform bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the intention category of the interaction data to generate a task sequence for bill processing, and executing the task sequence to obtain a bill processing result;

[0286] The bill processing result returned by the bill agent is obtained, service response data is generated according to the bill processing result, and the service response data is sent to the user terminal.

[0287] It should be noted that the embodiment of a computer-readable storage medium in this specification and the embodiment of an intelligent-based ticket service processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0288] Another embodiment of a computer-readable storage medium provided in this specification is as follows:

[0289] Corresponding to the other agent-based ticket service processing method described above, based on the same technical concept, one or more embodiments of this specification also provide another computer-readable storage medium.

[0290] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed, the following process is implemented:

[0291] Obtain the interaction data submitted by the user on the interactive page of the ticket service;

[0292] Sending the interaction data to the server to call the bill agent to process the bill; the bill processing includes inputting the interaction data into the corresponding task generation model to obtain a task sequence for bill processing and executing it to obtain a bill processing result;

[0293] Receive the service response data generated and sent by the server according to the bill processing result, and display it on the interactive page.

[0294] It should be noted that the embodiment of another computer-readable storage medium in this specification and the embodiment of another agent-based ticket service processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0295] An embodiment of a computer program product provided in this specification is as follows:

[0296] Corresponding to the above-described agent-based ticket service processing method, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.

[0297] A computer program product comprising a computer program / instructions, which, when executed by a processor, implements the following steps:

[0298] Receive interaction data sent by the user terminal after entering the ticket service;

[0299] Based on the interaction data, the bill agent of the bill service is called to perform bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the intention category of the interaction data to generate a task sequence for bill processing, and executing the task sequence to obtain a bill processing result;

[0300] The bill processing result returned by the bill agent is obtained, service response data is generated according to the bill processing result, and the service response data is sent to the user terminal.

[0301] It should be noted that the embodiment of a computer program product in this specification and the embodiment of an intelligent-based ticket service processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0302] Another computer program product embodiment provided in this specification is as follows:

[0303] Corresponding to the other agent-based ticket service processing method described above, based on the same technical concept, one or more embodiments of this specification also provide another computer program product.

[0304] A computer program product comprising a computer program / instructions, which, when executed by a processor, implements the following steps:

[0305] Obtain the interaction data submitted by the user on the interactive page of the ticket service;

[0306] Sending the interaction data to the server to call the bill agent to process the bill; the bill processing includes inputting the interaction data into the corresponding task generation model to obtain a task sequence for bill processing and executing it to obtain a bill processing result;

[0307] Receive the service response data generated and sent by the server according to the bill processing result, and display it on the interactive page.

[0308] It should be noted that the embodiment of another computer program product in this specification and the embodiment of another agent-based bill service processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0309] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments are similar to the method embodiments, so the description is relatively simple. For relevant content in the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments, please refer to the partial description of the method embodiments.

[0310] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0311] In the 1930s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using physical hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly performed using software called a "logic compiler." This is similar to the software compilers used during program development. Before compilation, the original code must be written in a specific programming language, called a Hardware Description Language (HDL). There are many types of HDL, including ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that simply by programming a method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.

[0312] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the memory control logic. Those skilled in the art will also appreciate that, in addition to implementing the controller purely in computer-readable program code, the controller can also be implemented in the form of logic gates, switches, an application-specific integrated circuit, a programmable logic controller, an embedded microcontroller, etc. by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the means for implementing the various functions included therein can also be considered as structures within the hardware component. Alternatively, the means for implementing the various functions can be considered both a software module implementing the method and a structure within the hardware component.

[0313] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0314] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0315] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as a method, system, or computer program product. Thus, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0316] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable agent-based ticket service processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable agent-based ticket service processing device generate instructions for implementing the processes in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0317] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable agent-based ticket service processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device that implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0318] These computer program instructions may also be loaded onto a computer or other programmable agent-based ticket service processing device, causing a series of operational steps to be executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0319] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0320] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0321] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology for information storage. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0322] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising at least one..." does not exclude the presence of additional identical elements in the process, method, commodity, or apparatus comprising the element.

[0323] One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0324] The above are merely examples of the present invention and are not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.

Claims

1. An agent-based bill service processing method, comprising: Receive interaction data sent by the user terminal after entering the ticket service; Calling the bill agent of the bill service to perform bill processing based on the interaction data; The bill processing includes inputting the interaction data into a task generation model corresponding to the bill reimbursement intention of the interaction data to generate a task sequence for bill reimbursement, executing a query task in the task sequence to query the electronic bill and bill to be reimbursed, executing a verification task in the task sequence to verify the electronic bill and the bill, executing a reimbursement form generation task in the task sequence to obtain a reimbursement form, and using the reimbursement form as the bill reimbursement result; The bill reimbursement result returned by the bill agent is obtained, service response data is generated according to the bill reimbursement result, and is sent to the user terminal.

2. The agent-based bill service processing method according to claim 1, wherein generating a task sequence for bill processing comprises: Extracting multiple keywords from the interaction data, and selecting tasks to be configured that match the keywords in a preset task sequence; The keywords are configured in the corresponding tasks to be configured to obtain a plurality of bill processing tasks, and the task sequence is constructed based on the preset execution relationship of the tasks to be configured and the bill processing tasks.

3. The agent-based bill service processing method according to claim 1, wherein executing the task sequence to obtain the bill processing result comprises: Reading multiple bill processing tasks included in the task sequence and the execution relationship between the bill processing tasks; The bill processing results are obtained by executing each bill processing task according to the execution relationship.

4. The agent-based bill service processing method according to claim 1, wherein executing the task sequence to obtain the bill processing result comprises: Executing the query task in the task sequence to query the user's ticket collection for electronic tickets that match the keywords in the interaction data and querying the bills associated with the electronic tickets; Executing the verification task in the task sequence to verify the electronic receipt and the bill according to the reimbursement verification rules; If the verification is passed by executing the reimbursement form generation task in the task sequence, the bill information of the electronic bill and the bill data of the bill are written into the reimbursement form to be configured to obtain the target reimbursement form.

5. The agent-based bill service processing method according to claim 1, wherein executing the task sequence to obtain the bill processing result comprises: Executing a query task in the task sequence to query the user's ticket collection for electronic tickets whose ticket information matches the time information, region information, and / or merchant information configured in the query task; The sorting task in the task sequence is executed to sort the electronic bills obtained by query according to the sorting method configured by the sorting task, and obtain bill information of the sorted electronic bills.

6. The agent-based ticket service processing method according to claim 1, further comprising: A scan code page is sent to the user terminal according to the bill application submitted by the user terminal, so that the bill agent is called to fill in the application information after the user terminal enters the merchant's bill service window.

7. The agent-based ticket service processing method according to claim 6, wherein the application information filling comprises: Performing element recognition on the bill service window to obtain text elements for bill application; The user's ticket application information is written into the text area corresponding to the text element in the ticket service window; the ticket application information is determined according to the ticket application party selected by the user on the code scanning page.

8. The agent-based ticket service processing method according to claim 1, wherein the interaction data is obtained by: Acquire preset interactive text triggered and submitted by the user on the interactive page of the ticket service, and use the preset interactive text as the interactive data; in, The preset interactive text is generated according to the bill information of the electronic bill to be reimbursed in the bill collection of the user.

9. The agent-based ticket service processing method according to claim 1, further comprising: after the steps of obtaining the ticket processing result returned by the ticket agent, generating service response data based on the ticket processing result, and sending the response data to the user terminal, Calling the bill agent to perform service processing based on the interactive text submitted by the user terminal; The interactive text is submitted after the interface configured on the interactive page of the ticket service is triggered; Sending the service text returned by the bill agent to the user terminal; Among them, the service processing includes: detecting whether the intention category of the interactive text is a preset intention category; if not, inputting the interactive text and the bill information in the bill processing result into a large language model for service processing to obtain a service text.

10. The agent-based bill service processing method according to claim 1, wherein generating service response data according to the bill processing result comprises: Determining a data type of the data included in the bill processing result, and selecting a corresponding message template based on the data type; Writing the data contained in the bill processing result into the message template to obtain a service response message; The message template configures a service interface corresponding to the data type; the service interface includes: a reimbursement submission interface and / or a bill export interface.

11. The agent-based ticket service processing method according to claim 1, further comprising: after the steps of obtaining the ticket processing result returned by the ticket agent, generating service response data based on the ticket processing result, and sending the response data to the user terminal, Obtaining a bill processing request submitted by the user terminal; The bill processing request is generated after the user triggers the service interface configured by the service response data; The electronic bill of the user is subjected to service processing according to the bill processing method corresponding to the bill processing request, and the service processing result is sent to the user terminal.

12. The agent-based bill service processing method according to claim 11, wherein the step of performing service processing on the user's electronic bill according to the bill processing method corresponding to the bill processing request comprises: Filtering the electronic invoice corresponding to the invoice information in the invoice processing request from the user's invoice collection, and generating a invoice link for the electronic invoice; The bill link is sent to the bill recipient included in the bill processing request, so that the bill recipient downloads the electronic bill through the bill link.

13. The agent-based bill service processing method according to claim 11, wherein the step of performing service processing on the user's electronic bill according to the bill processing method corresponding to the bill processing request comprises: Obtaining the reimbursement form included in the bill processing result, and querying the data transmission interface of the reimbursement service associated with the user; The reimbursement form is used as an interface call input to call the data transmission interface for data transmission, so that the reimbursement service performs reimbursement processing based on the electronic receipt in the reimbursement form.

14. A method for processing bill services based on an intelligent agent, comprising: Obtain the interaction data submitted by the user on the interactive page of the ticket service; Sending the interactive data to the server to call the bill agent for bill processing; The bill processing includes inputting the interaction data into a task generation model corresponding to the bill reimbursement intent of the interaction data to obtain a task sequence for bill reimbursement, executing a query task in the task sequence to query the electronic bill and bill to be reimbursed, executing a verification task in the task sequence to verify the electronic bill and the bill, executing a reimbursement form generation task in the task sequence to obtain a reimbursement form, and using the reimbursement form as the bill reimbursement result; Receive the service response data generated and sent by the server according to the bill reimbursement result, and display it on the interactive page.

15. The agent-based ticket service processing method according to claim 14, further comprising: After the user triggers the ticket application interface configured on the service page of the ticket service, a ticket application is generated and submitted to the server; Receive and display the code scanning page sent by the server, and enter the merchant's bill service window after scanning the merchant's bill code to fill in the application information; The application information is filled in by the server calling the bill agent; Submit a bill application to the merchant according to the confirmation instruction submitted by the user to obtain the electronic bill returned by the merchant and add it to the reimbursement item selected by the user on the code scanning page.

16. The agent-based bill service processing method according to claim 15, further comprising: submitting a bill application to the merchant according to the confirmation instruction submitted by the user, obtaining an electronic bill returned by the merchant and adding the electronic bill to the reimbursement item selected by the user on the code scanning page; Sending the page return instruction submitted by the user to the server, so that the server returns a page based on the ticket application result; If the ticket application is successful, obtain the interactive page of the ticket service returned by the server and display it.

17. The agent-based ticket service processing method according to claim 14, wherein the interaction data is obtained by: Acquire the preset interaction text triggered and submitted by the user on the interaction page, and use the preset interaction text as the interaction data; in, The preset interactive text is generated according to the bill information of the electronic bill to be reimbursed in the bill collection of the user.

18. The agent-based ticket service processing method according to claim 14, wherein the step of receiving service response data generated and sent by the server according to the ticket processing result and after the step of displaying the interactive page is performed, further comprises: After detecting that the user triggers the interface corresponding to the interactive text configured on the interactive page, submitting the interactive text to the server; The service text issued by the server after calling the bill intelligent body for service processing based on the interactive text is obtained and displayed on the interactive page; the service processing includes calling a large language model based on the interactive text to generate service text.

19. The agent-based ticket service processing method according to claim 14, wherein the step of receiving service response data generated and sent by the server according to the ticket processing result, and after the step of displaying the interactive page, further comprises: If it is detected that the user triggers the service interface configured by the service response data, a bill processing request is generated according to the configuration information of the service interface and submitted to the server; Receive and display the service processing result sent by the server after performing service processing on the user's electronic receipt according to the receipt processing method corresponding to the receipt processing request.

20. An agent-based bill service processing device, comprising: An interactive data receiving module configured to receive interactive data sent by a user terminal after entering the ticket service; A bill agent calling module is configured to call the bill agent of the bill service based on the interaction data to perform bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the bill reimbursement intent of the interaction data to generate a task sequence for bill reimbursement, executing a query task in the task sequence to query the electronic bill and bill to be reimbursed, executing a verification task in the task sequence to verify the electronic bill and the bill, executing a reimbursement form generation task in the task sequence to obtain a reimbursement form, and using the reimbursement form as the bill reimbursement result; The service response data generation module is configured to obtain the bill reimbursement result returned by the bill agent, generate service response data according to the bill reimbursement result, and send the service response data to the user terminal.

21. An agent-based bill service processing device, comprising: An interaction data acquisition module is configured to acquire interaction data submitted by users on the interaction page of the ticket service; An interactive data sending module is configured to send the interactive data to a server to invoke a bill agent to perform bill processing; the bill processing includes inputting the interactive data into a task generation model corresponding to the bill reimbursement intent of the interactive data to obtain a task sequence for bill reimbursement, executing a query task in the task sequence to query the electronic bill and bill to be reimbursed, executing a verification task in the task sequence to verify the electronic bill and bill, executing a reimbursement form generation task in the task sequence to obtain a reimbursement form, and using the reimbursement form as the bill reimbursement result; The service response data receiving module is configured to receive the service response data generated and sent by the server according to the bill reimbursement result, and display it on the interactive page.

22. An agent-based bill service processing device, comprising: processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: Receive interaction data sent by the user terminal after entering the ticket service; Based on the interaction data, the bill agent of the bill service is called to perform bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the bill reimbursement intent of the interaction data to generate a task sequence for bill reimbursement, executing a query task in the task sequence to query the electronic bills and bills to be reimbursed, executing a verification task in the task sequence to verify the electronic bills and bills, executing a reimbursement form generation task in the task sequence to obtain a reimbursement form, and using the reimbursement form as the bill reimbursement result; The bill reimbursement result returned by the bill agent is obtained, service response data is generated according to the bill reimbursement result, and is sent to the user terminal.

23. An agent-based bill service processing device, comprising: processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: Obtain the interaction data submitted by the user on the interactive page of the ticket service; The interaction data is sent to a server to invoke a bill agent for bill processing; the bill processing includes inputting the interaction data into a task generation model corresponding to the bill reimbursement intent of the interaction data to obtain a task sequence for bill reimbursement, executing a query task in the task sequence to query the electronic bill and bill to be reimbursed, executing a verification task in the task sequence to verify the electronic bill and the bill, executing a reimbursement form generation task in the task sequence to obtain a reimbursement form, and using the reimbursement form as the bill reimbursement result; Receive the service response data generated and sent by the server according to the bill reimbursement result, and display it on the interactive page.

24. A computer-readable storage medium for storing computer-executable instructions, which implement the steps of the method according to claim 1 or 14 when executed.

Citation Information

Patent Citations

  • Information processing method, electronic device, storage medium and program product

    CN119045697A

  • Bill information extraction method and system and storage medium

    CN119495109A