Interaction method of travel service application, electronic device and storage medium

By adopting multi-form AI operation panels in travel service applications, AI interaction and page browsing can coexist on the same screen, solving the problems of limited AI entry function and cumbersome operation process, and improving user experience.

CN123157103APending Publication Date: 2026-11-24浙江飞猪网络技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611073895.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-17
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing travel service applications, the AI ​​entry function is limited, AI operation and page browsing cannot coexist, and the process of returning to the dialogue context is cumbersome, which increases the user's interaction burden.

Method used

By displaying an AI operation panel on traditional function pages, using a first display mode, a second display mode, and a third display mode, each containing different levels of interactive controls and AI dialogue content, AI interaction and page browsing can coexist on the same screen. The mode can be switched by gesture operation or control trigger to maintain the continuity of dialogue content.

Benefits of technology

It achieves a seamless integration of AI interaction and page browsing, reducing the operational costs for users during the switching process, improving the discoverability and ease of use of AI-assisted functions, and reducing the interaction burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157103A_ABST
    Figure CN123157103A_ABST
Patent Text Reader

Abstract

This application provides an interaction method, electronic device, and storage medium for a travel service application, relating to the field of computer and internet technology. The method includes: the electronic device uses three display modes of an AI operation panel and a hierarchical configuration mechanism for controls to achieve the coexistence and organic integration of AI interaction and page browsing on the same screen, and dynamically adjusts the control hierarchy according to the scenario to ensure seamless connection between function entry and dialogue content. Furthermore, it maintains the continuity of AI dialogue when switching modes, avoids context loss, thereby reducing the cost of switching operations, improving the discoverability and ease of use of AI functions, enhancing interaction coherence, and reducing the user's interaction burden.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer and internet technology, and in particular to an interactive method for a travel service application, an interactive device for a travel service application, an electronic device, and a readable storage medium. Background Technology

[0002] With the development of mobile internet and artificial intelligence technologies, travel service applications (such as online travel platforms and online travel agents) have become important online tools for users to plan and execute travel itineraries. A travel itinerary refers to the user's journey from their departure point to their destination, involving multiple complex aspects such as transportation, hotel accommodation, and sightseeing. To improve users' decision-making and execution efficiency during their trips, an increasing number of travel service applications are integrating AI-assisted functions to help users with itinerary planning, information retrieval, order management, or task execution.

[0003] For travel service applications, users typically need to handle both AI interaction and traditional function page browsing during their travels. For example, they may need to check flight status, navigate to hotels, verify attraction tickets, and handle urgent tasks at key points in their itinerary. To meet these diverse interaction and browsing needs, existing travel service applications usually provide an AI avatar within traditional function pages. Users can trigger this avatar to access a corresponding AI dialogue page, where they can complete tasks such as itinerary planning through conversation.

[0004] However, for related travel service applications, the AI ​​avatar (or other forms of AI entry points) only serves as an access point to the AI ​​dialogue page and does not carry out other AI-related operations. Moreover, when a user is browsing traditional function pages and is redirected to the AI ​​dialogue page via the AI ​​avatar, the travel service application will only display the AI ​​dialogue page, preventing the user from continuing to browse the traditional function pages. If the user wants to browse the corresponding page content, they need to exit the AI ​​dialogue page. If the user wants to return to the AI ​​dialogue page, they need to switch pages to the corresponding historical conversation area and then use the historical conversations provided in the historical conversation area to return to the corresponding AI dialogue page. As a result, if the user wants to continue consulting about their previous itinerary after browsing traditional function pages, they must use the historical conversations in the historical conversation area to access the context of the historical conversations, leading to high content reconstruction costs and increasing the user's interaction burden. Summary of the Invention

[0005] This application provides an interactive method, device, electronic device, and readable storage medium for travel service applications, to solve or partially solve the problems of limited AI entry functions, the inability to coexist with AI operations and page browsing, and the cumbersome operation process for returning to the dialogue context in travel service applications.

[0006] This application discloses an interaction method for a travel service application, which provides a graphical user interface through an electronic device and runs the travel service application on the electronic device. The method includes: The graphical user interface displays the user's current traditional function page and AI operation panel within the travel service application the user is currently browsing. The AI ​​operation panel is displayed in one of the following ways: The AI ​​operation panel is displayed in a first display form, wherein the AI ​​operation panel in the first display form includes at least one first type of interactive control; The AI ​​operation panel is displayed in a second display form, wherein the AI ​​operation panel in the second display form includes at least one first type of interactive control and at least one second type of interactive control; The AI ​​operation panel is displayed in a third display form, and the AI ​​operation panel in the third display form includes at least one first type of interactive control, at least one second type of interactive control, and AI dialogue content.

[0007] In some feasible implementations, the first display form includes a collapsed form and a raised form, and displaying the AI ​​operation panel in the first display form includes: If the user's current trip information is detected, and there is a target trip node to be processed in the current trip information, then the AI ​​operation panel is displayed in the floating form. The floating form of the AI ​​operation panel also includes the trip task corresponding to the target trip node. If the user's current trip information is not detected, or if the user's current trip information is detected but there is no target trip node to be processed, then the AI ​​operation panel is displayed in the collapsed form.

[0008] In some feasible implementations, the first type of interactive control includes at least one functional scene label. When the AI ​​operation panel is displayed in a first display format, the method further includes: In response to a trigger operation for any target function scene label, the AI ​​operation panel is displayed in the second display form, and the target guidance interaction item corresponding to the target function scene label and the second type of interaction control are displayed in the AI ​​operation panel in the second display form.

[0009] In some feasible implementations, the functional scene label includes a first scene label, a second scene label, and a third scene label. Displaying the target guided interaction item corresponding to the target functional scene label in the AI ​​operation panel of the second display form includes: If the target function scenario label is the first scenario label, then at least one trip task to be decided or executed, and / or at least one first guidance prompt message related to travel inspiration or trip planning will be displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The trip task includes at least the task obtained by parsing the dialogue content in the AI ​​dialogue session, and the task generated according to the trip node of the user's current trip. If the target function scene label is the second scene label, then at least one second guidance prompt message is displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The second guidance prompt message is a prompt message generated based on user behavior. If the target function scenario label is the third scenario label, then the itinerary card corresponding to the target itinerary node in the user's current itinerary is displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The itinerary card includes at least the node information and node entry of the target itinerary node. The target itinerary node includes at least one of the following: check-in node, seat selection node, check-in node, ticket collection node, ticket inspection node, boarding node, ride node, airport pick-up node, airport drop-off node, and evaluation node.

[0010] In some feasible implementations, the AI ​​operation panel in the second display form further includes at least one guided interaction item, the second type of interactive control includes a session trigger control, and the guided interaction item includes at least one of a schedule task, a first guided prompt message, a second guided prompt message, and a schedule card. When the AI ​​operation panel is displayed in the second display form, the method further includes: In response to an input operation to the session trigger control, or a trigger operation to one of the trip task, the first guidance prompt information, the second guidance prompt information, and the trip card, a corresponding AI dialogue session is created, and the AI ​​operation panel is displayed in the third display form; The AI ​​operation panel displays the input information corresponding to the input operation, the trip task, the first guidance prompt information, the second guidance prompt information, and one of the corresponding AI response contents from the trip card.

[0011] In some feasible implementations, when the AI ​​operation panel is displayed in the third display form, the method further includes: In response to the closing operation of the AI ​​operation panel in the third display form, the AI ​​operation panel in the third display form is switched to display as the corresponding conversation storage control, and the conversation storage control displays the conversation information associated with the AI ​​conversation content. The conversation storage control is a control displayed in the target area of ​​the current traditional function page. In response to a trigger operation on the session storage control, the AI ​​operation panel in the third display form is redisplayed on the current traditional function page, and the AI ​​dialogue content continues to be displayed in the AI ​​operation panel in the third display form.

[0012] In some feasible implementations, the AI ​​operation panel further includes a task control, which displays at least the number of tasks. The method also includes: In response to a trigger operation on the task control, the task window is displayed; The task window contains at least one schedule task, which includes at least tasks parsed from the dialogue content in the AI ​​dialogue session and tasks generated based on the schedule nodes of the user's current schedule.

[0013] In some feasible implementations, the method further includes: In response to a gesture operation on the AI ​​operation panel, the AI ​​operation panel is controlled to switch between the first display mode, the second display mode, and the third display mode.

[0014] This application also discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method described in the embodiments of this application.

[0015] This application also discloses a readable storage medium storing instructions that, when executed by one or more processors, cause the processors to perform the methods described in this application.

[0016] The embodiments of this application have the following advantages: In this embodiment, the electronic device can simultaneously display a corresponding AI operation panel on the traditional function page currently being viewed by the user. Depending on the scenario requirements, the AI ​​operation panel can be displayed on the traditional page in one of three display formats: a first display format, a second display format, or a third display format. The first display format AI operation panel includes at least one first-type interactive control; the second display format AI operation panel includes at least one first-type interactive control and at least one second-type interactive control; and the third display format AI operation panel includes at least one first-type interactive control, at least one second-type interactive control, and AI dialogue content. By displaying the AI ​​operation panel and the current traditional function page on the same screen, and by hierarchically configuring the interactive controls of the AI ​​operation panel based on the display format, not only is coexistence of AI interaction and page browsing achieved, but the reduction of AI interaction costs is also mitigated. It eliminates interference with traditional page browsing and enables dynamic adjustment of interactive controls based on specific scenarios. This allows the AI ​​operation panel to present a control hierarchy that matches the user's actual interaction needs. Furthermore, through a progressive expansion of controls from the first to the third display form, the AI ​​function entry point and AI dialogue content are organically integrated within the same interface framework. The AI ​​operation panel is always displayed alongside the current traditional function page, ensuring that AI dialogues triggered by the user based on the AI ​​operation panel are not interrupted or destroyed due to changes in display form or page switching. This reduces the user's operational cost of switching between AI interaction and page browsing while maintaining normal browsing of traditional function pages. It improves the discoverability and usability of AI-assisted functions, enhances the continuity and efficiency of the interaction process, and avoids cumbersome dialogue context return processes caused by page switching or changes in the AI ​​operation panel form, thus reducing the user's interaction burden. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the steps of an interaction method for a travel service application provided in this embodiment of the application. Figure 2 This is a schematic diagram of the application interface provided in the embodiments of this application; Figure 3 This is a schematic diagram of the application interface provided in the embodiments of this application; Figure 4 This is a schematic diagram of the application interface provided in the embodiments of this application; Figure 5 This is a schematic diagram of the application interface provided in the embodiments of this application; Figure 6 This is a schematic diagram of the application interface provided in the embodiments of this application; Figure 7 This is a schematic diagram of the application interface provided in the embodiments of this application; Figure 8 This is a schematic diagram of the application interface provided in the embodiments of this application. Detailed Implementation

