Tourist route planning method and system based on route analysis

By intelligently analyzing the terminal to match user styles with scenic spot characteristics, and optimizing travel routes and transportation, it solves the problems of mismatch between users and scenic spots and traffic congestion, and enhances the travel experience.

CN120651264AInactive Publication Date: 2025-09-16HEFEI YINGTU TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511016958.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-23
Publication Date
2025-09-16
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN120651264A_ABST
    Figure CN120651264A_ABST
Patent Text Reader

Abstract

The invention discloses a tour route planning method and system based on path analysis, and relates to the technical field of electric data processing, and the method comprises the steps: S1, obtaining all scenic spot information sets of a first target city; and S2, performing information matching processing on the style data of the user and the scenic spot information set of the first target city, and determining a user scenic spot set. The scenic spots are matched and screened according to the styles of the users, the obtained scenic spots are matched with the styles of the users, after the users arrive at the scenic spots, it is found that the scenic spots conform to the styles of the users, the experience feeling of the users is indirectly improved, the distance between the arrival position of the users and the position of each scenic spot is calculated, and the user experience is improved. The scenic spot position closest to the arrival position of the user is determined, so that the user can quickly arrive at the scenic spot to play, in addition, the traffic tools on the travel route of the user are screened, the optimal travel tool for travel of the user is determined, the user is prevented from wasting the travel time on the route for going to the scenic spot, and the travel experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic data processing, and in particular to a method and system for planning a tourist route based on path analysis. Background Art

[0002] Tourism, or sightseeing, is the sum of phenomena and relationships arising from the travel and temporary residence of non-residents. It is a complex social phenomenon, encompassing political, economic, cultural, and historical dimensions. It is also a form of leisure and recreational activity characterized by its remoteness and temporary nature. Generally speaking, tourism can be divided into two distinct levels: sightseeing and traveling. The former is shorter and offers a shallower experience, while the latter is more experiential.

[0003] Each user has different eating and exercise habits, and the diet and composition of each scenic spot are also different. If recommendations are made to users without matching their habits with the composition of the scenic spot, when the user arrives at the scenic spot, they will find that the scenic spot is different from their habits, which reduces the user's experience. In addition, when users take public transportation to the scenic spot, if there is traffic congestion, the user will waste a lot of time on the way to the scenic spot, which will also reduce the user's experience. Summary of the Invention

[0004] In order to solve the above technical problems, a travel route planning method and system based on path analysis are provided. This technical solution solves the problem raised in the above background technology that each user has different eating habits and exercise habits, and the diet and composition within each scenic spot are also different. If recommendations are made to users without matching the user's habits with the composition within the scenic spot, when the user arrives at the scenic spot, he or she will find that the scenic spot is different from his or her habits, which reduces the user's experience. In addition, when the user takes a means of transportation to the scenic spot, if there is traffic congestion, the user will waste a lot of time on the way to the scenic spot, which will also reduce the user's experience.

[0005] In order to achieve the above objects, the technical solution adopted by the present invention is: A travel route planning method based on path analysis, comprising: S1. Obtain all scenic spot information sets of the first target city; S2. Obtain the user's style data and, based on the intelligent analysis terminal, perform information matching processing on the user's style data and the scenic spot information set of the first target city to determine the user's tourist attraction set; S3. Based on the intelligent analysis terminal, the user's style data and the user's tourist attraction collection are analyzed to determine the user's travel route; S4. Based on the intelligent analysis terminal, conduct travel congestion analysis on the user's travel route and determine the best travel tool for the user.

[0006] Preferably, the step S1 of obtaining a set of all scenic spot information of the target city specifically includes the following steps: S11. Based on the intelligent analysis terminal, data from all apps in the user's electronic device is read and processed to obtain all target cities for the user's travel; S12. Based on the intelligent analysis terminal, count the data stored in the data storage device of the user's electronic device using all target cities of the user's travel as features to obtain the number of searches for the target cities of the user's travel; S13. Sort the number of searches for the user's travel destination city based on the maximum value function to obtain the maximum number of searches for the user's travel destination city; S14. Based on the intelligent analysis terminal, the city corresponding to the maximum number of searches for the user's travel target city is set as the user's first travel target city; S15. Based on the intelligent analysis terminal, the database system is read and processed based on the user's first target city for travel, and a collection of all scenic spot information of the first target city is obtained.

