Route display method and device and computer program product

By displaying the route expansion and thumbnail modes on the map, the problem of poor user experience is solved and more efficient travel route search and planning is achieved.

CN120260418APending Publication Date: 2025-07-04BEIJING AUTONAVI YUNMAP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510413566.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, the travel routes posted by users cannot match the actual travel needs, resulting in poor user experience.

Method used

Provide a route display method, by determining multiple tourist routes in the map area to be displayed and dividing them into route expansion mode and route thumbnail mode, displaying these routes according to user needs and preference information, eliminating interference and improving user experience.

Benefits of technology

Users can quickly find travel routes that meet location requirements, reduce time spent, improve travel planning efficiency, and enhance user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120260418A_ABST
    Figure CN120260418A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a route display method and device and a computer program product. According to the main technical scheme, the method comprises the steps of determining a plurality of to-be-displayed tourist routes in a to-be-displayed map area; obtaining display modes and display positions corresponding to the plurality of travel routes; one part of the plurality of travel routes is in a route unfolding mode, and the other part of the plurality of travel routes is in a route thumbnail mode; and displaying the plurality of travel routes based on the display mode and the display position. According to the method, the multiple travel routes in the to-be-displayed map area are provided for the user for reference, one part of the multiple travel routes are in the route unfolding mode, the other part of the multiple travel routes are in the route thumbnail mode, interference of other routes on the route which the user wants to refer to can be eliminated, and the user experience is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of map display, and particularly to a route display method, apparatus, and computer program product. Background Art

[0002] Displaying routes on a map is a key function in fields such as geographic information systems and online map services. Users can use the routes displayed on the map as a reference for travel and navigation. With the increasing demand for users to travel, the current solution is to provide travel routes published by other users (such as user A) for users (such as user B) to refer to.

[0003] The inventors found in the process of implementing this application that the travel routes published by other users often cannot be well matched with the actual travel needs of users, which brings a very poor user experience to users and cannot meet the travel needs of users. Summary of the Invention

[0004] In view of this, this application provides a route display method, apparatus, and computer program product to facilitate meeting the travel needs of users and improving the user experience.

[0005] This application provides the following solutions:

[0006] In a first aspect, a route display method is provided, which is applied to a user terminal. The method includes:

[0007] Determine multiple travel routes to be displayed in the map area to be displayed;

[0008] Obtain the display modes and display positions corresponding to the multiple travel routes; a part of the multiple travel routes are in the route expansion mode, and another part of the multiple travel routes are in the route thumbnail mode;

[0009] Based on the display modes and the display positions, display the multiple travel routes.

[0010] In a second aspect, a route display apparatus is provided. The apparatus includes:

[0011] A determination unit configured to determine multiple travel routes to be displayed in the map area to be displayed;

[0012] An acquisition unit configured to obtain the display modes and display positions corresponding to the multiple travel routes; a part of the multiple travel routes are in the route expansion mode, and another part of the multiple travel routes are in the route thumbnail mode;

[0013] A display unit configured to display the multiple travel routes based on the display modes and the display positions.

[0014] In a third aspect, a computer program product is provided, including a computer program which, when executed by a processor, implements the steps of the method described in any one of the above first aspects.

[0015] According to the specific embodiments provided in the present application, the present application discloses the following technical effects:

[0016] Through the route display method provided in the present application, multiple travel routes in the map area to be displayed can be shown. Users can view the travel routes in any map area at any time, and use them as travel references. Instead of spending a lot of time searching for travel routes that meet the location requirements from the travel routes posted by users, it can better meet the travel experience of users. Moreover, in the present application, some of the multiple travel routes are in the route expansion mode, and some are in the route thumbnail mode, which can eliminate the interference of other routes on the route that the user hopes to refer to, and further improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0018] Figure 1 It is a flowchart of the route display method provided in the embodiments of the present application;

[0019] Figure 2 It is a system architecture diagram applicable to the embodiments of the present application;

[0020] Figure 3 It is a schematic diagram of the corresponding travel routes before and after the displayed area is moved provided in the embodiments of the present application;

[0021] Figure 4 It is a schematic diagram of the display and hiding of the travel route and the card component determined by the starting point and ending point positions provided in the embodiments of the present application;

[0022] Figure 5 It is a schematic diagram of the switching method of the travel route provided in the embodiments of the present application;

[0023] Figure 6 It is a schematic diagram of the second size of the card component provided in the embodiments of the present application;

[0024] Figure 7 It is a schematic diagram of the label in the second size of the card component provided in the embodiments of the present application;

[0025] Figure 8Schematic diagram of the closing route fixing function provided by the embodiments of the present application;

[0026] Figure 9 Schematic block diagram of the route display device provided by the embodiments of the present application;

[0027] Figure 10 Schematic block diagram of the electronic device provided by the embodiments of the present application. Detailed implementation manners

[0028] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0029] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "the" and "said" used in the embodiments of the present invention and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0030] It should be understood that the term " / and / " used herein is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " herein generally represents an "or" relationship between the front and rear associated objects.

[0031] Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determining" or "when detected (stated condition or event)" or "in response to detecting (stated condition or event)".