[0018] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

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

[0020] As examples, in travel service applications, users typically need to handle both AI interaction and native page browsing simultaneously while executing their travel itineraries. For instance, they may need to check flight status, navigate to hotels, verify attraction tickets, and handle urgent tasks at key points in the itinerary. However, these applications usually only provide an AI avatar as an entry point to the AI ​​dialogue page. This avatar (or other form of AI entry point) does not support other AI-related operations. Furthermore, when a user navigates to the AI ​​dialogue page through the avatar, the application only displays the AI ​​dialogue page, preventing the user from continuing to browse traditional functional pages. If the user wants to browse the corresponding page content, they need to exit the AI ​​dialogue page. If they want to return to the AI ​​dialogue page, they need to navigate to the corresponding historical conversation area using page switching or other methods. Only through the historical conversations provided in the historical conversation area can they return to the corresponding AI dialogue page. Therefore, after browsing traditional functional pages, if a user wants to continue consulting about their previous itinerary, they must access the historical conversations in the historical conversation area to recall the context of those conversations, resulting in high content reconstruction costs and increasing the user's interactive burden.

[0021] To address this, this application employs a mechanism that displays the AI ​​operation panel alongside the existing traditional function pages and hierarchically configures the interactive controls of the AI ​​operation panel based on the display format. This achieves the coexistence of AI interaction and page browsing on the same screen. When a user triggers AI interaction, the AI ​​operation panel unfolds in a superimposed or embedded manner within the traditional function page, effectively preventing the complete obstruction or interruption of traditional page browsing by AI interaction. This organically integrates the AI ​​function entry point and the AI ​​dialogue content within the same interface framework. While browsing the content of the traditional function page, users can interact with the AI ​​assistant at any time through the AI ​​operation panel. This reduces the operational cost for users switching between AI interaction and page browsing while ensuring normal browsing of the traditional function page, and improves the discoverability and ease of use of AI-assisted functions.

[0022] Furthermore, the AI ​​operation panel in the first display form includes a first type of interactive control (such as function scene labels), the AI ​​operation panel in the second display form expands upon the first type of interactive control with a second type of interactive control (such as conversation triggering control) and guiding interactive items, and the AI ​​operation panel in the third display form expands upon the first and second types of interactive control with AI dialogue content. This achieves scenario-based dynamic adjustment and progressive expansion of interactive controls, allowing the AI ​​operation panel to present a control hierarchy that matches the user's current interaction stage. It is displayed in a compact form when the user only needs to quickly access the AI ​​function entry point, expands with guiding prompts when the user needs to select a specific interaction scene, and provides an immersive dialogue interface when the user enters the AI ​​dialogue process. This not only reduces information overload and interface interference for the user in unnecessary stages, but also shortens the operation path from intention triggering to task completion, improving the overall efficiency of AI interaction.

[0023] Furthermore, after a user triggers a corresponding AI dialogue through the AI ​​operation panel, the AI ​​dialogue content can always be maintained when the AI ​​operation panel switches between the three display modes. The AI ​​dialogue session will not be interrupted or destroyed due to the switch of display modes. This allows users to view the AI ​​function entry in the first display mode, quickly initiate a dialogue through guided interactive items in the second display mode, and engage in immersive AI dialogue in the third display mode. The above three modes can be freely switched in response to the user's gesture operation or control-triggered operation without rebuilding the dialogue context. This avoids the cumbersome dialogue context return process caused by page switching or changes in the AI ​​operation panel mode, and reduces the user's interaction burden.

[0024] Furthermore, the AI ​​operation panel is displayed alongside the current traditional function page, and the AI ​​dialogue window displayed on the AI ​​operation panel and the current traditional function page maintain independent first and second navigation stacks, respectively. This ensures that page jumps within the AI ​​dialogue window do not affect the browsing state of the current traditional function page, and vice versa. The navigation history within the AI ​​dialogue window and the navigation history of the traditional function page are independent of each other and do not interfere with each other. This guarantees that users can switch to the traditional function page to browse content at any time during AI dialogue, and after switching back, the AI ​​dialogue window remains in the original dialogue context and page state, further improving the operational continuity and interaction efficiency in multi-tasking scenarios.

[0025] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, some technical features involved in the embodiments of this application are explained and described below: In this embodiment, the graphical user interface (GUI) is a visual interface environment presented on the display screen of an electronic device, through which the user interacts with the travel service application. When the electronic device is running the travel service application, the GUI can display the currently viewed traditional function pages of the travel service application, such as the homepage, hotel list page, flight search page, hotel details page, itinerary planning page, order details page, personal center page, and scenic spot guide page. These traditional function pages can be used to provide users with a visual presentation of travel service products and a transaction interaction interface, serving as a graphical operating environment for users to perform core operations such as information retrieval, itinerary planning, booking, and order tracking.

[0026] In this application embodiment, the AI ​​operation panel is a general term for visual interface elements and interaction logic displayed in conjunction with traditional function pages in a graphical user interface, used to provide users with opportunities to interact with the AI ​​system. The methods of this conjunction display include, but are not limited to: the AI ​​operation panel being embedded in the view hierarchy of the traditional function pages, floating above the view hierarchy of the traditional function pages, or being displayed in parallel with the traditional function pages in a split-screen format, etc., and this application does not impose any limitations on these methods.

[0027] In addition, the AI ​​operation panel includes at least a first type of interactive control, a second type of interactive control, guided interactive items, and AI dialogue content. The first type of interactive control serves as the basic functional entry point for the AI ​​operation panel in various display formats, such as function scene labels and task controls, embodying the presentation of AI functions on traditional function pages and enabling user access. The second type of interactive control serves as the extended interactive entry point for the AI ​​operation panel in the second and third display formats, such as conversation trigger controls (text input boxes, voice input buttons), used to receive user input to initiate AI dialogue conversations. Guided interactive items are prompts or operation entry points displayed on the AI ​​operation panel in the second display format, used to guide users to initiate AI dialogues, such as guidance prompts, trip task cards, and trip cards. The AI ​​dialogue content is the dialogue messages generated between the user and the AI ​​assistant during the AI ​​dialogue conversation, displayed on the AI ​​operation panel in the third display format. Furthermore, the functional scenario tags carried in the AI ​​operation panel are interconnected with the AI ​​dialogue sessions at the session level. That is, the same AI dialogue session can be created and invoked in AI operation panels with different display forms, and can be continued in the AI ​​dialogue window. The dialogue content in the AI ​​dialogue window can be presented in summary form in the session storage control of the AI ​​operation panel after the AI ​​dialogue window is closed. Users can quickly restore the AI ​​dialogue window and continue the same AI dialogue session by triggering the session storage control.

[0028] It should be noted that the AI ​​operation panel has multiple switchable display forms in the graphical user interface, and different display forms have different size parameters and information carrying capacity. In the embodiments of this application, the AI ​​operation panel can adaptively determine the target display form based on the page context information of the current traditional function page (e.g., whether there is a target trip node to be processed in the current trip information), and present it in the current traditional function page in the target display form, so that the AI ​​operation panel can be presented in different traditional function pages with an information carrying capacity that adapts to the needs of the current page scenario. Meanwhile, the AI ​​control panel can switch from its current display form to another in response to user commands to change its form (such as gesture operations on the AI ​​control panel or trigger operations on function scene labels) or in response to page switching events (such as page jumps within the AI ​​dialogue window or switching the AI ​​control panel to display as a session storage control). The AI ​​dialogue session remains continuous before and after the switch, meaning that the AI ​​control panel after the switch shares the same AI dialogue session as the AI ​​control panel before the switch, and the AI ​​dialogue content displayed in the AI ​​control panel remains consistent before and after the switch. Users do not need to re-initiate AI interaction due to changes in the form of the AI ​​control panel or page switching.

[0029] Reference Figure 1This document illustrates a flowchart of the interaction method for a travel service application provided in an embodiment of this application. The method involves providing a graphical user interface via an electronic device and running the travel service application on the electronic device. Specifically, the method may include the following steps: Step 101: Display the current traditional function page and AI operation panel of the travel service application that the user is currently browsing in the graphical user interface. The AI ​​operation panel is displayed in one of the following ways: In this embodiment, the application can be applied to travel service applications, which may be applications or websites providing services such as online travel booking, itinerary planning, information inquiry, and order management, hereinafter referred to as applications. The application can run on electronic devices, such as smartphones, tablets, and wearable devices, and interact with the user through the graphical user interface (GUI) of the electronic device. The graphical user interface (GUI) is the visual interface environment presented on the display screen of the electronic device, through which the user interacts with the travel service application. When the electronic device is running the travel service application, the graphical user interface can display the currently viewed traditional function pages and AI operation panel of the travel service application.

[0030] Optionally, the AI ​​operation panel has multiple switchable display forms in the graphical user interface, and different display forms have different parameters and information carrying capacity (such as carrying different AI operation functions).

[0031] In some feasible implementations, the AI ​​operation panel can be displayed on the current traditional function page in one of three display forms: a first display form, a second display form, or a third display form. The first display form represents a compact display of the AI ​​operation panel, where it is presented at a relatively small size, occupying less screen space. The second display form represents a medium-sized display of the AI ​​operation panel, occupying more screen space than the first display form but less than the third display form. The third display form represents the maximum size display of the AI ​​operation panel, occupying or covering all or most of the screen space of the current traditional function page.

