Itinerary generation method and device, computer device and storage medium

By acquiring target images and generating candidate location cards within the itinerary generation interface, the problem of obtaining travel inspiration in itinerary planning is solved, realizing the automated generation from images to itineraries, and improving the convenience of itinerary planning and user satisfaction.

CN122173192APending Publication Date: 2026-06-09SWEET POTATO TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610617208.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-07
Publication Date
2026-06-09

Smart Images

  • Figure CN122173192A_ABST
    Figure CN122173192A_ABST
Patent Text Reader

Abstract

The application discloses a trip generation method and device, computer equipment and a storage medium. It belongs to the technical field of the Internet. The method can specifically include: displaying a trip generation interface containing an initial trip; obtaining a target image based on the trip generation interface; generating a candidate location card based on the target image; in response to a card association operation for the initial trip, obtaining a target location card based on the candidate location card; and in response to a trip generation operation, generating a target trip based on the target location card and the initial trip. The application realizes the full-link automatic and visual generation from image materials to trips, simplifies the operation link, reduces the decision and editing costs, makes the trip planning more in line with individual memories and personalized needs, and significantly improves the convenience, intelligence and efficiency of trip generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, specifically to a method, apparatus, computer device, and storage medium for generating a process. Background Technology

[0002] With the continuous improvement of residents' living standards, the upgrading of consumption structure, and the increasingly developed transportation networks such as high-speed rail, civil aviation, and highways, the convenience and coverage of travel have significantly expanded. Tourism has transformed from a niche leisure activity into an important choice for mass daily consumption, becoming a mainstream way for residents to meet their spiritual and cultural needs and improve their quality of life.

[0003] However, when users are not yet clear about "where to go", existing products lack effective ways to inspire them. Users often need to search and browse content repeatedly, resulting in high trip decision costs and poor user satisfaction. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer device, and storage medium for rapidly generating target trips and improving user satisfaction, in order to address the aforementioned technical problems.

[0005] Firstly, this application provides a method for generating a itinerary, the method comprising:

[0006] Displays the itinerary generation interface, which includes the initial itinerary;

[0007] Based on the itinerary generation interface, obtain the target image;

[0008] Generate candidate location cards based on the target image;

[0009] In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards;

[0010] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

[0011] In one embodiment, the itinerary generation interface includes a card selection entry;

[0012] In response to the card association operation for the initial itinerary, the target location card is retrieved based on the candidate location cards, including:

[0013] In response to a trigger action that selects an entry point for a card, display candidate location cards;

[0014] In response to the selection operation for the candidate location card, the selected candidate location card is used as the target location card.

[0015] In one embodiment, each candidate location card has an associated trip selection entry;

[0016] In response to the card association operation for the initial itinerary, the target location card is retrieved based on the candidate location cards, including:

[0017] In response to a trigger operation that selects an entry point for any trip, candidate trips are displayed; wherein, candidate trips include the initial trip;

[0018] In response to a triggered action for the initial trip, the candidate location card associated with the trip selection entry is used as the target location card.

[0019] In one embodiment, in response to a triggering operation for selecting an entry point for a card, candidate location cards are displayed, including:

[0020] In response to a trigger action on the card selection entry, a card selection interface is displayed; the card selection interface contains candidate location cards.

[0021] In one embodiment, the card selection interface includes an image selection entry; based on this, obtaining the target image includes:

[0022] In response to a trigger operation on the image selection entry, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0023] In response to a selection operation on a candidate image, the selected candidate image is used as the target image.

[0024] In one embodiment, the trip generation interface includes a trip input field; displaying the trip generation interface containing the initial trip includes:

[0025] In response to a trip input operation targeting the trip input field, the initial trip is retrieved, and a trip generation interface containing the initial trip is displayed.

[0026] In one embodiment, the trip generation interface includes a display area associated with the initial trip; the display area shows the number of target location cards.

[0027] In one embodiment, the trip generation interface includes a trip generation control or a trip display control associated with the initial trip;

[0028] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip, including any of the following:

[0029] In response to a trigger action on the trip generation control, generate the target trip based on the target location card and the initial trip;

[0030] In response to a trigger operation on the trip display control, a first trip display interface containing a target location card and a trip generation control is displayed, and in response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip.

[0031] In one embodiment, generating a target itinerary based on the target location card and the initial itinerary includes:

[0032] Determine the target location based on the target location card;

[0033] Based on the target location and the initial itinerary, the target itinerary is obtained; the target itinerary includes the start and end points and intermediate points, as well as the itinerary sequence corresponding to different intermediate points.

[0034] Secondly, this application also provides a trip generation apparatus, the apparatus comprising:

[0035] The first display module is used to display the itinerary generation interface containing the initial itinerary;

[0036] The first acquisition module is used to acquire the target image based on the process generation interface;

[0037] The first generation module is used to generate candidate location cards based on the target image;

[0038] The second acquisition module is used to acquire the target location card based on the candidate location cards in response to the card association operation for the initial trip.

[0039] The second generation module is used to generate a target itinerary in response to the itinerary generation operation, based on the target location card and the initial itinerary.

[0040] 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:

[0041] Displays the itinerary generation interface, which includes the initial itinerary;

[0042] Based on the itinerary generation interface, obtain the target image;

[0043] Generate candidate location cards based on the target image;

[0044] In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards;

[0045] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

[0046] Fourthly, this application also provides a computer-readable storage medium on which a computer program is stored, and which, when executed by a processor, performs the following steps:

[0047] Displays the itinerary generation interface, which includes the initial itinerary;

[0048] Based on the itinerary generation interface, obtain the target image;

[0049] Generate candidate location cards based on the target image;

[0050] In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards;

[0051] In response to the itinerary generation operation, a target itinerary is generated based on the target location card and the initial itinerary. Fifthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps:

[0052] Displays the itinerary generation interface, which includes the initial itinerary;

[0053] In response to a card association operation for the initial itinerary, a target location card is retrieved; wherein, the target location card is generated based on an image; the target location card includes location information;