[0032] With the increase in users' travel demands, more and more users hope to obtain some travel routes for reference, so as to reduce the time spent on travel route planning. At present, there are already some service providers that collect and publish the relevant experiences or solutions of travel routes made by other users and provide them for the public to refer to. However, the relevant experiences or solutions of such user-made travel routes cannot well match the actual needs of users, resulting in poor user experience.

[0033] However, the inventors of the present application found that due to the differences between tourism and ordinary travel needs, the display method of traditional travel routes cannot be directly adopted. Instead, an information interaction technology that better meets tourism needs needs to be provided according to the actual characteristics of tourism needs, so as to help users make more efficient and accurate tourism decisions and improve the user experience.

[0034] In view of this, an embodiment of the present application provides a route display method, which can be applied to a user terminal, such as Figure 1 shown in, this method may include:

[0035] Step 101: Determine multiple tourism routes to be displayed in the map area to be displayed.

[0036] Step 103: Obtain the display modes and display positions corresponding to the multiple tourism routes; a part of the multiple tourism routes are in the route expansion mode, and another part of the tourism routes are in the route thumbnail mode.

[0037] Step 105: Display the multiple tourism routes based on the display modes and display positions.

[0038] It can be seen from the above process that through the route display method provided by the present application, multiple tourism routes in the map area to be displayed can be displayed, and users can view the tourism routes in any map area at any time for tourism reference. Instead of spending a lot of time searching for tourism routes that meet the location requirements from the tourism routes published by users, it can better meet the tourism experience of users. Moreover, in the present application, a part of the multiple tourism routes are in the route expansion mode, and another part of the tourism routes are in the route thumbnail mode, which can exclude the interference of other routes on the routes that users hope to refer to and further improve the user experience.

[0039] As one achievable way, the above multiple tourism routes can be obtained by the user terminal using the map data pre-stored in the local device. For example, the electronic device pre-stores map data, and through route search on the local electronic device, the above multiple tourism routes can be obtained.

[0040] As another achievable way, the above multiple tourism routes can be obtained by the user terminal from the server side. Figure 2 Shows this system architecture, which may include: a server side and a user side running on a user terminal (corresponding to the electronic device in the embodiment of the present application).

[0041] The server side and the user side are two main parts of the application service. Among them, the server side uses the server as the main hardware infrastructure and may include one or more service modules in the form of software. In the embodiment of the present application, it is mainly responsible for processing the service logic of map services and forms the front and back ends that work together with the user side. Among them, the user side can be a client running on the user terminal, a mini program, or a Web application running through a browser, etc.

[0042] The user terminal where the user side is located may include, but is not limited to, such as: intelligent mobile terminals, wearable devices, PCs (Personal Computers), etc. Among them, intelligent mobile devices may include, such as mobile phones, tablet computers, PDAs (Personal Digital Assistants), Internet car terminals, etc. Wearable devices may include, such as smart watches, smart glasses, smart bracelets, VR (Virtual Reality) devices, AR (Augmented Reality devices), mixed reality devices (i.e., devices that can support virtual reality and augmented reality), and so on.

[0043] The server can be an independent server, a server group, or a cloud server. A cloud server, also known as a cloud computing server or a cloud host, is a host product in the cloud computing service system to solve the defects of high management difficulty and weak service scalability existing in traditional physical hosts and virtual private server (VPS, Virtual Private Server) services.

[0044] In the embodiment of the present application, the user side can obtain multiple travel routes in the map area to be displayed from the server side, as well as their corresponding display modes and display positions, and then display the above-mentioned multiple travel routes based on the display modes and display positions. For specific details, refer to the relevant records in the subsequent embodiments.

[0045] It should be understood that Figure 2 the numbers of the server side, the user side, and the user terminal are merely illustrative. According to the implementation requirements, there can be any number of server sides, user sides, and user terminals.

[0046] The following will describe in detail each step in the above process and the effects that can be further generated in combination with the embodiments. It should be noted that the "first", "second", etc. limitations involved in the present disclosure do not have limitations in terms of size, order, quantity, etc., and are only used to distinguish in name. For example, "the first index component" and "the second index component" are only used to distinguish two types of index components in name.

[0047] First, the above-mentioned step 101, that is, "determine multiple travel routes to be displayed in the map area to be displayed", will be described in detail in combination with embodiments.

[0048] In the embodiments of the present application, some travel routes can be pre-generated and stored in a database, such as a database on the server side, according to the first information of travel-related POIs (Points of Interest) and the preset route requirement information.

[0049] Among them, the above-mentioned route requirement information may include at least one of style characteristics, tour duration requirements, and cost requirements. The first information of travel-related POIs mainly includes the location information of travel-related POIs, such as latitude and longitude coordinates.

[0050] Some style characteristics, tour duration requirements, and cost requirements can be preset. Based on these route requirement information and the first information of travel-related POIs respectively, travel routes that meet these route requirement information can be planned, and these travel routes can be restricted within a certain area range. For example, a batch of route requirement information is constructed in advance for style characteristics such as parent-child play, couple play, niche check-in routes, second-generation routes, Citywalk (city stroll) routes, and historical site characteristics, tour duration requirements such as half-day tour, one-day tour, and two-day tour, cost requirements such as luxury tour and economy tour, and any combination of these. Travel routes are generated respectively based on the constructed route requirement information and the first information of travel-related POIs and stored in the database.