[0007] Preferably, the step S2 of obtaining the user's style data and performing information matching processing on the user's style data and the scenic spot information set of the first target city based on the intelligent analysis terminal to determine the user's tourist attraction set specifically includes the following steps: S21. Extracting information from the user's electronic device based on the intelligent analysis terminal to obtain user style data, wherein the user style data includes the user's daily diet information, the user's daily exercise information, and the user's travel habits; S22. Based on the intelligent analysis terminal, extract information from all scenic spot information sets in the first target city to obtain food information and composition information of each scenic spot. S23. Based on the intelligent analysis terminal, the user's style data, the food information of each scenic spot, and the composition information of each scenic spot are matched and processed to determine the user's tourist attraction set.

[0008] Preferably, the step S23, based on the intelligent analysis terminal, matching the user's style data, the food information of each scenic spot, and the composition information of each scenic spot to determine the user's tourist attraction set specifically includes the following steps: S231. Based on the intelligent analysis terminal, perform overlap analysis on the user's daily dietary information and the dietary information of each scenic spot, and on the user's daily exercise information and the composition information of each scenic spot, respectively, to determine a dietary overlap set between the user and the scenic spot, and a sports overlap set between the user and the scenic spot, wherein the overlap set is specifically in the form of (diet / exercise overlap ranking, scenic spot name), and the diet / exercise overlap ranking is sorted according to the size of the overlap between the user and the scenic spot; S232: Based on the intelligent analysis terminal, data is extracted and processed for the food overlap set between the user and the scenic spot and the exercise overlap set between the user and the scenic spot, respectively, using the scenic spot name as a feature, to obtain food overlap data for each scenic spot and exercise overlap data for each scenic spot; S233. Calculate the mean of the food overlap data and the exercise overlap data for each scenic spot based on the intelligent analysis terminal to obtain the average overlap for each scenic spot. S234: Based on the intelligent analysis terminal, the average overlap of each scenic spot is analyzed and processed to determine the user's tourist attraction set.

[0009] Preferably, the step S234, analyzing and processing the average overlap of each scenic spot based on the intelligent analysis terminal to determine the user's tourist attraction set, specifically includes the following steps: S2341. Based on the intelligent analysis terminal, determine and process the average overlap of each scenic spot and the set overlap threshold; S2342: If the average overlap of the scenic spot is greater than or equal to the set overlap threshold, the scenic spot is suitable for the user's style, and the scenic spot is set as the user's tourist attraction; S2343: If the average overlap of the scenic spot is less than the set overlap threshold, the scenic spot does not suit the user's style; S2344. Based on the intelligent analysis terminal, scenic spots that match the user's style are set as a user tourist attraction set.

[0010] Preferably, the step S3, performing path analysis on the user's style data and the user's tourist attraction set based on the intelligent analysis terminal to determine the user's travel route, specifically comprises the following steps: S31. Based on the intelligent analysis terminal, the user's travel habits are used as characteristics to match the user's travel target city information and determine the user's arrival location; S32. Based on the intelligent analysis terminal, perform information matching processing on the user's travel target city information based on each attraction in the user's tourist attraction set as a feature, and determine the location information of each attraction visited by the user; S33. Based on the intelligent analysis terminal, a path analysis is performed on the user's arrival location and the location information of each scenic spot visited by the user to determine the user's travel route.

[0011] Preferably, the step S33, performing path analysis on the user's arrival location and the location information of each scenic spot visited by the user based on the intelligent analysis terminal, and determining the user's travel route specifically includes the following steps: S331. Based on the intelligent analysis terminal, calculate the distance of the user's location information of each tourist attraction based on the user's arrival location, and obtain a set of distances between the user and each tourist attraction; S332. Sort the data in the distance set between the user and each attraction based on the minimum function to determine the first attraction for the user to visit. S333: Based on the intelligent analysis terminal and the minimum value function, the distance calculation and distance sorting processing are performed on the remaining attractions in the user's tourist attraction set, with the first attraction visited by the user as the feature, to determine the second attraction visited by the user; S334. Repeat the above step S333 to determine the last scenic spot visited by the user. Based on the intelligent analysis terminal, connect the user's arrival location, the first scenic spot visited by the user, the second scenic spot visited by the user, and the last scenic spot visited by the user in order to determine the user's travel route.