[0032] In addition, the AI ​​operation panel may include first-type interactive controls, second-type interactive controls, guided interactive items, and AI dialogue content. The content provided can be adaptively adjusted according to changes in the display format. The process will be explained and described in detail later.

[0033] In some feasible implementations, when an electronic device launches a travel service application and enters any traditional function page (such as a hotel browsing page, itinerary planning page, order details page, etc.), it can automatically load and display an AI operation panel on the current traditional function page.

[0034] Optionally, the AI ​​operation panel can be displayed as a floating layer above the current traditional function page, or embedded in the bottom area of ​​the current traditional function page. Its initial display position can be the bottom area of ​​the current traditional function page, so that users can interact with the AI ​​assistant of the travel service application through the AI ​​operation panel while browsing the content of the traditional function page, realizing the coexistence of AI interaction and page browsing on the same screen.

[0035] Step 1021: Display the AI ​​operation panel in a first display form, wherein the AI ​​operation panel in the first display form includes at least one first type of interactive control; In this embodiment, the AI ​​operation panel in the first display form includes at least one first type of interactive control. The first type of interactive control provides users with commonly used function entry points to the AI ​​operation panel, such as function scene labels, task controls, etc. Furthermore, the first type of interactive control may include at least one function scene label, which can be an interactive entry control with specific function scene semantics, and each function scene label can correspond to a preset AI interaction scene category.

[0036] Optionally, the functional scenario tags may include, but are not limited to, first scenario tags (such as the "Help me think" tag, used for travel inspiration or itinerary planning), second scenario tags (such as the "Help me book" tag, used for hotel, air ticket and other booking services), and third scenario tags (such as the "Help me process" tag, used for itinerary node task processing), etc. This application does not limit this, so that users can quickly enter the corresponding scenario's AI interaction mode by triggering different functional scenario tags.

[0037] In some feasible implementations, when the AI ​​operation panel is displayed in the first display form, if the user inputs a trigger operation for any target function scene label, the application can respond to the trigger operation for any target function scene label by displaying the AI ​​operation panel in the second display form, and display the target guided interaction item corresponding to the target function scene label and the second type of interactive control in the AI ​​operation panel in the second display form.

[0038] In the specific implementation, when a user views the AI ​​operation panel in the first display mode (whether collapsed or floating), the AI ​​operation panel displays at least one functional scene label, such as "Help me think" (first scene label), "Help me order" (second scene label), "Help me do it" (third scene label), etc. These labels, as the first type of interactive controls, are presented in the top area of ​​the AI ​​operation panel as clickable buttons or icons. Users can directly click on one of the functional scene labels according to their current interaction needs. When the application detects a trigger operation for any target functional scene label, it first identifies the scene type corresponding to the label, then controls the AI ​​operation panel to expand up or down from the current first display mode to the second display mode. After the switching animation is completed, the target guided interactive item corresponding to the target functional scene label is dynamically loaded and displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display mode. At the same time, the second type of interactive controls (i.e., session trigger controls, including text input boxes and voice input buttons, etc.) are displayed in the bottom area of ​​the panel.

[0039] For example, when a user browses a hotel list page in the first display mode (collapsed mode), the AI ​​operation panel displays three functional scenario labels: "Help Me Think," "Help Me Book," and "Help Me Process." If the user wants to plan a trip to Hangzhou and clicks the "Help Me Think" label, the application can respond to this click by first smoothly switching the AI ​​operation panel from the collapsed mode to the second display mode (expanding the panel height from 5% to approximately 40%). Then, in the guidance prompt area of ​​the AI ​​operation panel, it displays the corresponding interactive items for the "Help Me Think" scenario, such as "You have 2 travel plans to confirm" and "We recommend you consider the following destinations: Hangzhou, Chengdu," etc. Simultaneously, it displays text input boxes and voice input buttons at the bottom for the user to further input or select options.

[0040] In this way, users do not need to devise complete questions themselves. They can simply click on the function scenario tags to get targeted interactive guidance, which effectively reduces the threshold for using AI interaction, shortens the path between users' intentions and specific operations, and improves interaction efficiency.

[0041] Correspondingly, if the user clicks the "Book for Me" tab, the application, after switching to the second display mode, will generate corresponding secondary guidance prompts based on the user's recent search behavior, browsing behavior, add-to-cart behavior, or favorites behavior, such as "Do you need help booking a hotel near West Lake?"; if the user clicks the "Help Me Process" tab, the application will display the itinerary card corresponding to the current itinerary node (such as a "Check-in" card) in the second display mode. By configuring guidance interaction items differently for different scenario tags, the application can accurately match the user's potential needs in the current scenario, further reducing the user's input cost and cognitive burden.

[0042] Furthermore, in some feasible implementations, the AI ​​operation panel can adaptively determine its target display form based on the page context information of the current traditional function page, and present it in that target display form on the current traditional function page. This allows the AI ​​operation panel to be presented with an information capacity adapted to the current page scenario requirements in different traditional function pages. Optionally, the first display form includes a collapsed form and a floating form. During the process of displaying the AI ​​operation panel in the first display form, if the application detects the user's current trip information and there is a target trip node to be processed in the current trip information, the AI ​​operation panel can be displayed in the floating form. The floating form of the AI ​​operation panel also includes the trip task corresponding to the target trip node. Conversely, if the application does not detect the user's current trip information, or detects the user's current trip information but there is no target trip node to be processed, the AI ​​operation panel can be displayed in the collapsed form.

[0043] In this way, the display form of the AI ​​operation panel can match the user's current schedule status. When the user has pending tasks, it will automatically appear in a floating form to prompt the user, and when the user has no pending tasks, it will appear in a collapsed form to maximize the browsing field of view.

[0044] The current itinerary information can include data related to the user's ongoing or upcoming travel itinerary, such as departure point, destination, travel dates, booked transportation (air tickets, train tickets, etc.), hotel bookings, and attraction ticket bookings. Correspondingly, the target itinerary nodes to be processed can be key aspects of the current itinerary that require the user's attention or action. Each itinerary node can correspond to a itinerary task, which is a specific action the user needs to perform for that target itinerary node or a to-do item that needs to be displayed to the user.

[0045] Optionally, the target itinerary node may include at least one of the following: check-in node (corresponding to itinerary task: check-in), seat selection node (corresponding to itinerary task: select seat), check-in node (corresponding to itinerary task: check-in at hotel), ticket collection node (corresponding to itinerary task: collect scenic spot tickets or performance tickets), ticket inspection node (corresponding to itinerary task: pass through the ticket gate), boarding node (corresponding to itinerary task: go to the boarding gate to board the plane), transportation node (corresponding to itinerary task: take transportation), airport pick-up node (corresponding to itinerary task: arrange airport pick-up), airport drop-off node (corresponding to itinerary task: arrange airport drop-off), and evaluation node (corresponding to itinerary task: evaluate the completed itinerary). This application does not limit this.

[0046] In one example, suppose a user books a flight from Beijing to Shanghai, flight number CA1234, departing at 10:00 AM on the same day, through a travel service app. After the user opens the app and enters the homepage, the system detects the user's existing travel information based on their booked bookings. This travel information includes a pending check-in node. Therefore, the system displays the AI ​​operation panel in a floating format, a first display mode. This AI operation panel floats upwards from the bottom of the current traditional function page, with a floating height of up to 15% of the current traditional function page height. The floating AI operation panel has a first height (e.g., 20% of the current traditional function page height) and displays the travel task "You have 1 pending task: Check-in for flight CA1234," which also provides an entry point for the "Go to Check-in" node.

[0047] In addition, the floating AI operation panel is displayed at a preset height that rises above the bottom of the current traditional function page, and the floating AI operation panel has a first height; the collapsed AI operation panel is displayed flush with the bottom of the current traditional function page, and the collapsed AI operation panel has a second height, which is smaller than the first height.

[0048] For example, the preset height can be 10% to 20% of the current traditional function page height, the first height can be 18% to 25% of the current traditional function page height, and the second height can be 3% to 8% of the current traditional function page height. In one example, the preset height is 15% of the current traditional function page height, the first height is 20% of the current traditional function page height, and the second height is 5% of the current traditional function page height. With the above height configuration, the floating AI operation panel is more visually prominent than the collapsed version, effectively attracting user attention and displaying trip task information, while the collapsed version is more compact, minimizing obstruction of browsing traditional function pages.

[0049] In some other feasible implementations, if the application detects the existence of current trip information and there is a target trip node to be processed in the current trip information, before displaying the AI ​​operation panel in the floating form, it also includes: generating current trip information based on the user's booked order information and / or the dialogue content in the user's AI dialogue session.

[0050] The booked order information can be obtained from the travel service application's order database, including but not limited to flight tickets, hotel bookings, train tickets, and attraction tickets. Each order contains key fields such as travel date, departure point, destination, and order status. Specifically, the dialogue content in the AI ​​conversation refers to the historical conversations between the user and the AI ​​assistant on the AI ​​control panel. The application can extract trip-related entity information from the dialogue content using natural language understanding technology, such as destination name, travel date, and number of travelers. Furthermore, the application can integrate and deduplicate the trip data extracted from order information and dialogue content according to a timeline to generate structured current trip information.

[0051] For example, when a user books flights and hotels in a travel service app, the app can obtain the order information for these two orders and generate the user's current itinerary information based on data such as the date and location in the orders. Similarly, when a user communicates with an AI assistant via an AI dialogue session, saying "I want to go to Hangzhou for two days next Wednesday," the app can extract information such as "next Wednesday," "Hangzhou," and "two days" from the dialogue content and generate or update the current itinerary information based on this information.

[0052] In addition, when the current trip information is updated, if a new target trip node to be processed is added to the current trip information, the AI ​​operation panel will switch from the collapsed mode to the floating mode, and the trip tasks displayed in the floating AI operation panel will be updated.