[0051] Among them, a POI (Point of Interest) represents a specific location in a geographic information system. This location may be any place with specific information or attraction, such as a store, a restaurant, a scenic spot, a hospital, etc. It is a term widely used in the fields of geographic information systems, navigation, and location services, referring to a specific location or geographic entity that a user may be interested in. The POIs involved in the embodiments of the present application are travel-related POIs, such as scenic spots, landmark buildings, museums, art galleries, restaurants, cafes, snack streets, theme parks, theaters, resorts, etc.

[0052] In an actual route display scenario, search in the database according to the map area to be displayed, and obtain multiple travel routes located in the map area to be displayed, and send the information of the multiple travel routes to the user terminal. Among them, the locations of the multiple travel routes may completely fall within the range of the map area to be displayed, or partially fall within the range of the map area to be displayed.

[0053] In some areas of the map to be displayed, there may be a large number of tourist routes. Additionally, to avoid showing the same tourist routes to each user and not meeting the user's needs, in the embodiments of the present application, multiple tourist routes to be displayed in the area of the map to be displayed can be further determined based on at least one of the route requirement information and preference information of the account bound to the user terminal.

[0054] Among them, the route requirement information may include at least one of style characteristics, tour duration requirements, and cost requirements. The user can pre-configure the route requirement information through the user terminal as the route requirement information of the account bound to the user terminal, or the user can also input the route requirement information in real time through the user terminal. The preference information may be at least one of the historical behavior information, attribute information, and set preference tags of the account bound to the user terminal. For example, if a large number of ancient building type POIs or tourist routes are included in the historical behavior information of the account, then tourist routes with ancient monument characteristics can be determined for this account. For another example, if the attribute information of the account shows that the user is an elderly person, then leisure tourist routes that do not require too much physical strength can be determined for this account. For yet another example, if the preference tag set for the account is parent-child, then tourist routes suitable for parent-child play can be determined for this account. In this way, more suitable tourist routes for different users can be displayed, realizing personalized tourist route recommendations for each user.

[0055] In addition to the above-mentioned way of pre-generating tourist routes, a way of generating tourist routes in real time can also be adopted. For example, generating tourist routes using the first information of the POIs related to tourism in the area of the map to be displayed. For another example, using the first information of the POIs related to tourism in the area of the map to be displayed, generating multiple tourist routes in the area of the map to be displayed based on at least one of the route requirement information and preference information of the account bound to the user terminal.

[0056] As a first implementable way, the area of the map to be displayed involved in the embodiments of the present application can be a default area, such as the area initially displayed when the user starts the user terminal.

[0057] As a second implementable way, the area of the map to be displayed involved in the embodiments of the present application can be an area determined based on the target location. Among them, the target location may include the location of the user terminal. For example, taking the current location of the user terminal as the center, an area is displayed according to the default scale. The target location may also include at least one of the starting location and the ending location input by the user.

[0058] Other methods can also be used to determine the map area to be displayed. For example, the map area to be displayed involved in this application can be an area determined based on the location searched by the user. In some scenarios, the user may search for a geographical location through the user terminal. For example, the user enters a tourist attraction or a restaurant, etc. Then, alternative routes passing through the searched location or within a preset distance range from the searched location can be searched in the database, and the searched alternative routes are used as tourist routes.

[0059] Figure 3 In (a), multiple tourist routes in the map area to be displayed are shown (i.e., the routes marked in blue, purple, and green in the figure). It should be noted that when the map area to be displayed changes, the matched tourist routes will also change. For example, the current location of the user terminal changes, or the user generates a drag gesture on the current map page, resulting in a change in the map area to be displayed. If the user Figure 3 generates a rightward drag gesture on the map page shown in (a), the map area to be displayed will also move to the right accordingly, as Figure 3 shown in (b). New tourist routes appear in the new area range, such as the route marked in yellow. Figure 3 The change in the area information in (b) compared to (a) is that the area has shifted. In addition, the change in the area information can also be an expansion or contraction of the area range.

[0060] In Figure 3 the scenario shown, it can be seen that multiple tourist routes are not limited to the starting position and the ending position. Users can see multiple tourist routes near the current position or the searched position for reference, and it is very rare that no tourist route can be matched.

[0061] In addition, in the second implementable method described above, if the map area to be displayed is determined based on the location of the user terminal, the multiple tourist routes in the map area to be displayed can include: tourist routes starting from the current position of the user terminal, and other tourist routes in the map area to be displayed.

[0062] Among them, the current position of the user terminal may not be a tourist-related POI. Therefore, tourist routes with the starting point of the route near the current position of the user terminal can be searched in the database, such as tourist routes with the starting point of the route within a preset distance range from the current position of the user terminal; then, the starting point of the searched tourist route is connected to the current position of the user terminal, and this connection can be implemented based on the route planning algorithm. The route obtained after connection is the tourist route to be displayed starting from the current position of the user.

[0063] If the user inputs a starting position and an ending position, the map area to be displayed can be determined based on the starting position and the ending position input by the user. For example, the map area to be displayed includes the starting position and the ending position, and an appropriate area size is selected. In this case, a travel route can be retrieved from the database based on the starting position and the ending position.