[0012] Preferably, the step S4, performing a travel congestion analysis on the user's travel route based on the intelligent analysis terminal and determining the user's best travel tool specifically includes the following steps: S41. Based on the intelligent analysis terminal, extract and process all scenic spot information sets of the first target city based on the user's travel route to obtain transportation information for each scenic spot; S42. Based on the intelligent analysis terminal, data is read and processed for all scenic spot information sets in the first target city using the transportation information of each scenic spot as a feature to obtain the departure time and arrival time of each transportation method; S43. Based on the intelligent analysis terminal, the departure time and arrival time of each means of transportation are calculated and analyzed to determine the best means of transportation for the user.

[0013] Preferably, the step S43, calculating and analyzing the departure time and arrival time of each means of transportation based on the intelligent analysis terminal to determine the best means of transportation for the user, specifically comprises the following steps: S431. Calculate the difference between the departure time and arrival time of each mode of transportation based on the intelligent analysis terminal to obtain the travel time of each mode of transportation; S432. Sort the travel time of each mode of transportation based on the minimum value function to obtain the minimum value of the travel time of each mode of transportation; S433. Based on the intelligent analysis terminal, the transportation tool corresponding to the minimum travel time of each transportation tool is set as the optimal transportation tool for the user's travel.

[0014] Furthermore, a tourism route planning system based on path analysis is proposed, which is used to implement the above-mentioned tourism route planning method based on path analysis, including: An intelligent analysis terminal is configured to control various modules to perform counting analysis, sorting processing, and data reading on data from all apps in a user's electronic device, thereby obtaining a set of all scenic spot information in a first target city; the intelligent analysis terminal is configured to control various modules to perform overlap analysis, overlap calculation, and overlap judgment on the user's style data and the set of scenic spot information in the first target city, thereby determining a set of tourist attractions for the user; the intelligent analysis terminal is configured to control various modules to perform distance calculation and path analysis on the set of tourist attractions for the user, thereby determining a travel route for the user; the intelligent analysis terminal is configured to control various modules to perform travel congestion analysis on the user's travel route, thereby selecting the optimal travel vehicle for the user; and the intelligent analysis terminal is configured to control data transmission and information exchange between various modules. A database system, wherein the database system is used to store tourist attraction information of all cities; A data reading module, which is used to read data from the user's electronic device to obtain all the target cities for the user's travel; A tourist city screening module is used to sort all the target cities for the user's travel by the number of searches and determine the user's first target city for travel; An information matching module, which is used to analyze, calculate, and determine the overlap of the user's style data, the food information of each scenic spot, and the composition information of each scenic spot, and determine the user's tourist attraction set; A travel route determination module is used to calculate the distance, sort the distances, and connect the routes of the user's arrival location and the location information of each scenic spot visited by the user, thereby determining the user's travel route; The travel tool determination module calculates the difference between the departure time and arrival time of each mode of transportation according to the user's travel route, obtains the travel time of each mode of transportation, calculates and sorts it, and determines the best travel tool for the user.

[0015] Furthermore, a storage medium is proposed, on which a computer program is stored. When the computer program is called and run, it executes the above-mentioned travel route planning method based on path analysis.

[0016] Compared with the existing technology, the present invention provides a method and system for planning a tourist route based on path analysis, which has the following beneficial effects: 1. The present invention matches and screens scenic spots according to the user's style, so that the obtained scenic spots are adapted to the user's style. When the user arrives at the scenic spot, he or she will find that the scenic spot is consistent with his or her style, which indirectly improves the user's experience; 2. After the user's tourist attractions are determined, the distance between the user's arrival location and the location of each attraction is calculated to determine the location of the attraction closest to the user's arrival location, so that the user can quickly reach the attraction for sightseeing. In addition, the transportation on the user's travel route is screened to determine the best means of transportation for the user, avoiding the user from wasting travel time on the way to the attraction, indirectly improving the user's travel experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a flow chart of steps S1-S4 in a travel route planning method based on path analysis proposed by the present invention; Figure 2 This is a structural block diagram of a travel route planning system based on path analysis proposed by the present invention. DETAILED DESCRIPTION

[0018] The following description is intended to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are merely examples, and those skilled in the art may conceive of other obvious variations.

