Travel scheme recommendation method and device, electronic equipment and storage medium

By obtaining the order of attractions and travel methods entered by users, and generating travel plans, the problem of lack of interactivity and richness of route planning in the existing technology is solved, and the user experience is improved.

CN119250319APending Publication Date: 2025-01-03GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411168207.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The existing technology lacks interaction and richness in route planning and cannot provide a better user experience.

Method used

By obtaining multiple attractions and their sequence information entered by the user, displaying identification elements and pointing elements, and generating travel plans, including cycling or driving routes, based on the travel method and time selected by the user, and providing reminders and alternatives.

Benefits of technology

It improves the richness of travel planning and interaction and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119250319A_ABST
    Figure CN119250319A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a travel scheme recommendation method, which comprises the following steps of: acquiring a plurality of scenic spots input by a user, and determining sequence information of the plurality of scenic spots; displaying identification elements corresponding to the plurality of scenic spots, and displaying pointing elements among the plurality of scenic spots; the pointing element is determined according to the sequence information of the multiple scenic spots; obtaining a target pointing element, travel time and a travel mode selected by the user; and obtaining the business time of the scenic spot corresponding to the target pointing element, and generating a travel scheme according to the business time, the travel time and the travel mode of the scenic spot corresponding to the target pointing element. Therefore, the travel time and the travel mode corresponding to the pointing elements among the plurality of scenic spots can be selected, and the travel scheme is generated based on the business time of the scenic spots, so that the richness in the aspects of travel planning and interaction is improved, and meanwhile, the experience feeling of a user is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a travel plan recommendation method, a travel plan recommendation device, an electronic device and a computer-readable storage medium. Background Art

[0002] With the development of the economy, people's spiritual and cultural needs will also increase day by day. Naturally, travel has become an indispensable part of everyone's life. With the development of science and technology, people can be provided with electronic maps during travel, which brings a lot of convenience to people. However, in related technologies, when planning routes, there is still a certain lack of richness in interaction and planning, which cannot bring a better experience to users. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a travel plan recommendation method, a travel plan recommendation device, an electronic device and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problems, an embodiment of the present invention discloses a travel plan recommendation method, which includes:

[0005] Acquire multiple scenic spots input by a user, and determine sequence information of the multiple scenic spots;

[0006] Displaying identification elements corresponding to the plurality of scenic spots, and displaying pointing elements between the plurality of scenic spots; the pointing elements are determined according to sequence information of the plurality of scenic spots;

[0007] Obtain the target pointing element, travel time and travel mode selected by the user;

[0008] The business hours of the scenic spot corresponding to the target pointing element are obtained, and a travel plan is generated according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode.

[0009] Optionally, the travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; generating the travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode includes:

[0010] If the mode of travel is cycling, a corresponding cycling route is generated according to the location of the scenic spot corresponding to the target pointing element, and the positioning information of available shared bicycles near the scenic spot corresponding to the target pointing element and the positioning information of where the shared bicycles can be parked are displayed;

[0011] determining an arrival time based on the travel time;

[0012] Determine whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element;

[0013] If the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element, a reminder message is output and other travel plans to reach the scenic spot corresponding to the target pointing element are generated; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated based on the recommended travel time and / or recommended travel mode.

[0014] Optionally, the travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; generating a recommended route and a travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode, including:

[0015] If the mode of travel is driving, a corresponding driving route is generated according to the location of the scenic spot corresponding to the target pointing element, and parking lot information near the scenic spot corresponding to the target pointing element is displayed;

[0016] Determine arrival time based on travel time;

[0017] Determine whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element;

[0018] If the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element, a reminder message is output and other travel plans to reach the scenic spot corresponding to the target pointing element are generated; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated based on the recommended travel time and / or recommended travel mode.

[0019] Optionally, the method further comprises:

[0020] Acquire a click operation of a user on the target pointing element, and in response to the click operation on the target pointing element, enter an editing state for the scenic spot and the travel plan;

[0021] The user's selection or change operation on the scenic spot and / or the travel plan is obtained to determine a final travel plan.

[0022] Optionally, the acquiring of multiple scenic spots input by the user includes:

[0023] Get multiple attractions manually entered by the user through the search bar;

[0024] and / or,

[0025] Get the user's click operation on the icons of multiple scenic spots in the map interface.

[0026] Optionally, the displaying of identification elements corresponding to the plurality of scenic spots includes:

[0027] According to the sequence information of the multiple scenic spots, identification elements corresponding to the multiple scenic spots are displayed in a preset list.