[0053] In a specific scenario, a user is currently browsing hotel details on a travel service app. At this time, the AI ​​control panel is displayed in a collapsed state, nestled at the bottom of the page. Subsequently, the user completes a flight booking, and the app detects a new "Check-in Pending" check-in node in the current itinerary information. The app then automatically switches the AI ​​control panel from collapsed to floating mode, adding a corresponding "Check-in Pending" task card to the floating AI control panel to remind the user to complete the check-in process promptly. Through this method, the app can proactively adjust the display state of the AI ​​control panel based on dynamic changes in itinerary information, providing timely reminders for itinerary tasks without requiring manual user intervention.

[0054] In other feasible implementations, if current trip information exists and there are multiple target trip nodes to be processed within the current trip information, then an AI operation panel is displayed in a floating form, and the trip tasks corresponding to the target trip nodes are displayed in the floating AI operation panel. This also includes: if current trip information exists and there are multiple target trip nodes to be processed within the current trip information, then the priority of each target trip node is determined, and the trip tasks corresponding to each target trip node are displayed sequentially in the floating AI operation panel according to their priority from highest to lowest. The priority is determined based on at least one of the node type of the target trip node and the interval between the node time and the current time; this application does not impose any restrictions on this.

[0055] In a specific scenario, suppose a user currently has two pending travel milestones: Node A is "Check-in pending" (flight departure time is 2:00 PM today), and Node B is "Check-in pending" (hotel check-in time is 3:00 PM today). The current time is 10:00 AM. The application prioritizes tasks based on the interval between the node time and the current time: the interval for node A is 4 hours, and the interval for node B is 5 hours. Therefore, node A has a higher priority than node B, and in the floating AI control panel, the travel task corresponding to node A is listed before node B. Similarly, when prioritizing based on node type, time-sensitive nodes (such as "Check-in pending," "Boarding pending," and "Transportation pending") can be set to higher priority, while nodes without urgent time requirements (such as "Review pending") can be set to lower priority. Through this method, the floating AI control panel can prioritize displaying the tasks that the user needs to focus on and process most urgently, further enhancing the intelligence and practicality of travel task reminders.

[0056] Step 1022: Display the AI ​​operation panel in a second display form, wherein the AI ​​operation panel in the second display form includes at least one first type of interactive control and at least one second type of interactive control; In this embodiment, based on the user's triggering operation of any interactive control in the AI ​​operation panel of the first display mode, the application can switch the AI ​​operation panel from the first display mode to the second display mode. The second display mode can be an intermediate display state of the AI ​​panel, occupying a larger screen area than the first display mode but smaller than the third display mode. This is to ensure that the user can still browse some content of the traditional function pages while providing richer AI interactive functions.

[0057] In a specific implementation, the AI ​​operation panel in the second display form may include at least one first-type interactive control and at least one second-type interactive control. The first-type interactive control may include function scene labels; the second-type interactive control is an interactive entry point control used to trigger an AI dialogue session, such as a session trigger control. Optionally, the session trigger control may specifically manifest as a text input box, a voice input button, etc., allowing users to initiate a dialogue with the AI ​​assistant by entering text in the text input box or clicking the voice input button to enter voice.

[0058] Furthermore, in the second display mode, the AI ​​operation panel can also display guided interaction items corresponding to the user's selected function scenario label. These guided interaction items can be prompts or operation entry points used to guide the user to initiate AI dialogue. Their specific forms may include, but are not limited to, guided prompts (such as preset question templates, recommended operation suggestions), itinerary task cards, itinerary cards, etc., and this application does not impose any restrictions on them.

[0059] In some feasible implementations, the functional scene labels include a first scene label, a second scene label, and a third scene label. When the AI ​​operation panel is displayed in the first display form, if the user selects any target functional scene label, the application can respond to the trigger operation for any target functional scene label and display the AI ​​operation panel in the second display form. The AI ​​operation panel in the second display form displays the target guided interaction item corresponding to the target functional scene label and the second type of interactive control.

[0060] In specific implementation, if the target function scenario label is the first scenario label, then at least one trip task to be decided or executed, and / or at least one first guidance prompt related to travel inspiration or trip planning, are displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The trip task includes at least the task obtained from the dialogue content parsed in the AI ​​dialogue session, and the task generated based on the trip node of the user's current trip. If the target function scenario label is the second scenario label, then at least one second guidance prompt is displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The second guidance prompt is a prompt generated based on user behavior. If the target function scenario label is the third scenario label, then the trip card corresponding to the target trip node in the user's current trip is displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The trip card includes at least the node information and node entry of the target trip node. The target trip node includes at least one of the following: check-in node, seat selection node, check-in node, ticket collection node, ticket inspection node, boarding node, transportation node, airport pick-up node, airport drop-off node, and evaluation node.

[0061] The first scenario label corresponds to the "Help Me Think" scenario, which is primarily used for travel inspiration and itinerary planning. In this scenario, the guidance area can display pending travel tasks, such as "You have 2 travel plans to confirm"; it can also display primary guidance information related to travel inspiration or itinerary planning, such as "We recommend you consider the following destinations: Hangzhou, Chengdu," or "Sanya is currently in peak tourist season, would you like to check popular hotels?" These guidance messages can be generated based on the user's historical travel data and current popular destinations, to help users gain travel inspiration or assist in travel decisions. Travel tasks can include tasks parsed from the dialogue content in the AI ​​conversation (e.g., the "book a hotel" task extracted from the dialogue), and tasks generated based on the user's current travel nodes (e.g., the "check-in" task generated from the travel node).

[0062] It should be noted that before displaying schedule tasks, initial guidance prompts, and other information in the AI ​​operation panel, corresponding pre-processing steps can be performed: By obtaining the user's current travel information, which may include information on booked transportation products (such as air tickets, train tickets, etc.), hotel accommodation products (such as booked hotels and check-in / check-out dates), and scenic spot tour products (such as purchased tickets and entry dates), this information can be obtained from the order system or itinerary management module of the travel service application.

[0063] Next, the application can extract to-do list information and / or decision-making information from the dialogue content in the AI ​​conversation, as well as identify related itinerary nodes in the current itinerary information. In specific implementation, the application can use natural language processing technology to semantically analyze the dialogue content in the AI ​​conversation, identifying target travel service products, target itinerary nodes, and / or target actions involved in the dialogue content. For example, if a user states in a conversation, "I want to book a hotel in Sanya, with a budget of around 800, and it needs to be near the beach," the application can extract key information such as "book a hotel," "Sanya," "budget 800," and "near the beach" from the dialogue content, identifying the to-do list "book a hotel in Sanya." Similarly, if a user says, "Help me check if there are any earlier return flights," the application can extract the decision-making item "modify return flight." Simultaneously, the application can also identify related itinerary nodes from the current itinerary information, such as identifying the "waiting to check in" node from booked flight information and the "waiting to check in" node from booked hotel information.

[0064] Furthermore, based on the extracted content, the application can generate at least one trip task to be decided or executed corresponding to a to-do list, and / or a decision-making item, and / or a trip node. Specifically, the application can generate corresponding trip tasks based on the extracted to-do list information, decision-making item information, and identified trip nodes. The trip tasks to be decided or executed may include at least one of the following: a task to confirm a booked travel service (e.g., "confirm hotel booking in Sanya"), a task to confirm a payment order (e.g., "confirm flight ticket payment"), a task to confirm modified trip information (e.g., "confirm whether the return date needs to be modified"), a task to confirm supplemented user information (e.g., "supplement passenger identification information"), a task to confirm a selected travel plan (e.g., "select transportation from the airport to the hotel"), and a task to confirm a departure time (e.g., "confirm whether the departure time is 9:00 AM"). These trip tasks are displayed in an interactive list or card format in the guidance prompt area, and users can create a corresponding AI dialogue session by clicking on any task. Through the above methods, the application can automatically extract the trip items that users need to process or make decisions about and present them in a centralized form as tasks. Users do not need to manually recall and sort out the to-do items, which reduces the cognitive burden in the trip management process.

[0065] Simultaneously, the application can also use the first page context to determine the target scenario type of the current traditional function page, and extract at least one candidate guidance prompt that matches the target scenario type from a preset guidance information library, generating at least one first guidance prompt related to travel inspiration or itinerary planning. In specific implementation, the application extracts the page type identifier and / or page content keywords from the page context information of the current traditional function page, and determines the target scenario type corresponding to the current traditional function page based on the page type identifier and / or page content keywords. The target scenario type may include at least one of destination recommendation scenario, itinerary planning scenario, product booking scenario, and travel preparation scenario.

[0066] For example, if the current traditional function page is the homepage, and its page type is identified as "Homepage," then the target scenario type can be determined as "Itinerary Planning Scenario" or "Destination Recommendation Scenario." If the current traditional function page is a travel guide page for a specific destination, and its page content keywords include "Sanya," "guide," and "attraction recommendation," then the target scenario type can be determined as "Destination Recommendation Scenario." The application filters at least one candidate guidance prompt that matches the target scenario type from a pre-set guidance information database and generates the first guidance prompt. During the filtering process, it can further obtain the user's historical behavior data (such as historical search records, historical browsing records, historical collection records, and historical order records). Based on the historical behavior data and the target scenario type, it filters at least one candidate guidance prompt that matches the target scenario type and is associated with the user's historical behavior data from the pre-set guidance information database, achieving personalized guidance message recommendations. For example, in the homepage scenario, guidance prompts such as "Help me plan a 7-day self-driving tour around Hainan Island," "Where to go for a self-driving tour to see cherry blossoms around Hangzhou this weekend?" and "Recommended family trips for May Day" can be generated.

[0067] Correspondingly, the second scenario tag can correspond to the "Book for me" scenario, which is mainly used for booking services such as hotel and flight bookings. In this scenario, at least one second guidance prompt message is displayed in the guidance prompt area. This second guidance prompt message is generated based on user behavior. User behavior can include at least one of the following: search behavior, browsing behavior, adding to cart behavior, and favorites behavior. For example, when a user recently searched for "hotels near West Lake in Hangzhou," the system can generate the second guidance prompt message "Would you like me to book a hotel near West Lake for you?" Similarly, when a user favorites a hotel but has not yet booked it, the system can generate the second guidance prompt message "The XX hotel you favorited currently has a promotional offer; would you like me to book it for you?" By converting real-time user behavior data into guidance prompts, the system can accurately perceive the user's current potential needs and proactively provide interactive guidance that matches the user's intent, thereby shortening the user's operation path from need generation to task completion.