[0019] Reference Figure 1 As shown, a travel route planning method based on path analysis includes: S1. Obtain all scenic spot information sets of the first target city; S2. Obtain the user's style data and, based on the intelligent analysis terminal, perform information matching processing on the user's style data and the scenic spot information set of the first target city to determine the user's tourist attraction set; S3. Based on the intelligent analysis terminal, the user's style data and the user's tourist attraction collection are analyzed to determine the user's travel route; S4. Based on the intelligent analysis terminal, the user's travel route is analyzed for travel congestion and the best travel tool for the user is determined; Those skilled in the art will understand that there may be multiple tourist attractions in a tourist city, but the styles and diets of each tourist attraction may be the same or different, and each tourist has different eating habits and exercise habits. Some tourists like spicy food, while some tourists like light food. Recommending tourists who like spicy food to attractions with light food will result in tourists not enjoying their trip. In addition, some sporty tourists like to climb mountains. If they are recommended to attractions such as lakes or rivers, it will also result in a poor tourist experience. In addition, after the attractions are determined according to the tourists' styles, each attraction is not together, and there will be a certain distance between each attraction. Therefore, it is necessary to take transportation to other attractions. There are multiple transportation methods or routes to other attractions, and there may be road congestion on the way to other attractions. In order to avoid tourists wasting their travel time on the way to the attractions, the transportation on the tourist route is screened, and routes or transportation that will not be congested are determined, so that tourists can quickly reach the next attraction, avoid tourists wasting their travel time on the way to the attractions, and improve the tourists' experience.

[0020] Example 1 Step S1, obtaining a set of all scenic spot information of a target city, specifically includes the following steps: S11. Based on the intelligent analysis terminal, data from all apps in the user's electronic device is read and processed to obtain all target cities for the user's travel; S12. Based on the intelligent analysis terminal, count the data stored in the data storage device of the user's electronic device using all target cities of the user's travel as features to obtain the number of searches for the target cities of the user's travel; S13. Sort the number of searches for the user's travel destination city based on the maximum value function to obtain the maximum number of searches for the user's travel destination city; S14. Based on the intelligent analysis terminal, the city corresponding to the maximum number of searches for the user's travel target city is set as the user's first travel target city; S15. Based on the intelligent analysis terminal, data is read and processed from the database system based on the user's first target city, to obtain a set of all scenic spot information in the first target city; In this embodiment, when a user wants to travel to a city, he or she will search for information about the attractions in this city on his or her electronic device, and tourists may search for multiple tourist cities on their electronic device for selection, but the city with the most searches is definitely the city that tourists most want to visit. In order to further increase tourists' desire to travel to this city, a style analysis of the city's attractions and routes is subsequently performed to generate a travel route that suits the tourists' style.

[0021] Example 2 Step S2: Obtain the user's style data, and perform information matching processing on the user's style data and the scenic spot information set of the first target city based on the intelligent analysis terminal to determine the user's tourist attraction set. Specifically, the steps include: S21. Extracting information from the user's electronic device based on the intelligent analysis terminal to obtain user style data, wherein the user style data includes the user's daily diet information, the user's daily exercise information, and the user's travel habits; It is understandable that when users go out to play, they will choose cities that match their habits. For example, tourists who like snow will go to cities with frequent snowfall, while tourists who like spicy food will like to go to tourist cities with spicy food. Therefore, by analyzing the user's style data, we can filter out attractions that match the tourists' style. S22. Based on the intelligent analysis terminal, extract information from all scenic spot information sets in the first target city to obtain food information and composition information of each scenic spot. It is understandable that there are multiple scenic spots in a tourist city, and the food styles and composition of different scenic spots are different. For example, scenic spots near water will have more seafood, and tourists who like seafood will tend to go to waterside scenic spots. The composition information of scenic spots specifically refers to the environment of the scenic spot. For example, some scenic spots are mountains, while others are rivers and lakes. Different styles of tourists lead to different preferred attractions. S23, based on the intelligent analysis terminal, matching the user's style data, the food information of each scenic spot, and the composition information of each scenic spot to determine the user's tourist attraction set; Step S23, based on the intelligent analysis terminal, matches the user's style data, the food information of each scenic spot, and the composition information of each scenic spot to determine the user's tourist attraction set, specifically includes the following steps: S231. Based on the intelligent analysis terminal, perform overlap analysis on the user's daily dietary information and the dietary information of each scenic spot, and on the user's daily exercise information and the composition information of each scenic spot, respectively, to determine a dietary overlap set between the user and the scenic spot, and a sports overlap set between the user and the scenic spot, wherein the overlap set is specifically in the form of (diet / exercise overlap ranking, scenic spot name), and the diet / exercise overlap ranking is sorted according to the size of the overlap between the user and the scenic spot; It is understandable that tourists go out to experience not only the style of the scenic spot, but also the food there. However, the food at the scenic spot should be consistent with or similar to the tourists' habits. Therefore, the overlap of the scenic spots is analyzed based on the user's daily diet information and daily exercise information to determine which scenic spots have a high overlap with the user's style. The scenic spots with a high overlap are the ones that the user prefers. S232: Based on the intelligent analysis terminal, data is extracted and processed for the food overlap set between the user and the scenic spot and the exercise overlap set between the user and the scenic spot, respectively, using the scenic spot name as a feature, to obtain food overlap data for each scenic spot and exercise overlap data for each scenic spot; S233. Calculate the mean of the food overlap data and the exercise overlap data for each scenic spot based on the intelligent analysis terminal to obtain the average overlap for each scenic spot. It is understandable that the food style of some attractions matches the user's style, but the sports style is different from the tourists' style. Therefore, the food overlap data of each attraction and the sports overlap data of each attraction are averaged to identify some attractions that can meet the user's food and sports style at the same time; S234. Analyze and process the average overlap of each scenic spot based on the intelligent analysis terminal to determine a set of tourist attractions for the user. Step S234, analyzing and processing the average overlap of each scenic spot based on the intelligent analysis terminal to determine the user's tourist attraction set, specifically includes the following steps: S2341. Based on the intelligent analysis terminal, determine and process the average overlap of each scenic spot and the set overlap threshold; S2342: If the average overlap of the scenic spot is greater than or equal to the set overlap threshold, the scenic spot is suitable for the user's style, and the scenic spot is set as the user's tourist attraction; S2343: If the average overlap of the scenic spot is less than the set overlap threshold, the scenic spot does not suit the user's style; S2344. Based on the intelligent analysis terminal, set attractions that match the user's style as a user tourist attraction set; In this embodiment, when users go out to play, they will choose to visit attractions that are similar to their own style. Therefore, by analyzing the user's eating style and sports style, the attractions in the city where the user is going are matched, and those attractions that are similar to or match the user's style are determined. These attractions are recommended to the user, which indirectly improves the user's experience.