[0064] Among them, the starting position and the ending position input by the user can be tourism-related POIs, such as scenic spots, landmark buildings, museums, art galleries, restaurants, cafes, snack streets, theme parks, theaters, resorts, etc. It may also not be a tourism-related POI, such as a location by the roadside, near a store, near a hospital, etc. Therefore, travel routes near the starting position and the ending position can be searched in the database, such as travel routes within a preset distance range from both the starting position and the ending position. Then, the retrieved travel routes are respectively connected to the starting position and the ending position. This connection can be achieved based on a route planning algorithm. The resulting route after connection is the travel route to be displayed. For example Figure 4 As shown in (a) below, finally, 3 travel routes are obtained, which are shown in blue, purple, and yellow respectively. These 3 travel routes all use the starting position input by the user as the starting point of the route and the ending position input by the user as the ending point of the route.

[0065] In this case, among the multiple travel routes in the map area to be displayed, in addition to the routes obtained based on the starting position and the ending position as described above, it also includes other travel routes in the map area to be displayed.

[0066] If the user only inputs the starting position or the ending position, the map area to be displayed can be determined based on the starting position or the ending position input by the user. The multiple travel routes in the map area to be displayed can include: the travel routes obtained based on the starting position or the ending position, and other travel routes in the map area to be displayed.

[0067] When obtaining a travel route based on the starting position, since the starting position input by the user may not be a tourism-related POI, during the search, travel routes near the starting position can be searched in the database, such as travel routes within a preset distance range from the starting position. Then, the retrieved travel routes are connected to the starting position. This connection can be achieved based on a route planning algorithm. The resulting route after connection is the travel route to be displayed.

[0068] When obtaining a travel route based on the end position, by the same token, since the end position input by the user may not be a travel-related POI, when performing a search, travel routes near the end position can be searched in the database, such as travel routes within a preset distance range from the end position. Then, the obtained travel routes are connected to the end position, and this connection can be implemented based on a route planning algorithm. The resulting route after connection is the travel route to be displayed.

[0069] The following describes in detail step 103, i.e., "obtaining the display mode and display position corresponding to multiple travel routes", and step 105, "displaying multiple travel routes based on the display mode and display position", in conjunction with the embodiments.

[0070] In the embodiments of the present application, the user terminal can obtain relevant data of the travel route from the server terminal. These relevant data can include the location information of the travel route, and can also include the second information, detailed information, etc. of the travel-related POIs passed by the travel route.

[0071] In addition, in the embodiments of the present application, each travel route has a corresponding display mode. Among them, the display mode can include: a route expansion mode and a route thumbnail mode. The information of this display mode can be sent by the server terminal to the user terminal, or can be determined by the user terminal.

[0072] As one achievable way, based on the scoring of the travel route, the travel routes whose scores meet the preset requirements can be configured as the route expansion mode, and the travel routes whose scores do not meet the preset requirements can be configured as the route thumbnail mode. For example, the travel routes ranked among the top several or the travel routes with scores greater than the preset score threshold are configured as the route expansion mode, and the display modes of other travel routes are determined as the route thumbnail mode.

[0073] In addition to this, other achievable ways can also be used to obtain the display modes corresponding to multiple travel routes.

[0074] The scoring of the travel route involved in the embodiments of the present application can be determined according to at least one of the popularity of the travel route, the matching degree between the travel route and the route requirement information and preference information of the account bound to the user terminal.

[0075] Then, based on the display mode and display position, multiple travel routes are displayed. As one achievable way, in the embodiments of the present application, the route expansion mode can further include a first expansion mode and a second expansion mode, that is, the multiple travel routes in the route expansion mode are further distinguished into travel routes in the first expansion mode and travel routes in the second expansion mode.

[0076] Among them, the travel route in the first expansion mode includes the second information of the travel-related POIs passed by the travel route. For example Figure 3 in (a) of Figure 4 in (a) of Figure 5 as shown in (a) of, the blue route is the travel route in the first expansion mode, and the second information of the travel-related POIs passed by the travel route is marked on the travel route. The second information of the travel-related POIs may include but is not limited to: the name, icon, visit duration, passenger flow information, precautions, etc. of the travel-related POIs. These second information of the travel-related POIs are briefly and concisely displayed on the map page, facilitating the user to understand the key information of the POIs, providing a reference for the user to select a travel route, and improving the user experience. The travel route in the second expansion mode can display the location of the travel route, such as Figure 3 the green route and the pink route shown in (a) of, without displaying the second information of the travel-related POIs passed by it.

[0077] Furthermore, a corresponding card component can be displayed for the travel route in the first expansion mode, and the card component is used to display the detailed information corresponding to the travel route in the first expansion mode.

[0078] Among them, the determination method of the travel route in the first expansion mode may include but is not limited to the following two types:

[0079] The first method: Determine the travel route in the first expansion mode according to the scores of each travel route.

[0080] This method is usually applied when initially displaying multiple travel routes in the area to be displayed. The travel route in the first expansion mode can be one or multiple.

[0081] In the previous embodiments, when determining the travel route in the expansion mode, it can be determined according to the score. In this embodiment, when further determining the travel route in the first expansion mode among the travel routes in the expansion mode, more stringent requirements can be adopted. For example, select the top 3 travel routes with the highest scores from multiple travel routes to be configured as the travel routes in the expansion mode, and determine the travel route with the highest score among them as the travel route in the first expansion mode.

[0082] The second method: Respond to the user operation to determine the travel route in the first expansion mode.

[0083] This method may include but is not limited to the following three situations:

[0084] The first situation, in response to the operation of clicking on one of the travel routes displayed on the map page, determine the clicked travel route as the travel route in the first expansion mode. For exampleFigure 5 As shown in (a) to (b) in the figure, the blue tourism route is initially displayed as the tourism route in the first expansion mode. In response to the user's operation of clicking on the pink tourism route in the second expansion mode, it is determined that the clicked tourism route is the tourism route in the first expansion mode.

[0085] In the second case, in response to the first sliding operation generated in the area corresponding to the card component, the card component displayed on the map page is switched, and it is determined that the tourism route corresponding to the currently displayed card component is the tourism route in the first expansion mode. For example Figure 5 As shown in (a) to (b) in the figure, in response to the operation of swiping left generated in the area corresponding to the card component, the card component displayed on the map page is switched from card component 1 to card component 2, and the tourism route in the first expansion mode is also switched to the tourism route corresponding to card component 2. On this basis, the user can also switch back to the previous tourism route in the first expansion mode by swiping right in the area corresponding to the card component. In the embodiments of the present application, the first sliding operation can be a left - right swipe.

[0086] In the third case, there is more than one first index component corresponding to the tourism route displayed on the map page. In response to the operation of clicking on one of the first index components, it is determined that the tourism route corresponding to the clicked first index component is the tourism route in the first expansion mode. For example Figure 5 As shown in (a) to (b) in the figure, in response to the operation of clicking on the first index component 2, it is determined that the tourism route corresponding to the first index component 2 is the tourism route in the first expansion mode. Among them, the information displayed in the first index component can include, but is not limited to: pictures, names, tour durations, evaluation information, etc. of the corresponding tourism route.

[0087] As one of the realizable ways, the tourism route in the first expansion mode and the tourism route in the second expansion mode can be displayed differently on the map page. For example Figure 3 As shown in (a) in the figure, Figure 4 As shown in (a) in the figure, Figure 5 As shown in (a) in the figure, the line of the tourism route in the first expansion mode is thicker than the line of the tourism route in the second expansion mode, the saturation of the line color is higher, and the overall visual effect is more eye - catching and prominent, which is convenient for the user to focus on the tourism route in the first expansion mode and reduces the visual interference of other routes on the user. In order to achieve the visual effect of highlighting the tourism route in the first expansion mode, methods such as but not limited to thickening the line, increasing the saturation of the line color, and adding dynamic effects can be adopted. For example, there are flowing light points on the line of the tourism route in the first expansion mode, or the line of the tourism route in the first expansion mode blinks at a certain rhythm, etc.

[0088] Furthermore, the user can switch a travel route in the route thumbnail mode to the route expansion mode. For example, the travel routes in the route thumbnail mode on the map page respectively correspond to second index components. As shown in Figure 5 (a) in the figure, the second index components 1, 2, and 3 respectively correspond to a travel route in the route thumbnail mode. The function of the second index component is to mark a travel route in the route thumbnail mode and expand the corresponding travel route after being triggered. Specifically, in response to the operation of clicking the second index component, the travel route corresponding to the second index component is switched to the route expansion mode. Among them, the route thumbnail mode means that the travel route is hidden on the map page, and only the second index component corresponding to the travel route can be displayed. The second index component can be, for example, a thumbnail icon. For example, as shown in Figure 5 (a) in the figure, if the user clicks the second index component 2, the red travel route corresponding to the second index component 2 is switched to the route expansion mode, as shown in Figure 5 (c) in the figure. Among them, the route expansion mode means that the travel route is fully displayed on the map page. When the travel route is in the route expansion mode, the corresponding second index component is hidden. It can be seen that in this way, the user can conveniently view the travel routes they are interested in, eliminate unnecessary interference, and thus improve the user experience.

[0089] Furthermore, in response to switching a travel route from the route thumbnail mode to the route expansion mode, the travel route is displayed in the display map area through the route expansion mode; if there is a display conflict between the travel route and other travel routes in the route expansion mode, the other travel routes in the route expansion mode are switched to the route thumbnail mode, so as to ensure that there is no display conflict between the travel routes in the expansion mode. Among them, the display conflict can include, but is not limited to: situations that affect the visual experience such as intersection and mutual coverage.

[0090] As described in the previous embodiments, a corresponding card component can be displayed for the travel route in the first expansion mode. The card component is used to display the detailed information corresponding to the travel route in the first expansion mode. For example, as shown in Figure 3 (a) in the figure, Figure 4 (a) in the figure, Figure 5 (a) in the figure, a card component corresponding to the travel route in the first expansion mode is also displayed on the map page, that is, the card component 1 in the figure. Displaying the detailed information corresponding to the travel route in the first expansion mode on the card component can include, but is not limited to: pictures, names, tour durations, evaluation information, the number of scenic spots, the number of people who have collected this travel route, etc. In the default state, the content on the component card can be displayed in a thumbnail manner.

[0091] In addition, it should be noted that if the travel route in the first expansion mode on the map page is switched, the displayed card component will also be switched accordingly. If the card component on the map page is switched, for example, if the user applies a swipe gesture in the area where the card component is located, causing the card component to be switched, then the travel route corresponding to the switched card component on the map page will be used as the travel route in the first expansion mode.

