Travel itinerary generation method and device, computer equipment and storage medium

By displaying multiple travel items and matching them with travel itineraries, the problem of low generation efficiency in traditional methods is solved, achieving more efficient travel itinerary generation.

CN121526547APending Publication Date: 2026-02-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411105407.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

In traditional travel itinerary generation methods, users need to repeatedly input and query information multiple times when they do not have clear preferences, resulting in low generation efficiency.

Method used

By responding to the item information entry operation, multiple travel item items are displayed, and a travel itinerary is generated based on these items, including a travel itinerary description. This method uses existing travel items to accurately describe the user's intent and reduces repetitive input.

Benefits of technology

It improves the efficiency of travel itinerary generation, reduces the time spent on multiple round trips of input and query, and generates travel itineraries that match the user's intent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121526547A_ABST
    Figure CN121526547A_ABST
Patent Text Reader

Abstract

The invention relates to a travel itinerary generation method and device, computer equipment, a storage medium and a computer program product. The method comprises the steps that in response to an article information input operation, a plurality of travel article items are displayed, and each travel article item represents one travel article; in response to the trip generation triggering operation, displaying trip trips matched with the multiple trip item items; and in at least one travel item in the travel travel, travel description information is displayed, and the travel description information comprises at least one travel item item. By adopting the method, the travel itinerary generation efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for generating travel itineraries. Background Technology

[0002] With the development of computer technology, travel itinerary generation technology has emerged. Travel itinerary generation refers to the process of creating a detailed travel plan before a trip, including the destination, mode of transportation, time schedule, accommodation, activities, etc.

[0003] In traditional technologies, travel itineraries are generated by users actively entering their preferences into the application and searching for them. By repeatedly entering keywords, users gradually clarify their desired destinations and determine their final travel itinerary.

[0004] However, traditional methods can lead to multiple rounds of repetitive searches if users do not have specific preferences, resulting in low efficiency in generating travel itineraries. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the efficiency of travel itinerary generation in order to address the above-mentioned technical problems.

[0006] Firstly, this application provides a method for generating travel itineraries. The method includes:

[0007] In response to the item information entry operation, multiple travel item items are displayed, with each travel item item representing a travel item;

[0008] In response to the trip generation trigger operation, display the travel itinerary that matches the multiple travel items;

[0009] In at least one of the trip items in the trip itinerary, trip description information is displayed, and the trip description information includes at least one of the trip items.

[0010] Secondly, this application also provides a travel itinerary generation device. The device includes:

[0011] The item display module is used to respond to item information entry operations and display multiple travel item items, with each travel item item representing a travel item;

[0012] The travel itinerary display module is used to display the travel itinerary matching the multiple travel items in response to the itinerary generation trigger operation;

[0013] A description information display module is used to display trip description information in at least one trip item in the trip, the trip description information including at least one of the trip items.

[0014] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0015] In response to the item information entry operation, multiple travel item items are displayed, with each travel item item representing a travel item;

[0016] In response to the trip generation trigger operation, display the travel itinerary that matches the multiple travel items;

[0017] In at least one of the trip items in the trip itinerary, trip description information is displayed, and the trip description information includes at least one of the trip items.

[0018] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0019] In response to the item information entry operation, multiple travel item items are displayed, with each travel item item representing a travel item;

[0020] In response to the trip generation trigger operation, display the travel itinerary that matches the multiple travel items;

[0021] In at least one of the trip items in the trip itinerary, trip description information is displayed, and the trip description information includes at least one of the trip items.

[0022] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0023] In response to the item information entry operation, multiple travel item items are displayed, with each travel item item representing a travel item;

[0024] In response to the trip generation trigger operation, display the travel itinerary that matches the multiple travel items;

[0025] In at least one of the trip items in the trip itinerary, trip description information is displayed, and the trip description information includes at least one of the trip items.

[0026] The aforementioned travel itinerary generation method, apparatus, computer equipment, storage medium, and computer program product, in response to an item information input operation, display multiple travel item items and instruct the user to confirm the travel items. In response to an itinerary generation trigger operation, they display travel itineraries matching the multiple travel item items. They can accurately determine the travel itinerary by referring to the multiple travel item items. In at least one itinerary item, they display itinerary description information, which includes at least one travel item item. They can generate itinerary description information based on multiple travel item items. The entire process is based on item information input, using existing travel items to accurately describe the user's intent to retrieve results and generate a travel itinerary that matches the user. This solves the problem of traditional methods requiring multiple round trips for input and query, resulting in long retrieval times, and improves the efficiency of travel itinerary generation. Attached Figure Description

[0027] Figure 1 This is an application environment diagram of a travel itinerary generation method in one embodiment;

[0028] Figure 2 This is a flowchart illustrating the travel itinerary generation method in another embodiment;

[0029] Figure 3 This is a flowchart illustrating a travel itinerary generation method in one embodiment;

[0030] Figure 4 This is a schematic diagram of the camera access interface in one embodiment;

[0031] Figure 5 This is a schematic diagram showing multiple travel item items in one embodiment;

[0032] Figure 6 This is a schematic diagram of a travel itinerary in one embodiment;

[0033] Figure 7 This is a schematic diagram of a travel itinerary in another embodiment;

[0034] Figure 8 This is a schematic diagram showing multiple travel item items in another embodiment;

[0035] Figure 9 This is a schematic diagram showing multiple travel item items in yet another embodiment;

[0036] Figure 10 This is a schematic diagram showing multiple travel item items in another embodiment;

[0037] Figure 11 This is a schematic diagram of at least one itinerary subject item in one embodiment;

[0038] Figure 12 This is a schematic diagram of a travel itinerary in another embodiment;

[0039] Figure 13 This is a schematic diagram of a trigger control used to trigger a first trigger operation in one embodiment;

[0040] Figure 14 This is a schematic diagram of a trigger control used to trigger the first trigger operation in another embodiment;

[0041] Figure 15 This is a schematic diagram illustrating the saving of a process in one embodiment;

[0042] Figure 16 This is a schematic diagram illustrating the camera guidance process in one embodiment;

[0043] Figure 17 This is a schematic diagram illustrating the triggering operation of capturing the entry point in one embodiment;

[0044] Figure 18 This is a schematic diagram of the image parameter adjustment entry point in one embodiment;

[0045] Figure 19 This is a schematic diagram of a travel itinerary in one embodiment;

[0046] Figure 20 This is a schematic diagram illustrating the deletion of travel items in one embodiment;

[0047] Figure 21 This is a schematic diagram illustrating the uploading of travel items in one embodiment;

[0048] Figure 22 This is a schematic diagram illustrating the modification of travel time information in one embodiment;

[0049] Figure 23 This is a schematic diagram illustrating the reservation of a place of stay in one embodiment;

[0050] Figure 24 This is a schematic diagram illustrating user item recognition in one embodiment;

[0051] Figure 25 This is a schematic diagram illustrating the generation of a travel-themed inspiration list in one embodiment;

[0052] Figure 26 This is a schematic diagram of the trip adjustment and check in one embodiment;

[0053] Figure 27 This is a schematic diagram illustrating real-time guidance for the machine position in one embodiment;

[0054] Figure 28 This is a flowchart illustrating the core technology for generating a travel itinerary in one embodiment;

[0055] Figure 29 This is a schematic diagram of the process for generating a travel itinerary in one embodiment;

[0056] Figure 30 This is a flowchart illustrating the process of adjusting and implementing the itinerary in one embodiment;

[0057] Figure 31 This is a schematic diagram of the process of camera position-guided photo replication in one embodiment;

[0058] Figure 32 This is a structural block diagram of a travel itinerary generation device in one embodiment;

[0059] Figure 33 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0060] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0061] The travel itinerary generation method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the terminal responds to the item information input operation by displaying multiple travel item items, each representing a travel item. Responding to the trip generation trigger operation, it displays a travel itinerary matching the multiple travel item items. In at least one itinerary item, it displays itinerary description information, which includes at least one travel item item. The terminal can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc.

[0062] The travel itinerary generation method provided in this application embodiment can be applied to, for example, Figure 2In the application environment shown, terminal 202 communicates with server 204 via a network. A data storage system can store the data that server 204 needs to process. The data storage system can be integrated onto server 204 or located in the cloud or on another server. In response to an item information entry operation, terminal 202 displays multiple travel item items, each representing a travel item. In response to a trip generation trigger operation, it sends a trip generation instruction to server 104 based on the multiple travel item items. Server 104 returns a travel trip matching the multiple travel item items to terminal 202. Terminal 202 displays the travel trip matching the multiple travel item items. In at least one trip item within the travel trip, a trip description is displayed, which includes at least one travel item item.

[0063] The terminal 202 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 204 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0064] In one embodiment, such as Figure 3 As shown, a method for generating travel itineraries is provided. This method can be executed by a terminal or a server alone, or by both the terminal and the server collaboratively. In this embodiment, the method is described using a terminal as an example, and includes the following steps:

[0065] Step 302: In response to the item information entry operation, multiple travel item items are displayed, each representing a travel item.

[0066] The item information entry operation refers to the process of entering item information. The entered item information refers to the information about the travel items. Travel item items refer to the displayed content representing the travel items. Travel items refer to the items that need to be carried on a trip, such as identification documents, clothing, accessories, etc.

[0067] Specifically, when a user needs to generate a travel itinerary, an item information entry operation is triggered. In response, the terminal displays multiple travel item items, each representing a specific type of travel item. In practical applications, the terminal displays an application that enables travel itinerary generation. Users can interact with this application to generate their travel itinerary.

[0068] In a specific application, the application can be a browser, and the browser interface displays a camera access point. Users can access the terminal's camera by triggering an action on this access point. When a user accesses the terminal's camera through the browser, a travel itinerary generation entry point is displayed on the camera access interface. Responding to a trigger action on this entry point allows access to the travel itinerary generation function. For example... Figure 4 The diagram shows the camera access interface. The camera access interface displays an entry point for generating travel itineraries, an entry point for recognizing characters, an entry point for scanning QR codes, and an entry point for photo restoration. Responding to the trigger operation of the travel itinerary generation entry point, the travel itinerary generation function can be accessed. Based on this, the user initiates the operation of entering item information, and the terminal will display multiple travel item items.

[0069] In practical applications, multiple travel items are displayed according to preset categories, which can be configured according to the actual application scenario. For example, preset categories may include key items, clothing, accessories, etc. Travel items belonging to key items will be displayed together, travel items belonging to clothing will be displayed together, and travel items belonging to accessories will be displayed together.

[0070] Key items can be configured according to actual application scenarios. For example, key items may specifically include items representing identity information, such as ID cards and passports. For instance, a diagram showing multiple travel items could be displayed as follows: Figure 5 As shown, the preset categories can be key items, clothing, and accessories. The key items category displays travel items such as passports, ID cards, and cash. The accessories category displays travel items such as backpacks, sunglasses, headphone cases, and power banks. The clothing category displays travel items such as trousers, dresses, and coats.

[0071] Step 304: In response to the trip generation trigger operation, display the trip itinerary that matches multiple travel item items.

[0072] The trip generation trigger operation refers to the action that triggers the generation of a travel itinerary. A travel itinerary refers to the detailed plan and arrangements for a trip, including the destination, mode of transportation, accommodation, activities, etc. It is triggered by the trip generation trigger operation and is matched with multiple travel items. It can be understood that "matched with multiple travel items" here refers to a travel itinerary that matches the user's intent represented by multiple travel items.