[0022] Example 3 Step S3: Based on the intelligent analysis terminal, a path analysis is performed on the user's style data and the user's tourist attraction set to determine the user's travel route. Specifically, the steps include: S31. Based on the intelligent analysis terminal, the user's travel habits are used as characteristics to match the user's travel target city information and determine the user's arrival location; S32. Based on the intelligent analysis terminal, perform information matching processing on the user's travel target city information based on each attraction in the user's tourist attraction set as a feature, and determine the location information of each attraction visited by the user; It is understandable that when users travel, they have their own preferred means of transportation. For example, some users prefer to take a car, while others prefer to take a plane. However, the distances between the arrival locations and attractions of different transportation methods are different. In order to enable users to quickly travel to attractions after arriving in the target city, the distance between the user's arrival location and the location of the attraction is calculated. S33. Based on the intelligent analysis terminal, perform path analysis on the user's arrival location and the location information of each scenic spot visited by the user to determine the user's travel route; Among them, step S33, based on the intelligent analysis terminal, performs path analysis on the user's arrival location and the location information of each scenic spot visited by the user to determine the user's travel route, specifically includes the following steps: S331. Based on the intelligent analysis terminal, calculate the distance of the user's location information of each tourist attraction based on the user's arrival location, and obtain a set of distances between the user and each tourist attraction; S332. Sort the data in the distance set between the user and each attraction based on the minimum function to determine the first attraction for the user to visit. It is understandable that when the user arrives at the target city, in order to enable the user to quickly reach the scenic spot, it is necessary to calculate the user's arrival location and the location of the scenic spot. The scenic spot closest to the user's arrival location is the first scenic spot the user visits, that is, the first scenic spot the user visits. S333: Based on the intelligent analysis terminal and the minimum value function, the distance calculation and distance sorting processing are performed on the remaining attractions in the user's tourist attraction set, with the first attraction visited by the user as the feature, to determine the second attraction visited by the user; S334: Repeat step S333 to determine the last scenic spot visited by the user. Based on the intelligent analysis terminal, connect the user's arrival location, the first scenic spot visited by the user, the second scenic spot visited by the user, and the last scenic spot visited by the user in order to determine the user's travel route. In this embodiment, after the user determines the first scenic spot to go to, when the user finishes visiting the first scenic spot, he needs to go to the second scenic spot, and the second scenic spot should be the scenic spot closest to the first scenic spot. Therefore, the distance calculation of the remaining scenic spots is performed based on the location of the first scenic spot to determine the location of the second scenic spot to be visited by the user. After the user finishes visiting the second scenic spot, the location of the subsequent scenic spots to be visited is determined according to the above calculation method, thereby avoiding the user wasting time on the way to the scenic spot.