[0028] Optionally, after displaying identification elements corresponding to the plurality of scenic spots in a preset list according to the sequence information of the plurality of scenic spots, the method further includes:

[0029] A drag operation of the user on the identification element in the preset list is obtained, and in response to the drag operation on the identification element in the preset list, the display of the corresponding identifications of the plurality of scenic spots displayed in the preset list is updated.

[0030] Optionally, after acquiring the multiple scenic spots input by the user and determining the sequence information of the multiple scenic spots, the method further includes:

[0031] In the map interface, icons corresponding to the plurality of scenic spots are lighted up, and the lighted icons are marked according to the sequence information of the plurality of scenic spots.

[0032] Optionally, after displaying the identification elements corresponding to the plurality of scenic spots, the method further includes:

[0033] Obtaining a click operation of the user on the lighted icon;

[0034] The lighted icon corresponding to the click operation is switched to an initial state, and the identification element of the scenic spot corresponding to the click operation is deleted.

[0035] The embodiment of the present invention discloses a travel plan recommendation device, the device comprising:

[0036] A first acquisition module, used to acquire multiple scenic spots input by a user and determine sequence information of the multiple scenic spots;

[0037] A display module, used to display identification elements corresponding to the plurality of scenic spots, and to display pointing elements between the plurality of scenic spots; the pointing elements are determined according to sequence information of the plurality of scenic spots;

[0038] The second acquisition module is used to obtain the target pointing element, travel time and travel mode selected by the user;

[0039] The generating module is used to obtain the business hours of the scenic spot corresponding to the target pointing element, and generate a travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode.

[0040] Optionally, the travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; the generating module includes:

[0041] The first generating submodule is used for generating a corresponding cycling route according to the location of the scenic spot corresponding to the target pointing element if the travel mode is cycling, and displaying the available shared bicycle positioning information and the positioning information of the shared bicycle that can be parked near the scenic spot corresponding to the target pointing element;

[0042] A first determination submodule, configured to determine an arrival time according to the travel time;

[0043] A first judgment submodule is used to judge whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element;

[0044] The second generation submodule is used to output a reminder message and generate other travel plans to reach the scenic spot corresponding to the target pointing element if the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated according to the recommended travel time and / or recommended travel method.

[0045] Optionally, the travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; the generating module includes:

[0046] The third generation submodule is used to generate a corresponding driving route according to the location of the scenic spot corresponding to the target pointing element if the travel mode is driving, and display parking lot information near the scenic spot corresponding to the target pointing element;

[0047] The second determination submodule is used to determine the arrival time according to the travel time;

[0048] The second judgment submodule is used to judge whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element;

[0049] The fourth generation submodule is used to output a reminder message and generate other travel plans to reach the scenic spot corresponding to the target pointing element if the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated according to the recommended travel time and / or recommended travel method.

[0050] Optionally, the device further comprises:

[0051] A third acquisition module is used to acquire a click operation of the user on the target pointing element, and enter an editing state for the scenic spot and the travel plan in response to the click operation on the target pointing element;

[0052] The determination module is used to obtain the user's selection or change operation on the scenic spot and / or the travel plan, and determine the final travel plan.

[0053] Optionally, the first acquisition module includes:

[0054] The first acquisition submodule is used to acquire multiple scenic spots manually input by the user through the search bar;

[0055] and / or,

[0056] The second acquisition submodule is used to acquire the user's click operation on the icons of multiple scenic spots in the map interface.

[0057] Optionally, the display module includes:

[0058] The display submodule is used to display the identification elements corresponding to the plurality of scenic spots in a preset list according to the sequence information of the plurality of scenic spots.

[0059] Optionally, the device further comprises:

[0060] The updating module is used to obtain the user's dragging operation on the identification element in the preset list, and in response to the dragging operation on the identification element in the preset list, update the display of the corresponding identifications of the multiple scenic spots displayed in the preset list.

[0061] Optionally, the device further comprises:

[0062] The lighting module is used to light up the icons corresponding to the multiple scenic spots in the map interface, and mark the lit icons according to the sequence information of the multiple scenic spots.

[0063] Optionally, the device further comprises:

[0064] A fourth acquisition module, used to acquire a click operation of the user on the lighted icon;

[0065] The deletion module is used to switch the lighted icon corresponding to the click operation to the initial state, and delete the identification element of the scenic spot corresponding to the click operation.

[0066] The present invention also discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the travel plan recommendation method as described above when executing the computer program.

[0067] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the travel plan recommendation method as described above are implemented.

[0068] The embodiments of the present invention include the following advantages:

[0069] In an embodiment of the present invention, multiple scenic spots input by a user are obtained, and the sequence information of the multiple scenic spots is determined, and then identification elements corresponding to the multiple scenic spots are displayed, and pointing elements between the multiple scenic spots are displayed, wherein the pointing elements are determined according to the sequence information of the multiple scenic spots, and then the target pointing element, travel time, and travel mode selected by the user are obtained, and the business hours of the scenic spot corresponding to the target pointing element are obtained, and a travel plan is generated according to the business hours, travel time, and travel mode corresponding to the target pointing element, so that the travel time and travel mode corresponding to the pointing elements between the multiple scenic spots can be selected, and the travel plan is generated based on the business hours of the scenic spots, thereby improving the richness of travel planning and interaction, and also improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 is a flowchart of a travel plan recommendation method provided by an embodiment of the present invention;

[0071] Figure 2 is a schematic diagram of an interactive interface display provided by an embodiment of the present invention;

[0072] Figure 3 is a flowchart of the steps of displaying a preset list provided by an embodiment of the present invention;

[0073] Figure 4 is a flowchart of another method for recommending a travel plan provided by an embodiment of the present invention;

[0074] Figure 5 is a flow chart of data processing steps for recommending a travel plan provided by an embodiment of the present invention;

[0075] Figure 6 It is a structural block diagram of a travel plan recommendation device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0076] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0077] In the related art, when planning a route, there is still a lack of certain richness in interaction and planning, which cannot bring a better experience to users. In order to solve the above technical problems, the present invention provides a travel plan recommendation method, which obtains multiple scenic spots input by the user, determines the order information of the multiple scenic spots, and then displays the identification elements corresponding to the multiple scenic spots, and displays the pointing elements between the multiple scenic spots, wherein the pointing elements are determined according to the order information of the multiple scenic spots, and then obtains the target pointing element, travel time and travel mode selected by the user, obtains the business hours of the scenic spot corresponding to the target pointing element, and generates a travel plan according to the business hours, travel time and travel mode corresponding to the target pointing element, so that the travel time and travel mode corresponding to the pointing elements between the multiple scenic spots can be selected, and the travel plan is generated based on the business hours of the scenic spots, which improves the richness in travel planning and interaction, and also improves the user experience.

[0078] Reference Figure 1 , shows a flow chart of the steps of a travel plan recommendation method provided by an embodiment of the present invention, and the method may specifically include the following steps:

[0079] Step 101: Acquire multiple scenic spots input by a user, and determine sequence information of the multiple scenic spots.

[0080] In an embodiment of the present invention, a travel plan recommendation method can be applied to an electronic device, and can also be applied to a navigation application in an electronic device. When a user is traveling and is unclear about the specific route or travel plan for multiple scenic spots, the user can input multiple scenic spots to travel to through an electronic device, and the electronic device can determine the order information of the multiple scenic spots when obtaining the multiple scenic spots input by the user. For example, the multiple scenic spots input by the user in sequence are scenic spots A, scenic spots B, scenic spots C, and scenic spots D, then the electronic device can determine the order information of the multiple scenic spots as scenic spots A, scenic spots B, scenic spots C, and scenic spots D. At this time, it also indicates that the user wants to go to scenic spot A first, then to scenic spot B, then to scenic spot C, and finally to scenic spot D. In order to better explain the embodiments of the present invention, the subsequent examples are all explained by taking the multiple scenic spots input by the user in sequence as scenic spots A, scenic spots B, scenic spots C, and scenic spots D as an example.

[0081] In one embodiment, obtaining multiple scenic spots input by the user may include: obtaining multiple scenic spots manually input by the user through a search bar; and / or obtaining a click operation of the user on icons of the multiple scenic spots in a map interface.

[0082] Specifically, a search bar may be provided in the interactive interface of the electronic device, and the user may sequentially input scenic spots A, scenic spots B, scenic spots C, and scenic spots D in the search bar, or a map interface may be provided in the interactive interface of the electronic device, and the user may sequentially click on the icons of scenic spots A, scenic spots B, scenic spots C, and scenic spots D in the map interface. In the present invention, the user may also input multiple scenic spots by combining the manual input method in the search bar with the method of clicking on icons, for example: input scenic spot A through the search bar, then click on the icon of scenic spot B in the map interface, then input scenic spot C in the search bar, and then click on the icon of scenic spot C in the map interface. In the present invention, the method of inputting multiple scenic spots according to the map can be operated according to actual needs, and the present invention is not specifically limited here.

[0083] Step 102: display identification elements corresponding to the plurality of scenic spots, and display pointing elements between the plurality of scenic spots; the pointing elements are determined according to sequence information of the plurality of scenic spots.