[0054] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

[0055] The aforementioned itinerary generation method, apparatus, computer equipment, and storage medium display an itinerary generation interface containing an initial itinerary; acquire a target image based on the itinerary generation interface; generate candidate location cards based on the target image; acquire a target location card based on the candidate location cards in response to a card association operation for the initial itinerary; and generate a target itinerary based on the target location cards and the initial itinerary in response to an itinerary generation operation. This application effectively solves the technical problems of traditional itinerary planning, such as difficulty in obtaining travel inspiration, inability to convert personal photos and other image resources into itinerary materials, the need for manual entry of location information, cumbersome itinerary-location association operations, and low efficiency in multi-location integration and itinerary arrangement. It also achieves full-link automation and visualization of the generation process from image materials to itinerary, simplifies the operation chain, reduces decision-making and editing costs, and makes itinerary planning more aligned with personal memories and personalized needs, significantly improving the convenience, intelligence, and efficiency of itinerary generation. Attached Figure Description

[0056] Figure 1 This is an application environment diagram of a route generation method provided in this embodiment;

[0057] Figure 2 This is a flowchart illustrating the first method for generating a route provided in this embodiment;

[0058] Figure 3 This is a schematic diagram of the first type of process generation interface provided in this embodiment;

[0059] Figure 4 This is a schematic diagram of the second type of process generation interface provided in this embodiment;

[0060] Figure 5 This is a schematic diagram of the interface transformation for the first method of generating the target route provided in this embodiment;

[0061] Figure 6 This is a schematic diagram of the interface transformation for the second type of target route generation provided in this embodiment;

[0062] Figure 7 This is a flowchart illustrating the first method for determining a target location card in this embodiment.

[0063] Figure 8 This is a schematic diagram of the interface transformation of the display card selection interface provided in this embodiment;

[0064] Figure 9 This is a flowchart illustrating the second method for determining a target location card provided in this embodiment;

[0065] Figure 10 This is a schematic diagram of the interface transformation for displaying candidate routes provided in this embodiment;

[0066] Figure 11 This is a schematic diagram of the process for acquiring the target image provided in this embodiment;

[0067] Figure 12 This is a schematic diagram of the interface transformation of the image selection interface provided in this embodiment.

[0068] Figure 13 This is a schematic diagram of the third type of process generation interface provided in this embodiment;

[0069] Figure 14 This is a flowchart illustrating the interface for determining the target route provided in this embodiment;

[0070] Figure 15 A schematic diagram of the itinerary display interface provided in this embodiment;

[0071] Figure 16 This is a structural block diagram of a stroke generation device provided in this embodiment;

[0072] Figure 17 This is an internal structural diagram of the computer device provided in this embodiment. Detailed Implementation

[0073] 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.

[0074] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.

[0075] The itinerary generation method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, it is used for the client and server to work together to achieve the purpose of setting a target itinerary.

[0076] The itinerary generation method of this application can be applied in the following scenarios, wherein the server controls the client to display an itinerary generation interface containing the initial itinerary. The client obtains a target image based on the itinerary generation interface. Based on the target image, candidate location cards are generated. In response to a card association operation for the initial itinerary, a target location card is obtained based on the candidate location cards. In response to an itinerary generation operation, a target itinerary is generated based on the target location card and the initial itinerary. It should be noted that the itinerary generation method of this application can be executed by the client, by the server, or through interaction between the client and server.

[0077] The client can be a mobile phone, computer, or tablet with the target application installed, or a smart wearable device such as a smart bracelet or smartwatch. The target application's role is to enable interaction between the client and the server. The server refers to the server associated with the target application, which has terminal control and event generation functions. The server can be a standalone server or a server cluster. The target application is an application that has at least event creation functionality; for example, it can be an online interactive application, a video application, or a media publishing application.

[0078] In one embodiment, Figure 2 This is a flowchart illustrating a process generation method according to an embodiment of this application, applied to... Figure 1 Taking the client as an example, the method includes the following steps:

[0079] S201 displays the itinerary generation interface, which includes the initial itinerary.

[0080] The initial itinerary refers to a pre-created or existing blank or basic itinerary framework that has not yet been finalized into a complete route. It serves as the basic itinerary carrier for subsequently adding location cards and ultimately generating the target itinerary. The itinerary generation interface refers to the interactive interface used to generate the target itinerary.

[0081] As an optional implementation of this application, a trip generation interface is displayed; wherein the trip generation interface includes a trip selection entry; in response to a trigger operation on the trip selection entry, a trip selection interface is displayed; wherein the trip selection interface includes candidate trips, and in response to a selection operation on a candidate trip, the candidate trip pointed to by the selection operation is used as the initial trip, and the initial trip is displayed in the trip generation interface.

[0082] Another optional implementation of this application embodiment is that the trip generation interface includes a trip input field; in response to a trip input operation on the trip input field, an initial trip is obtained, and a trip generation interface containing the initial trip is displayed. For example, as shown... Figure 2 As shown, the trip generation interface includes a trip input control 301. In response to a trigger operation on the trip input control, the input control is displayed, and in response to a trigger operation on the input control, the text content pointed to by the trigger operation is obtained. Based on the text content, an initial trip is obtained, and a trip generation interface containing the initial trip is displayed. For example, as shown... Figure 4 As shown, in response to a trigger operation on the trip input control, the input control is displayed, and in response to a trigger operation on the input control, the initial trip (e.g., Shanghai) input by the input control is obtained and displayed in the target area 401 of the trip generation interface.

[0083] Another optional implementation of this application embodiment is to display an interactive interface; wherein the interactive interface is the interactive interface of the target application (e.g., a conversation interface, a content browsing interface, a content publishing interface, etc.); the interactive interface includes a schedule setting control, and in response to a trigger operation on the schedule setting control, the historical browsing records of the current account are obtained, the initial schedule is determined based on the historical browsing records, and a schedule generation interface containing the initial schedule is displayed. In this embodiment, an optional implementation of determining the initial schedule based on historical browsing records is to obtain the browsing content based on the historical browsing records. Based on the browsing content, the historical browsing locations are obtained. The popularity value of each historical browsing location is determined, the historical browsing locations are sorted according to the popularity value, and based on the sorting result, the historical browsing location with the highest popularity value is selected as the initial schedule. In this embodiment, an optional implementation of determining the popularity value of historical browsing locations is to determine the popularity value based on the number of times each historical browsing location is viewed, for example, using the number of views as the popularity value of the historical browsing location.