[0023] Example 4 Step S4, based on the intelligent analysis terminal, conducts a travel congestion analysis on the user's travel route and determines the user's best travel tool. Specifically, the steps include: S41. Based on the intelligent analysis terminal, extract and process all scenic spot information sets of the first target city based on the user's travel route to obtain transportation information for each scenic spot; S42. Based on the intelligent analysis terminal, data is read and processed for all scenic spot information sets in the first target city using the transportation information of each scenic spot as a feature to obtain the departure time and arrival time of each transportation method; S43. Calculate and analyze the departure and arrival times of each mode of transportation based on the intelligent analysis terminal to determine the optimal mode of transportation for the user. Among them, step S43, calculating and analyzing the departure time and arrival time of each mode of transportation based on the intelligent analysis terminal to determine the best mode of transportation for the user, specifically includes the following steps: S431. Calculate the difference between the departure time and arrival time of each mode of transportation based on the intelligent analysis terminal to obtain the travel time of each mode of transportation; It is understandable that the travel time for each mode of transport is not just for different types of transport, but also for transport on different routes; S432. Sort the travel time of each mode of transportation based on the minimum value function to obtain the minimum value of the travel time of each mode of transportation; S433. Based on the intelligent analysis terminal, the transportation means corresponding to the minimum travel time of each transportation means is set as the optimal transportation means for the user's travel; In this embodiment, there may be multiple routes and multiple means of transportation between two scenic spots. Some routes may be congested, and some means of transportation may travel slowly. Therefore, the departure time and arrival time of each means of transportation are analyzed to determine the means of transportation that can reach the next scenic spot the fastest. This avoids users wasting time on the way to the scenic spot, shortens their travel time, prolongs their play time, and indirectly improves their experience.

[0024] Reference Figure 2 As shown, a tourism route planning system based on path analysis is used to implement the above-mentioned tourism route planning method based on path analysis, including: An intelligent analysis terminal is configured to control various modules to perform counting analysis, sorting processing, and data reading on data from all apps in a user's electronic device, thereby obtaining a set of all scenic spot information in a first target city; the intelligent analysis terminal is configured to control various modules to perform overlap analysis, overlap calculation, and overlap judgment on the user's style data and the set of scenic spot information in the first target city, thereby determining a set of tourist attractions for the user; the intelligent analysis terminal is configured to control various modules to perform distance calculation and path analysis on the set of tourist attractions for the user, thereby determining a travel route for the user; the intelligent analysis terminal is configured to control various modules to perform travel congestion analysis on the user's travel route, thereby selecting the optimal travel vehicle for the user; and the intelligent analysis terminal is configured to control data transmission and information exchange between various modules. A database system, wherein the database system is used to store tourist attraction information of all cities; A data reading module, which is used to read data from the user's electronic device to obtain all the target cities for the user's travel; A tourist city screening module is used to sort all the target cities for the user's travel by the number of searches and determine the user's first target city for travel; An information matching module, which is used to analyze, calculate, and determine the overlap of the user's style data, the food information of each scenic spot, and the composition information of each scenic spot, and determine the user's tourist attraction set; A travel route determination module is used to calculate the distance, sort the distances, and connect the routes of the user's arrival location and the location information of each scenic spot visited by the user to determine the user's travel route; The travel tool determination module calculates the difference between the departure time and arrival time of each mode of transportation according to the user's travel route, obtains the travel time of each mode of transportation, calculates and sorts it, and determines the best travel tool for the user.

[0025] Furthermore, a storage medium is proposed, on which a computer program is stored. When the computer program is called and run, it executes a travel route planning method based on path analysis as described above, wherein the storage medium can be a magnetic medium, such as a floppy disk, a hard disk, or a tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid-state drive (SSD).

[0026] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions merely illustrate the principles of the present invention. Various changes and modifications may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and modifications are intended to fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the appended claims and their equivalents.

Claims