[0068] Similarly, before displaying the second guidance prompt, the application can perform corresponding pre-processing steps: By acquiring user behavior data in travel service applications, user behavior data includes at least one of the following: search behavior, browsing behavior, add-to-cart behavior, and favorites behavior. For example, the application can acquire a user's search history over a recent period (such as the last 7 or 30 days) (e.g., the user searched for keywords such as "Sanya hotels" or "Wuzhizhou Island tickets"), browsing history (e.g., the user viewed multiple hotel and attraction details pages in the Sanya area and the duration of their stay), add-to-cart history (e.g., the user added a hotel to their shopping cart but did not complete the booking), and favorites history (e.g., the user saved a travel itinerary or a hotel).

[0069] Based on user behavior data, the application can determine the target products or destinations that a user is currently interested in. The application can comprehensively determine a user's current target products (e.g., a hotel in the Haitang Bay area of ​​Sanya) or target destinations (e.g., Sanya City) based on the frequency and freshness of search records, page dwell time and number of views in browsing history, product types in add-to-cart records, and content types in favorites records. For example, if a user has searched for "Sanya hotels" multiple times in the past 3 days and viewed the details pages of several Sanya hotels, and added one of the hotels to their shopping cart, the application can determine that the user's current target products are that hotel or other similar hotels in the same area.

[0070] The system selects at least one guiding prompt related to the target product or destination from a pre-defined guidance information database as the second guiding prompt. This is applied after the target product or destination is determined, by selecting guiding prompts associated with it from the database. For example, if the target product is a hotel in Sanya, the second guiding prompt might include "Book a hotel in Sanya," "View user reviews of this hotel," or "Compare other nearby hotels." If the target destination is Sanya City, the second guiding prompt might include "Purchase tickets for Wuzhizhou Island," "Book a day trip to popular Sanya attractions," or "View Sanya travel guides." Through this method, the second guiding prompt accurately reflects the user's current consumption intentions and interests, shortening the decision-making path from browsing to booking and reducing the user's operational burden during product selection and booking.

[0071] Furthermore, the third scenario label corresponds to the "Help Me" scenario, which is primarily used for task processing at specific nodes within the itinerary. In this scenario, the guidance prompt area displays the itinerary card corresponding to the target itinerary node in the user's current itinerary. The itinerary card is a structured information card that includes node information and node entry points for the target itinerary node. Node information may include node name (e.g., "Check-in"), node time (e.g., "2026-07-08 14:00"), node location (e.g., "Beijing Capital International Airport T3 Terminal"), and node status (e.g., "Pending" or "Completed"). The node entry point is a triggerable operation entry, such as a "Go to Check-in" button. In response to a trigger operation targeting this node entry point, the system can jump to the AI ​​dialogue page or function page corresponding to the target itinerary node to perform specific operation processing.

[0072] Similarly, before displaying the itinerary card, the corresponding pre-processing procedures can be performed first: The application obtains the user's current travel information, which includes at least one of the following: booked transportation, hotel accommodation, and / or sightseeing tours. The application can retrieve all travel-related product information booked by the user from the travel service application's order system or travel management module.

[0073] Next, the application can filter out target trip nodes in the user's current trip that are in a pending state based on at least one of the following: product type, service time, and current system time in the current trip information. The application determines which nodes in the user's current trip are in a pending state based on the product type (e.g., airfare, train ticket, hotel, attraction ticket), service time (e.g., flight departure time, train departure time, hotel check-in time, scenic spot entry time), and current system time in the current trip information.

[0074] For example, if the application detects that a user has booked a flight from Shanghai to Sanya tomorrow morning, and the current time is more than 2 hours but less than 24 hours before the flight's departure time, and the user has not yet checked in, then the target itinerary node is determined to be "Pending Check-in." If the application detects that a user has booked a hotel in Sanya for the day after tomorrow, and the current time is more than 24 hours before the check-in time, then the target itinerary node is determined to be "Pending Check-in" or still in a normal waiting state. If the application detects that the user has already checked into a hotel and there are still 12 hours before the check-out time, then nodes such as "Pending Extension of Stay" or "Pending Review" can be displayed. If the user currently has no pending itinerary nodes (e.g., all itineraries have been completed), then the guidance prompt area can display "No pending itineraries" or recommend other travel inspiration and product information. Target itinerary nodes include at least one of the following: Pending Check-in, Pending Seat Selection, Pending Check-in, Pending Ticket Collection, Pending Ticket Inspection, Pending Boarding, Pending Transportation, Pending Airport Pickup, Pending Airport Drop-off, and Pending Review.

[0075] Furthermore, the application can obtain the node type of the target itinerary node, extract the itinerary card template corresponding to the node type from the pre-set itinerary card template library, and populate the itinerary card template with the product information from the current itinerary information to generate the itinerary card corresponding to the target itinerary node. The application has a pre-built itinerary card template library, in which a corresponding itinerary card template is defined for each node type. The template defines the node information fields to be displayed in the itinerary card (such as flight number, hotel name, time, location, etc.) and the type of node entry (such as button text, jump link, service call interface, etc.). After determining the target itinerary node, the application extracts the template matching the node type from the template library, and populates the specific product information from the current itinerary information into the corresponding fields of the template to generate a complete itinerary card. The itinerary card includes at least the node information of the target itinerary node (e.g., "You are about to take flight MU1234 from Shanghai to Sanya, departure time 14:30, you have not yet checked in") and the node entry (e.g., "Online Check-in" button, which allows users to jump to the check-in page or call the check-in service after clicking).

[0076] In practical applications, the specific content and access points of the itinerary card vary depending on the type of node. For example, when the target itinerary node is the check-in node, the itinerary card may include an online check-in portal and / or check-in deadline information, allowing users to directly check in online without manually navigating to the check-in page within the application; when the target itinerary node is the check-in node, the itinerary card may include an online check-in portal and / or hotel contact information, allowing users to directly check in online; when the target itinerary node is the ticket collection node, the itinerary card may include an e-ticket QR code and / or ticket collection location guidance information, allowing users to directly use the e-ticket QR code to enter the park or follow the guidance information to collect their tickets; when the target itinerary node is the review node, the itinerary card may include a review portal, allowing users to directly review completed itineraries or products. In this way, the itinerary card can centrally present the tasks that need to be handled in the user's current itinerary in the form of cards. Users do not need to repeatedly jump between different pages to find to-do items. They can obtain all the task information that needs to be handled at once in the guidance prompt area of ​​the AI ​​component and perform the operation. This realizes the centralized and visual management of itinerary node information and improves the efficiency of users in handling itinerary to-do items.

[0077] It should be noted that in practical applications, the pre-processing of the above-mentioned scenario labels—including the generation of itinerary tasks, the generation of the first guidance prompt information, the generation of the second guidance prompt information, and the generation of itinerary cards—can all be implemented using various technical paths, and this application does not impose any restrictions on them.

[0078] Specifically, in some implementations, the application can perform the aforementioned data processing locally on the electronic device after obtaining raw data such as the user's current itinerary information, dialogue content in the AI ​​dialogue session, user behavior data, and page context information. For example, the application can perform semantic parsing of the dialogue content locally using a pre-deployed lightweight natural language processing model to extract to-do items and decision-making items; locally, based on a pre-built rule engine and matching algorithm, it can determine the target scenario type based on page type identifiers and page content keywords, and filter matching guidance prompts from a locally cached guidance information library; locally, based on the product type, service time, and current system time in the itinerary information, it can filter the target itinerary nodes to be processed through pre-built itinerary node judgment logic, and extract the corresponding templates from a locally stored itinerary card template library and populate them to generate an itinerary card. The local processing method has advantages such as fast response speed, no network requests required, and protection of user data privacy, and is suitable for scenarios with relatively fixed processing logic and high real-time requirements.

[0079] In other implementations, after obtaining the aforementioned raw data, the application can send a data processing request to the server via the network, remotely invoking a Large Language Model (LLM) or other AI model deployed on the server to execute the data processing. For example, the application can concatenate the user's current itinerary information, the dialogue content in the AI ​​conversation, and page context information into a context-rich prompt, and send it to the LLM server. The LLM then performs deep semantic understanding and analysis of the dialogue content, extracting to-do items and decision-making information, and generating a structured itinerary task list. Alternatively, the application can use user behavior data such as search behavior, browsing behavior, adding items to cart, and favorites behavior, along with the current page context information, as input. Through remote invocation of a recommendation model or LLM, it can perform user intent analysis and interest inference to determine the user's current target product or destination and generate personalized secondary guidance prompts. For example, the application can send the user's current itinerary information and current system time to the server. The server then uses an AI model to comprehensively determine the urgency and processing priority of each itinerary node, selects the most suitable target itinerary node for current presentation, and extracts a template from the server's itinerary card template library to generate an itinerary card, which is then returned to the client for presentation. Remotely calling large language models or AI models has stronger semantic understanding capabilities, richer knowledge reserves, and stronger generalization capabilities, enabling it to handle more complex dialogue scenarios and more personalized generation needs. It is especially suitable for scenarios with complex and varied dialogue content that require a deep understanding of user intent.

[0080] In other implementations, applications can combine local processing with remote calls to achieve the aforementioned data processing. For example, the application can pre-deploy a lightweight model and rule engine locally to handle itinerary task generation and guidance prompt information filtering in routine scenarios, ensuring response speed and offline availability. Simultaneously, when the local model has low confidence or encounters complex scenarios, the application can initiate remote calls to the server's large language model via the network to obtain higher-quality processing results. The results returned remotely are then used to update the local model and cached data, achieving a dynamic balance between local processing efficiency and remote processing capabilities. Through the flexible selection and combination of these various technical implementation paths, the application can fully leverage the semantic understanding and generation capabilities of advanced AI technologies such as large language models while ensuring response speed and user experience. This allows it to provide users with accurate and personalized itinerary tasks, guidance prompts, and itinerary cards, further enhancing the intelligence level and user experience of AI-assisted functions in the travel service platform.