[0084] Another optional implementation of this application embodiment is to display an interactive interface; wherein the interactive interface is the interactive interface of the target application; the interactive interface includes a trip planning control, and in response to a trigger operation on the trip planning control, the terminal location information of the terminal corresponding to the client is obtained, the initial trip is determined based on the terminal location information, and a trip generation interface containing the initial trip is displayed. In this embodiment, an optional implementation of determining the initial trip based on the terminal location information is to use the terminal location information as the center; obtain the location popularity of candidate locations (e.g., scenic spots, restaurants, shopping malls, etc.) within a preset distance (e.g., 100 kilometers, which users can set according to their needs) around the center. Select the candidate location with the highest location popularity to determine the initial trip. The location popularity can be determined based on the browsing volume of all users within a preset time period.

[0085] Based on historical browsing records, retrieve the browsing content. Based on the browsing content, retrieve the historical browsing locations. Determine the popularity value of each historical browsing location, sort the historical browsing locations according to the popularity value, and select the historical browsing location with the highest popularity value as the initial route. In this embodiment, an optional implementation method for determining the popularity value of historical browsing locations is to determine the popularity value based on the number of times each historical browsing location has been viewed; for example, the number of views can be used as the popularity value of the historical browsing location.

[0086] S202, based on the process generation interface, acquire the target image.

[0087] As an optional implementation of this application, the itinerary generation interface includes an image selection entry point. In response to a trigger operation on the image selection entry point, the image selection interface is displayed; wherein the image selection interface includes candidate images. In response to a selection operation on a candidate image, the selected candidate image is used as the target image. Optionally, the image selection interface can be a photo album display interface or an image database interface of an interactive application, or it can be a display interface for popular attractions, which can be determined based on the popularity ranking results of each attraction.

[0088] Another optional implementation of this application involves a process generation interface with an image generation entry point. In response to a trigger operation of the image generation entry point, a text input interface is displayed. In response to an input operation on the content input interface (e.g., a text input interface), the text information corresponding to the input operation is obtained. Based on the text information and a large language model, a target image is intelligently generated. Specifically, the large language model performs semantic analysis on the text information to obtain semantic analysis results. The target image is then generated based on the semantic analysis results.

[0089] S203, Generate candidate location cards based on the target image.

[0090] As an optional implementation of this application, the target image is sent to the server so that the server can generate candidate location cards based on the target image and control the client to display the candidate location cards.

[0091] Another optional implementation of this application involves obtaining the EXIF ​​metadata inherent in the target image, extracting geographical location information such as latitude and longitude and shooting location from it, matching the corresponding location attribute information based on the geographical location information, and then generating candidate location cards containing location attribute information, such as location name, address, category, and hotspot tags.

[0092] Another optional implementation of this application involves performing image content recognition and scene analysis on the target image to identify visual features in the target image, retrieving the corresponding real geographical location through visual feature matching, obtaining location attribute information based on the real geographical location, and generating candidate location cards containing the location attribute information. The visual features include landmarks, buildings, streets, shops, etc.

[0093] Another optional implementation of this application is to obtain the user's manually annotated location information for the target image, or to retrieve the location records associated with the image in the user's historical behavior, to determine the geographic location information by combining the annotation information and / or the location records, to match the corresponding location attribute information according to the geographic location information, and to generate a candidate location card containing the location attribute information according to the location attribute information.

[0094] Another optional implementation of this application embodiment is to determine the target geographic location information based on the manually marked location information inherent in the target image and the visual features of the target image identified in the above embodiments, match the corresponding location attribute information based on the geographic location information, and generate a candidate location card containing the location attribute information based on the location attribute information. In this embodiment, an optional implementation for comprehensively determining the target geographic location information based on the EXIF ​​metadata inherent in the target image, the manually marked location information, and the visual features of the target image identified in the above embodiments is as follows: First geographic location information is determined based on the EXIF ​​metadata inherent in the target image. Second geographic location information is determined based on the manually marked location information. Third geographic location information is determined based on the visual features of the target image identified in the above embodiments. The target geographic location information is determined based on the first, second, and third geographic location information. For example, if two of the first, second, and third geographic location information are identical, then that geographic location information is used as the target geographic location information.

[0095] S204, in response to the card association operation for the initial trip, retrieve the target location card based on the candidate location cards.

[0096] The destination cards are generated based on images; each destination card includes location information. The images can be from the album or the gallery.

[0097] Optionally, in this embodiment, the card association operation can be a card addition operation, a card selection operation, or a card movement operation to the target area.

[0098] In one optional implementation of this application, the itinerary generation interface displays candidate location cards. In response to a selection operation on a candidate location card, the candidate card selected is designated as the target location card. The selection operation can be a click operation.

[0099] In another optional implementation of this application, the itinerary generation interface displays candidate location cards, and the itinerary generation interface includes a target area. In response to a drag operation on a candidate card, the candidate card whose endpoint is the target area is designated as the target location card.

[0100] In another optional implementation of this application, the itinerary generation interface includes a card selection control. In response to a trigger operation on the card selection control, a card collection interface is displayed; wherein the card collection interface includes candidate location cards. In response to a selection operation on a candidate location card, the selected candidate location card is displayed. The card collection interface includes a confirmation control; in response to a trigger operation on the confirmation control, the selected candidate location card is set as the target location card.

[0101] S205, in response to the trip generation operation, generates the target trip based on the target location card and the initial trip.

[0102] The target itinerary refers to the final travel route.