1. A travel route planning method based on path analysis, characterized in that: include: S1. Obtain all scenic spot information sets of the first target city; S2. Obtain the user's style data and, based on the intelligent analysis terminal, perform information matching processing on the user's style data and the scenic spot information set of the first target city to determine the user's tourist attraction set; S3. Based on the intelligent analysis terminal, the user's style data and the user's tourist attraction collection are analyzed to determine the user's travel route; S4. Based on the intelligent analysis terminal, conduct travel congestion analysis on the user's travel route and determine the best travel tool for the user.

2. A method for planning a tourist route based on path analysis according to claim 1, characterized in that: The step S1 of obtaining all scenic spot information sets of the target city specifically includes the following steps: S11. Based on the intelligent analysis terminal, data from all apps in the user's electronic device is read and processed to obtain all target cities for the user's travel; S12. Based on the intelligent analysis terminal, count the data stored in the data storage device of the user's electronic device using all target cities of the user's travel as features to obtain the number of searches for the target cities of the user's travel; S13. Sort the number of searches for the user's travel destination city based on the maximum value function to obtain the maximum number of searches for the user's travel destination city; S14. Based on the intelligent analysis terminal, the city corresponding to the maximum number of searches for the user's travel target city is set as the user's first travel target city; S15. Based on the intelligent analysis terminal, the database system is read and processed based on the user's first target city for travel, and a collection of all scenic spot information of the first target city is obtained.

3. A travel route planning method based on path analysis according to claim 1, characterized in that: The step S2 of obtaining the user's style data and performing information matching processing on the user's style data and the scenic spot information set of the first target city based on the intelligent analysis terminal to determine the user's tourist attraction set specifically includes the following steps: S21. Extracting information from the user's electronic device based on the intelligent analysis terminal to obtain user style data, wherein the user style data includes the user's daily diet information, the user's daily exercise information, and the user's travel habits; S22. Based on the intelligent analysis terminal, extract information from all scenic spot information sets in the first target city to obtain food information and composition information of each scenic spot. S23. Based on the intelligent analysis terminal, the user's style data, the food information of each scenic spot, and the composition information of each scenic spot are matched and processed to determine the user's tourist attraction set.

4. A method for planning a tourist route based on path analysis according to claim 3, characterized in that: The step S23, based on the intelligent analysis terminal, matches the user's style data, the food information of each scenic spot, and the composition information of each scenic spot to determine the user's tourist attraction set, specifically includes the following steps: S231. Based on the intelligent analysis terminal, perform overlap analysis on the user's daily dietary information and the dietary information of each scenic spot, and on the user's daily exercise information and the composition information of each scenic spot, respectively, to determine a dietary overlap set between the user and the scenic spot, and a sports overlap set between the user and the scenic spot, wherein the overlap set is specifically in the form of (diet / exercise overlap ranking, scenic spot name), and the diet / exercise overlap ranking is sorted according to the size of the overlap between the user and the scenic spot; S232: Based on the intelligent analysis terminal, data is extracted and processed for the food overlap set between the user and the scenic spot and the exercise overlap set between the user and the scenic spot, respectively, using the scenic spot name as a feature, to obtain food overlap data for each scenic spot and exercise overlap data for each scenic spot; S233. Calculate the mean of the food overlap data and the exercise overlap data for each scenic spot based on the intelligent analysis terminal to obtain the average overlap for each scenic spot. S234: Based on the intelligent analysis terminal, the average overlap of each scenic spot is analyzed and processed to determine the user's tourist attraction set.

5. A method for planning a tourist route based on path analysis according to claim 4, characterized in that: The step S234, analyzing and processing the average overlap of each scenic spot based on the intelligent analysis terminal to determine the user's tourist attraction set, specifically includes the following steps: S2341. Based on the intelligent analysis terminal, determine and process the average overlap of each scenic spot and the set overlap threshold; S2342: If the average overlap of the scenic spot is greater than or equal to the set overlap threshold, the scenic spot is suitable for the user's style, and the scenic spot is set as the user's tourist attraction; S2343: If the average overlap of the scenic spot is less than the set overlap threshold, the scenic spot does not suit the user's style; S2344. Based on the intelligent analysis terminal, scenic spots that match the user's style are set as a user tourist attraction set.