[0073] Specifically, when multiple travel items are displayed, the terminal, in response to the trip generation trigger, will display travel itineraries that match the multiple travel items. In practical applications, when multiple travel items are displayed, the terminal, in response to the trip generation trigger, will analyze the multiple travel items to determine user preference characteristics, so as to generate and display matching travel itineraries for the user based on these user preference characteristics.

[0074] In practical applications, user preference features include at least one of the following: user fashion style preference features, user consumption preference features, user travel style preference features, and user travel season preference features. Among these, user fashion style preference features describe a user's fashion style, namely, their preference for clothing styles and color combinations. Therefore, user fashion style preferences can be obtained by identifying the styles (such as tops, pants, skirts, coats, etc.), colors (such as red, blue, green, etc.), and accessories (hats, glasses, watches, etc.) of clothing in travel items.

[0075] In a specific application, the terminal can extract the style and color features of clothing using a pre-trained convolutional neural network (CNN) from deep learning. This involves first building and training the CNN to recognize and extract clothing styles, colors, and accessories, and then performing style quantification. Specifically, by analyzing the extracted features, a user's fashion style preference feature is constructed, which can be a user fashion style preference vector. This vector represents the user's preferred style and color combinations of clothing in their travel items. The pre-trained CNN can be trained according to the actual application scenario.

[0076] Among these features, user consumption preference characteristics describe a user's consumption preferences, i.e., their level of spending. This can be determined by identifying brand logos on clothing and travel gear. Understandably, based on the identification of brand logos on clothing and travel gear, the terminal can calculate the average price of the brand indicated by the logo, and then use this average price to assess the user's level of spending. In a specific application, the brand logos on clothing and travel gear can be identified using object detection algorithms.

[0077] Among them, user travel style preference features are used to describe the user's preferred travel style. This can be obtained by using image processing and computer vision computing to identify and analyze travel equipment in travel items. For example, travel equipment can specifically include backpacks, cameras, tents, etc. By combining the quantity and type of travel equipment, the user's travel style preference features can be determined, which can be specifically outdoor adventure type, leisure and vacation type, etc.

[0078] Among these features, user travel season preference characteristics describe the user's preferred travel season, specifically at least one of spring, summer, autumn, and winter. This can be determined by identifying the season of clothing items or the season of images uploaded or taken by the user when initiating item information entry. In a specific application, time series analysis and natural language processing techniques can be used to identify the season of images uploaded or taken by the user when initiating item information entry. Understandably, given multiple season identification results, the user's travel season preference can be inferred by statistically analyzing their travel frequency and clothing preferences in different seasons.

[0079] Step 306: Display trip description information for at least one trip item in the trip itinerary. The trip description information includes at least one travel item.

[0080] The itinerary items refer to the specific activities or tasks arranged during the trip. Different itinerary items can be divided according to a preset itinerary division method. For example, different itinerary items can be divided by date. Or, different itinerary items can be divided by location. Itinerary description information refers to a detailed description of the itinerary items, which may include the purpose, time, location, and activity arrangements of the itinerary items. The itinerary item information includes at least one travel item.

[0081] Specifically, in at least one trip item within the travel itinerary, the terminal will display a trip description, which includes at least one travel item. In practical applications, different trip items can be divided by date. Taking five trip items as an example, the travel itinerary can be structured as follows: Figure 6 As shown, the system includes entry points for five itinerary items: Day 1, Day 2, Day 3, Day 4, and Day 5, as well as itinerary descriptions for Day 1 and Day 2. It should be noted that when there are many itinerary items, it's usually impossible to display all itinerary descriptions at once. In this case, users can use a swipe gesture to control the display of descriptions for undisplayed itinerary items. Additionally, users can control the display of itinerary descriptions for other itinerary items through the entry points for other itinerary items located above the description for Day 1. Furthermore, each itinerary description includes at least one travel item. Figure 6 The itinerary description for the first day includes travel items that serve as identification (such as...). Figure 6The image shows a person's ID card and items representing cash. The itinerary description for the second day includes items representing a backpack, sunglasses, trousers, and a jacket.

[0082] In practical applications, different itinerary items can be divided according to location. Taking five itinerary items as an example, a travel itinerary can be as follows: Figure 7 As shown, the system includes entry points for five trip items: Location 1, Location 2, Location 3, Location 4, and Location 5, as well as trip description information for Locations 1 and 2. It should be noted that when there are many trip items, it is usually impossible to display the trip description information for all trip items at once. In this case, users can control the display of trip description information for undisplayed trip items by triggering a swipe gesture. In addition, users can control the display of trip description information for other trip items through the entry points for other trip items located above the trip description information for Location 1.

[0083] The aforementioned travel itinerary generation method, in response to the item information entry operation, displays multiple travel item items and instructs the user to confirm the travel items. In response to the itinerary generation trigger operation, it displays travel itineraries matching the multiple travel item items, enabling accurate determination of the travel itinerary based on these multiple travel item items. At least one itinerary item in the itinerary displays itinerary description information, which includes at least one travel item item. Based on these multiple travel item items, it generates the itinerary description information. The entire process, based on item information entry, utilizes existing travel items to accurately describe the user's intent to retrieve results and generate a travel itinerary that matches the user. This solves the problem of traditional methods requiring multiple round trips for input and query, resulting in long retrieval times, and improves the efficiency of travel itinerary generation.

[0084] In one embodiment, in response to an item information entry operation, multiple travel item items are displayed, including:

[0085] In response to the item information entry operation, the item information collection area for entering item information is displayed;

[0086] In the item information collection area, images containing travel items collected in real time are displayed;

[0087] In response to the completion of item entry, multiple travel item items are displayed.

[0088] Specifically, in response to the item information entry operation, indicating that the terminal has started recording, the terminal will display the item information collection area for entry. The user only needs to place the travel item whose information needs to be entered within the scope of the item information collection area, and the terminal can collect it. At this time, in the item information collection area, the terminal will display the real-time captured image containing the travel item. Based on the image containing the travel item displayed in the item information collection area, the user can determine whether the travel item has been completely entered. If not, more travel items can be entered through the mobile terminal. When it is determined that the travel item has been completely entered and recording needs to be stopped, the user can initiate the item entry end operation. In response to the item entry end operation, the terminal will display multiple travel item items.

[0089] In practical applications, in response to the completion of item entry, the terminal generates an image containing the items based on the images of the travel items collected in real time during the entry process. Then, by analyzing the image containing the items, multiple travel items can be identified and displayed, with each travel item representing a different travel item.

[0090] In practical applications, the terminal displays a trigger control for initiating the item information entry operation. Users can trigger the item information entry operation by triggering the trigger control. In response to the item information entry operation, the terminal will display an item information collection area for entering item information. In the item information collection area, images containing travel items collected in real time will be displayed. When it is necessary to stop the entry, the user can trigger the item information entry end operation by triggering the trigger control again. In response to the item entry end operation triggered by the user, the terminal displays multiple travel item items.

[0091] In a specific application, such as Figure 8 As shown, the terminal displays a trigger control for initiating the item information entry operation. In response to the user's trigger operation on the trigger control, i.e., the item information entry operation, the terminal will display an item information collection area for entering item information. In the item information collection area, images containing travel items collected in real time will be displayed. When it is necessary to stop the entry, the user can initiate the trigger operation on the trigger control again, i.e., the item information entry end operation. In response to the user's triggered item entry end operation, the terminal displays multiple travel item items.

[0092] In this embodiment, in response to the item information entry operation, an item information collection area for entering item information is displayed. In the item information collection area, images containing travel items are displayed in real time. The item information collection area can guide the item information entry. In response to the item entry completion operation, multiple travel item items are displayed. Based on the identification of travel items, the system can provide an intuitive display of the identified travel items so that users can confirm the identified travel items.

[0093] In one embodiment, the travel itinerary generation method further includes:

[0094] When the item information collection area is displayed, an image upload portal for entering item information is displayed;

[0095] In response to a trigger operation on the image upload entry, display multiple locally stored images;

[0096] In response to a selection of at least one locally stored image, multiple travel item items are displayed.

[0097] Locally stored images refer to images stored locally on the terminal. For example, locally stored images could be images captured by the terminal's camera. Alternatively, locally stored images could be network images pre-cached locally on the terminal.

[0098] Specifically, in addition to displaying the item information collection area, the terminal also displays an image upload portal for entering item information. This portal guides users to upload locally stored images for item information entry. When a user needs to upload a locally stored image for item information entry, a trigger operation is activated at the image upload portal. In response to this operation, the terminal displays multiple locally stored images. The user can select to upload at least one locally stored image for item information entry. Upon selection of at least one locally stored image, the terminal displays multiple travel item items. It can be understood that the travel item represented by each item is contained within at least one locally stored image. In practical applications, the terminal analyzes at least one locally stored image to identify multiple travel items and display multiple travel item items, each representing a different travel item.

[0099] In specific applications, such as Figure 9 As shown, when the item information collection area is displayed, the terminal will display an image upload entry below the item information collection area. In response to triggering the image upload entry, the terminal will display multiple locally stored images, and the user can select to upload at least one locally stored image (e.g., ...). Figure 9(As shown, three images were selected) to enter item information. In response to the selection of at least one locally stored image, the terminal will display multiple travel item items.

[0100] In this embodiment, when the item information collection area is displayed, an image upload portal for entering item information is also displayed. This guides users to enter item information by uploading locally stored images. In response to a trigger operation on the image upload portal, multiple locally stored images are displayed, providing multiple locally stored images for the user to select as the basis for entering item information. Furthermore, after the user selects at least one locally stored image, multiple travel item items are displayed in response to the selection operation of at least one locally stored image. Based on the identification of travel items, this allows for an intuitive display of the identified travel items, enabling the user to confirm the identified travel items.

[0101] In one embodiment, the travel itinerary generation method further includes:

[0102] When the item information collection area is displayed, a query entry for historical collected data is shown.

[0103] In response to a trigger operation on the query entry, if at least one historical data point exists, display at least one historical data point.

[0104] In response to a selection action on any historically collected data, multiple travel item items are displayed.

[0105] Historical data refers to data containing items taken during the creation of a travel itinerary prior to the current trip's creation. For example, historical data could specifically refer to images containing items taken by the terminal. Or, historical data could specifically refer to video recordings containing items taken by the terminal.

[0106] Specifically, while displaying the item information collection area, the terminal also shows a query entry for historical data. This query entry guides users to directly select historical data for item information entry. When a user needs to directly select historical data for item information entry, a trigger operation is activated for the query entry. In response to this trigger operation, if at least one historical data point exists, the terminal will display at least one historical data point. The user can then select any historical data point for item information entry. In response to the selection of any historical data point, the terminal will display multiple travel item items.

[0107] Understandably, the travel item represented by the travel item item is included in the selected historical data. In practical applications, the terminal can identify multiple travel items and display multiple travel item items by analyzing the selected historical data, with each travel item item representing one type of travel item.

[0108] In specific applications, such as Figure 10 As shown, when the item information collection area is displayed, the terminal will display a query entry for historical collected data below the item information collection area. In response to a trigger operation on the query entry, if at least one historical collected data point exists, the terminal will display at least one historical collected data point (e.g., ...). Figure 10 The data shown includes historical data 1, historical data 2, historical data 3, and historical data 4. Users can select any historical data to enter item information. For example, if a user selects historical data 3, the terminal will display multiple travel item items in response to the selection operation of historical data 3.