[0081] By configuring different interactive elements for different scenario tags, the system achieves scenario-based interactive guidance: for the "Help me think" scenario, the focus is on providing planning suggestions and inspiration; for the "Help me book" scenario, the focus is on accurate recommendations based on user behavior; and for the "Help me complete tasks" scenario, the focus is on task execution at each stage of the trip. This differentiated guidance strategy can match the most appropriate guidance method according to the user's current functional scenario, effectively reducing the user's cognitive burden.

[0082] Furthermore, in some feasible implementations, the AI ​​operation panel in the second display form also includes at least one guided interaction item. The second type of interactive control includes a session trigger control, and the guided interaction item includes at least one of a schedule task, a first guided prompt message, a second guided prompt message, and a schedule card. When the AI ​​operation panel is displayed in the second display form, the application can also respond to an input operation on the session trigger control, or a trigger operation on one of the schedule task, the first guided prompt message, the second guided prompt message, and the schedule card, to create a corresponding AI dialogue session, and display the AI ​​operation panel in the third display form, and display the AI ​​response content corresponding to the input operation, the schedule task, the first guided prompt message, the second guided prompt message, and the schedule card in the AI ​​operation panel.

[0083] In the specific implementation, when the AI ​​operation panel is displayed in the second display form, the user can initiate an AI dialogue in any of the following ways: First, the user can enter text in the conversation trigger control (text input box) or enter voice information through the voice input button, i.e., trigger the AI ​​dialogue conversation through a "conversation input" control; Second, the user can directly click on any guided interaction item displayed in the guidance prompt area, such as clicking on a first guidance prompt message "We recommend you consider Hangzhou," and the application will use the content of that guidance prompt message as user input, i.e., trigger the AI ​​dialogue conversation through a "conversation trigger" control. It should be noted that regardless of the method used, the application responds to the operation by creating a corresponding AI dialogue conversation and switching the AI ​​operation panel from the second display form to the third display form, and then displays the corresponding input information and the relevant response content returned by the AI ​​server in its AI operation panel.

[0084] In one specific scenario, a user sees a second prompt in the AI ​​operation panel (second display mode): "Would you like me to book a hotel near West Lake?" Clicking this prompt treats it as user input, creating an AI dialogue session. The AI ​​operation panel then switches to a third display mode, showing the prompt and a list of recommended hotels provided by the AI. Similarly, in the second display mode, a user sees a task card stating, "You have one to-do task: Check-in for flight CA1234." Clicking the "Go to Check-in" entry on this card creates an AI dialogue session, switches the AI ​​operation panel to a third display mode, and shows a check-in guide interface. The user can then complete the online check-in process by following the instructions. Through these methods, users can quickly initiate AI dialogues by clicking on guided interactive items, eliminating the need to craft complete questions themselves. This reduces user input costs and improves the efficiency and success rate of AI interaction.

[0085] Step 1023: Display the AI ​​operation panel in a third display form. The AI ​​operation panel in the third display form includes at least one first type of interactive control, at least one second type of interactive control, and AI dialogue content.

[0086] In this embodiment, the application can respond to user input on the session trigger control in the second display mode or trigger on the guided interaction item, and then switch the AI ​​operation panel from the second display mode to the third display mode. The third display mode can be the maximum size display state of the AI ​​operation panel, occupying or covering all or most of the screen space of the current traditional function page, with the aim of providing users with an immersive AI dialogue experience.

[0087] The third display form of the AI ​​operation panel can include at least one first-type interactive control, at least one second-type interactive control, and AI dialogue content. AI dialogue content refers to one or more dialogue messages generated between the user and the AI ​​assistant during an AI dialogue session, including user-inputted messages and AI responses. The AI ​​dialogue content can be scrolled sequentially across the dialogue area of ​​the AI ​​operation panel. First-type interactive controls (such as function scene labels) can be displayed at the top of the AI ​​operation panel, second-type interactive controls (such as session trigger controls) can be displayed at the bottom, and the AI ​​dialogue content is displayed in the middle, between the function scene labels and the dialogue input area. This layout allows users to easily switch function scene labels or input new dialogue messages during the dialogue, ensuring convenient interaction.

[0088] Optionally, when the AI ​​operation panel is displayed in a third display format, the AI ​​operation panel can occupy or cover the full-screen area of ​​the current traditional function page. In this case, the current traditional function page can be shifted upwards to outside the top of the screen or covered by the AI ​​operation panel, making the AI ​​operation panel appear as a near-independent full-screen display. Alternatively, the AI ​​operation panel can unfold by sliding upwards from the bottom of the current traditional function page, occupying or covering most of the current traditional function page (e.g., more than 90%), while the top edge of the current traditional function page remains visible to maintain the user's awareness of the current page.

[0089] In addition, in some other feasible implementations, when the AI ​​operation panel is displayed in a third display form, the method further includes: in response to a closing operation of the AI ​​operation panel in the third display form, switching the AI ​​operation panel in the third display form to display a corresponding session storage control, and displaying dialogue information associated with the AI ​​dialogue content in the session storage control, wherein the session storage control is a control displayed in the target area of ​​the current traditional function page; in response to a trigger operation of the session storage control, redisplaying the AI ​​operation panel in the third display form in the current traditional function page, and continuing to display the AI ​​dialogue content in the AI ​​operation panel in the third display form.

[0090] The closing action can be manifested as the user clicking the close button in the AI ​​operation panel or quickly swiping down from the top of the AI ​​operation panel. In its implementation, the session storing control can be a persistent interactive control that can be displayed in a target area of ​​the current traditional function page (such as the bottom or side area) to maintain the session state of the AI ​​dialogue, ensuring the dialogue session is not destroyed even if the AI ​​operation panel is collapsed. Furthermore, the dialogue information displayed in the session storing control, associated with the AI ​​dialogue content, can be the most recent dialogue message (i.e., the most recent AI response) or the most recent prompt word (i.e., the most recent user input message), and this information can be dynamically updated based on the dialogue content of the AI ​​dialogue session.

[0091] Furthermore, when the user clicks the conversation pause control, the AI ​​operation panel can be reopened in a third display form and all previous conversation content can be fully restored, allowing the user to continue the previous conversation without having to start over.

[0092] In some examples, a user discusses a three-day trip to Hangzhou with the AI ​​assistant in the third display mode, with multiple conversation messages displayed in the AI ​​control panel. At this point, the user needs to view full-screen images of a hotel room. To get a better browsing experience, the user clicks the close button in the AI ​​control panel. The application responds to this close action by switching the AI ​​control panel to a conversation storage control, displayed at the bottom of the current traditional function page, showing "You have booked a flight to Hangzhou. Would you like to see hotel recommendations?" (a summary of the most recent AI reply). After the user finishes viewing the hotel images in full-screen, clicking the conversation storage control reopens the AI ​​control panel in the third display mode, fully restoring all previous conversation content. The user can then continue the previous topic, asking, "Which of these hotels is closest to West Lake?", without needing to re-described the previous conversation context.

[0093] Through the above methods, the application implements a "temporary storage-restore" mechanism for AI dialogue sessions, allowing users to switch freely between AI dialogue and page browsing without worrying about losing the dialogue context, greatly reducing the user's interaction burden.

[0094] In other feasible implementations, the AI ​​control panel also includes a task control that displays at least the number of tasks. The application can also display a task window in response to a trigger operation on the task control. The task window contains at least one scheduled task, which includes at least the task parsed from the dialogue content in the AI ​​dialogue session and the task generated based on the schedule node of the user's current schedule.

[0095] In its implementation, the task control can be displayed in the top or bottom area of ​​the AI ​​operation panel. It can be presented as an icon, such as a "To-Do" or "Task" icon. The task control can also display the number of tasks, which can be shown as a badge in the upper right corner of the control to indicate to the user that there are currently pending tasks. When the user triggers the task control, the system displays the task window as a pop-up, drop-down list, or independent window, containing at least one task. Each task can include a task title (e.g., "Check-in for CA1234 flight"), a task description (e.g., "2 hours until check-in deadline"), a task status (e.g., "Pending," "In Progress," "Completed"), and the task's source (e.g., "From AI dialogue" or "From a trip node").

[0096] It should be noted that the generation of itinerary tasks comes from at least two sources: tasks derived from the parsing of dialogue content in AI conversations, where the system performs natural language understanding processing on the dialogue messages in the AI ​​conversation, extracts statements with action intent (such as "Book me a hotel"), and parses them into corresponding itinerary task objects; and tasks generated based on the itinerary nodes of the user's current itinerary, where the system automatically generates corresponding itinerary tasks based on various itinerary nodes in the user's current itinerary (such as "waiting to check in," "waiting to check in," etc.). The itinerary tasks in the task window can be sorted and displayed according to priority, generation time, or task status. Users can quickly jump to the corresponding processing page or AI dialogue page by clicking on any itinerary task.

[0097] In addition to switching between different display modes of the AI ​​operation panel through interactive controls and guidance prompts, users can also input gestures to control the AI ​​operation panel to switch between the first, second, and third display modes.

[0098] Gesture controls can be user touch gestures on the AI ​​control panel, manifesting as vertical swipes (swiping up or down within the AI ​​control panel area), horizontal swipes, or clicking specific controls. In practice, the application recognizes parameters such as the direction, speed, and displacement of the gesture to control the AI ​​control panel to switch between three display modes. This gesture-driven mode-switching method provides users with a convenient and intuitive interactive control mechanism. Users can freely switch between different display modes with simple gestures without needing to adjust through menus or settings interfaces, improving the efficiency and smoothness of the interaction.