[0103] As an optional implementation of this application, the itinerary generation interface includes an itinerary generation control. In response to a trigger operation on the itinerary generation control, a target itinerary is generated based on the target location card and the initial itinerary. Optionally, such as... Figure 5 As shown, the itinerary generation control 501 is a control associated with the initial itinerary; for example, it can be used to display the initial itinerary. In response to a triggering action (e.g., a click action) on the itinerary generation control 501, a target itinerary is generated based on the target location card and the initial itinerary. Figure 5 The itinerary shown in the diagram on the right.

[0104] As another optional implementation of this application embodiment, the itinerary generation interface in this embodiment includes itinerary display controls. For example... Figure 6 As shown, the itinerary display control is the control associated with the initial itinerary; that is, the itinerary display control can be used to display the initial itinerary. In response to a triggering operation (e.g., a click operation) on the itinerary display control 601, a display is shown containing the destination location card 602 and the itinerary generation control 603 (i.e., Figure 6 The first itinerary display interface (the "One-Click Itinerary Generation" control) is configured to generate a target itinerary based on the target location card 602 and the initial itinerary in response to a trigger operation on the itinerary generation control 603. Optionally, there can be multiple target location cards. Optionally, in this embodiment, the first itinerary display interface can be an interface included in the card selection interface.

[0105] In another optional implementation of this application, the trip generation operation can be achieved by receiving a trip generation voice message representing the generated trip. Upon receiving the trip generation voice message, a target trip is generated based on the target location card and the initial trip.

[0106] As another optional implementation of this application, in order to shorten the itinerary generation process, in response to the completion of the acquisition of the target location card, this embodiment generates the target itinerary based on the target location card and the initial itinerary. That is, after acquiring the target location card, the target itinerary is directly generated based on the target location card and the initial itinerary.

[0107] The aforementioned itinerary generation method first displays an itinerary generation interface containing the initial itinerary, then acquires the target image within the interface and automatically generates candidate location cards. Subsequently, the candidate location cards are associated with the initial itinerary to obtain the target location cards. Finally, the target itinerary is generated based on the target location cards and the initial itinerary. This effectively solves the technical problems in traditional itinerary planning, such as the difficulty in obtaining travel inspiration, the inability to convert personal photos and other image resources into itinerary materials, the need for manual entry of location information, the cumbersome operation of associating itineraries with locations, and the low efficiency of integrating multiple locations and arranging itineraries. At the same time, it achieves full-link automation and visualization of the generation process from image materials to itineraries, simplifies the operation process, reduces decision-making and editing costs, and makes itinerary planning more in line with personal memories and personalized needs, significantly improving the convenience, intelligence, and efficiency of itinerary generation.

[0108] In one embodiment, to shorten the path for selecting target location cards, simplify the location card selection process, and improve the accuracy of target location card selection, the trip generation interface includes a card selection entry point. Based on this, such as... Figure 7 As shown, in response to a card association operation for an initial trip, an optional implementation of obtaining a target location card based on candidate location cards includes:

[0109] S701, in response to a triggered operation for selecting an entry point for a card, displays candidate location cards.

[0110] Here, candidate location cards refer to location cards that are considered as alternatives. The card selection entry point is the entry point for selecting candidate location cards, and the card selection entry point can be a control configured in the itinerary generation interface.

[0111] Optionally, in this embodiment, the response to the trigger operation for the card selection entry can be a click operation on the control associated with the card selection entry.

[0112] As an optional implementation of this application, in response to a trigger operation on the card selection entry, the client retrieves all candidate location cards generated based on the image from the server and displays all candidate location cards in a list or grid format in the content generation interface. In response to a trigger operation on the card selection entry, the current itinerary generation interface is not replaced; instead, candidate location cards are loaded and displayed as a floating pop-up or overlay, maintaining the visibility of the initial interface. This separates the itinerary editing and card selection interfaces, facilitating user comparison and selection.

[0113] As another optional implementation of this application, in response to the triggering operation of the card selection entry, the side panel of the client's itinerary generation interface slides out from the left or right side of the interface, and the candidate location cards are loaded and displayed in the panel. The user can complete the selection in the side panel without obscuring the initial itinerary content of the main interface, thus improving the smoothness of operation.

[0114] As another optional implementation of this application, when the card selection entry is triggered, the client does not replace the currently displayed itinerary generation interface, but loads and displays candidate location cards independently in the form of a floating pop-up or overlay, keeping the initial interface visible, thereby separating the itinerary editing interface from the card selection interface, making it convenient for users to compare and select.

[0115] As another optional implementation of this application, in response to a trigger operation on the card selection entry, a card selection interface is displayed; wherein the card selection interface includes candidate location cards. For example, as shown... Figure 8 As shown, in response to the associated control 801 (i.e., the card selection entry) Figure 8 The triggering operation of the control corresponding to the "Inspiration Collection Box" in the middle displays the card selection interface; Figure 8The cards associated with the "attractions" are candidate location cards. Each candidate location card contains location information (e.g., No. XXX, XXX Road), as well as hotspot information and location tags associated with that location information. Optionally, the first itinerary display interface in the above embodiment is a region interface in the card selection interface, which can be found by pulling down the card selection interface.

[0116] Optionally, in this embodiment, as follows Figure 8 As shown, each candidate location card is also equipped with a delete control, which can be used to delete the candidate location card in response to a triggering operation on the delete control.

[0117] S702, in response to the selection operation for the candidate location card, sets the selected candidate location card as the target location card.

[0118] As an optional implementation of this application, the selection operation for candidate location cards in this embodiment can be an operation of dragging a candidate location card to a target area. In response to the operation of dragging a candidate location card to the target area, the candidate location card dragged to the target area is designated as the target location card. The target area can be a pre-configured area in the card selection interface.

[0119] As another optional implementation of this application, in response to a click operation on a candidate location card, the clicked candidate location card is used as the target location card.

[0120] In this embodiment, candidate location cards are displayed by triggering the card selection entry, and the candidate location card selected by the user is determined as the target location card. This effectively solves the technical problems of chaotic location selection, low efficiency and easy error in manual input of location information in itinerary planning. At the same time, it simplifies the operation process of users filtering and determining the target location from the candidate locations, reduces the interaction cost of itinerary editing, improves the accuracy and convenience of location selection, and allows image-generated location cards to be selected quickly and accurately and used for subsequent itinerary generation, significantly improving the overall itinerary planning efficiency and user satisfaction.

[0121] In one embodiment, to facilitate flexible management of candidate location cards and flexible binding of initial itineraries, each candidate location card has an associated itinerary selection entry. Based on this, such as... Figure 9 As shown, in response to a selection operation on a candidate location card, an optional implementation of using the selected candidate location card as the target location card includes:

[0122] S901, in response to a trigger operation that selects an entry for any process, displays candidate processes.

[0123] The candidate itinerary includes the initial itinerary.

[0124] Optionally, in this embodiment, the triggering operation for any trip selection entry can be a triggering operation for the control associated with any trip selection entry, such as a click operation.

[0125] As an optional implementation of this application, such as... Figure 10 As shown, in response to selecting an entry point for the trip (such as...) Figure 10 The pop-up window is triggered by the control corresponding to "Add to Schedule" in the middle; the pop-up window displays candidate schedules; the candidate schedules include the initial schedule.

[0126] As another optional implementation of this application, in response to a triggering operation for any trip selection entry, a trip selection interface is displayed; wherein, the trip selection interface includes candidate trips.

[0127] As another optional implementation of this application, in response to a trigger operation for any trip selection entry, a side border is displayed in the card selection interface; wherein the side border contains candidate trips.

[0128] S902, in response to a trigger operation for the initial trip, uses the candidate location card associated with the trip selection entry as the target location card.

[0129] As an optional implementation of this application, in response to a click operation on the initial trip, the initial trip is selected, and the candidate location card associated with the trip selection entry is used as the target location card.

[0130] As another optional implementation of this application, in response to a long press operation on the initial trip, the initial trip is selected, and the candidate location card associated with the trip selection entry is used as the target location card.

[0131] In this embodiment, by first triggering the trip selection entry to display candidate trips containing the initial trip, and then selecting the initial trip to determine the corresponding candidate location card as the target location card, the technical problems of inaccurate binding of location cards and trips, chaotic card affiliation under multiple trips, and the need for users to manually distinguish the matching relationship between trips and locations are effectively solved. At the same time, the precise association and binding of location cards with target trips is achieved, simplifying the location selection and affiliation operation process in multi-trip scenarios, reducing interaction costs, and improving the accuracy of trip and location card matching and the overall efficiency of trip generation.

[0132] Based on the above embodiments, in order to improve the efficiency of obtaining candidate location cards and meet users' personalized generation needs for candidate location cards, the card selection interface includes an image selection entry. Furthermore, as follows... Figure 11 As shown, an optional implementation method for acquiring a target image includes:

[0133] S1101, in response to a trigger operation on the image selection entry, displays the image selection interface.

[0134] The image selection interface includes candidate images.

[0135] As an optional implementation of this application, such as... Figure 12 As shown, in response to the associated entry control 1201 (i.e., ...) for the image selection entry, Figure 12 Clicking the "Extract Photo Inspiration" control retrieves the gallery interface of the associated terminal and uses it as the image selection interface. The candidate images in the gallery interface can be taken with the camera or added flexibly by the user according to their needs.

[0136] Another optional implementation of this application involves determining the preference information of the user account associated with the client in response to a trigger operation on the image selection entry point; obtaining candidate images based on the preference information; and displaying an image selection interface containing the candidate images. The preference information may be determined based on the user account's content browsing history and account attribute information (e.g., gender, age, attribute tags, etc.).

[0137] As another optional implementation of this application embodiment, in response to a trigger operation for the image selection entry, candidate images are obtained from the image database of the target application corresponding to the trip generation interface, and an image selection interface containing the candidate images is displayed. In this embodiment, one optional implementation for obtaining candidate images from the image database of the target application corresponding to the trip generation interface is to use all images in the image database as candidate images. Another optional implementation for obtaining candidate images from the image database of the target application corresponding to the trip generation interface is to select images from the gallery that have a popularity higher than a threshold or are among the top preset number of gallery images as candidate images, based on the image popularity of the gallery images.

[0138] S1102, in response to the selection operation for the candidate image, the selected candidate image is used as the target image.

[0139] The target image refers to the selected image, that is, the image that meets the user's needs.

[0140] As an optional implementation of this application, in response to a click operation on a candidate image, the candidate image pointed to by the click operation is taken as the target image.

[0141] As another optional implementation of this application, in response to a drag operation on a candidate image, the candidate image dragged to the target area in the image selection interface is used as the target image.

[0142] As another optional implementation of this application, the image selection interface has an automatic selection control; in response to the trigger operation of the automatic selection control, the number of views of each candidate image within a preset historical period (e.g., the last week or the last two days) is obtained, and the candidate images with the highest number of views are selected as the target images.

[0143] In this embodiment, a selection interface containing candidate images is displayed by triggering the image selection entry, and the candidate image selected by the user is determined as the target image. This effectively solves the technical problems in itinerary planning, such as inconsistent image sources, cumbersome path selection, inability to quickly call local image resources, and difficulty in the system to reliably obtain the image materials required for itinerary generation. At the same time, it standardizes the interactive process of image selection, reduces user operation costs, and improves the convenience, stability and accuracy of target image acquisition, providing a reliable data foundation for subsequent image-based location card generation and itinerary construction.

[0144] Based on the above embodiments, to facilitate users in determining the number of target location cards to be added, the trip generation interface includes a display area associated with the initial trip; the display area shows the number of target location cards. Specifically, as shown... Figure 13 As shown, the display area 1301 is configured on the control corresponding to the initial stroke. Figure 13 Figure A shows that "0" indicates that no target location card has been added. Figure 13 Figure B shows that "3" indicates the addition of three target location cards. Optionally, in this embodiment, the associated area of ​​the card selection entry is also configured with a display area to show the number of candidate location cards.

[0145] In one embodiment, to improve the completeness of the generated target itinerary and the rationality of the planning, such as Figure 14 As shown, an optional implementation of generating a target itinerary based on the target location card and the initial itinerary includes:

[0146] S1401, Determine the target location based on the target location card.

[0147] The target location refers to the location planned in the itinerary.

[0148] As an optional implementation of this application, candidate locations are parsed from the target location card and displayed. In response to a confirmation operation for the candidate location, the candidate location is selected as the target location, thereby improving the flexibility and accuracy of location selection.

[0149] Another optional implementation method of this application is to obtain the geographic location information of the target location card and determine the target location corresponding to the geographic location information based on the geographic location information.

[0150] As another optional implementation of this application, when there are multiple target location cards, for each target location card, a candidate location corresponding to that target location card is determined. The proximity values ​​between each candidate location are determined; for each candidate location, it is determined whether there are other candidate locations whose proximity values ​​are lower than a preset threshold. If so, the candidate location is merged with the candidate locations whose proximity values ​​are lower than the preset threshold to obtain the target location; if not, the candidate location is taken as the target location, and so on, to determine all target locations. One optional method for determining the proximity values ​​of each candidate location is to determine the straight-line distance between each candidate location in space and use the straight-line distance as the proximity value. Optionally, in this embodiment, an optional implementation for merging the candidate location with the candidate locations whose proximity values ​​are lower than the preset threshold is to take the center position between the candidate location and the candidate locations whose proximity values ​​are lower than the preset threshold as the target location.

[0151] S1402, based on the target location and the initial itinerary, the target itinerary is obtained.

[0152] The target itinerary includes the start and end points, intermediate points, and the itinerary sequence corresponding to different intermediate points.

[0153] As an optional implementation of this application, based on the location information of the target location and existing locations in the initial itinerary, all locations are automatically sorted and the route is optimized. The order of the start, end, and intermediate points is then replanned to generate a more reasonable target itinerary. The location information includes geographical location, distance, and mode of transportation.

[0154] Another optional implementation of this application is to merge the target location as an independent travel unit with the initial travel to obtain a candidate route, and to perform deduplication processing on the candidate route (deduplicating and integrating duplicate and similar locations). While retaining the initial travel framework, the target location is incorporated to form a target travel with a unified structure and no redundant information.

[0155] Optionally, in this embodiment, after obtaining the target route, such as Figure 15As shown, the target itinerary is displayed in the itinerary display interface. This interface includes initial itinerary information, the starting point, the endpoint, and intermediate locations.

[0156] In this embodiment, by determining the target location based on the target location card and then combining the initial itinerary to generate a target itinerary that includes the start and end points, intermediate locations, and corresponding itinerary sequence, the technical problems of scattered and disordered locations, the need for manual arrangement of routes and sequences, low efficiency of multi-location integration, and incomplete itinerary structure in traditional itinerary planning are effectively solved. At the same time, it realizes the automatic integration of location information and the structured generation of itinerary routes, greatly reducing the user's manual planning costs and improving the completeness, logic, and practicality of itinerary generation.

[0157] It should be understood that although the steps in the flowcharts of the above embodiments 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 above embodiments 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.

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

[0159] In one embodiment, by Figure 16 A structural block diagram of a stroke generation device in one embodiment is shown. Figure 16 As shown, a trip generation device 1 is provided, which includes: a first display module 10, a first acquisition module 20, and a first generation module 30, wherein:

[0160] The first display module 10 is used to display a trip generation interface containing the initial trip.

[0161] The first acquisition module 20 is used to acquire the target image based on the trip generation interface;

[0162] The first generation module 30 is used to generate candidate location cards based on the target image;

[0163] The second acquisition module 40 is used to acquire a target location card based on candidate location cards in response to a card association operation for the initial trip; wherein the target location card is generated based on an image; the target location card includes location information;

[0164] The second generation module 50 is used to generate a target itinerary in response to the itinerary generation operation, based on the target location card and the initial itinerary.

[0165] In one embodiment, the itinerary generation interface includes a card selection entry;

[0166] The second acquisition module is also specifically used for:

[0167] In response to a trigger action that selects an entry point for a card, display candidate location cards;

[0168] In response to the selection operation for the candidate location card, the selected candidate location card is used as the target location card.

[0169] In one embodiment, each candidate location card has an associated trip selection entry;

[0170] The second acquisition module is also specifically used for:

[0171] In response to a trigger operation that selects an entry point for any trip, candidate trips are displayed; wherein, candidate trips include the initial trip;

[0172] In response to a triggered action for the initial trip, the candidate location card associated with the trip selection entry is used as the target location card.

[0173] In one embodiment, the second acquisition module is further specifically used for:

[0174] In response to a trigger action on the card selection entry, a card selection interface is displayed; the card selection interface contains candidate location cards.

[0175] In one embodiment, the card selection interface includes an image selection entry; the first acquisition module is further specifically used for:

[0176] In response to a trigger operation on the image selection entry, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0177] In response to a selection operation on a candidate image, the selected candidate image is used as the target image.