[0109] In this embodiment, when the item information collection area is displayed, a query entry for historical collection data is shown. This guides the user to enter item information by selecting historical collection data. In response to the trigger operation of the query entry, if at least one historical collection data exists, at least one historical collection data is displayed. This provides at least one historical collection data for the user to select as the basis for entering item information. Furthermore, after the user selects any historical collection data, multiple travel item items are displayed in response to the selection operation of any historical collection data. Based on the identification of travel items, this embodiment enables an intuitive display of the identified travel items so that the user can confirm the identified travel items.

[0110] In one embodiment, the trip description information includes recommended trip elements that match at least one travel item, and the recommended trip elements include at least one of recommended travel destination or recommended travel time period.

[0111] Recommended itinerary elements refer to recommended items in the itinerary description that match at least one travel item. For example, a recommended itinerary element could specifically refer to a recommended item that matches the clothing item within the at least one travel item. For instance, the clothing item could specifically represent clothing types such as trousers, dresses, and coats.

[0112] The recommended itinerary elements include at least one of recommended travel destinations or recommended travel time periods. Recommended travel destinations refer to suitable travel destinations suggested based on factors such as personal interests, travel purpose, and seasonal characteristics. These destinations may be recommended due to their unique natural scenery, cultural heritage, leisure activities, special events, or other attractive features. For example, recommended travel destinations can be specific administrative regions or specific tourist attractions.

[0113] The recommended travel time period refers to the optimal time to visit a recommended destination based on factors such as season, weather, holidays, local activities, and peak tourist season. For example, the recommended travel time period can specifically include at least one of a recommended travel season or a recommended travel month. Furthermore, in addition to including at least one of a recommended travel season or a recommended travel month, the recommended travel time period can also include a recommended number of travel days, so that users can visit the recommended destination within the recommended travel season or recommended travel month for the recommended number of travel days.

[0114] Specifically, by analyzing at least one travel item, the terminal can generate recommended travel elements for the user that match at least one travel item. In other words, recommended travel elements are matched to the travel item it represents. It is understood that different travel items typically point to different recommended travel locations and recommended travel time periods, and the same travel item can point to at least two different recommended travel locations and recommended travel time periods.

[0115] In practical applications, by analyzing at least one travel item, user preference characteristics can be determined. Based on these characteristics, recommended itinerary elements matching the at least one travel item can then be identified. In one specific application, the terminal can analyze the clothing item within the at least one travel item to determine user preference characteristics. Based on these characteristics, recommended itinerary elements matching the clothing type represented by the clothing item can then be generated for the user.

[0116] In a specific application, the recommended travel destination in the recommended travel itinerary element refers to a travel destination that matches the clothing type represented by the clothing item. For example, a recommended travel destination can specifically refer to a location where it is suitable to wear the clothing type represented by the clothing item during the recommended travel time. For instance, if the clothing type represented by the clothing item is a jacket, the recommended travel destination could specifically refer to a location suitable for wearing a jacket during the recommended travel time. As another example, if the clothing type represented by the clothing item is short-sleeved shirts and skirts, the recommended travel destination could specifically refer to a location suitable for wearing short-sleeved shirts and skirts during the recommended travel time.

[0117] In a specific application, the recommended travel time period in the recommended itinerary element refers to the time period that matches the clothing type represented by the clothing item. For example, the recommended travel time period can specifically refer to the time period when it is appropriate to wear the clothing type represented by the clothing item at the recommended travel destination. For instance, when the clothing type represented by the clothing item is a jacket, the recommended travel time period could specifically refer to the time period at the recommended travel destination where it is appropriate to wear a jacket, such as spring, autumn, or the months of March, April, September, and October. As another example, when the clothing type represented by the clothing item is short-sleeved shirts and skirts, the recommended travel time period could specifically refer to the time period at the recommended travel destination where it is appropriate to wear short-sleeved shirts and skirts, such as summer or the months of July and August.

[0118] To further illustrate, when the clothing category for travel items refers to outerwear, if the recommended travel period is spring or autumn, the recommended travel destination refers to places suitable for wearing outerwear in spring or autumn, such as Yunnan. If the recommended travel period is winter, the recommended travel destination refers to places suitable for wearing outerwear in winter, such as Hainan. If the recommended travel destination is Yunnan, the recommended travel period refers to the time of year in Yunnan suitable for wearing outerwear, such as spring or autumn. If the recommended travel destination is Hainan, the recommended travel time refers to the time of year in Hainan suitable for wearing outerwear, such as winter.

[0119] Understandably, similar to how different clothing types typically point to different recommended travel locations and times, the same clothing type can point to different recommended travel locations and times. In this way, based on at least one travel item, existing travel items can be used to accurately provide a rich variety of recommended itinerary elements for users to refer to and choose from. In one embodiment, in response to an itinerary generation trigger operation, displaying travel itineraries matching multiple travel item items includes:

[0120] In response to the trip generation trigger, at least one trip theme item matching multiple travel item items is displayed; at the trip theme item, a trip summary and a travel effect image are displayed; the trip summary includes the trip theme, recommended travel destinations, and recommended travel time periods;

[0121] In response to a selection action for any trip topic, the corresponding travel itinerary for the selected trip topic is displayed.

[0122] The trip theme refers to the core concept or feature of a travel plan. It defines the main purpose and style of the trip, helping users stay focused when planning and executing their trips, ensuring the experience aligns with their personal interests and expectations. In this embodiment, the trip theme can be configured according to the actual application scenario. For example, specific trip themes could include luxury resort style, upscale urban experience style, historical and cultural experience style, backpacker adventure style, family travel style, relaxation and leisure style, and holiday fun style, etc.

[0123] The "Trip Theme" section displays the trip itinerary content that represents a trip theme matching multiple travel items. This section includes a trip summary and images showcasing the trip's effects. The trip summary provides a general overview of the trip, which may include the trip theme, the degree of matching with multiple travel items, recommended destinations, recommended travel time periods, and estimated cost. The matching degree indicates how well the trip matches the various travel items; a higher matching degree means the trip is more suitable for the user. The estimated cost is the estimated amount to be spent on the trip. The travel effect images are pre-generated preview images based on the landscape of the travel area, showcasing the trip's outcome or impact.

[0124] Specifically, when multiple travel items are displayed, the user can trigger a trip generation operation to generate a travel itinerary. In response, the terminal displays at least one trip theme item that matches the multiple travel items. This trip theme item includes a trip summary and a travel effect image. The trip summary includes the trip theme, recommended travel destinations, and recommended travel time periods. By browsing the trip summary, the user can quickly understand the corresponding travel itinerary. By browsing the travel effect image, the user can evaluate the travel experience and select a trip theme item based on their understanding of the trip and their evaluation of the travel experience. When the user selects any trip theme item, the terminal displays the corresponding travel itinerary for that selected trip theme item.

[0125] In practical applications, in response to a trip generation trigger, the terminal analyzes multiple travel item items to determine user preference characteristics. These user preference characteristics are then matched against the trip theme characteristics of multiple candidate trip topics to determine the matching degree between each candidate trip theme's characteristics and the user preference characteristics. Based on the matching degree, at least one trip topic matching the multiple travel item items is determined, and the trip topic items for that at least one trip topic are displayed. In a specific application, each trip topic has corresponding recommended travel locations and recommended travel time periods. The trip theme characteristics of a trip topic can specifically represent the trip characteristics of visiting the recommended travel location during the recommended travel time period.

[0126] In a specific application, when the recommended travel time period includes the recommended number of travel days, the recommended number of travel days can be obtained through statistical analysis of travel guide data crawled from travel websites, or it can be configured according to the actual application scenario. For example, based on travel guide data, the average travel time to the recommended travel destination during the recommended travel season or month within the recommended travel time period can be statistically analyzed, and this average travel time can be directly used as the recommended number of travel days. Alternatively, based on travel guide data, the mode of travel time to the recommended travel destination during the recommended travel season or month within the recommended travel time period can be statistically analyzed, and this mode of travel time can be directly used as the recommended number of travel days. In a specific application, after identifying at least one travel theme that matches multiple travel items, the terminal displays the travel theme items for each of the at least one travel theme in descending order of matching degree. That is, the travel theme items for travel themes with high matching degree with multiple travel items are displayed before the travel theme items for travel themes with low matching degree with multiple travel items. In this way, travel themes with high matching degree can be prioritized for recommendation to users, making it easier for users to choose a suitable travel theme based on the matching degree.

[0127] In a specific application, the trip topic features can be represented by a topic cluster model obtained through clustering. By applying the topic cluster model to user preference features, the membership degree of the relevant clusters to which the user belongs can be obtained. This membership degree can be used as the matching degree between the trip topic features of candidate trip topics and user preference features. It can be understood that the membership degree represents the degree of association between the user and each cluster; the higher the degree of association, the higher the membership degree, indicating a better match between the user and the cluster.

[0128] In a specific application, the generation process of topic cluster models for multiple candidate trip topics includes the following steps:

[0129] (1) Data preparation: Using web crawling tools, crawl the travel guide data information from travel websites, including the location of attractions, group photos of people at attractions, landscape photos without people, photo shooting time, guide upload time, introduction of attractions, introduction of food, transportation routes, accommodation information, weather information, popularity of attractions, etc.

[0130] (2) Image preprocessing: First, crop the photo to remove irrelevant background and cluttered elements. Then, apply image denoising, image enhancement, and image alignment operations (such as contrast and saturation adjustment) to improve the image recognition accuracy. At the same time, assign tags to the photo, such as "contains faces" or "pure landscape".

[0131] (3) Image key point detection: Use scene segmentation or semantic segmentation algorithms to identify scenic elements in the photo, such as buildings and natural landscapes. If the photo contains people, it is also necessary to use object detection algorithms to locate the people in the photo, analyze the people's expressions and body language, generate descriptive text based on the above analysis, and label the photo accordingly to facilitate subsequent data feature clustering analysis.

[0132] (4) Data cleaning and encoding: All acquired data are checked and missing values ​​are processed, and outliers are identified and processed to ensure that the data types of all features are suitable for clustering algorithms. For categorical variables (such as attraction preferences and food preferences), one-hot encoding is used to convert them into numerical form. For continuous variables (such as prices and attraction popularity), appropriate scaling or standardization is performed to ensure comparability between different features.

[0133] (5) Select and execute clustering algorithm: Choose a suitable clustering algorithm based on the characteristics of the data and the needs of the problem, such as K-means, hierarchical clustering, DBSCAN (Density-Based Spatial Clustering of Applications with Noise), etc. Use the elbow rule, silhouette coefficient or other evaluation methods to determine the optimal number of clusters, and apply the selected clustering algorithm to divide the data into multiple topic cluster models.

[0134] (6) Evaluate the model: During the training process, use metrics such as accuracy, recall, and F1 score (an indicator that measures the accuracy of a binary classification model) to measure the performance of the topic cluster model.

[0135] (7) Interpretation and application of clustering results: Summarize the features of the topic cluster models obtained by clustering. Each topic cluster model represents a specific travel style and preference.

[0136] In a specific application, taking a defined number of clusters of 7 as an example, the topic cluster model obtained after cluster analysis, the feature summary of the topic cluster model, and the example description are shown in Table 1.

[0137] Table 1

[0138]