[0084] In an embodiment of the present invention, after obtaining multiple scenic spots input by a user and determining the order information of the multiple scenic spots, identification elements corresponding to the multiple scenic spots can be displayed in the interactive interface, wherein the identification elements can be the names corresponding to the scenic spots, or images corresponding to the scenic spots, etc., or identification elements in other display modes. The present invention does not specifically limit the specific identification elements. It should be noted that in the present invention, when displaying identification elements corresponding to multiple scenic spots, they can be displayed according to the order information of the multiple scenic spots, for example, displaying scenic spots A, scenic spots B, scenic spots C, and scenic spots D in sequence.

[0085] In the embodiment of the present invention, after displaying the identification elements corresponding to the multiple scenic spots, the pointing elements between the multiple scenic spots can also be displayed simultaneously, wherein the pointing elements are determined according to the sequence information of the multiple scenic spots. Figure 2 FIG. 1 is a schematic diagram of an interactive interface display provided by an embodiment of the present invention. The map interface in the interactive interface can display scenic spot A to scenic spot B, scenic spot B to scenic spot C, and scenic spot C to scenic spot D.

[0086] In one embodiment, displaying identification elements corresponding to the plurality of scenic spots may include: displaying identification elements corresponding to the plurality of scenic spots in a preset list according to the sequence information of the plurality of scenic spots. Figure 2 As shown, a preset list can be displayed in a partial area in the interactive interface, and then the identification elements of scenic spot A, scenic spot B, scenic spot C and scenic spot D are displayed in sequence in the preset list according to the sequence information of multiple scenic spots.

[0087] In an embodiment of the present invention, after displaying the identification elements corresponding to the multiple scenic spots in a preset list according to the sequence information of the multiple scenic spots, it may also include: obtaining the user's drag operation on the identification element in the preset list, and responding to the drag operation on the identification element in the preset list, and updating the display of the corresponding identifications of the multiple scenic spots displayed in the preset list.

[0088] Specifically, for example: after the user enters attractions A, B, C and D in sequence, the identification elements of attractions A, B, C and D are also displayed in sequence in the preset list. At this time, the user has changed his travel plan and wants to go to attraction A first, then to attraction C, then to attraction B, and finally to attraction D. At this time, the user can drag the identification element of attraction C in the preset list and drag the identification element of attraction C between the identification elements of attractions A and B, or drag the identification element of attraction B between the identification elements of attractions C and D. At this time, the electronic device can update the display of corresponding identifications of multiple attractions displayed in the preset list to attractions A, C, B and D.

[0089] In the embodiment of the present invention, after obtaining multiple scenic spots input by the user and determining the sequence information of the multiple scenic spots, the method further includes: lighting up icons corresponding to the multiple scenic spots in the map interface and marking the lit icons according to the sequence information of the multiple scenic spots.

[0090] Specifically, after the user inputs attractions A, attractions B, attractions C and attractions D, the icons of attractions A, attractions B, attractions C and attractions D can be lit up in the map interaction interface, and the lit icons can be marked according to the order information of attractions A, attractions B, attractions C and attractions D entered. For example, 1, 2, 3, and 4 can be displayed on the icons of attractions A, attractions B, attractions C, and attractions D in sequence. In this way, the user can intuitively see that the first attraction to be visited is A, the next attraction to be visited is B, then the attraction to be visited is C, and the last attraction to be visited is D.

[0091] In the embodiment of the present invention, after displaying identification elements corresponding to multiple scenic spots, the method may further include: obtaining a user's click operation on a lit icon; switching the lit icon corresponding to the click operation to an initial state, and deleting the identification element of the scenic spot corresponding to the click operation.

[0092] Specifically, if the user changes the travel plan at this time and does not want to go to attraction B, the user can click on the lit attraction B. At this time, the electronic device can switch the icon of the lit attraction B to the initial state, that is, switch the lit attraction B to an unlit state, and delete the identification element corresponding to attraction B.

[0093] In one embodiment, if the user changes the travel plan at this time and does not want to go to attraction B, the user can drag the identification element corresponding to attraction B in the preset list and drag the identification element corresponding to attraction B out of the preset list. At this time, the identification element corresponding to attraction B in the preset list can be deleted.

[0094] It should be noted that, in the present invention, when the lighted icon corresponding to the click operation is switched to the initial state, the identification element of the scenic spot corresponding to the click operation in the preset list can be deleted at the same time.