[0092] Furthermore, if the user hopes that the card component can display more content or show the details more clearly, then a click or a second swipe operation can be applied in the area corresponding to the card component. The user terminal responds to the click operation or the second swipe operation generated in the area corresponding to the card component, and enlarges the display area of the card component. As Figure 4 shown in (a) to (b) below, in response to the click operation or the upward swipe operation generated in the area corresponding to the card component, the display area of the card component is enlarged.

[0093] As one of the achievable ways, in the enlarged display area of the card component, at least one of the atlas corresponding to the travel route in the first expansion mode, the details of the travel-related POIs passed by, the route itinerary, and the evaluation information is displayed. Users can use this information to understand the travel route in the first expansion mode in more detail and assist users in making travel decisions.

[0094] If the user hopes to show the travel route more clearly and exclude the interference of other elements on the travel route, then a third swipe operation can be applied on the card component. The user terminal responds to the third swipe operation generated in the enlarged display area of the card component, and hides the atlas or picture of the card component. As Figure 4 shown in (b) to (c) below, in response to the downward swipe operation generated in the enlarged display area of the card component, Atlas 1 is hidden.

[0095] This flexible display method of the card component enables users to, according to their needs, enlarge the display area of the card component to show more details, or hide the atlas or picture of the card component to reduce the interference with the display of the travel route, improving the user experience.

[0096] In other achievable embodiments, the second swipe operation and the third swipe operation can also be other swipe operations other than upward and downward swipes.

[0097] As one of the achievable ways, when enlarging the display area of the card component, it can include: enlarging the display area of the card component from the initial size to the first size. Assuming that Figure 4 on the map page shown in (a) below, an upward swipe gesture is applied to the display area corresponding to Card Component 1, then it is shown as Figure 6In the interface shown in (a), the card component increases from the initial size to the first size. If the user wants to view more content on the card component, the user can continue to apply a second sliding operation in the display area corresponding to the card component. In response to the second sliding operation generated in the display area of ​​the first size, the user terminal increases the display area of ​​the card component to the second size, which is larger than the first size. Figure 6 As shown in (a) to (b), in response to an upward sliding operation generated in a display area of ​​a first size, the display area of ​​the card assembly is increased to a second size that is larger than the first size.

[0098] In this embodiment, after the display area is increased to the second size, the sliding operation continues upward, the content displayed by the card component moves upward, the content at the top gradually disappears, the other content moves upward as a whole, and new content is displayed at the bottom. Figure 7 As shown in (a), the labels "Route Features", "Detailed Itinerary", and "Comments" appear, and these three labels are attached to the top of the card component and do not change position as the user slides up.

[0099] The user can select one of the tags to display the specific content of the tag in the display area of ​​the card component. Figure 7 As shown in , for example, if the user selects the "Route Features" tag, the characteristic information of the travel route can be displayed, including a detailed introduction of each tourism-related POI, such as opening hours, average cost per person, recommended visiting time, etc. If the user selects the "Specific Itinerary" tag, the recommended itinerary information corresponding to the travel route can be displayed, such as the method of reaching each tourism-related POI, the estimated time, and the route planning component that triggers reaching the tourism-related POI, etc. If the user selects the "Comments" tag, the comment information corresponding to the travel route can be displayed.

[0100] Furthermore, in some cases, after the user views the card component to understand the details of the travel route in the first expansion mode, if the user decides to use the travel route in the first expansion mode as a reference for travel, it is usually desired to quickly view the travel route in the first expansion mode and to exclude interference from other elements to the travel route in the first expansion mode as much as possible. Therefore, in the embodiment of the present application, a component with the route fixation function enabled can be displayed in the display area of ​​the card component, such as Figure 4 In (b) and (c), Figure 6 and Figure 7As shown, words such as "Pin to Home Page" are displayed on the fixed-function component to prompt the function of this component. Other words and / or graphics can also be displayed on the fixed-function component to prompt the function of this component. For example, the displayed words can also be "Fix this route", etc., and the displayed graphics can be a thumbtack graphic, etc.; in response to the operation of triggering the component that enables the route fixing function, the route fixing function is enabled.

[0101] Among them, the route fixing function includes: fixedly displaying the tourist route in the first expansion mode on the map page, and hiding the card component and the tourist route in the second expansion mode. The map page after enabling the route fixing function is as Figure 8 shown in (a) below. The tourist route in the first expansion mode is fixedly displayed on the map page, and the card component and the tourist route in the second expansion mode are hidden. Through the route fixing function, when the user opens the map page, they can see the fixedly displayed tourist route in the first expansion mode. For example, after the user finishes playing at one of the scenic spots and wants to view the relevant information of the next scenic spot, they can open the map page to quickly view the tourist route in the first expansion mode. Moreover, the card component and the tourist route in the second expansion mode are hidden, making the map page more concise. The user can clearly see the tourist route in the first expansion mode displayed on the map page, which is convenient for the user to track the tourist route in the first expansion mode.

[0102] In addition, after enabling the route fixing function, a prompt message indicating that the route fixing function has been enabled can be displayed on the map page. This prompt message can take various forms such as words and icons. For example, Figure 8 as shown in (a) below, it is represented by an icon of a thumbtack.

[0103] Furthermore, after enabling the route fixing function, a component for closing the route fixing function can also be displayed on the map page. As Figure 8 shown in (a) below, the component for closing the route fixing function can be the "×" component near the thumbtack icon. In response to the operation of clicking the component for closing the route fixing function, the route fixing function is closed, as Figure 8 shown from (a) to (b) below.