[0139] In practical applications, taking the recommended travel time period, which includes the recommended travel season and the recommended number of travel days, as an example, at least one trip-related topic can be displayed as follows: Figure 11 As shown, the itinerary topic section displays a brief itinerary description (including relevance score, e.g., ...). Figure 11 As shown, leisure and relaxation tours with a 95% and 90% match rate are displayed before refined and relaxing tours with a 90% match rate, respectively. The tour theme (e.g., ...) Figure 11 The image shows leisure and relaxation tours and refined relaxation tours, recommended travel destinations, and recommended travel times (e.g., ...). Figure 11 The images show recommended travel destinations (5 days in spring, location A) and 6 days in autumn, location B (locations A and B refer to different destinations) and estimated travel costs (e.g., ...). Figure 11 The images shown are for trips under 5,000 yuan and under 10,000 yuan, along with travel effect images. Each trip topic typically includes multiple travel effect images. If only one travel effect image is displayed for a trip topic, users can preview the other images by swiping the screen.

[0140] Furthermore, such as Figure 11 As shown, when there are multiple trip topics, the terminal can usually only display a portion of them. For trip topics that are not currently displayed, their display can be controlled by swiping the terminal screen. There is an entry point to view the complete trip in the trip topic display; users can trigger the selection of the trip topic by initiating an action to view the complete trip entry point.

[0141] In practical applications, the terminal defines a set of recommended content for each trip topic, including information such as accommodation, transportation, price, and time. In response to the selection operation for any trip topic, the terminal uses a large language model to generate the corresponding travel itinerary for the selected trip topic based on the recommended content defined for the selected trip topic, and displays the corresponding travel itinerary for the selected trip topic.

[0142] In a specific application, the large language model can be configured according to the actual application scenario. Using the large language model, the recommended content defined for the selected itinerary topic can be extracted into categories such as "items to bring," "transportation," "accommodation information," and "renderings." By classifying the recommended content defined for the selected itinerary topic, the corresponding travel itinerary for the selected itinerary topic can be generated. For example, the displayed travel itinerary corresponding to the selected itinerary topic can be as follows: Figure 12 As shown, it includes four categories: "Items to Bring", "Transportation", "Accommodation Information", and "Renderings".

[0143] In this embodiment, in response to the trip generation trigger operation, at least one trip theme item matching multiple travel items is displayed, providing at least one trip theme item for the user to select. By displaying a trip summary and travel effect image that includes the trip theme, recommended travel destination, and recommended travel time period at the trip theme item, the user can easily evaluate the selected trip theme item using the trip summary and travel effect image, which is conducive to making a choice that matches the user's intention. Furthermore, in response to the selection operation of any trip theme item, the corresponding travel itinerary for the selected trip theme item is displayed. The entire process can guide the user to select a travel itinerary that matches their intention based on the given trip theme items, which helps to improve the efficiency of trip itinerary generation.

[0144] In one embodiment, the trip generation triggering operation is a first triggering operation that characterizes the direct generation of a trip; in response to the trip generation triggering operation, displaying at least one trip topic item matching multiple travel item items includes:

[0145] In response to the first triggering operation, at least one trip topic item matching multiple travel item items is displayed; at the trip topic item, a trip summary and a travel effect image matching the travel clothing item among the multiple travel item items are displayed.

[0146] Specifically, when the trip generation trigger operation is the first trigger operation that represents the direct generation of the trip, the terminal responds to the first trigger operation and directly displays at least one trip theme item that matches multiple travel item items. At the trip theme item, a trip introduction and a travel effect image that matches the travel clothing item among the multiple travel item items are displayed. That is, the travel effect image is generated based on the travel clothing represented by the travel clothing item.

[0147] Specifically, the travel effect image is generated based on the travel clothing item, meaning that in travel effect images containing people and scenery, the people are wearing the user's travel clothing, but their faces are generated by AI (Artificial Intelligence). It should be noted that faces can also be generated based on the user's travel clothing. The scenery is generated by combining platform travel data.

[0148] In practical applications, when displaying multiple travel items, the terminal will show a trigger control to initiate the first trigger action. The user can then initiate the first trigger action by targeting this control. In a specific application, the trigger control for initiating the first trigger action can take the form of... Figure 13 As shown, located in the lower left corner of the displayed travel items, the user is prompted to generate a trip theme item by clicking "Generate Directly".

[0149] In this embodiment, in response to the trip generation trigger operation, at least one trip theme item matching multiple travel item items is displayed, providing at least one trip theme item for the user to select. By displaying a trip summary and travel effect image at the trip theme item, the user can easily evaluate the selected trip theme item using the trip summary and travel effect image matching the travel clothing item among the multiple travel item items, which is conducive to making a selection that conforms to the user's intention.

[0150] Understandably, unlike traditional methods where users can only judge whether a destination is suitable for them by comparing and referencing other people's renderings multiple times, which cannot be presented intuitively and leads to long travel time and low efficiency in generating travel itineraries, this embodiment combines the user's travel clothing to generate travel effect images, which is conducive to intuitively inspiring users' travel itinerary ideas and making it easier for users to intuitively judge the travel effect.

[0151] In one embodiment, the trip generation triggering operation is a second triggering operation characterizing the generation of a trip by combining facial images; in response to the trip generation triggering operation, displaying at least one trip topic item matching multiple travel item items includes:

[0152] In response to the second trigger operation, the facial image upload area is displayed;

[0153] In response to a facial image upload operation triggered in the facial image upload area, at least one trip topic item matching multiple travel item items is displayed; at the trip topic item, a trip summary and a travel effect image matching the uploaded facial image and the travel clothing item among the multiple travel item items are displayed.

[0154] Specifically, when the trip generation trigger operation is a second trigger operation representing the generation of a trip by combining facial images, the terminal responds to the second trigger operation by displaying a facial image upload area to instruct the user to upload a facial image. In response to the facial image upload operation triggered in the facial image upload area, the terminal displays at least one trip topic item that matches the travel items. At the trip topic item, a trip summary and a travel effect image that matches the uploaded facial image and the travel clothing item among the multiple travel items are displayed. That is, the travel effect image is generated based on the travel clothing represented by the travel clothing item and the uploaded facial image.

[0155] In practical applications, travel effect images contain people and scenery. The facial information of the people is basically similar to the user's facial features, and they are wearing the user's travel clothing. Travel effect images generated in this way can allow users to more intuitively feel the effect of travel photography.

[0156] In a specific application, travel effect images can be generated as follows: First, the terminal selects multiple landscape images obtained from website crawlers based on factors such as image quality, resolution, composition, and color, combined with user preference features. Computer vision techniques (such as SIFT (Scale-invariant feature transform) and SURF (Speeded Up Robust Features)) are used to extract key feature points from the landscape images. The same feature extraction is then performed on the user's uploaded facial image and images representing clothing from multiple travel item categories. These features are matched with the features of the selected landscape images. Combined with a large language model, image registration techniques and image fusion algorithms (such as weighted averaging and multi-scale fusion) are applied to intelligently fuse the landscape images with the user's face and clothing, generating a brand-new travel effect image that intuitively inspires the user's travel ideas.

[0157] In practical applications, when displaying multiple travel items, the terminal will show a trigger control to initiate a second trigger operation. The user can then initiate a trigger operation on this control to activate the second trigger operation. In a specific application, the trigger control used to trigger the first trigger operation can take the form of... Figure 14 As shown, located in the lower right corner of the displayed travel items, users are prompted to generate a trip theme item by "uploading a facial image and regenerating".

[0158] In this embodiment, in response to the trip generation trigger operation, at least one trip theme item matching multiple travel item items is displayed, providing at least one trip theme item for the user to select. By displaying a trip summary and travel effect image at the trip theme item, the user can easily evaluate the selected trip theme item using the trip summary and the travel effect image matching the travel clothing item and the uploaded facial image among the multiple travel item items, which is conducive to making a selection that conforms to the user's intention.

[0159] Understandably, unlike traditional methods where users can only judge whether a destination is suitable for them by comparing and referencing other people's renderings multiple times, which cannot be presented intuitively and leads to long travel itinerary generation time and low efficiency, this embodiment combines the user's travel clothing and uploaded facial image to generate travel effect image, which is conducive to intuitively inspiring users' travel itinerary ideas and making it easier for users to intuitively judge the travel effect.

[0160] In one embodiment, the travel itinerary generation method further includes:

[0161] When a trip is displayed, in response to a trip save operation for the trip, a saved trip item is displayed, at which the trip topic and a thumbnail of at least one image from the trip item are displayed.

[0162] Specifically, when a travel itinerary is displayed, if a user needs to save the itinerary, they can initiate a save operation. In response to this operation, the terminal will display the saved itinerary item, which includes the itinerary title and thumbnails of at least one image from the itinerary item. In specific applications, if at least one image from the itinerary item is a travel effect image, then a thumbnail of that image will be displayed.

[0163] In specific applications, such as Figure 15 As shown, when the travel itinerary is displayed, the terminal will show a travel itinerary save control (such as...). Figure 15 The image shows "Save this trip". If a user needs to save their trip, they can trigger a save control. The terminal responds to this trigger by displaying the "Save Trip" item, which shows the trip's theme (e.g., ...). Figure 15 The image shown is a thumbnail of an image from a "relaxation tour" and at least one of the itinerary items.

[0164] In this embodiment, when the travel itinerary is displayed, in response to the trip saving operation for the travel itinerary, the saved trip item is displayed, which enables the saving of the travel itinerary. At the saved trip item, the trip theme and thumbnails of at least one trip item are displayed, which allows users to quickly view the key information of the travel itinerary.

[0165] In one embodiment, the travel itinerary generation method further includes:

[0166] When the travel itinerary is displayed and the user is in the travel effect image of the travel location, a shooting guide entry is displayed;

[0167] In response to a trigger operation on the shooting guide entrance, the line image shooting area is displayed;

[0168] In response to the travel image capture operation, display the captured travel image.

[0169] Specifically, when the travel itinerary is displayed and the user is in a location included in the travel effect image within the travel itinerary, the terminal will display a shooting guide entry to instruct the user to take a picture at that location. When the user wants to take a picture at that location, they can trigger an operation on the shooting guide entry. In response to the trigger operation, the terminal will display the travel image shooting area to instruct the user to take a picture. In response to the user's travel image shooting operation, the terminal will display the captured travel image.

[0170] In specific applications, when the travel itinerary is displayed, the terminal can obtain location information and determine whether the user is in the travel location included in the travel effect image based on the location information. When the user is in the travel location included in the travel effect image, a shooting guide entry is displayed to guide the user to take a photo.

[0171] In this embodiment, when the user is in the middle of a trip and the travel effect image includes the travel location, a shooting guidance entry is displayed. When the user triggers a trigger operation for the shooting guidance entry, the travel image shooting area is displayed in response to the trigger operation for the shooting guidance entry. In response to the travel image shooting operation, the captured travel image is displayed, which can realize the shooting guidance for the user at the travel location.

[0172] In one embodiment, the travel itinerary generation method further includes:

[0173] When the travel image capture area is displayed, if the camera position indicated by the travel image capture area is not a fixed camera position at the travel location, a camera position guidance prompt will be displayed; the camera position guidance prompt is used to indicate the camera position indicated by the travel image capture area.

[0174] In response to camera position adjustment operations, if the camera position indicated in the travel image shooting area is a fixed camera position, a prompt indicating that the camera position adjustment is complete will be displayed.

[0175] Among them, a fixed shooting position refers to a shooting position that captures images of the travel experience.

[0176] Specifically, when the travel image shooting area is displayed, if the shooting position indicated by the travel image shooting area is not a fixed shooting position at the travel location, the terminal will display a shooting position guidance prompt. This shooting position guidance prompt is used to instruct the user to adjust the shooting position indicated by the travel image shooting area. In response to the user's shooting position adjustment operation, the terminal will determine in real time whether the shooting position indicated by the travel image shooting area is a fixed shooting position. If the shooting position indicated by the travel image shooting area is a fixed shooting position, the terminal will display a shooting position adjustment completion prompt so that the user can take pictures.