[0178] In one embodiment, the trip generation interface includes a trip input field; the first display module is further specifically used for:

[0179] In response to a trip input operation targeting the trip input field, the initial trip is retrieved, and a trip generation interface containing the initial trip is displayed.

[0180] In one embodiment, the trip generation interface includes a display area associated with the initial trip; the display area shows the number of target location cards.

[0181] In one embodiment, the trip generation interface includes a trip generation control or a trip display control associated with the initial trip;

[0182] The second generation module is also specifically used to perform any of the following:

[0183] In response to a trigger action on the trip generation control, generate the target trip based on the target location card and the initial trip;

[0184] In response to a trigger operation on the trip display control, a first trip display interface containing a target location card and a trip generation control is displayed, and in response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip.

[0185] In one embodiment, the second generation module is further specifically used for:

[0186] Determine the target location based on the target location card;

[0187] Based on the target location and the initial itinerary, the target itinerary is obtained; the target itinerary includes the start and end points and intermediate points, as well as the itinerary sequence corresponding to different intermediate points.

[0188] In one embodiment, a computer device is provided, which may be a platform-side device, and its internal structure diagram may be as follows: Figure 17 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores process generation information. The network interface communicates with an external user via a network connection. When executed by the processor, the computer program implements a process generation method.

[0189] Those skilled in the art will understand that Figure 17The 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. Specifically, the computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0190] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0191] Displays the itinerary generation interface, which includes the initial itinerary;

