Interaction method and device of tourist map, electronic equipment and medium
By acquiring user preferences and location information, and combining local caching and server-requested data update strategies, the problems of insufficient personalized recommendations and interactivity in tourist maps have been solved, achieving efficient data management and real-time updates, and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN STARCAM TECH
- Filing Date
- 2026-02-02
- Publication Date
- 2026-05-19
AI Technical Summary
Existing tourist maps suffer from insufficient personalized recommendations, weak interactivity, lagging real-time data updates, and low data management efficiency, failing to meet users' diverse travel needs.
By acquiring users' travel preferences and real-time location information, the system accurately matches and recommends attractions and related tour routes, supports multi-dimensional interactive operations, and adopts a data update strategy that prioritizes local caching combined with dynamic server requests to ensure real-time performance and efficient management.
It enables personalized recommendations, improves the efficiency of user information filtering and itinerary planning, enriches the user interaction experience, enhances the practicality and fun of travel maps, and ensures the real-time synchronization of key information.
Smart Images

Figure CN122064249A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic map technology, specifically to an interactive method, device, electronic device, and storage medium for a tourist map. Background Technology
[0002] With the rapid development of the tourism industry, electronic maps have become one of the core tools for tourists. As a sub-segment of electronic maps, tourist maps not only need to have basic positioning and navigation functions, but also need to meet tourists' personalized needs in areas such as itinerary planning, attraction selection, real-time information access, and interactive experiences.
[0003] Existing tourism map technologies suffer from several pressing issues: First, insufficient personalized recommendations. Most tourism maps merely list attraction information, failing to accurately recommend suitable attractions and routes based on user preferences (such as attraction type, tour duration, and budget) and real-time location, leading to high information filtering costs for users. Second, weak interactivity. User interaction with maps is largely limited to basic operations like zooming, panning, and searching, lacking in-depth interactive functions for attractions and routes, such as real-time feedback, check-in interactions, and personalized settings. Third, delayed real-time data updates. Dynamic information such as attraction visitor flow, weather conditions, and road closures cannot be synchronized in a timely manner, affecting user itinerary planning. Fourth, low data management efficiency. Tourism maps contain massive amounts of attraction details, route data, and multimedia resources; existing technologies lack targeted caching strategies and data update mechanisms, easily resulting in slow loading, high memory usage, or outdated data. Fifth, poor customizability. Users cannot adjust map display styles and interaction rules according to their own needs, making it difficult to meet the diverse needs of various travel scenarios (such as family travel, independent travel, and cultural study tours).
[0004] Therefore, how to provide a tourism map interaction solution that can accurately match user preferences, support in-depth interaction, update data in real time, and manage resources efficiently has become an urgent technical problem to be solved. Summary of the Invention
[0005] This application provides an interactive method, electronic device, apparatus, and storage medium for travel maps to achieve personalized recommendations, in-depth interaction, real-time data updates, and efficient resource management, thereby enhancing the user experience of travel maps.
[0006] In a first aspect, embodiments of this application provide an interactive method for a tourist map, including: Obtain users' travel preferences and real-time location information; Based on the aforementioned travel preference information and real-time location information, matching recommended tourist attractions and associated tour routes are determined; Receive user interaction commands for the recommended tourist attractions or related tour routes; According to the interactive operation instructions, the corresponding tourist map data is obtained and updated. The tourist map data includes attraction details, route navigation, real-time visitor flow and environmental information. Based on the updated tourist map data, generate and display an interactive tourist map interface that includes interactive feedback.
[0007] Optionally, in some embodiments of this application, obtaining the user's travel preference information includes: The system receives user-inputted preference keywords, including attraction type, tour duration, budget, and travel style. Alternatively, user travel preference information can be generated by analyzing their historical travel records, favorites, and browsing history; or, user travel preference-related data can be obtained through authorized synchronization with third-party travel platforms.
[0008] Optionally, in some embodiments of this application, determining the matching recommended tourist attractions and related tour routes based on the travel preference information and real-time location information includes: Starting from the user's real-time location, the system filters attractions within a preset range that match the user's travel preferences. The matching dimensions include attraction type compatibility, user rating, popularity ranking, and opening status. Based on the selected attractions, tour duration, route distance, transportation convenience, and visitor congestion, plan at least one related tour route; Alternatively, the system can receive a target attraction specified by the user and generate an associated tour route that includes recommended attractions along the way, based on the real-time location and the location relationship between the target attraction and the target location.
[0009] Optionally, in some embodiments of this application, the step of obtaining and updating the corresponding tourist map data according to the interactive operation instructions includes: When receiving an interactive operation command for the first time, it requests the corresponding attraction details, route navigation, real-time visitor flow and environmental information from the tourism map database; When the target attraction or route corresponding to the interactive operation command is consistent with the historical interactive target, the tourist map data is retrieved from the local cache. If no data is found, request the corresponding tourist map data from the tourist map database.
[0010] Optionally, in some embodiments of this application, it further includes: When the conditions for updating tourism map data are met, update the locally stored or displayed tourism map data until the latest tourism map data that adapts to the user's current interaction needs is formed.
[0011] Optionally, in some embodiments of this application, updating the locally stored or displayed tourist map data includes: A priority sequence is determined, which is ordered based on the timeliness requirements of information, with real-time passenger flow, weather warnings, and road control information having higher priority than basic details of attractions and historical evaluation information; According to the priority sequence, high-priority tourist map data is updated first, followed by low-priority data.
[0012] Optionally, in some embodiments of this application, updating the locally stored or displayed tourist map data includes: Determine the range of high-frequency user interaction data, which includes data related to user favorite attractions, planned routes, and recently viewed attractions; Retain the tourism map data within the range of high-frequency interaction data, and periodically clean up low-frequency interaction data that exceeds this range and the preset storage time.
[0013] Optionally, in some embodiments of this application, it further includes: When a user's real-time location changes beyond a preset distance, target information in the tourism map database changes, the frequency of user interaction reaches a preset threshold, or a preset time interval expires, the conditions for updating tourism map data are determined to be met.
[0014] Optionally, in some embodiments of this application, generating and displaying a tourist map interactive interface with interactive feedback based on updated tourist map data includes: Generate a 3D or 2D tourist map base based on the geographical coordinates, scenic spot outlines and route directions in the tourist map data. The attraction details labels, route navigation signs, real-time visitor flow heat maps, and environmental information prompts are overlaid onto the tourist map base.
[0015] Optionally, in some embodiments of this application, it further includes: When a user triggers an action command at the interactive feedback entry point, the corresponding interactive result is output according to the preset interactive rules.
[0016] Secondly, embodiments of this application provide an interactive device for a tourist map, comprising: The first acquisition module is used to acquire users' travel preference information and real-time location information; The determination module is used to determine matching recommended tourist attractions and associated tour routes based on the travel preference information and real-time location information; The receiving module is used to receive interactive operation instructions from the user regarding the recommended tourist attractions or related tour routes; The second acquisition module is used to acquire and update the corresponding tourist map data according to the interactive operation instructions. The tourist map data includes attraction details, route navigation, real-time visitor flow and environmental information. The generation module is used to generate and display an interactive tourist map interface with interactive feedback based on the updated tourist map data.
[0017] Accordingly, this application also provides an electronic device, including a memory, a processor, and a processor program stored in the memory and executable on the processor, wherein the processor executes the program as described in any of the methods above.
[0018] This application also provides a storage medium storing a processor program that, when executed by a processor, implements any of the methods described above.
[0019] This application provides an interactive method, device, electronic device, and storage medium for a tourist map. After acquiring a user's travel preference information and real-time location information, it determines matching recommended tourist attractions and related tour routes based on the travel preference information and real-time location information. It receives interactive operation instructions from the user regarding the recommended tourist attractions or related tour routes, acquires and updates corresponding tourist map data according to the interactive operation instructions, and generates and displays an interactive tourist map interface containing interactive feedback based on the updated tourist map data. In the interactive tourist map solution provided in this application, personalized recommendations are made by combining user travel preferences and real-time location, accurately matching attractions and tour routes, reducing user information filtering costs, improving itinerary planning efficiency, and supporting multi-dimensional interactive operations and interactive feedback for attractions and routes, enriching the user experience and enhancing the practicality and fun of the tourist map. Simultaneously, a hierarchical and scenario-based data update mechanism is established to ensure that critical information with high real-time requirements is synchronized first. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a flowchart illustrating the interactive method of the tourist map provided in the embodiments of this application; Figure 2 This is a schematic diagram of the structure of the interactive device for the tourist map provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0023] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, components, features, and elements with the same names in different embodiments of this application may have the same meaning or different meanings, the specific meaning of which must be determined by its interpretation in that specific embodiment or further in conjunction with the context of that specific embodiment.
[0024] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0025] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0026] The following describes the embodiments involved in this application in detail. It should be noted that the order of description of the embodiments in this application is not intended to limit the priority of the embodiments.
[0027] This application provides an interactive method, apparatus, storage medium, and smart terminal for a tourist map. Specifically, the interactive method for the tourist map in this application can be executed by a smart terminal or a server, wherein the smart terminal can be a terminal. The terminal can be a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other smart terminal. The terminal may also include a client, which can be a media playback client or an interactive client for real-time tourist maps, etc.
[0028] This application provides an interactive method for a tourist map, which can be executed by an electronic device or a server. This application example illustrates the interactive method of a tourist map executed by an electronic device. The electronic device includes a touchscreen display and a processor. The touchscreen display is used to present a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. When the user operates the GUI through the touchscreen display, the GUI can control the local content of the electronic device in response to the received operation commands, or it can control the content on the server side in response to the received operation commands.
[0029] The interactive solution for the tourist map provided in this application combines user travel preferences and real-time location to make personalized recommendations, accurately match attractions and tour routes, reduce user information filtering costs, improve itinerary planning efficiency, and support multi-dimensional interactive operations and feedback for attractions and routes, enriching the user experience and enhancing the practicality and fun of the tourist map; at the same time, it establishes a hierarchical and scenario-based data update mechanism to ensure that key information with high real-time requirements is synchronized first.
[0030] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0031] An interactive method for a tourist map includes: acquiring a user's travel preference information and real-time location information; determining matching recommended tourist attractions and related tour routes based on the travel preference information and real-time location information; receiving interactive operation instructions from the user for the recommended tourist attractions or related tour routes; acquiring and updating corresponding tourist map data according to the interactive operation instructions; and generating and displaying an interactive tourist map interface containing interactive feedback based on the updated tourist map data.
[0032] First, the nouns and terms used in the embodiments of this application will be explained. The nouns and terms used in the embodiments of this application shall be interpreted as follows: Travel preference information refers to the user's preferred characteristics during the travel process, including but not limited to the type of attraction (such as historical and cultural sites, natural scenery, theme parks, folk customs, etc.), the duration of the visit (such as 1-2 hours, half a day, full day, etc.), the consumption budget (such as budget, mid-range, high-end, etc.), the mode of travel (such as independent travel, group tour, family travel, study tour, etc.), and special needs (such as priority for barrier-free facilities, pet-friendly, and photography check-in, etc.).
[0033] Real-time location information: This refers to the user's current geographic coordinates, which can be obtained through methods such as the Global Navigation Satellite System (GPS), BeiDou Navigation Satellite System, base station positioning, and WiFi positioning. Data includes latitude, longitude, and altitude. Recommended tourist attractions: These are attractions selected based on the user's travel preferences and real-time location information, tailored to their needs. Selection criteria include attraction type suitability, distance from the user's current location, user rating, real-time popularity, opening status, and visitor density. Related tour routes: These are routes connecting recommended tourist attractions, starting from the user's real-time location (or a user-specified starting point). Planning factors include total route distance, estimated tour duration, mode of transportation (walking, driving, public transportation, etc.), visitor congestion, and the distribution of rest stops (such as restaurants, restrooms, and parking lots).
[0034] Interactive operation commands: These refer to the operation commands that users perform on the tourist map through the client (such as mobile APP, AR device, tablet, etc.), including but not limited to clicking to view attractions, selecting routes, saving, sharing, checking in, commenting, adjusting filter conditions, switching perspectives, triggering real-time information, etc.
[0035] Tourist map data refers to various types of data that support the interactive functions of tourist maps, including static and dynamic data. Static data includes basic details of attractions (such as name, address, description, opening hours, ticket price, contact information, attraction pictures / videos, etc.) and basic route information (such as road name, distance, mode of transportation, etc.); dynamic data includes real-time visitor flow (current number of visitors at attractions, congestion level, etc.), environmental information (weather, temperature, air quality, etc.), road control information, and temporary event notices, etc.
[0036] Interactive feedback: refers to the response results output by the travel map to the user's interactive operation commands, including but not limited to the generation of check-in vouchers, the redirection to the comment posting interface, the confirmation of route collection, real-time consultation, the recommendation of surrounding services (such as restaurants, accommodations, and shopping), and the distribution of interactive rewards.
[0037] Local caching refers to the travel map data stored locally on the client side, including information on frequently accessed attractions, planned route data, and recent browsing history. It is used to quickly respond to user operations and reduce network requests.
[0038] Tourism map database: refers to the server-side database that stores all tourism map data, supports real-time data updates and queries, including attraction data tables, route data tables, user preference data tables, real-time data stream tables, etc.
[0039] Please see Figure 1 , Figure 1This application provides a flowchart illustrating the interactive method for a tourist map. The specific flow of this interactive method is as follows: Step S101: Obtain the user's travel preference information and real-time location information.
[0040] Travel preference information is the core basis for personalized recommendations, and its acquisition methods must balance user-initiated input and passive analysis to ensure comprehensiveness and accuracy. Referring to Figure 3, this can be achieved through the following three methods: Method 1: Users actively input their preferred keywords.
[0041] The client application provides a preference settings interface, allowing users to directly fill in or select preference keywords via touchscreen input, voice input, or other methods. For example, on the "Preference Settings" page of the travel map app, users can select options such as "History and Culture," "1-2 Hour Tour," "Budget-Friendly," and "Self-Guided Tour"; or they can input "Recommend Pet-Friendly Natural Scenery Attractions" via voice input, and the client will extract the keywords "pet-friendly" and "natural scenery" using voice recognition technology. The client also provides preference templates, such as "Family Trip Templates," "Study Tour Templates," and "Photography Check-in Templates," which users can further customize after selecting a template, enhancing ease of use.
[0042] Method 2: Generate preference information based on user behavior data analysis.
[0043] The client records users' historical travel-related behavioral data, including historical visit records (such as the types of attractions visited and visit duration), collection behavior (such as saved attractions and routes), browsing patterns (such as the types of attractions they have been following and the duration of their stay), and search records (such as searched keywords for attractions and route planning needs). Data mining algorithms are used to analyze user preferences. For example, if a user has chosen historical and cultural attractions for their last three trips, with each visit lasting 2-3 hours and a mid-range budget, the client can analyze and deduce their preferences as "preferring historical and cultural attractions, visiting for 2-3 hours, and having a mid-range budget." If a user frequently browses attractions tagged with "photography check-in points," it can be inferred that the user has a potential need for photography check-ins.
[0044] This data mining algorithm can employ collaborative filtering, content-based recommendation, or a hybrid recommendation approach. Collaborative filtering infers preferences by analyzing the commonalities in the behavior of users and other similar users; content-based recommendation generates preferences by extracting the correlation between the features of attractions users are interested in (such as type, duration, and budget) and their behavior; and hybrid recommendation combines the advantages of both algorithms to improve the accuracy of preference analysis. Simultaneously, the client-side will anonymize user behavior data to protect user privacy.
[0045] Method 3: Authorize the synchronization of preference data through a third-party travel platform.
[0046] The client supports authorization and binding with third-party travel platforms (such as online travel agencies, travel guide sharing platforms, and social media platforms). With the user's consent, it can synchronize the user's travel preference data on these platforms, such as order records on OTA platforms (e.g., types of attraction tickets booked, hotel categories), collection and review records on travel guide platforms, and travel-related content shared on social media platforms. For example, if a user has booked theme park tickets multiple times on an OTA platform, the client can synchronize this data and list "theme park" as one of the user's core preferences. The synchronization process uses encrypted transmission to ensure data security, and the user can revoke authorization and stop data synchronization at any time.
[0047] The three methods described above can be used individually or in combination. For example, users can first actively input basic preferences, and the client can then supplement and optimize this information by combining behavioral data and third-party synchronized data to create more comprehensive travel preference information. Simultaneously, the client allows users to modify and supplement their preference information at any time, ensuring the timeliness of the preference data.
[0048] Real-time location information can be obtained in the following ways: Satellite positioning: It obtains the user's latitude, longitude, altitude and other precise location information through satellite navigation systems such as GPS and Beidou. The positioning accuracy can reach the meter level, which is suitable for outdoor scenarios (such as scenic tours and road trips). Base station positioning: When satellite signals are weak (such as indoors or in mountainous areas), the approximate location information of the user is obtained through signal triangulation positioning of mobile base stations. The positioning accuracy is from hundreds of meters to kilometers, ensuring the continuity of location information. WiFi positioning: In scenarios with WiFi coverage (such as indoor venues in scenic spots, hotels, and shopping districts), the user's location information is obtained by matching the MAC addresses of surrounding WiFi hotspots with the location database. The positioning accuracy is between that of satellite positioning and base station positioning. Hybrid positioning: Combining the advantages of satellite positioning, base station positioning, and WiFi positioning, it automatically switches positioning methods to provide accurate and stable real-time location information in different scenarios.
[0049] The client can set the location frequency according to the actual application scenario. For example, when visiting a scenic spot, the location frequency is once every 30 seconds to ensure the real-time navigation of the route; when not visiting, the location frequency is once every 5 minutes to reduce power consumption. At the same time, users can manually turn the location function on or off, or set location permissions (such as allowing location only when using the APP).
[0050] Step S102: Based on the travel preference information and real-time location information, determine the matching recommended tourist attractions and related tour routes.
[0051] The core of this step is to provide users with accurate and feasible recommendations for attractions and routes through multi-dimensional filtering and intelligent planning. The specific implementation process is as follows: First, the attraction selection stage: Starting from the user's real-time location, a preset range is set (such as 5 kilometers, 10 kilometers, 1 hour driving distance, etc., which can be customized by the user or automatically set by the client according to the scenario), and attractions that match the user's travel preferences are selected from the tourism map database.
[0052] The filtering dimensions include: Attraction type fit: Filter attractions that are consistent with or highly related to the user's preferred type (such as history and culture, natural scenery, etc.). The fit threshold can be set to above 80%. For example, if the user prefers historical and cultural attractions, then prioritize filtering attractions of the type such as ancient buildings, museums, and historical sites. User ratings: Filter attractions with user ratings above a preset score (e.g., 4.0 / 5.0) to ensure the quality of the recommended attractions' reputation; Popularity ranking: Refer to recent (e.g., the number of visits, favorites, and shares) of attractions to filter for those with higher popularity and avoid recommending less popular or less-than-ideal attractions. Open Status: Only filter attractions that are currently open, excluding attractions that are closed due to maintenance, holiday adjustments, or other reasons; Special needs matching: If users have special needs (such as accessibility facilities, pet-friendly), the system filters attractions that meet the corresponding needs. For example, if users prefer pet-friendly attractions, attractions that prohibit pets will be excluded.
[0053] The client can sort the selected attractions using a weighted scoring method. The weight coefficients can be set according to user preferences. For example, if the user is most concerned about the type of attraction, the weight coefficient for type matching will be the highest (e.g., 0.4). This is followed by user rating (0.3), popularity ranking (0.15), open status (0.1), and special needs matching (0.05). The client calculates the comprehensive score for each attraction, sorts them from high to low, and recommends the top 5-10 attractions for the user to choose from.
[0054] Secondly, in the route planning stage: based on the selected recommended attractions, and combined with user needs, related tour routes are planned, specifically including two planning methods: Method 1: Planning that connects multiple scenic spots.
[0055] If multiple attractions meet the criteria, the client will plan the optimal route based on the following factors: Route distance: Plan the route with the shortest total distance to reduce the user's round trip; Estimated tour duration: Based on the suggested tour duration for each attraction and the travel time along the route, ensure that the total tour duration matches the user's preferred tour duration. For example, if the user prefers a half-day tour (4 hours), the planned total tour duration will be controlled between 3.5 and 4.5 hours. Transportation convenience: The route is planned based on the user's selected mode of transportation (walking, driving, public transportation). For example, if the user chooses walking, the route between attractions that can be reached on foot will be planned first; if the user chooses public transportation, the route will include bus and subway stations, and real-time bus / subway arrival information will be provided. Crowd congestion: Refer to real-time visitor flow data of attractions and traffic congestion along the route to avoid attractions with high visitor flow and congested road sections. For example, if an attraction is currently congested (visitor density > 80%), adjust the route order and visit attractions with lower visitor flow first. Supply points are distributed along the route: restaurants, restrooms, parking lots, convenience stores and other supply points are connected to improve the convenience of users' tour.
[0056] For example, if a user's real-time location is near the Big Wild Goose Pagoda in Xi'an, and they prefer historical and cultural attractions, have a visit duration of 3 hours, and prefer walking, the client will filter out three attractions: the Big Wild Goose Pagoda, the Shaanxi History Museum, and the Small Wild Goose Pagoda. The planned route is "Big Wild Goose Pagoda (1 hour) - Shaanxi History Museum (1.5 hours) - Small Wild Goose Pagoda (0.5 hours)," with a total walking distance of 3 kilometers. The route includes 2 restaurants and 3 restrooms and avoids currently congested areas.
[0057] Method 2: Target attraction-oriented planning.
[0058] If the user has specified a target attraction (e.g., by selecting an attraction through a search), the client will plan a route that goes directly to the target attraction or includes recommended attractions along the way, based on the user's real-time location and the location relationship between the target attraction and the target attraction. For example, if the user's real-time location is at the entrance of West Lake Scenic Area in Hangzhou, and the specified target attraction is Leifeng Pagoda, the client will plan a route as "West Lake Scenic Area Entrance - Su Causeway in Spring (recommended attractions along the way, 0.5 hours) - Leifeng Pagoda (1.5 hours)". The recommended attractions along the way must match the user's preferences and should not significantly increase the total route time.
[0059] Route planning can employ classic path planning algorithms (such as Dijkstra's algorithm and A* algorithm), combined with real-time traffic and passenger flow data for dynamic optimization, ensuring the feasibility and optimality of the routes. The client supports planning multiple routes simultaneously for users to choose from, displaying information such as the total distance, total time, estimated cost, and order of attractions for each route. Users can select or customize routes according to their needs.
[0060] Step S103: Receive interactive operation instructions from the user for the recommended tourist attractions or related tour routes.
[0061] The client provides a variety of interactive entry points, supporting users to perform multi-dimensional interactive operations on recommended attractions and related routes. The main types of interactive operation commands include the following: Operating instructions related to tourist attractions: View Details Command: When a user clicks on the icon or name of a recommended attraction, they can view detailed information about that attraction (such as a brief introduction, opening hours, ticket prices, travel tips, user reviews, pictures / videos, etc.). Add to Favorites: Users can click the "Add to Favorites" button on a scenic spot to add it to their personal favorites list for easy access later. Sharing Instructions: Users can click the "Share" button to share attraction information to social media platforms (such as WeChat, Weibo, and Moments) or to a designated contact person; Check-in Instruction: After arriving at the attraction, the user clicks the "Check-in" button to trigger the check-in function and generate a check-in voucher; Comment instructions: When a user clicks the "Comment" button, they will be redirected to the comment posting interface to enter their evaluation of the attraction (text, pictures, rating); Filtering adjustment command: Users set filter conditions for recommended attractions (such as adjusting distance range, price range, rating threshold), which triggers a re-filtering of attractions; Real-time inquiry instructions: Users can click the "Inquiry" button to connect with the official customer service or online customer service of the attraction to inquire about relevant issues (such as ticket booking, opening time changes, special services, etc.).
[0062] Route-related operation instructions: Route selection instruction: The user clicks on a recommended route and confirms that route as the tour route; Route navigation instructions: After the user selects a route.
[0063] Step S104: According to the interactive operation command, acquire and update the corresponding tourist map data, which includes attraction details, route navigation, real-time visitor flow, and environmental information. Acquiring and updating tourist map data is a core aspect of ensuring a smooth interactive experience. It requires balancing data timeliness, loading speed, and resource consumption. A hybrid strategy of "local caching priority + server dynamic request" is adopted, combined with a tiered update mechanism and cache management strategy to achieve efficient data interaction. The specific implementation process is as follows: Based on the target of the interactive operation command (such as a specific attraction or route), the client first queries the corresponding tourist map data from the local cache. If the data is not found, it then requests the tourist map database. This can be divided into two scenarios: Initial Interaction Scenario: When a client receives an interactive command for a specific attraction or route for the first time (e.g., a user clicks "Xi'an Big Wild Goose Pagoda" to view details for the first time), if there is no corresponding data in the local cache, the client sends a request to the tourism map database via network interface 130. The request includes the target identifier (attraction ID, route ID), data type (details, visitor flow, environment, etc.), and client device information (screen resolution, network type). After receiving the request, the tourism map database extracts data from the corresponding data tables (attraction data table, route data table, real-time data stream table, etc.), encapsulates it in a preset format (JSON / XML), and returns it to the client. For example, when requesting details for the "Xi'an Big Wild Goose Pagoda," the database returns static data including name, address, description, opening hours, ticket price, high-resolution images, and user reviews, as well as dynamic data such as current visitor density, real-time weather, and surrounding traffic conditions.
[0064] In non-first-time interaction scenarios: When the target (attraction / route) of the interaction command matches the target of a previous interaction (e.g., the user clicks "Xi'an Big Wild Goose Pagoda" again), the client prioritizes retrieving data from the local cache (tourist map data cache 123 in storage 120). The local cache is stored according to data type, including static data cache (basic details of attractions, basic route information, etc., cache validity period of 7 days) and dynamic data cache (real-time visitor flow, environmental information, etc., cache validity period of 5 minutes). If the retrieved static data has not expired, it is directly called; if the dynamic data has expired or incomplete data is not found, only the expired or missing data is requested from the server, not the complete data. For example, when the user views "Xi'an Big Wild Goose Pagoda" again, the client retrieves static data such as attraction introduction and opening hours from the local cache, and only requests the latest real-time visitor flow and weather information from the server, reducing data transmission volume and improving loading speed.
[0065] To further optimize loading efficiency, the client supports data preloading. Based on the user's current interaction behavior and preferences, it predicts possible subsequent operations and loads relevant data in advance. For example, after a user selects the tour route "Xi'an Big Wild Goose Pagoda → Shaanxi History Museum," the client loads the route navigation data while preloading the Shaanxi History Museum's attraction details, surrounding restaurant distribution, and other data. When the user subsequently clicks on the Shaanxi History Museum, this data can be directly retrieved from the cache, achieving "seamless interaction." Preloading is triggered by conditions including: the target associated with the user's current interaction (such as attractions along the route), the user's historical high-frequency access data, and popular attractions near the current location. Preloaded data is stored in a temporary cache. If the user does not trigger the corresponding interaction within a preset time (e.g., 30 minutes), the temporary cache is automatically cleared to avoid excessive memory consumption.
[0066] Tourist map data needs to be updated in real time according to changes in the scene to ensure information accuracy. The client triggers the data update process by monitoring update conditions and updates the data according to a priority sequence, as follows: Update condition detection: The client monitors in real time whether update conditions are met, and initiates data update when any of the following conditions are triggered: Location change trigger: If a user's real-time location changes by more than a preset distance (e.g., 500 meters), it may cause changes in information such as surrounding attractions, routes, and passenger flow, triggering data updates in the corresponding area; Data change trigger: When the target information in the tourism map database changes (such as adjustments to the opening hours of attractions, changes in ticket prices, road control notices, etc.), the server sends an update notification to the client through a push mechanism. After the client receives the notification, it triggers the corresponding data update. Interaction frequency trigger: When a user's interaction frequency with the same target reaches a preset threshold (e.g., 3 clicks within 10 minutes), it may indicate that the user is highly interested in the target, triggering real-time updates of dynamic data (customer flow, environment); Time interval trigger: Dynamic data is updated regularly at preset time intervals (e.g., real-time passenger flow every 5 minutes, weather information every 15 minutes), and static data is checked and updated regularly every 7 days.
[0067] Tiered update strategy: Tourist map data is divided into different priorities based on timeliness requirements. During updates, high-priority data is synchronized first, followed by lower-priority data, to avoid resource waste. The priority sequence from highest to lowest is as follows: Level 1 data (extremely high real-time requirements): This includes real-time visitor flow, road control information, weather warnings, and notifications of emergencies, with update delays controlled within 1 minute. For example, if a tourist attraction experiences sudden visitor congestion (visitor density > 90%), the server pushes congestion information to the client in real time, and the client immediately updates and displays a heat map warning on the map interface; Secondary data (medium real-time requirements): including route navigation status (traffic congestion, real-time bus / subway arrival information), availability of surrounding services (restaurant operating status, parking lot remaining spaces), etc., with update delays controlled within 5-10 minutes; Level 3 data (lower real-time requirements): includes static data such as basic details of attractions (name, address, description), historical evaluations, and high-resolution images. It is updated every 7 days and is only triggered when information in the database changes.
[0068] The tiered update mechanism uses a data identifier field to differentiate between data. Each piece of data in the tourism map database includes a "priority identifier" and an "update timestamp." When a client requests data, the server returns it in priority order. The client parses and updates high-priority data first, and then asynchronously updates low-priority data in the background. For example, when a user views a route navigation, the client first updates the real-time congestion information of the route (level 1 data) to ensure navigation accuracy, and then updates the historical evaluations of surrounding attractions in the background (level 3 data), without affecting the current navigation experience.
[0069] To avoid excessive memory usage or data staleness due to excessive local cached data, the client adopts a cache management strategy of "high-frequency retention + low-frequency cleanup," dynamically adjusting cached content based on data type and storage duration. The specific implementation is as follows: High-frequency interaction data retention: By analyzing interaction log data, the client identifies the range of high-frequency user interaction data, including user-favorited attractions, planned routes, and recent (e.g., within the last 7 days) visit-related data. This data is marked as "core cached data" and retained locally indefinitely, only being cleared when the data expires or is actively deleted by the user. For example, if a user favorites attractions such as the "Palace Museum" and the "Badaling Great Wall," the client caches the complete data (static + dynamic) of these attractions long-term, allowing users to view basic details even offline.
[0070] Low-frequency interaction data cleanup: For low-frequency interaction data that exceeds the range of high-frequency interaction data and the preset storage time, the client will automatically clean it up periodically (e.g., every morning). The storage time is set according to the data type: the storage time for dynamic data is 5 minutes, and the storage time for static data is 7 days. For example, if a user viewed the details of the "Summer Palace" attraction 10 days ago and did not save it, the client will automatically clear its cached data; if the user views it again 3 days later, the data needs to be requested from the server again.
[0071] Cache capacity control: The client sets a maximum capacity threshold for tourist map data caching (e.g., 200MB by default for mobile devices, 500MB by default for AR devices). When the cached data reaches the threshold, an emergency cleanup mechanism is triggered, cleaning up low-frequency interaction data in order of "storage time from oldest to newest" until the cache capacity drops to 80% of the threshold. For example, when the mobile client's cache capacity reaches 200MB, it prioritizes cleaning up the oldest stored low-frequency data (e.g., details of niche attractions viewed 10 days ago) to ensure sufficient cache space.
[0072] The specific process of cache management is as follows: The client checks the cache status periodically (e.g., every minute), including cache capacity, data storage duration, and data access frequency; if the cache capacity has not reached the threshold and there is no expired data, the current cache is maintained; if there is expired data, the expired data is cleaned up; if the cache capacity has reached the threshold, low-frequency expired data is cleaned up, and if it still does not meet the standard, low-frequency non-expired data is cleaned up until the capacity requirement is met.
[0073] Step S105: Based on the updated tourist map data, generate and display a tourist map interactive interface that includes interactive feedback.
[0074] The generation of the tourist map interactive interface needs to balance visualization effects, ease of operation, and multi-device compatibility. It should support multi-view switching and integration of interactive feedback entry points. The rendering engine transforms tourist map data into an intuitive and vivid visualization interface. The specific implementation process is as follows: The client generates a 3D or 2D tourist map base based on geographical coordinates, attraction outlines, route directions, and other information from tourist map data, adapting to different devices and application scenarios: 1) 2D base: Suitable for traditional smart devices such as mobile phones and tablets. It constructs a planar map based on latitude and longitude coordinates, uses vector drawing technology to draw basic geographic elements such as roads, rivers, and green spaces, and supports basic operations such as zooming, panning, and rotation. For example, in a mobile client, the 2D base dynamically adjusts to a scale of 1:1000 to 1:100000, and automatically loads map details at the corresponding level when zooming (e.g., large scale displays street names and building outlines, small scale displays area divisions and main roads). 2) 3D base: Suitable for AR devices, VR devices, in-vehicle navigation devices, etc. It constructs a stereo map based on 3D geographic information data (such as terrain elevation and 3D building models), and supports 360-degree free rotation and viewpoint switching. For example, in AR smart glasses, a 3D substrate recreates the real terrain and building appearance of a scenic spot, allowing users to view the scene from different angles by rotating their heads; in in-vehicle navigation devices, a 3D substrate highlights information such as road slope, bridge height, and tunnel location, improving navigation accuracy.
[0075] The map base is generated using a layered rendering technique, consisting of terrain, road, building, and green space layers. Each layer is rendered independently and then superimposed to create a composite image, facilitating the subsequent overlay of information such as attraction labels and navigation markers. It also supports user-defined display / hiding of a specific layer (e.g., hiding the green space layer and displaying the satellite layer).
[0076] Based on the map base, the client transforms tourist map data into various interface elements and overlays them for display, ensuring that the information is intuitive and easy to understand: Attraction Details Tags: Each recommended attraction has a corresponding tag, displaying key information such as the attraction name, rating, distance from the user's current location, and real-time visitor flow status (distinguished by color: green = smooth flow, yellow = crowded, red = congested). Clicking on a tag expands a detailed information panel, displaying an introduction to the attraction, opening hours, ticket prices, images / videos, user reviews, etc. Tag display priority is based on the attraction's overall score, with high-scoring attraction tags prominently displayed (e.g., in the center of the screen) to avoid tag overlap.
[0077] Route navigation markers: Selected related tour routes are marked on the map with eye-catching lines (such as blue). The line width is adjusted according to road classification (thicker for main roads and thinner for side roads), and displays route direction arrows, estimated travel time, distance, and other information. For example, walking routes are marked with distance indicators every 100 meters, driving routes are marked with traffic light locations, speed limits, and real-time congested sections (marked with red lines), and public transportation routes are marked with bus / subway stations, transfer information, and real-time arrival times.
[0078] Real-time visitor flow heatmap: Based on real-time visitor flow data, a heatmap is overlaid on the map, with different colors representing visitor density (blue = low density, green = medium density, yellow = relatively high density, red = high density). For example, a red heatmap is displayed at the entrance area of a scenic spot to indicate congestion in that area, and the client can automatically recommend alternative routes; popular photo spots inside the scenic spot are displayed on a yellow heatmap to help users plan their visit sequence.
[0079] Environmental information alerts: Weather, temperature, air quality, and precipitation probability are displayed as icons at the top or sidebar of the map interface. For example, a sun icon is displayed for sunny days, an umbrella icon for rainy days, and a smog icon with accompanying text when air quality is poor. In the event of extreme weather (such as heavy rain or typhoons), a warning pop-up will appear to remind users to take precautions and suggest adjusting their travel plans.
[0080] The overlay of interface elements supports custom configuration. Users can adjust the element display status (such as hiding the heat map and showing the satellite layer), font size, color theme, etc. through the "Settings" interface to adapt to different usage scenarios (such as switching to a dark theme in a bright light environment to improve readability).
[0081] The client supports multiple perspective switching to meet the usage habits and scenario needs of different users, specifically including three perspectives: Attraction Overhead View: A vertical downward perspective from above the attraction, suitable for viewing the overall layout and facility distribution (such as parking lots, restrooms, and attraction entrances / exits). For example, when planning a tour route within a scenic area, switching to the overhead view allows users to quickly understand the location relationships between various attractions and the route to take.
[0082] Route roaming view: Simulates the user's perspective while walking, dynamically adjusting to follow the user's real-time location, suitable for navigation scenarios. For example, during pedestrian navigation, the roaming view simulates the user's forward view, displaying the road ahead, turn prompts, and the remaining distance to the destination; during driving navigation, the roaming view simulates the view in front of the vehicle, displaying lane information, traffic lights, road signs, etc.
[0083] AR Reality Overlay Perspective: Applicable to AR devices (such as smart glasses and AR headsets), this technology overlays virtual map elements (navigation markers, attraction labels, and interactive feedback entry points) onto the real-world scene, achieving a seamless "virtual-real" interactive experience. When users wear AR smart glasses, the glasses' camera captures the real-world scene, and the client overlays virtual elements such as route navigation arrows, attraction name labels, and real-time visitor flow indicators onto the screen. For example, a blue navigation arrow can be overlaid on a real street scene to indicate the direction of travel, and names and rating labels can be overlaid on attraction buildings, enhancing the intuitiveness and fun of navigation.
[0084] The perspective switching can be triggered manually or automatically: manual switching is achieved by the user clicking the perspective switching button on the interface or by voice command (such as "switch to overhead view"); automatic switching is automatically adjusted according to the application scenario, for example, automatically switching to the roaming view when the user starts navigation, and automatically switching to the overhead view when the user clicks on the attraction details.
[0085] The interactive interface integrates multiple interactive feedback entry points, allowing users to quickly trigger interactive operations. These entry points include buttons, icons, and voice wake-up words, specifically: Check-in entry: A "Check-in" button is set next to each attraction label. Users can click the button after arriving at the attraction to trigger the check-in function; Comment entry: A "Write a comment" button is set in the attraction details panel. Clicking it will redirect you to the comment posting interface. Access to favorites: A "favorites" icon is set in both the attraction's tag and details panel. Clicking it will add the attraction to your personal favorites list; Sharing entry: Supports sharing attraction information and route planning results to social media platforms. The entry point is the "Share" button, which displays sharing options (WeChat, Weibo, Moments, etc.). Real-time Inquiry Entry: A "Inquiry" button is set in the sidebar of the interface. Clicking it will connect you to the official customer service or online customer service of the attraction, supporting text, voice, and image inquiries; - Nearby Services Entry: A "Nearby" button is set in the attraction details panel. Clicking it will display information on nearby restaurants, accommodations, shopping, parking, and other services.
[0086] The display position of the interactive feedback entry is adapted to the device type. For example, the mobile client displays frequently used entries (check-in, favorites, sharing) in the bottom toolbar of the interface, while AR devices display the entry as a floating icon at the edge of the screen to avoid obscuring core information.
[0087] Optionally, in some embodiments of this application, when a user triggers an operation command at the interactive feedback entry point, the corresponding interactive result is output according to preset interactive rules.
[0088] Interactive feedback is key to improving user engagement and experience. Based on user-triggered interactions, the client executes preset rules and outputs diverse interactive results, including the following scenarios: When a user arrives at a scenic spot and clicks the "Check-in" button, the client first verifies the distance between the user's real-time location and the scenic spot (which must be less than a preset distance threshold, such as 100 meters). After successful verification, a check-in voucher is generated. The specific implementation is as follows: Voucher Generation: The client combines attraction information (name, logo, distinctive elements) with user information (nickname, check-in time, location coordinates) to generate personalized check-in vouchers, which can take the form of image vouchers, electronic badges, short videos, etc. For example, when a user checks in at the "Palace Museum," an image voucher is generated that includes the Palace Museum logo, the user's nickname, the check-in time, and the "Palace Museum Check-in Expert" electronic badge; or a short video voucher is generated that includes the user's real-time photo and the Palace Museum background, supporting the addition of special effects and background music.
[0089] Voucher saving and sharing: After the check-in voucher is generated, it is automatically saved to the user's local photo album and a sharing entry is provided, allowing users to directly share it to social media platforms. At the same time, the client records check-in records, forming the user's "travel footprints," which are displayed on the personal center interface, where users can view historical check-in attractions, check-in timelines, etc.
[0090] Check-in Rewards: Rewards are set for consecutive check-ins and check-ins at popular attractions, such as points, coupons, and virtual items. For example, a user who checks in at 3 historical and cultural attractions consecutively will be rewarded with 50 points, which can be redeemed for attraction ticket coupons; checking in at popular attractions (such as the top 10 most popular attractions during holidays) will reward a "Popular Attraction Check-in" virtual badge.
[0091] The interactive method for tourist maps provided in this application obtains the user's travel preference information and real-time location information. Based on the travel preference information and real-time location information, it determines matching recommended tourist attractions and related tour routes. It receives interactive operation instructions from the user regarding the recommended tourist attractions or related tour routes. According to the interactive operation instructions, it obtains and updates the corresponding tourist map data. Based on the updated tourist map data, it generates and displays a tourist map interactive interface containing interactive feedback. In the interactive scheme for tourist maps provided in this application, personalized recommendations are made by combining user travel preferences and real-time location, accurately matching attractions and tour routes, reducing user information filtering costs, improving itinerary planning efficiency, and supporting multi-dimensional interactive operations and interactive feedback for attractions and routes, enriching the user experience and enhancing the practicality and fun of the tourist map. Simultaneously, a hierarchical and scenario-based data update mechanism is established to ensure that critical information with high real-time requirements is synchronized first.
[0092] To facilitate better implementation of the interactive method for tourist maps according to the embodiments of this application, the embodiments of this application also provide an interactive device for tourist maps. The meanings of the terms used are the same as those in the above-described interactive system for tourist maps, and specific implementation details can be found in the description of the system embodiments.
[0093] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of an interactive device for a tourist map provided in an embodiment of this application. Specifically, the interactive device may include a first acquisition module 201, a determination module 202, a receiving module 203, a second acquisition module 204, and a generation module 205, as follows: The first acquisition module 201 is used to acquire the user's travel preference information and real-time location information; The determining module 202 is used to determine matching recommended tourist attractions and associated tour routes based on the travel preference information and real-time location information; The receiving module 203 is used to receive interactive operation instructions from the user for the recommended tourist attractions or related tour routes; The second acquisition module 204 is used to acquire and update the corresponding tourist map data according to the interactive operation instructions. The tourist map data includes attraction details, route navigation, real-time visitor flow and environmental information. The generation module 205 is used to generate and display an interactive tourist map interface with interactive feedback based on the updated tourist map data.
[0094] This application provides an interactive device for a tourist map. A first acquisition module 201 acquires the user's travel preference information and real-time location information. A determination module 202 determines matching recommended tourist attractions and related tour routes based on the travel preference information and real-time location information. A receiving module 203 receives the user's interactive operation instructions for the recommended tourist attractions or related tour routes. A second acquisition module 204 acquires and updates the corresponding tourist map data according to the interactive operation instructions. A generation module 205 generates and displays a tourist map interactive interface containing interactive feedback based on the updated tourist map data. In the interactive tourist map solution provided in this application, personalized recommendations are made by combining user travel preferences and real-time location, accurately matching attractions and tour routes, reducing user information filtering costs, improving itinerary planning efficiency, and supporting multi-dimensional interactive operations and feedback for attractions and routes, enriching the user experience and enhancing the practicality and fun of the tourist map. Simultaneously, a hierarchical and scenario-based data update mechanism is established to ensure that critical information with high real-time requirements is synchronized first.
[0095] Furthermore, embodiments of this application also provide an electronic device, such as... Figure 3 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically: The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more processor-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will understand that... Figure 3 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 301 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 302, and by calling data stored in the memory 302, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles the interaction of the wireless travel map. It is understood that the modem processor may also not be integrated into the processor 301.
[0096] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and interactive methods for tourist maps by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
[0097] The electronic device also includes a power supply 303 that supplies power to various components. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 303 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0098] The electronic device may also include an input unit 304, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0099] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 301 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 runs the applications stored in the memory 302 to realize various functions, as follows: The system acquires the user's travel preference information and real-time location information; based on the travel preference information and real-time location information, it determines matching recommended tourist attractions and related tour routes; it receives interactive operation instructions from the user for the recommended tourist attractions or related tour routes; according to the interactive operation instructions, it acquires and updates the corresponding tourist map data; based on the updated tourist map data, it generates and displays a tourist map interactive interface containing interactive feedback.
[0100] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0101] This application embodiment combines user travel preferences and real-time location to make personalized recommendations, accurately matching attractions and tour routes, reducing user information filtering costs, improving itinerary planning efficiency, and supporting multi-dimensional interactive operations and feedback for attractions and routes, enriching user experience and enhancing the practicality and fun of travel maps; at the same time, it establishes a hierarchical and scenario-based data update mechanism to ensure that key information with high real-time requirements is synchronized first.
[0102] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a processor-readable storage medium and loaded and executed by a processor.
[0103] Therefore, embodiments of this application provide a storage medium storing multiple instructions that can be loaded by a processor to execute steps in any of the interactive methods for a tourist map provided in embodiments of this application. For example, the instructions can execute the following steps: The system acquires the user's travel preference information and real-time location information; based on the travel preference information and real-time location information, it determines matching recommended tourist attractions and related tour routes; it receives interactive operation instructions from the user for the recommended tourist attractions or related tour routes; according to the interactive operation instructions, it acquires and updates the corresponding tourist map data; based on the updated tourist map data, it generates and displays a tourist map interactive interface containing interactive feedback.
[0104] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0105] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0106] Since the instructions stored in the storage medium can execute the steps in any of the interactive methods of tourist maps provided in the embodiments of this application, the beneficial effects that any of the interactive methods of tourist maps provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0107] The foregoing has provided a detailed description of the interactive method, apparatus, electronic device, and storage medium for a tourist map provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An interactive method for a tourist map, characterized in that, include: Obtain users' travel preferences and real-time location information; Based on the aforementioned travel preference information and real-time location information, matching recommended tourist attractions and associated tour routes are determined; Receive user interaction commands for the recommended tourist attractions or related tour routes; According to the interactive operation instructions, the corresponding tourist map data is obtained and updated. The tourist map data includes attraction details, route navigation, real-time visitor flow and environmental information. Based on the updated tourist map data, generate and display an interactive tourist map interface that includes interactive feedback.
2. The method according to claim 1, characterized in that, The acquisition of users' travel preference information includes: The system receives user-inputted preference keywords, including attraction type, tour duration, budget, and travel style. Alternatively, user travel preference information can be generated by analyzing their historical travel records, favorites, and browsing history; or, user travel preference-related data can be obtained through authorized synchronization with third-party travel platforms.
3. The method according to claim 1, characterized in that, The step of determining matching recommended tourist attractions and related tour routes based on the travel preference information and real-time location information includes: Starting from the user's real-time location, the system filters attractions within a preset range that match the user's travel preferences. The matching dimensions include attraction type compatibility, user rating, popularity ranking, and opening status. Based on the selected attractions, tour duration, route distance, transportation convenience, and visitor congestion, plan at least one related tour route; Alternatively, the system can receive a target attraction specified by the user and generate an associated tour route that includes recommended attractions along the way, based on the real-time location and the location relationship between the target attraction and the target location.
4. The method according to claim 1, characterized in that, The step of acquiring and updating the corresponding tourist map data according to the interactive operation instructions includes: When receiving an interactive operation command for the first time, it requests the corresponding attraction details, route navigation, real-time visitor flow and environmental information from the tourism map database; When the target attraction or route corresponding to the interactive operation command is consistent with the historical interactive target, the tourist map data is retrieved from the local cache. If no data is found, request the corresponding tourist map data from the tourist map database.
5. The method according to claim 1, characterized in that, Also includes: When the conditions for updating tourism map data are met, update the locally stored or displayed tourism map data until the latest tourism map data that adapts to the user's current interaction needs is formed.
6. The method according to claim 5, characterized in that, The updating of locally stored or displayed tourist map data includes: A priority sequence is determined, which is ordered based on the timeliness requirements of information, with real-time passenger flow, weather warnings, and road control information having higher priority than basic details of attractions and historical evaluation information; According to the priority sequence, high-priority tourist map data is updated first, followed by low-priority data.
7. The method according to claim 5, characterized in that, The updating of locally stored or displayed tourist map data includes: Determine the range of high-frequency user interaction data, which includes data related to user favorite attractions, planned routes, and recently viewed attractions; Retain the tourism map data within the range of high-frequency interaction data, and periodically clean up low-frequency interaction data that exceeds this range and the preset storage time.
8. The method according to claim 5, characterized in that, Also includes: When a user's real-time location changes beyond a preset distance, target information in the tourism map database changes, the frequency of user interaction reaches a preset threshold, or a preset time interval expires, the conditions for updating tourism map data are determined to be met.
9. The method according to claim 1, characterized in that, The process of generating and displaying an interactive tourism map interface with feedback based on updated tourism map data includes: Generate a 3D or 2D tourist map base based on the geographical coordinates, scenic spot outlines and route directions in the tourist map data. The attraction details labels, route navigation signs, real-time visitor flow heat maps, and environmental information prompts are overlaid onto the tourist map base.
10. The method according to claim 1, characterized in that, Also includes: When a user triggers an action command at the interactive feedback entry point, the corresponding interactive result is output according to the preset interactive rules.
11. An interactive device for a tourist map, characterized in that, include: The first acquisition module is used to acquire users' travel preference information and real-time location information; The determination module is used to determine matching recommended tourist attractions and associated tour routes based on the travel preference information and real-time location information; The receiving module is used to receive interactive operation instructions from the user regarding the recommended tourist attractions or related tour routes; The second acquisition module is used to acquire and update the corresponding tourist map data according to the interactive operation instructions. The tourist map data includes attraction details, route navigation, real-time visitor flow and environmental information. The generation module is used to generate and display an interactive tourist map interface with interactive feedback based on the updated tourist map data.
12. An electronic device, characterized in that, include: A memory, a processor, and a processor program stored in the memory and executable on the processor, wherein the processor executes the program as steps of the interactive method of a tourist map as described in any one of claims 1 to 10.
13. A storage medium, characterized in that, A computer processing program is stored that can be loaded by a processor and execute the interactive method of the tourist map as described in any one of claims 1 to 10.