[0177] It is understandable that when a user adjusts the camera position, the camera position guidance prompt displayed on the terminal changes according to the camera position indicated by the travel image shooting area. In other words, the camera position guidance prompt gradually guides the camera position indicated by the travel image shooting area towards a fixed camera position.

[0178] In specific applications, such as Figure 16 As shown, in response to the trigger operation of the shooting guidance entry, the terminal will display a camera position guidance photo confirmation prompt (such as...). Figure 16 The image shown is titled "AI-guided camera shooting." This prompts the user to confirm whether they need to enable AI-guided camera shooting. Only after the user selects to enable AI-guided camera shooting will the terminal display the shooting area. If the shooting location indicated by the shooting area is not a fixed shooting location at the travel destination, a shooting location guidance prompt will be displayed. In response to the user's shooting location adjustment operation, the terminal will determine in real time whether the shooting location indicated by the shooting area is a fixed shooting location. If the shooting location indicated by the shooting area is a fixed shooting location, the terminal will display a shooting location adjustment completion prompt so that the user can take the picture.

[0179] In specific applications, the real-time camera positioning guidance process can be as follows: (1) Feature extraction: Extract the camera position features of the generated travel effect image, such as scene structure, lighting conditions, angle, etc. (2) Real-time video processing: Use WebRTC (Web Real-Time Communication) or the API (interface) provided by the operating system to access the user's camera and obtain the real-time video stream of the camera. Process the real-time video stream, extract each frame, and use feature matching algorithms (such as SIFT, SURF, etc.) to find the correspondence between the current video frame and the travel effect image. (3) Calculate the transformation matrix: Based on the feature matching results, calculate the transformation matrix from the travel effect image to the current video frame. This transformation matrix describes the difference in camera position and orientation. According to the transformation matrix, calculate the specific amount by which the user needs to move the camera or change the angle, and display the corresponding camera position guidance prompts on the terminal, such as arrow indicators, distance estimation, etc., to help the user adjust the camera position. (4) Real-time feedback loop: The user can see the travel effect image, real-time video stream and camera position guidance prompts at the same time by manipulating the buttons. Based on user adjustments, the camera position guidance prompts are updated in real time, and the video stream is continuously monitored and the transformation matrix is ​​updated.

[0180] In this embodiment, when the travel image shooting area is displayed, if the camera position indicated by the travel image shooting area is not a fixed camera position at the travel location, a camera position guidance prompt is displayed. This enables the camera position indicated by the travel image shooting area to be adjusted. Furthermore, in response to the camera position adjustment operation, if the camera position indicated by the travel image shooting area is a fixed camera position, a camera position adjustment completion prompt is displayed to complete the adjustment of the camera position, so as to obtain a shooting image that is similar to the travel effect image.

[0181] In one embodiment, the travel itinerary generation method further includes:

[0182] The photo guide entrance includes thumbnails of images showing the travel experience;

[0183] In response to the selection of a thumbnail for any travel effect image, a trigger action is initiated for the shooting guide entrance.

[0184] Specifically, the shooting guidance entry point includes thumbnails of travel effect images. In response to the selection of any thumbnail of the travel effect image, the terminal will trigger an operation on the shooting guidance entry point. In practical applications, the shooting guidance entry point also includes guidance prompts to indicate that the camera position of the thumbnail has been identified and shooting can proceed.

[0185] In specific applications, such as Figure 17As shown, the shooting guidance entry includes three thumbnails of travel effect images. When the user is at a travel location included in the travel effect image during their trip, and the camera position of the second thumbnail is recognized, a guidance prompt (such as...) will be displayed above the second thumbnail. Figure 17 The message displayed is "Camera detected 50 meters away, start taking pictures now!" In response to selecting the second thumbnail, the terminal triggers a shooting guidance entry. In this case, the fixed shooting position refers to the position that captures the travel effect image indicated by the second thumbnail. It's understandable that if the user selects any thumbnail other than the second one, the terminal will also trigger a shooting guidance entry. In this case, the fixed shooting position refers to the position that captures the travel effect image indicated by the selected thumbnail.

[0186] In this embodiment, by displaying a thumbnail of the shooting effect image at the shooting guidance entrance, users can intuitively feel the shooting effect through the thumbnail, so that users can quickly evaluate whether to take a picture, which helps to improve the shooting efficiency of users at the travel location.

[0187] In one embodiment, the travel itinerary generation method further includes:

[0188] When displaying captured travel images, an image parameter adjustment entry is displayed;

[0189] In response to a trigger operation on the image parameter adjustment entry, the travel image is corrected according to the image parameters of the travel effect image containing the travel location, and the corrected travel image is displayed.

[0190] Specifically, when displaying captured travel images, the terminal will show an image parameter adjustment entry. This entry instructs the user to adjust the captured travel image using image parameters that include the travel effect image of the travel location. When the user needs to adjust the captured travel image, they can trigger an operation targeting the image parameter adjustment entry. In response to this operation, the terminal will correct the travel image according to the image parameters of the travel effect image including the travel location and display the corrected travel image.

[0191] In practical applications, the displayed image parameter adjustment inputs can be as follows: Figure 18 As shown, located in the upper right corner of the captured travel image is the "One-click use of the same parameters" button. When a user needs to adjust the captured travel image, they can trigger an operation targeting the image parameter adjustment entry. In response to this operation, the terminal will correct the travel image according to the image parameters of the travel effect image including the travel location, and display the corrected travel image. Furthermore, as... Figure 18As shown, the terminal also displays a "Save Image" control, which allows users to save the corrected travel image by triggering the "Save Image" control.

[0192] In specific applications, the method of correcting travel images according to the image parameters of travel effect images containing travel locations is as follows: (1) Source parameter analysis: Analyze the parameters of travel effect images containing travel locations, including color mode (RGB / CMYK), resolution, size, exposure, contrast, saturation, hue, white balance, cropping ratio, composition rules (such as the rule of thirds), etc., and use computer vision algorithms to extract feature points and descriptors of the two images. (2) Feature matching and transformation calculation: Use feature matching algorithms (such as FLANN (functional link neural networks) etc.) to find matching key points between travel effect images containing travel locations and captured travel images. Based on the matching key points, use RANSAC (Random Sample Consensus) or other robust estimation methods to calculate the transformation matrix from travel effect images containing travel locations to captured travel images. (3) Style transfer and parameter application: Use the calculated transformation matrix to transform the captured travel images to match the perspective and composition of travel effect images containing travel locations. Based on the parameters (such as exposure, contrast, saturation, etc.) of the travel effect image containing the travel location, the captured travel image is adjusted using image processing algorithms (such as histogram equalization, contrast stretching, etc.).

[0193] In this embodiment, when displaying the captured travel image, an image parameter adjustment entry is displayed, which can guide the correction of the captured travel image. In response to the trigger operation of the image parameter adjustment entry, the travel image can be corrected according to the image parameters of the travel effect image containing the travel location, and the corrected travel image can be displayed, thereby realizing the rapid correction of the captured travel image and making the captured travel image more consistent with the travel effect image containing the travel location.

[0194] In one embodiment, the travel itinerary generation method further includes:

[0195] In the travel itinerary, at least one itinerary item is displayed in the order of the itinerary;

[0196] In response to an operation to adjust the order of at least one trip item, display the at least one trip item after the adjustment according to the trip order adjustment operation.

[0197] Specifically, in the travel itinerary, at least one itinerary item is displayed in the order of the itinerary. Users can adjust the order of at least one itinerary item. In response to the user's operation to adjust the order of at least one itinerary item, the terminal will display at least one itinerary item after the adjustment operation.

[0198] In practical applications, taking the division of different itinerary items according to the number of items mentioned as an example, when at least one itinerary item has five items, a part of the travel itinerary can be divided as follows: Figure 19 As shown, at least one itinerary item is displayed in the order of the itinerary. If a user wants to move an itinerary item from the second day to the third day, they can drag and drop the itinerary item from the second day to the position of the itinerary item from the third day.

[0199] In this embodiment, users can optimize their travel itinerary by adjusting the order of their trips.

[0200] In one embodiment, the travel itinerary generation method further includes:

[0201] If the trip description information contains at least one travel item, in response to a deletion operation for at least one travel item, the travel item indicated by the deletion operation is canceled from display.

[0202] Specifically, if the trip description information includes at least one travel item, the user can delete the displayed travel item. In response to the user's deletion operation for at least one travel item, the terminal will cancel the display of the travel item indicated by the deletion operation.

[0203] In specific applications, such as Figure 20 As shown, when the trip description information includes at least one travel item, the terminal displays a delete button for each of the at least one travel item (e.g., ...). Figure 20 As shown in "x"), users can trigger the delete button to delete the corresponding travel item. In response to the trigger operation of the delete button, the terminal will cancel the display of the travel item indicated by the delete button.

[0204] In this embodiment, users can optimize their travel itinerary by adjusting the items they bring to their trip.

[0205] In one embodiment, the travel itinerary generation method further includes:

[0206] If the trip description information includes at least one travel item, an entry point for adding travel items will be displayed;

[0207] In response to a trigger action that adds an entry point for travel items, an area for uploading item images for adding travel items is displayed;

[0208] In response to an item image upload operation triggered in the item image upload area, display trip description information including the travel item indicated by the item image upload operation and at least one travel item.

[0209] Specifically, when the trip description information includes at least one travel item, the terminal displays an entry point for adding travel items. This entry point guides the user to add travel items. In response to the user's triggering operation at the entry point, the terminal displays an image upload area for adding travel items. The user can select a locally stored image to upload in the image upload area. In response to the user's image upload operation in the image upload area, the terminal identifies the travel item indicated by the image upload operation, determines the travel item indicated by the image upload operation based on the travel item, and displays trip description information that includes the travel item indicated by the image upload operation and at least one travel item.

[0210] In specific applications, such as Figure 21 As shown, taking the item indicated by the item image upload operation as a toy dog ​​as an example, when the trip description information includes item 1 (representing ID card) and item 2 (representing cash), the terminal displays an entry point for adding items. This entry point guides the user to add items. In response to the user's triggering operation at the entry point, the terminal displays an image upload area for adding items. The user can select a locally stored image containing the toy dog ​​to upload. In response to the user's image upload operation in the image upload area, the terminal identifies the item indicated by the image upload operation as the toy dog, determines the item indicated by the image upload operation based on the item, and displays the item indicated by the image upload operation (i.e., the toy dog). Figure 21 The itinerary description information for the toy dog's travel items 3), 1), and 2).

[0211] In this embodiment, users can supplement their travel items by adding travel items, thereby improving their travel itinerary.

[0212] In one embodiment, the travel itinerary generation method further includes:

[0213] The itinerary description information includes at least one item status label, which is used to indicate the preparations required to confirm the itinerary description information.

[0214] When preparations are complete, the status label indicating the preparations is displayed as a label representing the prepared state.

[0215] Preparations refer to the items that need to be prepared when traveling. For example, preparations may include items to bring, transportation to book, and accommodation to book.

[0216] Specifically, the itinerary description information includes at least one item status label. The item status label is used to indicate the preparation items indicated by the itinerary description information. If the preparation items are not completed, the item status label indicating the preparation items is displayed as a label indicating an unprepared state. If the preparation items are completed, the item status label indicating the preparation items is displayed as a label indicating a prepared state.