[0104] The specific embodiments of this specification are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0105] According to an embodiment of another aspect, a route display device is provided. Figure 9 A schematic block diagram showing the route display device according to an embodiment is provided, and the device is arranged in Figure 1 the client in the shown architecture. As Figure 9 shown, the device 900 includes: a determination unit 901, an acquisition unit 902, and a display unit 903. The main functions of each component unit are as follows:

[0106] The determination unit 901 is configured to determine multiple travel routes in the map area to be displayed.

[0107] The acquisition unit 902 is configured to acquire the display modes and display positions corresponding to the multiple travel routes; a part of the multiple travel routes are in the route expansion mode, and another part of the travel routes are in the route thumbnail mode.

[0108] The display unit 903 is configured to display the multiple travel routes based on the display modes and display positions.

[0109] As one possible implementation, the map area to be displayed is determined based on the target location, and the target location includes the current location of the client, or includes at least one of the starting location and the ending location input by the user.

[0110] As one possible implementation, the multiple travel routes to be displayed in the map area to be displayed are generated based on the first information of the travel-related points of interest and the preset route requirement information; the route requirement information includes at least one of style characteristics, tour duration requirements, and cost requirements.

[0111] As one possible implementation, the determination unit 901 can be specifically configured to: acquire at least one of the route requirement information and preference information of the account bound to the client, and the preference information is determined by at least one of the historical behavior information, attribute information, and set preference tags of the account; based on at least one of the route requirement information and preference information of the account bound to the client, determine the multiple travel routes to be displayed in the map area to be displayed.

[0112] As one possible implementation, the acquisition unit 902 can be specifically configured to: acquire the scores of the multiple travel routes; configure the travel routes with scores meeting the preset requirements as the route expansion mode, and configure the travel routes with scores not meeting the preset requirements as the route thumbnail mode.

[0113] Furthermore, the display unit 903 can also be configured to: in response to switching a travel route from the route thumbnail mode to the route expansion mode, display the travel route in the map area to be displayed through the route expansion mode.

[0114] Further, the display unit 903 can also be configured to: if there is a display conflict between this travel route and other travel routes in the route expansion mode, switch the other travel routes in the route expansion mode to the route thumbnail mode.

[0115] As one possible implementation, the route expansion mode includes a first expansion mode and a second expansion mode. The travel route in the first expansion mode includes second information of travel-related interest points passed by the travel route; wherein, the second information of travel-related interest points includes at least one of the name, icon, travel mode, tour duration, passenger flow information, cost information, and precautions of travel-related interest points.

[0116] Further, the display unit 903 can also be configured to: display a card component corresponding to the travel route in the first expansion mode, and the card component is used to display the detailed information corresponding to the travel route; wherein, the detailed information includes at least one of the atlas corresponding to the travel route, the details of travel-related POIs passed, the route itinerary, and the evaluation information.

[0117] Further, the display unit 903 can also be configured to: in response to an operation of clicking on one of the displayed travel routes, determine that the clicked travel route is a travel route in the first expansion mode; or,

[0118] in response to a first sliding operation generated in the area corresponding to the card component, switch the displayed card component, and determine that the travel route corresponding to the currently displayed card component is a travel route in the first expansion mode; or,

[0119] Each of the displayed multiple travel routes corresponds to a first index component. In response to an operation of clicking on one of the first index components, determine that the travel route corresponding to the clicked first index component is a travel route in the first expansion mode.

[0120] As one possible implementation, the card component also displays a component for enabling the route fixing function; the display unit 903 can also be configured to: in response to an operation of triggering the component for enabling the route fixing function, enable the route fixing function; wherein, the route fixing function includes: fixedly displaying the travel route in the first expansion mode, and hiding the card component and the travel routes in the second expansion mode.

[0121] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for system or device embodiments, since they are basically similar to method embodiments, they are described relatively simply, and for the relevant parts, reference can be made to the descriptions in the method embodiments. The system and device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative work.

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

[0123] In addition, the embodiments of this application also provide a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the steps of the method described in any one of the foregoing method embodiments.

[0124] And an electronic device, including:

[0125] One or more processors; and

[0126] A memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, they execute the steps of the method described in any one of the foregoing method embodiments.

[0127] This application also provides a computer program product, including a computer program, which implements the steps of the method described in any one of the foregoing method embodiments when executed by a processor.

[0128] Among them, Figure 10Exemplarily shows the architecture of an electronic device, which may specifically include a processor 1010, a video display adapter 1011, a disk drive 1012, an input / output interface 1013, a network interface 1014, and a memory 1020. The above-mentioned processor 1010, video display adapter 1011, disk drive 1012, input / output interface 1013, network interface 1014, and the memory 1020 can be communicatively connected via a communication bus 1030.

[0129] Among them, the processor 1010 can be implemented in ways such as a general-purpose CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in this application.