6. A method for planning a tourist route based on path analysis according to claim 1, characterized in that: Step S3, performing path analysis on the user's style data and the user's tourist attraction set based on the intelligent analysis terminal to determine the user's travel route, specifically includes the following steps: S31. Based on the intelligent analysis terminal, the user's travel habits are used as characteristics to match the user's travel target city information and determine the user's arrival location; S32. Based on the intelligent analysis terminal, perform information matching processing on the user's travel target city information based on each attraction in the user's tourist attraction set as a feature, and determine the location information of each attraction visited by the user; S33. Based on the intelligent analysis terminal, a path analysis is performed on the user's arrival location and the location information of each scenic spot visited by the user to determine the user's travel route.

7. A method for planning a tourist route based on path analysis according to claim 6, characterized in that: The step S33, performing path analysis on the user's arrival location and the location information of each scenic spot visited by the user based on the intelligent analysis terminal, and determining the user's travel route specifically includes the following steps: S331. Based on the intelligent analysis terminal, calculate the distance of the user's location information of each tourist attraction based on the user's arrival location, and obtain a set of distances between the user and each tourist attraction; S332. Sort the data in the distance set between the user and each attraction based on the minimum function to determine the first attraction for the user to visit. S333: Based on the intelligent analysis terminal and the minimum value function, the distance calculation and distance sorting processing are performed on the remaining attractions in the user's tourist attraction set, with the first attraction visited by the user as the feature, to determine the second attraction visited by the user; S334. Repeat the above step S333 to determine the last scenic spot visited by the user. Based on the intelligent analysis terminal, connect the user's arrival location, the first scenic spot visited by the user, the second scenic spot visited by the user, and the last scenic spot visited by the user in order to determine the user's travel route.

8. A method for planning a tourist route based on path analysis according to claim 7, characterized in that: The step S4, performing a travel congestion analysis on the user's travel route based on the intelligent analysis terminal and determining the user's best travel tool, specifically includes the following steps: S41. Based on the intelligent analysis terminal, extract and process all scenic spot information sets of the first target city based on the user's travel route to obtain transportation information for each scenic spot; S42. Based on the intelligent analysis terminal, data is read and processed for all scenic spot information sets in the first target city using the transportation information of each scenic spot as a feature to obtain the departure time and arrival time of each transportation method; S43. Based on the intelligent analysis terminal, the departure time and arrival time of each means of transportation are calculated and analyzed to determine the best means of transportation for the user.

9. A method for planning a tourist route based on path analysis according to claim 8, characterized in that: The step S43, calculating and analyzing the departure time and arrival time of each mode of transportation based on the intelligent analysis terminal to determine the optimal mode of transportation for the user, specifically includes the following steps: S431. Calculate the difference between the departure time and arrival time of each mode of transportation based on the intelligent analysis terminal to obtain the travel time of each mode of transportation; S432. Sort the travel time of each mode of transportation based on the minimum value function to obtain the minimum value of the travel time of each mode of transportation; S433. Based on the intelligent analysis terminal, the transportation tool corresponding to the minimum travel time of each transportation tool is set as the optimal transportation tool for the user's travel.

10. A tourism route planning system based on path analysis, used to implement a tourism route planning method based on path analysis as claimed in any one of claims 1 to 9, characterized in that: include: An intelligent analysis terminal, which is used to control various modules to perform counting analysis, sorting processing, and data reading on all apps in the user's electronic device to obtain a set of all scenic spot information in a first target city; the intelligent analysis terminal is used to control various modules to perform overlap analysis, overlap calculation, and overlap judgment on the user's style data and the set of scenic spot information in the first target city to determine the user's tourist attraction set; the intelligent analysis terminal is used to control various modules to perform distance calculation and path analysis on the user's tourist attraction set to determine the user's travel route; The intelligent analysis terminal is used to control each module to analyze the travel congestion of the user's travel route and select the best travel tool for the user; the intelligent analysis terminal is used to control the data transmission and information exchange between each module; A database system, wherein the database system is used to store tourist attraction information of all cities; A data reading module, which is used to read data from the user's electronic device to obtain all the target cities for the user's travel; A tourist city screening module is used to sort all the target cities for the user's travel by the number of searches and determine the user's first target city for travel; An information matching module, which is used to analyze, calculate, and determine the overlap of the user's style data, the food information of each scenic spot, and the composition information of each scenic spot, and determine the user's tourist attraction set; A travel route determination module is used to calculate the distance, sort the distances, and connect the routes of the user's arrival location and the location information of each scenic spot visited by the user to determine the user's travel route; The travel tool determination module calculates the difference between the departure time and arrival time of each mode of transportation according to the user's travel route, obtains the travel time of each mode of transportation, calculates and sorts it, and determines the best travel tool for the user.