[0095] In order to better understand the embodiments of the present invention, Figure 3 For details, please refer to the following sections. Figure 3 As shown, a flow chart of the steps of displaying a preset list provided by an embodiment of the present invention is shown. A user can manually enter multiple scenic spots in the search bar, and the icons of the multiple scenic spots can be lit up in the map interface according to the sequence information of the multiple scenic spots, and the order of the icons can be marked. In the preset list, the identification elements corresponding to the multiple scenic spots are displayed according to the sequence information of the multiple scenic spots. The user clicks the icons corresponding to the multiple scenic spots in the map interface, and the icons of the multiple scenic spots can be lit up in the map interface according to the sequence information of the multiple scenic spots, and the order of the icons can be marked. In the preset list, the identification elements corresponding to the multiple scenic spots are displayed according to the sequence information of the multiple scenic spots. When the user drags the multiple scenic spots in the preset list, the display of the identification corresponding to the multiple scenic spots displayed in the preset list is updated, and the icon of the illuminated scenic spot is updated in the map interface. When the user clicks the icon lit in the map interface, the illuminated icon of the scenic spot corresponding to the click operation is switched to the initial state in the map interface, and the icon of the illuminated scenic spot is updated, and the identification elements corresponding to the multiple scenic spots displayed in the preset list are updated.

[0096] Step 103: Obtain the target pointing element, travel time and travel mode selected by the user.

[0097] In the embodiment of the present invention, after the directional elements between multiple scenic spots are displayed, the user can click on the directional elements between the multiple scenic spots to determine the target directional element selected by the user. For example, if the user clicks on the directional element from scenic spot B to scenic spot C, then the directional element from scenic spot B to scenic spot C can be determined as the target directional element. At this time, the user can enter the travel time and travel method from scenic spot B to scenic spot C through the input box.

[0098] Step 104: acquiring the business hours of the scenic spot corresponding to the target pointing element, and generating a travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode.

[0099] In the embodiment of the present invention, after obtaining the target pointing element, travel time and travel mode selected by the user, the business hours of the scenic spot corresponding to the target pointing element can be obtained, and a travel plan can be generated according to the business hours, travel time and travel mode of the scenic spot corresponding to the target pointing element. For example: if the target pointing element is from scenic spot A to scenic spot B, then the business hours of scenic spot B can be obtained, where the business hours include the business start time and the business end time. At this time, a travel plan can be generated according to the business hours, travel time and travel mode of scenic spot B.

[0100] In one embodiment, a travel plan includes generating a route according to the location of a scenic spot corresponding to a target pointing element; generating a travel plan according to the business hours, travel time and travel mode of the scenic spot corresponding to the target pointing element, including: if the travel mode is cycling, generating a corresponding cycling route according to the location of the scenic spot corresponding to the target pointing element, and displaying the positioning information of available shared bicycles and the positioning information of parkable shared bicycles near the scenic spot corresponding to the target pointing element; determining the arrival time according to the travel time; judging whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; if the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element, outputting a reminder message and generating other travel plans to reach the scenic spot corresponding to the target pointing element; other travel plans include routes to reach the location of the scenic spot corresponding to the target pointing element generated according to the recommended travel time and / or recommended travel mode.

[0101] Specifically, if the mode of travel input by the user is cycling, and the target pointing element is from scenic spot A to scenic spot B, then the corresponding cycling route can be generated according to the locations of scenic spots A and B. At this time, the positioning information of available shared bicycles near scenic spot A can be displayed so that the user knows where there are shared bicycles near scenic spot A. At the same time, the positioning information of shared bicycles that can be parked near scenic spot B will be displayed. When generating a cycling route, the arrival time from scenic spot A to scenic spot B can be determined according to the travel time input by the user, and then it can be determined whether the arrival time exceeds or approaches the closing time of scenic spot B. If the arrival time exceeds or approaches the closing time of scenic spot B, a prompt message will be output to remind the user that he will not be able to play after arriving at scenic spot B, so as to avoid unnecessary travel for the user. If the arrival time exceeds or approaches the closing time of scenic spot B, a travel plan to scenic spot B will also be generated. For example, a route to scenic spot B is generated based on an earlier recommended travel time and / or a faster recommended travel method for the user to choose.

[0102] In one embodiment, a travel plan includes generating a route according to the location of a scenic spot corresponding to a target pointing element; generating a recommended route and a travel plan according to the business hours, travel time and travel mode of the scenic spot corresponding to the target pointing element, which may include: if the travel mode is driving, generating a corresponding driving route according to the location of the scenic spot corresponding to the target pointing element, and displaying parking information near the scenic spot corresponding to the target pointing element; determining an arrival time according to the travel time; judging whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; if the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element, outputting a reminder message, and generating other travel plans to reach the scenic spot corresponding to the target pointing element; other travel plans include a route to the location of the scenic spot corresponding to the target pointing element generated according to the recommended travel time and / or recommended travel mode.