[0217] In this embodiment, by displaying an item status label in the trip description information, the user can be instructed to confirm the preparation items indicated in the trip description information, so as to avoid omissions in preparation.

[0218] In one embodiment, the travel itinerary generation method further includes:

[0219] If the trip description information includes transportation recommendations, in response to any modification to the travel time information in the transportation recommendations, the transportation recommendations generated based on the modified travel time information will be displayed.

[0220] Specifically, the trip description information may include transportation recommendations, which are used to suggest modes of transportation and travel times. If the user needs to modify the travel time information in the transportation recommendations, i.e., select another date to travel, the terminal will respond to the modification operation of the travel time information in the transportation recommendations and display transportation recommendations generated based on the modified travel time information.

[0221] In specific applications, when the trip description includes transportation recommendations, the terminal displays travel time information in the form of buttons. Clicking the buttons allows users to select different dates, and the corresponding travel time information is automatically updated. In a specific application, such as... Figure 22 As shown, taking flight recommendations as an example, the travel time information in the flight recommendations can be updated by selecting other dates.

[0222] In this embodiment, users can optimize their travel itinerary by changing their travel time information.

[0223] In one embodiment, the travel itinerary generation method further includes:

[0224] The transportation recommendations include information on recommended bus routes and a booking portal for those routes.

[0225] In response to a trigger action on the recommended flight booking entry, the recommended flight booking area is displayed;

[0226] In response to a recommended flight booking operation triggered in the recommended flight booking area, a status label is displayed indicating the preparation items for confirming the transportation travel recommendation information, which is a label indicating that the preparation status is complete.

[0227] Specifically, the transportation recommendation information includes recommended bus schedules and a booking portal. Users can initiate a booking process by targeting the booking portal. In response to the booking portal, the terminal will display a booking area. In response to a booking action triggered within the booking area, the terminal will display a status label indicating the preparation steps required by the transportation recommendation information. A label indicating a ready status means that the trip booking has been completed.

[0228] In this embodiment, users can book transportation schedules quickly and efficiently, thus improving their travel plans.

[0229] In one embodiment, the travel itinerary generation method further includes:

[0230] If the itinerary description includes accommodation recommendations, in response to any modification to the check-in time information in the accommodation recommendations, the accommodation recommendations generated based on the modified check-in time information will be displayed.

[0231] Specifically, the itinerary description information may include accommodation recommendations, which are used to recommend places to stay, check-in dates, etc. If the user needs to modify the check-in date information in the accommodation recommendations, i.e., select a different date to check in, the terminal will respond to the modification operation of the check-in date information in the accommodation recommendations and display accommodation recommendations generated based on the modified check-in date information.

[0232] In practical applications, when the itinerary description includes accommodation recommendations, the terminal displays check-in time information in the form of buttons. By clicking the buttons, users can select other dates, and the corresponding check-in time information will be automatically updated.

[0233] In this embodiment, users can optimize their travel itinerary by changing their check-in time information.

[0234] In one embodiment, the travel itinerary generation method further includes:

[0235] The accommodation recommendations include information on recommended accommodations and booking portals for those accommodations.

[0236] In response to a trigger action targeting the reservation entrance at the check-in location, display the check-in reservation area;

[0237] In response to a reservation operation triggered in the reservation area of ​​the accommodation, a status label is displayed indicating the preparations required to confirm the accommodation recommendation information. This label represents the prepared status.

[0238] Specifically, the accommodation recommendation information includes recommended accommodation information and accommodation reservation portals. Users can initiate a trigger operation targeting the accommodation reservation portal to gradually complete the accommodation reservation. In response to the trigger operation targeting the accommodation reservation portal, the terminal will display the accommodation reservation area. In response to the accommodation reservation operation triggered in the accommodation reservation area, the terminal will display an item status label indicating the preparation items indicated by the accommodation recommendation information. The label indicating the prepared status means that the travel accommodation has been reserved.

[0239] In specific applications, such as Figure 23 As shown, the accommodation recommendation information includes recommended accommodation information (such as...). Figure 23 The image shows "Hotel X") and the booking entry point for the check-in location. When a user initiates a trigger action targeting the booking entry point, the terminal responds by displaying the check-in location booking area. This area displays the check-in time, hotel, and price (e.g., check-in time, hotel, price). Figure 23 The system displays booking information such as "starting from XXX yuan," and allows users to view room types. In response to a booking operation triggered in the accommodation booking area, the terminal displays a status label indicating the preparation steps for confirming the accommodation recommendation information. This label signifies that the accommodation has been booked. The accommodation booking area displays booking information provided by a third-party platform; that is, the booking information needs to be retrieved from the third-party platform.

[0240] In this embodiment, this method enables users to quickly book accommodations and optimize their travel itinerary.

[0241] In one embodiment, the travel itinerary generation method further includes:

[0242] If the trip description information contains at least one trip effect image, in response to an image deletion operation for any of the at least one trip effect image, the trip effect image indicated by the image deletion operation is canceled from display.

[0243] Specifically, if the trip description information contains at least one travel effect image, the user can delete any one of the displayed at least one travel effect images. In response to the image deletion operation for any one of the at least one travel effect images, the terminal will cancel the display of the travel effect image indicated by the image deletion operation. If there is a travel effect image after the travel effect image indicated by the image deletion operation, the travel effect image located after the travel effect image indicated by the image deletion operation will be moved forward for display.

[0244] In a specific application, taking a trip description that contains three travel effect images, and the deleted one being the second travel effect image, in response to the image deletion operation on the second travel effect image, the terminal will cancel the display of the second travel effect image and move the third travel effect image, which is located after the second travel effect image, to the front of the display.

[0245] In this embodiment, users can edit the travel effect image in this way to improve their travel itinerary.

[0246] In one embodiment, the method for generating travel itineraries according to this application is used as an example to illustrate the method for generating travel itineraries according to this application.

[0247] The inventors argue that in traditional travel planning, users need to actively input their preferences and search for information to gradually clarify their desired destinations. However, if users lack clear preferences, this leads to multiple rounds of repetitive searching, resulting in low efficiency. Furthermore, during the search process, users only see information posted by others, making it difficult to intuitively assess whether a place suits them, creating a discrepancy similar to the difference between a buyer's and seller's photos. Taking traditional travel planning in a browser as an example, a user might love a white dress but not know where to take good photos. They would manually enter keywords like "where to go with a white dress" into the browser's search box, view other people's photos of beautiful scenery, and then imagine and compare their dress with the actual destination to predict its suitability. If "Dali" is determined to be a suitable destination, the user would need to return to the browser and search for "Dali travel guide" for more comprehensive and detailed information to complete the entire itinerary. This search method for travel planning is lengthy, requiring users to repeatedly input keywords, and fails to help them clearly describe their intentions. In addition, users can only predict whether a scenic spot is suitable for them by comparing and referring to other people's renderings multiple times, which cannot be presented intuitively, resulting in long processing time and low operation efficiency.

[0248] Based on this, this application provides a travel itinerary generation method. It is grounded in image recognition, combining large language models and AI-powered intelligent image generation capabilities to identify features such as the user's clothing. By combining the user's real face and clothing, it generates travel effect images, solving the problems of traditional methods that can only provide reference images from others and cannot intuitively assess the suitability of attractions. Simultaneously, by incorporating the characteristics of the user's clothing, it can more accurately describe the user's intent to retrieve results and intelligently generate a more complete travel itinerary tailored to the user. This solves the time-consuming problem of existing technologies requiring multiple rounds of input queries to retrieve single results, helping users to create ideal travel plans more efficiently and accurately. Furthermore, by combining the travel effect images, it guides users to take photos at real attraction locations and replicates the image editing parameters with a single click, achieving high-fidelity "buyer's show" restoration and ultimately obtaining satisfactory travel photos.

[0249] In one embodiment, the travel itinerary generation method of this application, when applied to tourism itinerary generation, specifically includes the following aspects:

[0250] The first step is to generate a topic cluster model and analyze the user's travel preference characteristics, i.e., user preference characteristics.

[0251] Specifically, clustering analysis algorithms can be used to analyze the platform's tourism database from recent years to generate different thematic cluster models. Then, users' personal belongings can be scanned with cameras to identify key elements. Using big data analytics, user travel preference characteristics can be analyzed based on these item elements.

[0252] In practical applications, a user's fashion style can be measured by identifying the style and color of their clothing and accessories; their spending level can be analyzed by identifying the brands of their clothing and travel gear; their travel style preferences can be assessed by identifying the quantity and type of travel gear and location information in photos; and their travel season preferences can be inferred by analyzing the timestamps of photos and seasonal clothing. After data integration, the user's travel preference characteristics can be obtained.

[0253] Secondly, fuzzy clustering can be used to apply the trained topic cluster model to the user's travel preference features, obtaining the membership degree of the relevant cluster to which the user belongs. Each topic cluster model has corresponding hotel and transportation products. Combining the membership degree, weighted recommendations can be made for these products, generating a complete travel list for the user.

[0254] Secondly, high-quality images from these related clusters are combined with user facial images and real clothing to create AI-generated images, providing users with multiple themed lists and sorting options featuring realistic effect images (i.e., travel-looking images), more intuitively inspiring their travel itinerary ideas. Users can choose to save a specific itinerary and refine it to achieve a satisfactory final arrangement. Before traveling, users can also check their to-do list against the itinerary.

[0255] Finally, when users actually arrive at the scenic area shown in the travel effect image, they can turn on their camera, access the effect image analysis, and perform camera positioning calibration. AI combines the camera's focal length, position, angle, and the positions of people, objects, and other elements in the frame to guide users in adjusting their camera position in real time. After taking the photos, users can choose to use the same parameters as the travel effect image to generate a satisfactory travel photography work with a single click.

[0256] In a specific application, the travel itinerary generation method of this application is applied to tourism itinerary generation, specifically including the following aspects:

[0257] The first is user item identification.

[0258] like Figure 24 As shown, users can open the application, activate the camera function, and long-press the record button to dynamically record their existing travel items (such as...). Figure 24 The items shown include a data card, a passport of a certain country, an ID card of a certain country, cash, and an earphone case, etc. After recording stops, AI scanning and recognition is initiated to generate feature tags and items for key users, namely multiple travel items (such as...). Figure 24The system includes travel item categories such as key items, accessories, and clothing, with each category representing a specific travel item. Below each travel item category, there are two entry points for generating a travel theme inspiration list (i.e., itinerary theme items): "Generate Directly" and "Upload Traveler Photo to Generate." The "Generate Directly" entry is used to directly generate a travel theme inspiration list based on multiple travel item categories, while the "Upload Traveler Photo to Generate" entry is used to upload a traveler's photo and then combine it with the multiple travel item categories to generate the travel theme inspiration list.

[0259] Second, a list of inspirations for tourism themes is generated.

[0260] This section mainly includes two options:

[0261] like Figure 25 As shown, Option 1: Based on the characteristic labels of clothing and accessories (such as...) Figure 25 The example shown is for "trousers," "dress," and "coat," which directly generates travel themes and renderings. The renderings include models and scenery. The models wear the user's real clothing and items, but their faces are replaced with AI faces, which are generated based on the user's clothing features. The scenery is generated by combining the platform's travel data.