[0192] Based on the itinerary generation interface, obtain the target image;

[0193] Generate candidate location cards based on the target image;

[0194] In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards;

[0195] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

[0196] In one embodiment, when the processor executes the computer program, it also performs the following steps: the trip generation interface includes a card selection entry;

[0197] In response to the card association operation for the initial itinerary, the target location card is retrieved based on the candidate location cards, including:

[0198] In response to a trigger action that selects an entry point for a card, display candidate location cards;

[0199] In response to the selection operation for the candidate location card, the selected candidate location card is used as the target location card.

[0200] In one embodiment, when the processor executes the computer program, it also performs the following steps: each candidate location card has an associated trip selection entry;

[0201] In response to a selection operation on a candidate location card, the selected candidate location card is used as the target location card, including:

[0202] In response to a trigger operation that selects an entry point for any trip, candidate trips are displayed; wherein, candidate trips include the initial trip;

[0203] In response to a triggered action for the initial trip, the candidate location card associated with the trip selection entry is used as the target location card.

[0204] In one embodiment, the processor, when executing the computer program, further implements the following steps: displaying candidate location cards in response to a trigger operation for selecting an entry point on a card, including:

[0205] In response to a trigger action on the card selection entry, a card selection interface is displayed; the card selection interface contains candidate location cards.