[0103] Specifically, if the travel mode input by the user is driving, and the target pointing element is from scenic spot A to scenic spot B, then the corresponding driving route can be generated according to the locations of scenic spots A and B. At this time, the parking lot information near scenic spot A can be displayed so that the user knows where to park near scenic spot A. When generating the driving route, the arrival time from scenic spot A to scenic spot B can be determined according to the travel time input by the user, and then it can be determined whether the arrival time exceeds or approaches the closing time of scenic spot B. If the arrival time exceeds or approaches the closing time of scenic spot B, a prompt message will be output to remind the user that he cannot play after arriving at scenic spot B, so as to avoid unnecessary travel for the user. If the arrival time exceeds or approaches the closing time of scenic spot B, a travel plan to scenic spot B will also be generated, such as generating a route to scenic spot B based on an earlier recommended travel time and / or a faster recommended travel mode for the user to choose.

[0104] In an embodiment of the present invention, it may also include: obtaining a user's click operation on a target pointing element, responding to the click operation on the target pointing element, and entering an editing state for scenic spots and travel plans; obtaining a user's selection or change operation on scenic spots and / or travel plans, and determining a final travel plan.

[0105] Specifically, if the user wants to modify the travel plan or the attractions he wants to visit, he can click on the target pointing element. At this time, he can enter the editing state for the attractions and travel plan. The user can select or change the attractions and / or travel plan. After making a selection or change, the final travel plan can be generated.

[0106] In order to better understand the embodiments of the present invention, Figure 4 For details, please refer to the following sections. Figure 4As shown, a flow chart of the steps of another travel plan recommendation method provided by an embodiment of the present invention is shown. The user selects a target pointing element from the pointing elements between multiple scenic spots in the map interface, and enters the travel time and travel mode in the input bar. If the travel mode is cycling, the available shared bicycle positioning information and the positioning information of the parkable shared bicycles near the scenic spot corresponding to the target pointing element and the generated cycling route are displayed in the map interface. If the arrival time exceeds or is close to the business hours of the scenic spot corresponding to the target pointing element, reminder information and other travel plans are displayed in the plan list. If the user clicks on the target pointing element in the map interface, the editing state for the scenic spot and travel plan is entered, the user's selection or change operation on the scenic spot and / or travel plan is obtained, and the final travel plan is determined.

[0107] In the embodiment of the present invention, multiple scenic spots input by a user are obtained, and the sequence information of the multiple scenic spots is determined; identification elements corresponding to the multiple scenic spots are displayed, and pointing elements between the multiple scenic spots are displayed; the pointing elements are determined according to the sequence information of the multiple scenic spots; the target pointing element, travel time and travel mode selected by the user are obtained; the business hours of the scenic spot corresponding to the target pointing element are obtained, and a travel plan is generated according to the business hours, travel time and travel mode of the scenic spot corresponding to the target pointing element. Therefore, the travel time and travel mode corresponding to the pointing elements between the multiple scenic spots can be selected, and a travel plan is generated based on the business hours of the scenic spots, which improves the richness of travel planning and interaction, and also improves the user experience.

[0108] like Figure 5 As shown, a flow chart of data processing steps for travel plan recommendation provided by an embodiment of the present invention is shown, which specifically includes: Marke layer, map base map, Poluline layer and custom layer. When the user clicks, a click event is triggered. When the clicked position is an icon in the map base map and it is not lit, the markerLayer.add event in the Marke layer is triggered, and the icon is added to the Marke layer to be lit. When the clicked position is an icon in the map base map and it is lit, the markerLayer.remove event in the Marke layer is triggered, and the lit icon is deleted from the Marke layer, thereby canceling the lit state. When the user drags the identification element in the preset list, the order of the lit icons is changed, and the markerLayer.updateGeometries method is triggered, and the serial number in the original style of the lit icon is changed to the latest order.

[0109] When the user is planning a route, the lit icons that are adjacent to each other in sequence will be passed to the Poluline layer, and polyline.add will be triggered to add pointing elements between multiple scenic spots. The user clicks on the generated pointing element to become selected, and the selected pointing element is determined as the target pointing element. At this time, the travel plan is queried through the webservice request based on the input travel time and travel mode, and added to the plan list. After the user selects the plan, polylineStyle is triggered to set the target pointing element to the selected style. When the input travel mode is cycling, the custom map layer is triggered to carry the html of the available shared bicycle positioning information near the scenic spot corresponding to the target pointing element obtained from the webservice and the positioning information of the shared bicycle that can be parked <canvas>Elements are overlaid on the map for display.