[0262] like Figure 25 As shown, Option Two guides users to upload photos of themselves, i.e., facial images. AI recognizes the user's facial information and combines it with the feature tags of clothing and accessories from the previous step, along with platform travel data, to generate various travel themes and renderings. The renderings include models and scenery, but the models' facial features are largely similar to the user's, and they wear the user's existing clothing and accessories, providing a more intuitive and realistic travel photography experience. Each travel theme includes multiple style images, which users can preview by swiping horizontally. Each style image features a different location, with the list covering multiple locations in total. Users can efficiently discover travel inspiration that interests them based on the list's matching degree. Once a user selects a theme, AI, based on travel consumption preferences identified through clothing recognition and combined with platform travel data, generates a comprehensive guide matching that theme, including information on clothing, hotels, restaurants, transportation, prices, and times. After reviewing the itinerary, users can save the most suitable itinerary to their favorites for later review.

[0263] Thirdly, itinerary adjustments and inspections.

[0264] like Figure 26As shown, users can further manually adjust their saved itineraries, such as dragging and dropping to change the order of the itinerary, deleting unwanted outfits or images, uploading more outfits and accessories, and adjusting transportation and accommodation times or products to achieve the most satisfactory plan. Additionally, by combining the recommended products within the itinerary, users can click to jump to a third-party platform to complete travel preparations such as booking hotels and flights. If the user has already completed bookings, the itinerary status will be updated accordingly. Users can also manually update the status, thus enabling them to clearly confirm their to-do list (i.e., preparations) before traveling, allowing for worry-free travel.

[0265] Fourth, real-time guidance for aircraft positions.

[0266] like Figure 27 As shown, AI identifies the area and location of key elements in the rendering and records its color parameters. When a user arrives near the scenic area shown in the rendering, they can open their camera, access the rendering analysis, and perform camera positioning calibration. AI combines the camera's focal length, position, angle, and the positions of the person in the lens, as well as the area and location of objects, to provide real-time guidance. After taking the photo, the user can choose to use the same parameters as the rendering to generate a satisfactory travel photography work with one click.

[0267] In one embodiment, the core technology flowchart of the travel itinerary generation method of this application applied to tourism itinerary generation can be as follows: Figure 28 As shown, on the one hand, the model is trained based on the platform's tourism database to generate tourism theme clusters, and on the other hand, user preference features are generated based on the user's clothing, supplies, and facial images. Based on this, the model is applied to determine the membership degree of the user preference features to the tourism theme clusters, the membership degrees are sorted, and a user tourism theme list (including renderings) is generated. Then, through weighted recommendation, a single complete itinerary guide is generated.

[0268] In one embodiment, taking the travel itinerary generation method of this application as an example of tourism itinerary generation, and implementing it through the interaction between a client and a server in a terminal for tourism itinerary generation, the flowchart of tourism itinerary generation can be as follows: Figure 29 As shown, the specific steps include:

[0269] 1. The user turns on the terminal's camera to record all travel items;

[0270] 2. The client obtains the dynamically recorded video;

[0271] 3. The server parses the video items, identifies the item content, and the AI ​​model restores the images of missing items, generating names and categories;

[0272] 4. The client obtains clothing images, names, and categories, and presents them visually;

[0273] 5. Users can view clothing information and click to generate directly;

[0274] 7. The client obtains the "Generate Directly" operation command;

[0275] 6. The user clicks to upload a face photo;

[0276] 8. The client obtains the face photo and the "photo generation" command;

[0277] 9. The server crawler obtains travel guides from recent years' travel websites and executes a clustering algorithm to generate travel inspiration;

[0278] 10. Parse user data, execute convolutional neural network models and natural language algorithms to generate user preference features;

[0279] 11. Analyze user preference features and the membership degree of tourism theme families, and use computer vision and AI large language models to generate renderings and complete itinerary recommendation strategies;

[0280] 12. The client displays tourism themes in a single column of large images, with each theme containing multiple renderings;

[0281] 13. Users browse topics, get travel inspiration, and click to view specific travel guides;

[0282] 14. The client receives operation instructions and displays the complete itinerary guide;

[0283] 15. Users can view the full guide;

[0284] 16. The user clicks to save the guide;

[0285] 17. The client obtains the save command;

[0286] 18. The service provider receives the instruction and saves the trip to its favorites.

[0287] In one embodiment, a flowchart illustrating the process of adjusting and implementing a travel itinerary based on its generation can be as follows: Figure 30 As shown, the specific steps include:

[0288] 19. Users can click on their favorites to view saved itineraries;

[0289] 20. The client receives the viewing command and displays the itinerary guide in a structured manner, including renderings, transportation, hotels, etc.

[0290] 21. Users can click "Edit" to manually adjust the smart itinerary, including adjusting the schedule order, updating to-do status, deleting or updating outfits and accessories, updating transportation and accommodation times and products, deleting travel photo renderings, etc., and then click "Done".

[0291] 22. The client receives the user's adjusted itinerary data and confirmation instruction;

[0292] 23. The server stores and updates the backend data, the command takes effect, and the data result is returned;

[0293] 24. The client updates the structured data display;

[0294] 25. Once the user sees that the itinerary adjustment is complete, they can click on the recommended products (flights and hotels) to place an order;

[0295] 26. The client invokes and displays the third-party page interface;

[0296] 27. Users complete payment and ordering tasks on a third-party page;

[0297] 28. The client receives the instruction and uploads the data to the server;

[0298] 29. The server stores the data, verifies that the todo task has been completed, and returns the data result;

[0299] 30. The client updates the todo label (item status label) to "Ready";

[0300] 31. Users will see that their flight / hotel to-do status has been automatically updated. They will also confirm that all preparations are complete, allowing them to travel with peace of mind.

[0301] In one embodiment, a flowchart illustrating the process of camera position guidance for photo replication after completing itinerary adjustments can be as follows: Figure 31 As shown, the specific steps include:

[0302] 32. When a user arrives near a tourist attraction, they open their favorite travel guides and check out renderings.

[0303] 33. The client obtains operation instructions and acquires the current system GPS (Global Positioning System) location;

[0304] 34. The server parses the user's current location and the location information of the rendered image, and returns a location guidance prompt;

[0305] 35. The client receives the instruction, displays a reminder, and uses a bubble to guide the user to take the picture;

[0306] 36. The user sees the bubble notification, clicks to take a picture, and the camera turns on;

[0307] 37. The client obtains the current screen in real time;

[0308] 38. The server analyzes the screen composition, uses a transformation matrix algorithm, matches and monitors it in real time with the rendering, and returns data to guide the user in making adjustments;

[0309] 39. Clients receive guidance information, with bubble text displayed and area visualization provided;

[0310] 40. Users can see the instructional lesson plan and photo area comparison, move the camera and the position of the person, and adjust in real time;

[0311] 41. The user clicks to take a photo;

[0312] 42. The client receives the photo-taking command;

[0313] 43. The server executes the command and returns the captured data;

[0314] 44. The client retrieves photo data and displays still images;

[0315] 45. The user views the photo and clicks "Edit using the same parameters";

[0316] 46. ​​Client obtains replication parameter instructions;

[0317] 47. The server analyzes the parameters of the source image and uses a feature matching algorithm to perform style transfer to the target image;

[0318] 48. The client retrieves and displays image data;

[0319] 49. The user views the photos and saves them locally, completing the output process.

[0320] In one embodiment, the travel itinerary generation method of this application is applied to tourism itinerary generation, and has the following beneficial effects:

[0321] 1. Personalized Customization: This application can more accurately describe users' preferences and needs, and even implicit or potential preference characteristics. Through these characteristics, travel itinerary planning that better suits users can be generated, enhancing the personalized service experience.

[0322] 2. Inspire travel ideas: Based on the user's real clothing and face, this application provides a variety of different travel effects, which can inspire users' travel ideas and help them intuitively perceive the travel destination and experience in advance.

[0323] 3. Reduce decision-making risks: By viewing highly realistic simulation images, users can more accurately assess their current situation, including whether existing items need to be added or removed, thus identifying and addressing any shortcomings and making more informed travel decisions.

[0324] 4. Improve itinerary customization efficiency: Compared with the traditional solution of searching for itineraries by inputting text, this application innovatively outputs itineraries with images, eliminating the need for users to repeatedly input text and search back and forth, greatly improving operational efficiency and saving time costs.

[0325] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0326] Based on the same inventive concept, this application also provides a travel itinerary generation apparatus for implementing the aforementioned travel itinerary generation method. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more travel itinerary generation apparatus embodiments provided below can be found in the limitations of the travel itinerary generation method described above, and will not be repeated here.

[0327] In one embodiment, such as Figure 32 As shown, a travel itinerary generation device is provided, including: an item display module 3202, a travel itinerary display module 3204, and a description information display module 3206, wherein:

[0328] The item display module 3202 is used to display multiple travel item items in response to the item information entry operation, with each travel item item representing a travel item;

[0329] The travel itinerary display module 3204 is used to display a travel itinerary that matches multiple travel items in response to the itinerary generation trigger operation;

[0330] The description information display module 3206 is used to display trip description information in at least one trip item in a trip itinerary, and the trip description information includes at least one travel item.

[0331] The aforementioned travel itinerary generation device, in response to the item information input operation, displays multiple travel item items and instructs the user to confirm the travel items. In response to the itinerary generation trigger operation, it displays travel itineraries matching the multiple travel item items. It can accurately determine the travel itinerary by referring to the multiple travel item items. In at least one itinerary item, it displays itinerary description information, which includes at least one travel item item. It can generate itinerary description information based on multiple travel item items. The entire process is based on item information input, uses existing travel items to accurately describe the user's intention to retrieve results, and generates a travel itinerary that matches the user. This solves the problem of traditional methods requiring multiple rounds of input and query, and the time-consuming retrieval of results, thus improving the efficiency of travel itinerary generation.

[0332] In one embodiment, the item display module is further configured to, in response to the item information entry operation, display an item information collection area for entering item information, display real-time images containing travel items in the item information collection area, and, in response to the item entry completion operation, display multiple travel item items.

[0333] In one embodiment, the item display module is further configured to display an image upload entry for entering item information when displaying the item information collection area, display multiple locally stored images in response to a trigger operation on the image upload entry, and display multiple travel item items in response to a selection operation on at least one locally stored image.

[0334] In one embodiment, the item display module is further configured to display a query entry for historical data when displaying the item information collection area, and to display at least one historical data if there is at least one historical data in response to a trigger operation on the query entry, and to display multiple travel item items in response to a selection operation on any historical data.

[0335] In one embodiment, the travel itinerary display module is further configured to, in response to a travel itinerary generation triggering operation, display at least one travel theme item matching multiple travel item items, and at the travel theme item, display a travel summary and a travel effect image, the travel summary including the travel theme, recommended travel destinations and recommended travel time periods, and, in response to a selection operation for any travel theme item, display the travel itinerary corresponding to the selected travel theme item.

[0336] In one embodiment, the trip generation trigger operation is a first trigger operation that directly generates a trip. The trip display module is also used to respond to the first trigger operation by displaying at least one trip theme item that matches multiple travel item items. At the trip theme item, a trip summary and a travel effect image that matches the travel clothing item among the multiple travel item items are displayed.

[0337] In one embodiment, the trip generation trigger operation is a second trigger operation that represents the generation of a trip by combining facial images. The trip display module is further configured to display a facial image upload area in response to the second trigger operation, and to display at least one trip topic item that matches multiple travel item items in response to a facial image upload operation triggered in the facial image upload area. At the trip topic item, a trip summary and a travel effect image that matches the uploaded facial image and the travel clothing item among the multiple travel item items are displayed.