[0130] The memory 1020 can be implemented in forms such as ROM (Read Only Memory), RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 can store an operating system 1021 for controlling the operation of the electronic device 1000, and a basic input / output system (BIOS) 1022 for controlling the low-level operations of the electronic device 1000. Additionally, it can also store a web browser 1023, a data storage management system 1024, a route display device 900, and so on. The above-mentioned route display device 900 can be the application program that specifically implements the operations of the foregoing steps in the embodiments of this application. In short, when implementing the technical solutions provided in this application through software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0131] The input / output interface 1013 is used to connect to an input / output module to achieve information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input devices can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices can include a display, a speaker, a vibrator, an indicator light, etc.

[0132] The network interface 1014 is used to connect to a communication module (not shown in the figure) to achieve communication interaction between this device and other devices. Among them, the communication module can achieve communication in a wired manner (such as USB, network cable, etc.) or in a wireless manner (such as a mobile network, WIFI, Bluetooth, etc.).

[0133] The bus 1030 includes a path for transmitting information between various components of the device, such as the processor 1010, the video display adapter 1011, the disk drive 1012, the input / output interface 1013, the network interface 1014, and the memory 1020.

[0134] It should be noted that although only the processor 1010, the video display adapter 1011, the disk drive 1012, the input / output interface 1013, the network interface 1014, the memory 1020, the bus 1030, etc. are shown in the above device, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of the present application, and do not have to include all the components shown in the figure.

[0135] From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer program product. The computer program product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

[0136] The above has introduced the technical solution provided by the present application in detail. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A route display method, applied to a user terminal, characterized in that The method includes: Determine multiple travel routes to be displayed in the map area to be displayed; Obtain the display modes and display positions corresponding to the multiple travel routes; a part of the multiple travel routes are in the route expansion mode, and another part of the travel routes are in the route thumbnail mode; Based on the display mode and the display position, display the multiple travel routes.

2. The method according to claim 1, characterized in that The map area to be displayed is determined based on the target position, and the target position includes the current position of the user terminal, or includes at least one of the starting position and the ending position input by the user.

3. The method according to claim 1 or 2, characterized in that, The multiple travel routes to be displayed in the map area to be displayed are generated based on the first information of travel-related points of interest and the preset route requirement information; The route requirement information includes at least one of: style characteristics, tour duration requirements, and cost requirements.

4. The method according to claim 3, wherein The determination of the multiple travel routes to be displayed in the map area to be displayed includes: Obtain at least one of the route requirement information and preference information of the account bound to the user terminal, and the preference information is determined by at least one of the historical behavior information, attribute information, and set preference tags of the account; Based on at least one of the route requirement information and preference information of the account bound to the user terminal, determine the multiple travel routes to be displayed in the map area to be displayed.

5. The method according to claim 1, characterized in that, The obtaining of the display modes corresponding to the multiple travel routes includes: Obtain the scores of the multiple travel routes; Configure the travel routes with scores meeting the preset requirements as the route expansion mode, and configure the travel routes with scores not meeting the preset requirements as the route thumbnail mode.

6. The method according to claim 1 or 5, characterized in that, After displaying the multiple travel routes based on the display mode and the display position, the method further includes: In response to switching a travel route from the route thumbnail mode to the route expansion mode, display the travel route in the map area to be displayed through the route expansion mode.

7. The method according to claim 6, wherein After displaying the travel route in the map area to be displayed through the route expansion mode, it further includes: If there is a display conflict between the travel route and other travel routes in the route expansion mode, switch the other travel routes in the route expansion mode to the route thumbnail mode.

8. The method according to claim 1, characterized in that, The route expansion mode includes a first expansion mode and a second expansion mode, and the travel routes in the first expansion mode include the second information of the travel-related points of interest passed by the travel route; Wherein, the second information of the travel-related points of interest includes at least one of: the name, icon, travel mode, tour duration, passenger flow information, cost information, and precautions of the travel-related points of interest.

9. The method according to claim 8, wherein After or simultaneously with displaying the multiple travel routes based on the display mode and the display position, the method further includes: Display a card component corresponding to the travel route in the first expansion mode, and the card component is used to display the detailed information corresponding to the travel route; wherein, the detailed information includes at least one of: the atlas corresponding to the travel route, the details of the travel-related POIs passed, the route itinerary, and the evaluation information.

10. The method according to claim 9, wherein After presenting the card component corresponding to the travel route in the first unfolding mode, it further includes: In response to an operation of clicking on one of the presented travel routes, determining the clicked travel route as the travel route in the first unfolding mode; or, In response to a first sliding operation generated in the area corresponding to the card component, switching the presented card component and determining the travel route corresponding to the currently presented card component as the travel route in the first unfolding mode; or, Each of the presented multiple travel routes corresponds to a first index component. In response to an operation of clicking on one of the first index components, determining the travel route corresponding to the clicked first index component as the travel route in the first unfolding mode.

11. The method according to claim 9, characterized in that The card component further presents a component for enabling the route fixing function; In response to an operation of triggering the component for enabling the route fixing function, enabling the route fixing function; Wherein, the route fixing function includes: fixedly presenting the travel route in the first unfolding mode and hiding the card component and the travel route in the second unfolding mode.

12. A route display device, characterized in that, The device includes: A determination unit configured to determine multiple travel routes to be presented in the map area to be presented; An acquisition unit configured to acquire the display modes and display positions corresponding to the multiple travel routes; a part of the multiple travel routes are in the route unfolding mode and another part of the travel routes are in the route thumbnail mode; A display unit configured to present the multiple travel routes based on the display modes and the display positions.

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