[0099] In the specific implementation, it should be able to respond to the end of a vertical swipe operation on the AI ​​operation panel by obtaining the swipe direction, swipe speed, and swipe displacement. If the swipe direction is upward, the swipe speed is greater than or equal to a preset speed threshold, and the swipe displacement is less than a preset displacement snapping threshold, then the AI ​​operation panel should continue to swipe upward for a preset distance before stopping at a display mode one level higher than the current display mode, and a transition animation of the AI ​​operation panel switching from the current display mode to the higher display mode should be displayed. If the swipe direction is downward, the swipe speed is greater than or equal to a preset speed threshold, and the swipe displacement is less than a preset displacement snapping threshold, then the AI ​​operation panel should continue to swipe downward for a preset distance before stopping at a display mode one level higher than the current display mode. The system displays a lower-level display mode and shows a transition animation of the AI ​​operation panel switching from the current display mode to the lower-level display mode. If the sliding direction is upward, the sliding speed is less than a preset speed threshold, and the sliding displacement is greater than or equal to a preset displacement adsorption threshold, the AI ​​operation panel is controlled to slide upward to the display mode corresponding to the displacement adsorption threshold, and an adsorption animation of the AI ​​operation panel being adsorbed into the display mode corresponding to the displacement adsorption threshold is displayed. If the sliding direction is downward, the sliding speed is less than a preset speed threshold, and the sliding displacement is greater than or equal to a preset displacement adsorption threshold, the AI ​​operation panel is controlled to slide downward to the display mode corresponding to the displacement adsorption threshold, and an adsorption animation of the AI ​​operation panel being adsorbed into the display mode corresponding to the displacement adsorption threshold is displayed.

[0100] In some examples, suppose the user is currently viewing the AI ​​operation panel in the first display mode. Then, the user quickly swipes the AI ​​operation panel upwards and releases it. The swipe speed is 600pt / s (exceeding the preset speed threshold of 500pt / s), and the swipe displacement is 30% of the current panel size (less than the preset displacement adsorption threshold of 50%). The application judges this as a "quick swipe" operation and controls the AI ​​operation panel to continue swiping upwards for a preset distance (e.g., 20% of the current panel size) before stopping in the second display mode. A transition animation is then displayed that smoothly expands from the first mode to the second mode (with a transition effect where the panel size gradually increases and the content gradually becomes richer).

[0101] In other examples, the user slowly slides the AI ​​operation panel upwards and releases it. The sliding speed is 200pt / s (less than the preset speed threshold of 500pt / s), and the sliding displacement is 60% of the current panel size (greater than the preset displacement adsorption threshold of 50%). The application judges this as a "slow drag adsorption" operation, controls the AI ​​operation panel to automatically slide upwards to the second display form corresponding to the displacement adsorption threshold, and displays an adsorption animation of the panel being "adsorbed" to the second display form (the panel sliding speed gradually slows down and gently stops at the target position).

[0102] Through the aforementioned dual-mode switching mechanism of "quick swing and slow drag to absorb", the application can intelligently distinguish between two different interaction intentions: "quickly switching forms" and "precisely controlling the degree of unfolding" based on the user's gesture characteristics, providing a form switching experience that conforms to physical intuition, while reducing frequent switching caused by accidental touches.

[0103] In addition, in some other feasible implementations, the preset speed threshold is 500pt / s, and the preset displacement adsorption threshold is 50% of the size corresponding to the current display form of the AI ​​operation panel. Here, pt (point) is the logical pixel unit in the graphical user interface, and 500pt / s represents 500 logical pixels per second. It should be noted that these speed and displacement adsorption thresholds can be adjusted according to the actual application scenario; for example, the threshold values ​​can be adjusted accordingly on devices with different screen sizes or resolutions. This application does not impose any restrictions on this.

[0104] Furthermore, both transition and adsorption animations can be executed using a spring dynamics model. The parameters of this model include: an elastic coefficient of 0.38s, a damping coefficient of 0.88, and a response speed of 0.55. It's important to note that the spring dynamics model is an animation model that simulates the physical characteristics of spring vibration. By setting the elastic coefficient, damping coefficient, and response speed, smooth animations with elastic effects can be produced. The elastic coefficient controls the elastic intensity of the animation, the damping coefficient controls the decay rate, and the response speed controls the sensitivity. Through animation effects driven by the spring dynamics model, the AI ​​control panel can generate more natural and fluid visual feedback during form transitions, enhancing the user's operational experience.

[0105] Furthermore, when a page jump occurs within the AI ​​dialogue window, the target page node generated by the jump is recorded in the first navigation stack corresponding to the AI ​​dialogue window, and the current page node of the current traditional function page is recorded in the second navigation stack corresponding to the current traditional function page. The first and second navigation stacks are independent of each other.

[0106] In the specific implementation, when a user navigates to a different page within the AI ​​dialogue window (for example, clicking a hotel recommendation link in the dialogue to enter the hotel details page), the system records the target page node generated by the navigation in the first navigation stack corresponding to the AI ​​dialogue window, and simultaneously records the current page node of the current traditional function page in the second navigation stack corresponding to the current traditional function page. The first and second navigation stacks are two independent navigation data structures, each maintaining its corresponding page access history.

[0107] Through the aforementioned dual-stack independent navigation mechanism, when a user performs a back operation within the AI ​​dialogue window, the system only pops a page from the first navigation stack, returning to the previous page within the AI ​​dialogue window, without affecting the state of the traditional function pages in the second navigation stack. Similarly, when the user switches back to a traditional function page, the system only operates on the second navigation stack. In this way, the page navigation within the AI ​​dialogue window is completely decoupled from the page navigation of the current traditional function page, ensuring they do not interfere with each other.

[0108] For example, users can browse hotel recommendations, view hotel details, and return to the hotel list within the AI ​​dialogue window. These navigation operations do not affect the current page state of the traditional function pages below the AI ​​control panel. When the user closes the AI ​​dialogue window or switches it to the first display mode, the traditional function pages remain in the page state before the user entered the AI ​​dialogue.

[0109] It should be noted that the embodiments of this application include, but are not limited to, the examples described above. It is understood that those skilled in the art can make further settings according to actual needs under the guidance of the ideas in the embodiments of this application, and this application does not impose any restrictions on this.

[0110] In this embodiment, the electronic device can simultaneously display a corresponding AI operation panel on the traditional function page currently being viewed by the user. Depending on the scenario requirements, the AI ​​operation panel can be displayed on the traditional page in one of three display formats: a first display format, a second display format, or a third display format. The first display format AI operation panel includes at least one first-type interactive control; the second display format AI operation panel includes at least one first-type interactive control and at least one second-type interactive control; and the third display format AI operation panel includes at least one first-type interactive control, at least one second-type interactive control, and AI dialogue content. By displaying the AI ​​operation panel and the current traditional function page on the same screen, and by hierarchically configuring the interactive controls of the AI ​​operation panel based on the display format, not only is coexistence of AI interaction and page browsing achieved, but the reduction of AI interaction costs is also mitigated. It eliminates interference with traditional page browsing and enables dynamic adjustment of interactive controls based on specific scenarios. This allows the AI ​​operation panel to present a control hierarchy that matches the user's actual interaction needs. Furthermore, through a progressive expansion of controls from the first to the third display form, the AI ​​function entry point and AI dialogue content are organically integrated within the same interface framework. The AI ​​operation panel is always displayed alongside the current traditional function page, ensuring that AI dialogues triggered by the user based on the AI ​​operation panel are not interrupted or destroyed due to changes in display form or page switching. This reduces the user's operational cost of switching between AI interaction and page browsing while maintaining normal browsing of traditional function pages. It improves the discoverability and usability of AI-assisted functions, enhances the continuity and efficiency of the interaction process, and avoids cumbersome dialogue context return processes caused by page switching or changes in the AI ​​operation panel form, thus reducing the user's interaction burden.

[0111] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the following examples are provided for illustrative purposes: As some examples, see Figure 2 This diagram illustrates an application interface provided in an embodiment of this application. A travel service application can run on an electronic device, and the graphical user interface displays the user's currently viewed traditional function page 210 (such as...). Figure 2 The text displays "Homepage" and also shows the corresponding AI operation panel 220. Figure 2The AI ​​operation panel 220 shown can be an AI operation panel in a first display form, and it can also be an AI operation panel in a collapsed form. In this display form, the AI ​​operation panel 20 can display multiple function scene labels 2201, task controls 2202, and expansion controls 2203 (used to switch between different display forms of the AI ​​operation panel). Among them, the function scene labels 2201 can include controls such as "Help me think", "Help me order", and "Help me do", while the task controls 2202 can display the number of tasks currently pending, such as "3 tasks to be viewed".

[0112] Accordingly, refer to Figure 3 The AI ​​operation panel 320 shown can be a floating AI operation panel. In this floating AI operation panel 320, corresponding trip tasks 3201 awaiting user confirmation can be displayed. The trip task 3201 can simultaneously display the corresponding task information and the task processing entry (such as "Pending Decision"). It should be noted that the display process of the trip task can refer to the description in the foregoing embodiments, and will not be repeated here.

[0113] Furthermore, in the first display form, the AI ​​operation panel, refer to Figure 4 When the user selects the "Help Me Think" tab, the application can switch the AI ​​operation panel from its first display form to a second display form, AI operation panel 420. The second display form AI operation panel 420 can also include various function scene labels and task controls, and can also display guidance information 4201 associated with the "Help Me Think" tab, such as "Ningbo to Xi'an departing in early June, there are discounts on airfare and hotels, want to check the remaining tickets?", "Chongqing will soon reach 40℃, I suggest going to Wutai Mountain in Shanxi to escape the heat", "Recently I've been looking at hotels and surrounding tours in Guiyang?", etc. Furthermore, when the "Help Me Think" tab is selected, the AI ​​operation panel 420 can also display the corresponding travel task, such as "Seat reserved: Xiaofei (38A), check-in after confirmation---Pending decision>", indicating to the user that there is a travel task node that needs to be processed.

[0114] Accordingly, refer to Figure 5 When a user selects the "Book for me" tab, the application can switch the AI ​​operation panel from its first display form to a second display form, AI operation panel 520. Furthermore, the AI ​​operation panel 520 displays corresponding guidance prompts, such as "You're about to travel to Altay, would you like me to book a high-speed train from Hangzhou for you?", "Flights from Hangzhou to Beijing are in high demand, let me check out some discounted tickets for you", and "Disney summer parade, let me book a day trip for you", etc.