[0110] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0111] Reference Figure 6 , shows a structural block diagram of a travel plan recommendation device provided by an embodiment of the present invention, which may specifically include the following modules:

[0112] A first acquisition module 601 is used to acquire multiple scenic spots input by a user and determine sequence information of the multiple scenic spots;

[0113] Display module 602, used to display identification elements corresponding to the multiple scenic spots, and display pointing elements between the multiple scenic spots; the pointing elements are determined according to the sequence information of the multiple scenic spots;

[0114] The second acquisition module 603 is used to acquire the target pointing element, travel time and travel mode selected by the user;

[0115] The generating module 604 is used to obtain the business hours of the scenic spot corresponding to the target pointing element, and generate a travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode.

[0116] In one embodiment, the travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; the generating module 604 includes:

[0117] The first generating submodule is used for generating a corresponding cycling route according to the location of the scenic spot corresponding to the target pointing element if the travel mode is cycling, and displaying the available shared bicycle positioning information and the positioning information of the shared bicycle that can be parked near the scenic spot corresponding to the target pointing element;

[0118] A first determination submodule, configured to determine an arrival time according to the travel time;

[0119] A first judgment submodule is used to judge whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element;

[0120] The second generation submodule is used to output a reminder message and generate other travel plans to reach the scenic spot corresponding to the target pointing element if the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated according to the recommended travel time and / or recommended travel method.

[0121] In one embodiment, the travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; the generating module 604 includes:

[0122] The third generation submodule is used to generate a corresponding driving route according to the location of the scenic spot corresponding to the target pointing element if the travel mode is driving, and display parking lot information near the scenic spot corresponding to the target pointing element;

[0123] The second determination submodule is used to determine the arrival time according to the travel time;

[0124] The second judgment submodule is used to judge whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element;

[0125] The fourth generation submodule is used to output a reminder message and generate other travel plans to reach the scenic spot corresponding to the target pointing element if the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated according to the recommended travel time and / or recommended travel method.

[0126] In one embodiment, the device further comprises:

[0127] A third acquisition module is used to acquire a click operation of the user on the target pointing element, and enter an editing state for the scenic spot and the travel plan in response to the click operation on the target pointing element;

[0128] The determination module is used to obtain the user's selection or change operation on the scenic spot and / or the travel plan, and determine the final travel plan.

[0129] In one embodiment, the first acquisition module 601 includes:

[0130] The first acquisition submodule is used to acquire multiple scenic spots manually input by the user through the search bar;

[0131] and / or,

[0132] The second acquisition submodule is used to acquire the user's click operation on the icons of multiple scenic spots in the map interface.

[0133] In one embodiment, the display module 602 includes:

[0134] The display submodule is used to display the identification elements corresponding to the plurality of scenic spots in a preset list according to the sequence information of the plurality of scenic spots.

[0135] In one embodiment, the device further comprises:

[0136] The updating module is used to obtain the user's dragging operation on the identification element in the preset list, and in response to the dragging operation on the identification element in the preset list, update the display of the corresponding identifications of the multiple scenic spots displayed in the preset list.

[0137] In one embodiment, the device further comprises:

[0138] The lighting module is used to light up the icons corresponding to the multiple scenic spots in the map interface, and mark the lit icons according to the sequence information of the multiple scenic spots.

[0139] In one embodiment, the device further comprises:

[0140] A fourth acquisition module, used to acquire a click operation of the user on the lighted icon;

[0141] The deletion module is used to switch the lighted icon corresponding to the click operation to the initial state, and delete the identification element of the scenic spot corresponding to the click operation.

[0142] In the embodiment of the present invention, the first acquisition module is used to acquire multiple scenic spots input by the user and determine the order information of the multiple scenic spots; the display module is used to display the identification elements corresponding to the multiple scenic spots, and display the pointing elements between the multiple scenic spots; the pointing elements are determined according to the order information of the multiple scenic spots; the second acquisition module is used to acquire the target pointing element, travel time and travel mode selected by the user; the generation module is used to acquire the business hours of the scenic spot corresponding to the target pointing element, and generate a travel plan according to the business hours, travel time and travel mode of the scenic spot corresponding to the target pointing element. In this way, the travel time and travel mode corresponding to the pointing elements between the multiple scenic spots can be selected, and the travel plan can be generated based on the business hours of the scenic spots, which improves the richness of travel planning and interaction, and also improves the user experience.

[0143] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0144] An embodiment of the present invention further provides an electronic device, including:

[0145] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned travel plan recommendation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0146] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned travel plan recommendation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0147] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0148] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

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