[0338] In one embodiment, the trip display module is further configured to, when displaying a trip, display a saved trip item in response to a trip save operation for the trip, at the saved trip item displaying the trip theme and a thumbnail of an image from at least one trip item.

[0339] In one embodiment, the trip generation device further includes a shooting module, which is used to display a shooting guide entrance when the trip is displayed and the user is in a trip effect image containing the trip location, display a trip image shooting area in response to a trigger operation on the shooting guide entrance, and display the captured trip image in response to a trip image shooting operation.

[0340] In one embodiment, the shooting module is further configured to, when displaying the travel image shooting area, if the shooting position indicated by the travel image shooting area is not a fixed shooting position at the travel location, display a shooting position guidance prompt; the shooting position guidance prompt is used to instruct the shooting position indicated by the travel image shooting area to be adjusted, and in response to the shooting position adjustment operation, if the shooting position indicated by the travel image shooting area is a fixed shooting position, display a shooting position adjustment completion prompt.

[0341] In one embodiment, the shooting module is further configured to shoot a thumbnail of the travel effect image included in the guidance entrance, and in response to the selection operation of the thumbnail of any travel effect image, trigger an operation to shoot the guidance entrance.

[0342] In one embodiment, the shooting module is further configured to display an image parameter adjustment entry when displaying the captured travel image, and in response to a trigger operation on the image parameter adjustment entry, correct the travel image according to the image parameters of the travel effect image including the travel location, and display the corrected travel image.

[0343] In one embodiment, the description information display module is further configured to display at least one trip item in a trip sequence, and to display at least one trip item adjusted according to the trip sequence adjustment operation in response to a trip sequence adjustment operation for at least one trip item.

[0344] In one embodiment, the description information display module is further configured to, in response to a deletion operation for at least one travel item, cancel the display of the travel item indicated by the deletion operation when the trip description information contains at least one travel item.

[0345] In one embodiment, the description information display module is further configured to display a travel item addition entry when the trip description information includes at least one travel item, and in response to a triggering operation for the travel item addition entry, display an item image upload area for adding travel item, and in response to an item image upload operation triggered in the item image upload area, display trip description information including the travel item indicated by the item image upload operation and at least one travel item.

[0346] In one embodiment, the description information display module is further configured to include at least one item status label in the trip description information, the item status label being used to indicate the preparation item indicated by the trip description information, and, if the preparation item is completed, displaying the item status label indicating the preparation item as a label representing the prepared status.

[0347] In one embodiment, the description information display module is further configured to, in response to a modification operation on the travel time information in the travel time recommendation information, display travel recommendation information generated based on the modified travel time information when the trip description information includes travel recommendation information.

[0348] In one embodiment, the description information display module is further configured to display the recommended travel information, including recommended flight information and a recommended flight booking entry; in response to a triggering operation for the recommended flight booking entry, display the recommended flight booking area; and in response to a recommended flight booking operation triggered in the recommended flight booking area, display an item status label indicating the preparation items indicated by the transportation travel recommendation information, which is a label representing a ready status.

[0349] In one embodiment, the description information display module is further configured to, in response to a modification operation on the check-in time information in the accommodation recommendation information, display accommodation recommendation information generated based on the modified check-in time information when the trip description information includes accommodation recommendation information.

[0350] In one embodiment, the description information display module is further configured to display the accommodation recommendation information, which includes recommended accommodation information and accommodation reservation entry, and to display the accommodation reservation area in response to a trigger operation on the accommodation reservation entry. In response to an accommodation reservation operation triggered in the accommodation reservation area, the module displays an item status label indicating the preparation items indicated by the accommodation recommendation information, which is a label representing a prepared status.

[0351] In one embodiment, the description information display module is further configured to, in response to an image deletion operation for any of the at least one travel effect image, cancel the display of the travel effect image indicated by the image deletion operation when the trip description information contains at least one travel effect image.

[0352] Each module in the aforementioned travel itinerary generation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0353] In one embodiment, a computer device is provided, which can be a terminal or a server. Taking the computer device as a terminal as an example, its internal structure diagram can be as follows: Figure 33 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a travel itinerary generation method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0354] Those skilled in the art will understand that Figure 33 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0355] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0356] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0357] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0358] 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, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0359] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0360] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0361] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for generating travel itineraries, characterized in that, The method includes: In response to the item information entry operation, multiple travel item items are displayed, with each travel item item representing a travel item; In response to the trip generation trigger operation, display the travel itinerary that matches the multiple travel items; In at least one of the trip items in the trip itinerary, trip description information is displayed, and the trip description information includes at least one of the trip items.

2. The method according to claim 1, characterized in that, In response to the item information entry operation, multiple travel item items are displayed, including: In response to the item information entry operation, the item information collection area for entering item information is displayed; The item information collection area displays real-time images containing travel items; In response to the completion of item entry, multiple travel item items are displayed.

3. The method according to claim 2, characterized in that, The method further includes: When the item information collection area is displayed, an image upload portal for entering item information is displayed; In response to a trigger operation on the image upload entry, multiple locally stored images are displayed; In response to a selection of at least one locally stored image, multiple travel item items are displayed.

4. The method according to claim 2, characterized in that, The method further includes: When the item information collection area is displayed, a query entry for historical collected data is displayed; In response to a trigger operation on the query entry, if at least one historical data point exists, the at least one historical data point is displayed. In response to a selection action on any historically collected data, multiple travel item items are displayed.

5. The method according to claim 1, characterized in that, The trip description information includes recommended trip elements that match at least one travel item, and the recommended trip elements include at least one of recommended travel destination or recommended travel time period.

6. The method according to claim 1, characterized in that, The process of displaying travel itineraries matching the plurality of travel item items in response to the itinerary generation trigger operation includes: In response to the trip generation trigger operation, at least one trip theme item matching the plurality of travel item items is displayed; at the trip theme item, a trip summary and a travel effect image are displayed; the trip summary includes the trip theme, recommended travel destinations, and recommended travel time periods; In response to a selection action for any trip topic, the corresponding travel itinerary for the selected trip topic is displayed.

7. The method according to claim 6, characterized in that, The trip generation trigger operation is the first trigger operation that directly generates a trip. The step of displaying at least one trip topic item matching the plurality of travel item items in response to the trip generation trigger operation includes: In response to the first triggering operation, at least one trip topic item matching the plurality of travel item items is displayed; at the trip topic item, a trip summary and a travel effect image matching the travel clothing item among the plurality of travel item items are displayed.

8. The method according to claim 6, characterized in that, The trip generation trigger operation is a second trigger operation that characterizes the generation of a trip by combining facial images; The step of displaying at least one trip topic item matching the plurality of travel item items in response to the trip generation trigger operation includes: In response to the second triggering operation, the facial image upload area is displayed; In response to a facial image upload operation triggered in the facial image upload area, at least one trip topic item matching the plurality of travel item items is displayed; at the trip topic item, a trip summary and a travel effect image matching the uploaded facial image and the travel clothing item among the plurality of travel item items are displayed.

9. The method according to claim 1, characterized in that, The method further includes: When a trip is displayed, in response to a trip save operation for the trip, a saved trip item is displayed, at which the trip theme of the trip and thumbnails of images from at least one trip item are displayed.

10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: When the travel itinerary is displayed and the user is at a travel location included in the travel effect image of the travel itinerary, a shooting guide entry is displayed; In response to a trigger operation on the shooting guidance entrance, the line image shooting area is displayed; In response to the travel image capture operation, display the captured travel image.

11. The method according to claim 10, characterized in that, The method further includes: When the travel image shooting area is displayed, if the camera position indicated by the travel image shooting area is not a fixed camera position at the travel location, a camera position guidance prompt is displayed; the camera position guidance prompt is used to instruct the camera position indicated by the travel image shooting area to be adjusted. In response to the camera position adjustment operation, if the camera position indicated in the travel image shooting area is the fixed camera position, a prompt indicating that the camera position adjustment is complete will be displayed.

12. The method according to claim 10, characterized in that, The method further includes: The shooting guidance entry contains a thumbnail of the travel effect image; In response to the selection of a thumbnail for any travel effect image, a trigger operation is triggered for the shooting guidance entry.

13. The method according to claim 10, characterized in that, The method further includes: When displaying captured travel images, an image parameter adjustment entry is displayed; In response to a trigger operation for adjusting the image parameters, the travel image is corrected according to the image parameters of the travel effect image containing the travel location, and the corrected travel image is displayed.

14. The method according to any one of claims 1 to 9, characterized in that, The method further includes: In the travel itinerary, at least one itinerary item is displayed in sequence according to the itinerary order; In response to the trip order adjustment operation for the at least one trip item, display the at least one trip item adjusted according to the trip order adjustment operation.

15. The method according to any one of claims 1 to 9, characterized in that, The method further includes: If the trip description information contains at least one of the travel item items, in response to a deletion operation for the at least one of the travel item items, the travel item item indicated by the deletion operation is de-displayed.

16. The method according to any one of claims 1 to 9, characterized in that, The method further includes: If the trip description information contains at least one of the travel item items, an entry point for adding travel item items will be displayed; In response to a triggered operation that adds an entry point for the travel item, an area for uploading item images for adding travel item items is displayed; In response to an item image upload operation triggered in the item image upload area, the trip description information, including the travel item indicated by the item image upload operation and at least one of the travel item items, is displayed.

17. The method according to any one of claims 1 to 9, characterized in that, The method further includes: The itinerary description information includes at least one item status label, which is used to indicate the preparation items indicated by the itinerary description information; When the preparation is completed, the status label indicating the preparation is displayed as a label representing the prepared state.

18. The method according to any one of claims 1 to 9, characterized in that, The method further includes: If the trip description information includes travel recommendation information, in response to a modification operation on the travel time information in the travel recommendation information, travel recommendation information generated based on the modified travel time information is displayed.

19. The method according to claim 18, characterized in that, The method further includes: The transportation recommendation information includes recommended flight schedules and a booking portal for those schedules. In response to a trigger operation targeting the recommended flight booking entry, the recommended flight booking area is displayed; In response to a recommended flight booking operation triggered in the recommended flight booking area, a status label indicating the preparation items indicated by the transportation travel recommendation information is displayed, which is a label representing a ready status.

20. The method according to any one of claims 1 to 9, characterized in that, The method further includes: If the itinerary description information includes accommodation recommendation information, in response to a modification operation on the check-in time information in the accommodation recommendation information, accommodation recommendation information generated based on the modified check-in time information is displayed.

21. The method according to claim 20, characterized in that, The method further includes: The accommodation recommendation information includes recommended accommodation information and a booking portal for the accommodation; In response to a triggered operation targeting the reserved entrance of the check-in location, the reserved area of ​​the check-in location is displayed; In response to a reservation operation triggered in the reservation area of ​​the accommodation, a status label indicating the preparations indicated by the accommodation recommendation information is displayed, which is a label representing the prepared status.

22. The method according to any one of claims 1 to 9, characterized in that, The method further includes: If the trip description information contains at least one trip effect image, in response to an image deletion operation for any of the at least one trip effect image, the trip effect image indicated by the image deletion operation is canceled from display.

23. A travel itinerary generation device, characterized in that, The device includes: The item display module is used to respond to item information entry operations and display multiple travel item items, with each travel item item representing a travel item; The travel itinerary display module is used to display the travel itinerary matching the multiple travel items in response to the itinerary generation trigger operation; A description information display module is used to display trip description information in at least one trip item in the trip, the trip description information including at least one of the trip items.

24. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 22.

25. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 22.

26. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 22.