[0206] In one embodiment, when the processor executes the computer program, it further performs the following steps: the card selection interface includes an image selection entry; acquiring the target image includes:

[0207] In response to a trigger operation on the image selection entry, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0208] In response to a selection operation on a candidate image, the selected candidate image is used as the target image.

[0209] In one embodiment, when the processor executes the computer program, it further performs the following steps: the process generation interface includes a process input field; displaying the process generation interface containing the initial process includes:

[0210] In response to a trip input operation targeting the trip input field, the initial trip is retrieved, and a trip generation interface containing the initial trip is displayed.

[0211] In one embodiment, the trip generation interface includes a display area associated with the initial trip; the display area shows the number of target location cards.

[0212] In one embodiment, when the processor executes the computer program, it further performs the following steps: the trip generation interface includes a trip generation control or a trip display control associated with the initial trip;

[0213] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip, including any of the following:

[0214] In response to a trigger action on the trip generation control, generate the target trip based on the target location card and the initial trip;

[0215] In response to a trigger operation on the trip display control, a first trip display interface containing a target location card and a trip generation control is displayed, and in response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip.

[0216] In one embodiment, when the processor executes the computer program, it further performs the following steps: generating a target itinerary based on the target location card and the initial itinerary, including:

[0217] Determine the target location based on the target location card;

[0218] Based on the target location and the initial itinerary, the target itinerary is obtained; the target itinerary includes the start and end points and intermediate points, as well as the itinerary sequence corresponding to different intermediate points.

[0219] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0220] Displays the itinerary generation interface, which includes the initial itinerary;

[0221] Based on the itinerary generation interface, obtain the target image;

[0222] Generate candidate location cards based on the target image;

[0223] In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards;

[0224] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

[0225] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the trip generation interface includes a card selection entry;

[0226] In response to the card association operation for the initial itinerary, the target location card is retrieved based on the candidate location cards, including:

[0227] In response to a trigger action that selects an entry point for a card, display candidate location cards;

[0228] In response to the selection operation for the candidate location card, the selected candidate location card is used as the target location card.

[0229] In one embodiment, when the computer program is executed by a processor, it further implements the following steps: each candidate location card has an associated trip selection entry;

[0230] In response to a selection operation on a candidate location card, the selected candidate location card is used as the target location card, including:

[0231] In response to a trigger operation that selects an entry point for any trip, candidate trips are displayed; wherein, candidate trips include the initial trip;

[0232] In response to a triggered action for the initial trip, the candidate location card associated with the trip selection entry is used as the target location card.

[0233] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: in response to a triggering operation for selecting an entry point for a card, displaying candidate location cards, including:

[0234] In response to a trigger action on the card selection entry, a card selection interface is displayed; the card selection interface contains candidate location cards.

[0235] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the card selection interface includes an image selection entry; acquiring the target image includes:

[0236] In response to a trigger operation on the image selection entry, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0237] In response to a selection operation on a candidate image, the selected candidate image is used as the target image.

[0238] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the trip generation interface includes a trip input field; displaying the trip generation interface containing the initial trip includes:

[0239] In response to a trip input operation targeting the trip input field, the initial trip is retrieved, and a trip generation interface containing the initial trip is displayed.

[0240] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the trip generation interface includes a display area associated with the initial trip; the display area displays the number of target location cards.

[0241] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: the trip generation interface includes a trip generation control or a trip display control associated with the initial trip;

[0242] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip, including any of the following:

[0243] In response to a trigger action on the trip generation control, generate the target trip based on the target location card and the initial trip;

[0244] In response to a trigger operation on the trip display control, a first trip display interface containing a target location card and a trip generation control is displayed, and in response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip.

[0245] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: generating a target itinerary based on the target location card and the initial itinerary, including:

[0246] Determine the target location based on the target location card;

[0247] Based on the target location and the initial itinerary, the target itinerary is obtained; the target itinerary includes the start and end points and intermediate points, as well as the itinerary sequence corresponding to different intermediate points.

[0248] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0249] Displays the itinerary generation interface, which includes the initial itinerary;

[0250] Based on the itinerary generation interface, obtain the target image;

[0251] Generate candidate location cards based on the target image;

[0252] In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards;

[0253] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

[0254] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the trip generation interface includes a card selection entry;