[0150] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0152] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0153] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0154] The travel plan recommendation method, travel plan recommendation device, electronic device and computer-readable storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.< / canvas>

Claims

1. A travel plan recommendation method, characterized in that: The method comprises: Acquire multiple scenic spots input by a user, and determine sequence information of the multiple scenic spots; Displaying identification elements corresponding to the plurality of scenic spots, and displaying pointing elements between the plurality of scenic spots; the pointing elements are determined according to sequence information of the plurality of scenic spots; Obtain the target pointing element, travel time and travel mode selected by the user; The business hours of the scenic spot corresponding to the target pointing element are obtained, and a travel plan is generated according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode.

2. The travel plan recommendation method according to claim 1, characterized in that: The travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; generating the travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode, including: If the mode of travel is cycling, a corresponding cycling route is generated according to the location of the scenic spot corresponding to the target pointing element, and the positioning information of available shared bicycles near the scenic spot corresponding to the target pointing element and the positioning information of where the shared bicycles can be parked are displayed; determining an arrival time based on the travel time; Determine whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; If the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element, a reminder message is output and other travel plans to reach the scenic spot corresponding to the target pointing element are generated; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated based on the recommended travel time and / or recommended travel mode.

3. The travel plan recommendation method according to claim 1, characterized in that: The travel plan includes generating a route according to the location of the scenic spot corresponding to the target pointing element; generating a recommended route and a travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode, including: If the mode of travel is driving, a corresponding driving route is generated according to the location of the scenic spot corresponding to the target pointing element, and parking lot information near the scenic spot corresponding to the target pointing element is displayed; Determine arrival time based on travel time; Determine whether the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element; If the arrival time exceeds or approaches the business hours of the scenic spot corresponding to the target pointing element, a reminder message is output and other travel plans to reach the scenic spot corresponding to the target pointing element are generated; the other travel plans include routes to the location of the scenic spot corresponding to the target pointing element generated based on the recommended travel time and / or recommended travel mode.

4. The travel plan recommendation method according to claim 1, characterized in that: The method further comprises: Acquire a user's click operation on the target pointing element, and in response to the click operation on the target pointing element, enter an editing state for the scenic spot and the travel plan; The user's selection or change operation on the scenic spot and / or the travel plan is obtained to determine a final travel plan.

5. The travel plan recommendation method according to claim 1, characterized in that: The step of obtaining multiple scenic spots input by a user includes: Get multiple attractions manually entered by the user through the search bar; and / or, Get the user's click operation on the icons of multiple scenic spots in the map interface.

6. The travel plan recommendation method according to claim 1, characterized in that: The displaying of identification elements corresponding to the plurality of scenic spots includes: According to the sequence information of the multiple scenic spots, identification elements corresponding to the multiple scenic spots are displayed in a preset list.

7. The travel plan recommendation method according to claim 6, characterized in that: After displaying the identification elements corresponding to the plurality of scenic spots in a preset list according to the sequence information of the plurality of scenic spots, the method further includes: A drag operation of the user on the identification element in the preset list is obtained, and in response to the drag operation on the identification element in the preset list, the display of the corresponding identifications of the plurality of scenic spots displayed in the preset list is updated.

8. The method according to claim 1, characterized in that After obtaining the plurality of scenic spots input by the user and determining the sequence information of the plurality of scenic spots, the method further includes: In the map interface, icons corresponding to the plurality of scenic spots are lighted up, and the lighted icons are marked according to the sequence information of the plurality of scenic spots.

9. The travel plan recommendation method according to claim 8, characterized in that: After displaying the identification elements corresponding to the plurality of scenic spots, the method further includes: Obtaining a click operation of the user on the lighted icon; The lighted icon corresponding to the click operation is switched to an initial state, and the identification element of the scenic spot corresponding to the click operation is deleted.

10. A travel plan recommendation device, characterized in that: The device comprises: A first acquisition module, used to acquire multiple scenic spots input by a user and determine sequence information of the multiple scenic spots; A display module, used to display identification elements corresponding to the plurality of scenic spots, and to display pointing elements between the plurality of scenic spots; the pointing elements are determined according to sequence information of the plurality of scenic spots; The second acquisition module is used to obtain the target pointing element, travel time and travel mode selected by the user; The generating module is used to obtain the business hours of the scenic spot corresponding to the target pointing element, and generate a travel plan according to the business hours of the scenic spot corresponding to the target pointing element, the travel time and the travel mode.

11. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the travel plan recommendation method according to any one of claims 1 to 9 are implemented.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the travel plan recommendation method according to any one of claims 1 to 9 are implemented.