[0115] Accordingly, refer to Figure 6 When a user selects the "Help Me" tab, the application can switch the AI ​​operation panel from its first display form to its second display form, AI operation panel 620. Furthermore, upon detecting the user's current travel information, the corresponding travel card can be displayed on AI operation panel 620. For example, if the user currently has a check-in pending travel node, a travel card 6201 containing flight information can be displayed on AI operation panel 620. This travel card includes at least: flight information, check-in counter, boarding gate, and check-in trigger entry.

[0116] In addition, the AI ​​operation panel in the second display form mentioned above may also include other controls, such as a photo explanation control (used to trigger image acquisition and explain the content contained in the acquired target image), a "copy homework" control (used to trigger itinerary planning based on other users' travel itineraries), etc. This application does not impose any restrictions on this.

[0117] In the above process, regardless of the type of tag used for guidance and prompts, whether it's a travel task or a travel card, all can serve as entry points to trigger AI dialogue. Figure 7 When a user clicks on the check-in entrance in the itinerary card displayed on the AI ​​operation panel in the second display form, the application can convert the AI ​​operation panel in the second display form into the AI ​​operation panel in the third display form 720. The AI ​​operation panel in the third display form can display more content. For example, in addition to displaying the corresponding itinerary card, it can also display guidance prompts such as "Help you make a travel essential checklist" and "Ask X Airlines Member Assistant".

[0118] In addition to switching between different display modes of the AI ​​operation panel through interactive controls and guided prompts, users can also input gestures to control the AI ​​operation panel to switch between the first, second, and third display modes. For example, refer to... Figure 8 Users can switch between different display modes through the expand control (or collapse control, which is mainly the interactive control in the third display mode of the AI ​​operation panel) in the AI ​​operation panel; and can switch between different display modes by inputting a sliding operation on the AI ​​operation panel, etc. This application does not limit this.

[0119] In the aforementioned process, by displaying the AI ​​operation panel alongside the current traditional function page and configuring the interactive controls of the AI ​​operation panel hierarchically based on the display form, not only is the coexistence of AI interaction and page browsing on the same screen achieved, reducing the interference of AI interaction on traditional page browsing, but also the dynamic adjustment of interactive controls based on the context allows the AI ​​operation panel to present a control hierarchy that matches the user's actual interaction needs. Furthermore, through the progressive expansion of controls from the first display form to the third display form, the AI ​​function entry point and AI dialogue content are organically integrated within the same interface framework. Since the AI ​​operation panel is always displayed alongside the current traditional function page, AI dialogues triggered by the user based on the AI ​​operation panel will not be interrupted or destroyed due to changes in display form or page switching. This reduces the user's operational cost of switching between AI interaction and page browsing while ensuring normal browsing of traditional function pages, improves the discoverability and usability of AI-assisted functions, enhances the continuity and operational efficiency of the interaction process, and avoids the loss of dialogue context due to page switching or changes in the form of the AI ​​operation panel. This eliminates the need for users to repeatedly open conversations and manually rebuild the context, reducing the user's interaction burden.

[0120] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.

[0121] In addition, this application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described interactive method embodiment of the travel service application and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0122] This application also provides a readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described travel service application interaction method embodiment and achieves the same technical effect. To avoid repetition, it will not be described again here. The readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0123] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0124] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, EEPROM, Flash, and eMMC, etc.) containing computer-usable program code.

[0125] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0126] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0128] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0129] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0130] The interactive method and interactive device for a travel service application provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An interaction method for a travel service application, characterized in that, The method includes providing a graphical user interface via an electronic device and running a travel service application within the electronic device: The graphical user interface displays the user's current traditional function page and AI operation panel within the travel service application the user is currently browsing. The AI ​​operation panel is displayed in one of the following ways: The AI ​​operation panel is displayed in a first display form, wherein the AI ​​operation panel in the first display form includes at least one first type of interactive control; The AI ​​operation panel is displayed in a second display form, wherein the AI ​​operation panel in the second display form includes at least one first type of interactive control and at least one second type of interactive control; The AI ​​operation panel is displayed in a third display form, and the AI ​​operation panel in the third display form includes at least one first type of interactive control, at least one second type of interactive control, and AI dialogue content.

2. The method according to claim 1, characterized in that, The first display mode includes a collapsed mode and a raised mode. Displaying the AI ​​operation panel in the first display mode includes: If the user's current trip information is detected, and there is a target trip node to be processed in the current trip information, then the AI ​​operation panel is displayed in the floating form. The floating form of the AI ​​operation panel also includes the trip task corresponding to the target trip node. If the user's current trip information is not detected, or if the user's current trip information is detected but there is no target trip node to be processed, then the AI ​​operation panel is displayed in the collapsed form.

3. The method according to claim 1, characterized in that, The first type of interactive control includes at least one functional scene label. When the AI ​​operation panel is displayed in a first display format, the method further includes: In response to a trigger operation for any target function scene label, the AI ​​operation panel is displayed in the second display form, and the target guidance interaction item corresponding to the target function scene label and the second type of interaction control are displayed in the AI ​​operation panel in the second display form.

4. The method according to claim 3, characterized in that, The functional scene labels include a first scene label, a second scene label, and a third scene label. Displaying the target guided interaction item corresponding to the target functional scene label in the AI ​​operation panel of the second display form includes: If the target function scenario label is the first scenario label, then at least one trip task to be decided or executed, and / or at least one first guidance prompt message related to travel inspiration or trip planning will be displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The trip task includes at least the task obtained by parsing the dialogue content in the AI ​​dialogue session, and the task generated according to the trip node of the user's current trip. If the target function scene label is the second scene label, then at least one second guidance prompt message is displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The second guidance prompt message is a prompt message generated based on user behavior. If the target function scenario label is the third scenario label, then the itinerary card corresponding to the target itinerary node in the user's current itinerary is displayed in the guidance prompt area of ​​the AI ​​operation panel in the second display form. The itinerary card includes at least the node information and node entry of the target itinerary node. The target itinerary node includes at least one of the following: check-in node, seat selection node, check-in node, ticket collection node, ticket inspection node, boarding node, ride node, airport pick-up node, airport drop-off node, and evaluation node.

5. The method according to claim 1, characterized in that, The AI ​​operation panel in the second display form further includes at least one guided interaction item. The second type of interactive control includes a session trigger control. The guided interaction item includes at least one of a schedule task, a first guided prompt message, a second guided prompt message, and a schedule card. When the AI ​​operation panel is displayed in the second display form, the method further includes: In response to an input operation to the session trigger control, or a trigger operation to one of the trip task, the first guidance prompt information, the second guidance prompt information, and the trip card, a corresponding AI dialogue session is created, and the AI ​​operation panel is displayed in the third display form; The AI ​​operation panel displays the input information corresponding to the input operation, the trip task, the first guidance prompt information, the second guidance prompt information, and one of the corresponding AI response contents from the trip card.

6. The method according to claim 1, characterized in that, When the AI ​​operation panel is displayed in the third display form, the method further includes: In response to the closing operation of the AI ​​operation panel in the third display form, the AI ​​operation panel in the third display form is switched to display as the corresponding conversation storage control, and the conversation storage control displays the conversation information associated with the AI ​​conversation content. The conversation storage control is a control displayed in the target area of ​​the current traditional function page. In response to a trigger operation on the session storage control, the AI ​​operation panel in the third display form is redisplayed on the current traditional function page, and the AI ​​dialogue content continues to be displayed in the AI ​​operation panel in the third display form.

7. The method according to claim 1, characterized in that, The AI ​​operation panel also includes a task control, which displays at least the number of tasks. The method further includes: In response to a trigger operation on the task control, the task window is displayed; The task window contains at least one schedule task, which includes at least tasks parsed from the dialogue content in the AI ​​dialogue session and tasks generated based on the schedule nodes of the user's current schedule.

8. The method according to claim 1, characterized in that, Also includes: In response to a gesture operation on the AI ​​operation panel, the AI ​​operation panel is controlled to switch between the first display mode, the second display mode, and the third display mode.

9. The method according to claim 8, characterized in that, The gesture operation is a vertical swipe operation. The step of responding to the gesture operation on the AI ​​operation panel by controlling the AI ​​operation panel to switch between the first display mode, the second display mode, and the third display mode includes: In response to the end of a vertical swipe operation on the AI ​​operation panel, the swipe direction, swipe speed, and swipe displacement of the vertical swipe operation are obtained; If the sliding direction is upward, the sliding speed is greater than or equal to a preset speed threshold, and the sliding displacement is less than a preset displacement adsorption threshold, then the AI ​​operation panel is controlled to continue sliding a preset distance in the upward direction, and then stops at a display form one level higher than the current display form, and a transition animation of the AI ​​operation panel switching from the current display form to the higher-level display form is displayed. If the sliding direction is downward, the sliding speed is greater than or equal to a preset speed threshold, and the sliding displacement is less than a preset displacement adsorption threshold, then the AI ​​operation panel is controlled to continue sliding a preset distance downward, and then stops at a display form one level lower than the current display form, and a transition animation of the AI ​​operation panel switching from the current display form to the lower-level display form is displayed. If the sliding direction is upward, the sliding speed is less than the preset speed threshold, and the sliding displacement is greater than or equal to the preset displacement adsorption threshold, then the AI ​​operation panel is controlled to slide upward to the display form corresponding to the displacement adsorption threshold, and an adsorption animation of the AI ​​operation panel being adsorbed to the display form corresponding to the displacement adsorption threshold is displayed. If the sliding direction is downward, the sliding speed is less than the preset speed threshold, and the sliding displacement is greater than or equal to the preset displacement adsorption threshold, then the AI ​​operation panel is controlled to slide downward to the display form corresponding to the displacement adsorption threshold, and an adsorption animation of the AI ​​operation panel being adsorbed to the display form corresponding to the displacement adsorption threshold is displayed.

10. The method according to claim 1, characterized in that, The method further includes: When a page jump occurs within the AI ​​dialogue window, the target page node generated by the jump is recorded in the first navigation stack corresponding to the AI ​​dialogue window, and the current page node of the current traditional function page is recorded in the second navigation stack corresponding to the current traditional function page. The first navigation stack and the second navigation stack are independent of each other.

11. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-10.

12. A readable storage medium having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-10.