[0255] In response to the card association operation for the initial itinerary, the target location card is retrieved based on the candidate location cards, including:

[0256] In response to a trigger action that selects an entry point for a card, display candidate location cards;

[0257] In response to the selection operation for the candidate location card, the selected candidate location card is used as the target location card.

[0258] In one embodiment, when the computer program is executed by a processor, it further implements the following steps: each candidate location card has an associated trip selection entry;

[0259] In response to a selection operation on a candidate location card, the selected candidate location card is used as the target location card, including:

[0260] In response to a trigger operation that selects an entry point for any trip, candidate trips are displayed; wherein, candidate trips include the initial trip;

[0261] In response to a triggered action for the initial trip, the candidate location card associated with the trip selection entry is used as the target location card.

[0262] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: in response to a triggering operation for selecting an entry point for a card, displaying candidate location cards, including:

[0263] In response to a trigger action on the card selection entry, a card selection interface is displayed; the card selection interface contains candidate location cards.

[0264] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the card selection interface includes an image selection entry; acquiring the target image includes:

[0265] In response to a trigger operation on the image selection entry, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0266] In response to a selection operation on a candidate image, the selected candidate image is used as the target image.

[0267] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the trip generation interface includes a trip input field; displaying the trip generation interface containing the initial trip includes:

[0268] In response to a trip input operation targeting the trip input field, the initial trip is retrieved, and a trip generation interface containing the initial trip is displayed.

[0269] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: the trip generation interface includes a display area associated with the initial trip; the display area displays the number of target location cards.

[0270] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: the trip generation interface includes a trip generation control or a trip display control associated with the initial trip;

[0271] In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip, including any of the following:

[0272] In response to a trigger action on the trip generation control, generate the target trip based on the target location card and the initial trip;

[0273] In response to a trigger operation on the trip display control, a first trip display interface containing a target location card and a trip generation control is displayed, and in response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip.

[0274] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: generating a target itinerary based on the target location card and the initial itinerary, including:

[0275] Determine the target location based on the target location card;

[0276] Based on the target location and the initial itinerary, the target itinerary is obtained; the target itinerary includes the start and end points and intermediate points, as well as the itinerary sequence corresponding to different intermediate points.

[0277] It should be noted that the data involved in this application (including but not limited to messages and information during the trip generation process) are all data that have been fully authorized by all parties, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0278] Those skilled in the art will understand that all or part of the processes in the methods of 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 of the above methods. 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.

[0279] 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.

[0280] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this 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 a route, characterized in that, The method includes: Displays the itinerary generation interface, which includes the initial itinerary; Based on the aforementioned itinerary generation interface, the target image is obtained; Based on the target image, generate candidate location cards; In response to the card association operation for the initial itinerary, the target location card is obtained based on the candidate location cards; In response to the trip generation operation, a target trip is generated based on the target location card and the initial trip.

2. The method according to claim 1, characterized in that, The itinerary generation interface includes a card selection entry point; The step of obtaining the target location card based on the candidate location cards in response to the card association operation for the initial trip includes: In response to a triggered operation that selects an entry point for the card, candidate location cards are displayed; In response to the selection operation for the candidate location card, the selected candidate location card is used as the target location card.

3. The method according to claim 2, characterized in that, Each of the aforementioned candidate location cards has an associated trip selection entry; The step of responding to the selection operation for the candidate location card and using the selected candidate location card as the target location card includes: In response to a trigger operation that selects an entry point for any trip, candidate trips are displayed; wherein, the candidate trips include the initial trip; In response to the triggering operation for the initial trip, the candidate location card associated with the trip selection entry is used as the target location card.

4. The method according to claim 2, characterized in that, The response to the triggered operation of selecting an entry point for the card, displaying candidate location cards, includes: In response to a trigger operation on the card selection entry, a card selection interface is displayed; wherein the card selection interface contains the candidate location cards.

5. The method according to claim 4, characterized in that, The card selection interface includes an image selection entry; obtaining the target image based on the itinerary generation interface includes: In response to a trigger operation on the image selection entry, an image selection interface is displayed; wherein the image selection interface contains candidate images; In response to the selection operation for the candidate image, the selected candidate image is used as the target image.

6. The method according to any one of claims 1-5, characterized in that, The trip generation interface includes a trip input field; the trip generation interface displaying the initial trip includes: In response to a trip input operation targeting the trip input entry, an initial trip is obtained, and a trip generation interface containing the initial trip is displayed.

7. The method according to claim 6, characterized in that, The itinerary generation interface includes a display area associated with the initial itinerary; the display area shows the number of target location cards.

8. The method according to claim 6, characterized in that, The itinerary generation interface includes itinerary generation controls or itinerary display controls associated with the initial itinerary; The response to the trip generation operation, generating a target trip based on the target location card and the initial trip, includes any of the following: In response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip; In response to a trigger operation on the trip display control, a first trip display interface containing the target location card and the trip generation control is displayed, and in response to a trigger operation on the trip generation control, a target trip is generated based on the target location card and the initial trip.

9. The method according to any one of claims 1-5, characterized in that, The process of generating a target itinerary based on the target location card and the initial itinerary includes: Based on the target location card, determine the target location; Based on the target location and the initial itinerary, a target itinerary is obtained; wherein, the target itinerary includes the start and end points and intermediate points, as well as the itinerary sequence corresponding to different intermediate points.

10. A stroke generation device, characterized in that, The device includes: The first display module is used to display the itinerary generation interface containing the initial itinerary; The first acquisition module is used to acquire the target image based on the trip generation interface; The first generation module is used to generate candidate location cards based on the target image; The second acquisition module is used to acquire the target location card based on the candidate location cards in response to the card association operation for the initial trip; The second generation module is used to generate a target itinerary in response to the itinerary generation operation, based on the target location card and the initial itinerary.

11. 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 9.

12. 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 process generation method as described in any one of claims 1 to 9.

13. A computer program product comprising computer-executable instructions, characterized in that, The instructions are executed by the processor to implement the process generation method according to any one of claims 1 to 9.