Disclosure of Invention
In order to solve the technical problems, the intelligent travel data management method and system based on blockchain data are provided, the technical scheme solves the problems that in the background art, travel data cannot be accurately analyzed, travel areas cannot be accurately evaluated through the travel data, travel routes of tourists cannot be accurately planned according to the travel data, the ratio of the flow of people in each scenic spot is directly used as a recommendation standard of each scenic spot roughly, a proper travel route cannot be generated according to the needs of the tourists, route planning efficiency is low, an optimal correction route cannot be quickly generated when the deviation occurs in the tourist route, and the play experience of the tourists is affected.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a travel data intelligent management method based on blockchain data carrying includes:
Acquiring tourist area information, wherein the tourist area information comprises tourist attraction information and attraction route information connected with each tourist attraction;
According to the tourist area information, obtaining tourist history data information of scenic spots, wherein the tourist history data information of the scenic spots represents tourist history travel time information and history travel route information corresponding to each tourist spot;
Acquiring a retention time coefficient corresponding to each tourist attraction based on tourist history data information of the attraction;
Acquiring travel speed influence coefficients corresponding to adjacent tourist attractions according to the historical travel route information and the travel area information;
Obtaining tourist information, wherein the tourist information comprises tourist preference information and tourist travelling speed information;
obtaining travel route planning information according to tourist information;
Obtaining tourist position information;
based on the position information of the tourist, acquiring the current tourist attraction information of the tourist;
and adjusting the travel route according to the travel route planning information and the tourist current tourist attraction information.
Preferably, the acquiring the retention time coefficient corresponding to each tourist attraction based on the tourist history data information of the attraction specifically includes:
according to the tourist history data information of the scenic spots, obtaining tourist history travel time information and history travel route information corresponding to each tourist spot;
Obtaining tourist attraction area structure information, wherein the tourist attraction area structure information comprises tourist attraction entrance information and tourist attraction exit information;
based on the tracking and positioning of tourist images, acquiring historical tourist speed information of each tourist at tourist attractions;
according to tourist speed information of each tourist at tourist attractions, using the tourist speed of each tourist at tourist attractions as a benchmark speed of the attractions and using the tourist speed of each tourist at tourist attractions as an influence speed of the attractions;
acquiring scenic spot travel distance information based on scenic spot entrance information and scenic spot exit information according to the scenic spot region structure information, wherein the scenic spot travel distance information represents the shortest distance from the scenic spot entrance to the scenic spot exit;
screening scenic spot travel history data information according to scenic spot influence speed and scenic spot travel distance information to obtain scenic spot travel evaluation data;
Based on scenic spot travel evaluation data, taking the ratio of scenic spot travel distance to scenic spot reference speed corresponding to each tourist as tourist efficiency time;
Taking the ratio of the tourist history travel time and the tourist efficiency time corresponding to each tourist in each tourist attraction as the tourist residence time coefficient of the tourist in the tourist attraction;
And taking the average value of the tourist retention time coefficients in each tourist attraction as the corresponding retention time coefficient of the tourist attraction according to the tourist evaluation data of the attraction.
Preferably, the screening of the scenic spot travel history data information according to the scenic spot influence speed and the scenic spot travel distance information, and obtaining scenic spot travel evaluation data specifically includes:
According to the scenic spot influence speed and the scenic spot travel distance information, the ratio of the scenic spot travel distance to the scenic spot influence speed is used as the scenic spot retention reference time;
Comparing the tourist history travel time information with the scenic spot retention reference time, and judging whether scenic spot travel history data corresponding to the tourist is available or not;
If the tourist history travel time information does not exceed the scenic spot retention reference time, the scenic spot travel history data corresponding to the tourist is unavailable, and if the tourist history travel time information exceeds the scenic spot retention reference time, the scenic spot travel history data corresponding to the tourist is available;
And removing the unavailable scenic spot travel history data to obtain scenic spot travel evaluation data.
Preferably, the acquiring the travel speed influence coefficient corresponding to the neighboring tourist attractions according to the historical travel route information and the travel area information specifically includes:
Acquiring adjacent tourist attraction information according to the historical tourist route information and the tourist area information, wherein the adjacent tourist attraction represents two adjacent tourist attractions in the tourist route;
According to the tourist area information, scenic spot connection route information corresponding to the adjacent tourist attractions is obtained;
based on the travel direction of the travel route, the travel points of the adjacent travel points, which are far away from the travel direction of the travel route, are used as first travel points, and the travel points of the adjacent travel points, which are close to the travel direction of the travel route, are used as second travel points;
Acquiring a scenic spot reference speed of an adjacent tourist attraction corresponding to each scenic spot connecting route;
taking the ratio of the scenic spot reference speed of the second scenic spot to the scenic spot reference speed of the first scenic spot as a tourist speed influence coefficient of the adjacent scenic spots corresponding to the scenic spot connecting route;
According to the scenic spot connecting route information and the scenic spot travel history data information, obtaining tourist history travel time information and scenic spot connecting route distance information corresponding to each scenic spot connecting route between adjacent scenic spots;
Taking the ratio of the sight-point connecting route distance to the sight-point reference speed of the second tourist attraction as the sight-point connecting route reference time;
and taking the ratio of the tourist history travel time corresponding to each scenic spot connecting route between adjacent tourist attractions to the reference time of the scenic spot connecting route as the connecting route time difference coefficient corresponding to the scenic spot connecting route.
Preferably, the obtaining travel route planning information according to tourist information specifically includes:
according to the tourist information, obtaining tourist preference information, wherein the tourist preference information comprises tourist preference feature keyword information;
Acquiring historical tourist flow information corresponding to each scenic spot according to the scenic spot travel history data information;
Based on the tourist preference information, acquiring historical tourist flow information which is the same as the tourist preference in the historical tourist flow information;
Taking the ratio of the historical tourist flow and the historical tourist flow, which are the same as the tourist preference, in each scenic spot as a tourist basic recommendation index corresponding to the scenic spot;
Taking the product of the retention time coefficient corresponding to each tourist attraction and the tourist basic recommendation index as the tourist recommendation index corresponding to the tourist attraction;
Recommending tourist attractions to the tourists according to the sequence of the tourist recommendation indexes from large to small to obtain tourist setting information, wherein the tourist setting information comprises tourist attraction information and tourist ending time information selected by the tourists;
according to tourist setting information, tourist attractions selected by tourists are taken as main nodes of a tourist planning route, and a basic tourist planning route is obtained;
based on tourist travelling speed information, supplementing tourist scenery points which are not selected by tourists to a basic tourist planning route according to the sequence of the tourist recommendation indexes from large to small until the time of the tourist planning route reaches the time of the end of the travel, and obtaining tourist route planning information.
Preferably, the adjusting the travel route according to the travel route planning information and the tourist's current tourist attraction information specifically includes:
Judging whether the tourist deviates from the tourist planning route according to the tourist planning information and the current tourist attraction information of the tourist, if so, taking the direction of the tourist planning route as a benchmark according to the tourist planning information, and taking the last tourist attraction visited by the tourist in the tourist planning as a route deviation tourist attraction;
According to the travel route planning information, taking the direction of the travel planning route as a benchmark, and taking the next tourist attraction pointed by the route deviation tourist attraction as a route target tourist attraction;
Taking tourist attractions of the route target tourist attractions and tourist attractions which are not visited by tourists in the tourist route planning and tourist attractions of the tourist, which are connected with the current tourist attractions, as route correction tourist attractions, and sorting the route correction tourist attractions according to the direction standard of the tourist planning route;
obtaining a route correction time deviation coefficient according to the route correction tourist attractions and the tourist current tourist attractions;
Obtaining tourist corrected route information according to the route corrected time deviation coefficient;
Traversing the route correction tourist attractions according to the sorting sequence of the route correction tourist attractions until the route correction time deviation coefficient Q (i, x) is less than or equal to 1, and taking the route correction tourist attractions and the attraction connection route as tourist correction routes to acquire tourist correction route information;
The route correction time deviation coefficient specifically comprises the following steps:
Wherein Q (i, x) represents a route correction time deviation coefficient of the connection route of the ith route correction tourist attraction and the (x) th attraction of the tourist current tourist attraction, d ix represents a route distance of the connection route of the ith route correction tourist attraction and the (x) th attraction of the tourist current tourist attraction, Representing a connection route time difference coefficient corresponding to an ith route correction tourist attraction and an xth attraction connection route of a tourist current tourist attraction, V 0 representing a attraction reference speed of the route deviation tourist attraction, mu 0 representing a tourist speed influence coefficient corresponding to the tourist current tourist attraction, mu ix representing a tourist speed influence coefficient corresponding to the ith route correction tourist attraction and an xth attraction connection route of the tourist current tourist attraction, D i representing a tourist distance of the ith route correction tourist attraction, sigma i representing a retention time coefficient corresponding to the ith route correction tourist attraction, T (0, i) representing a tourist time from the route deviation tourist attraction to the ith route correction tourist attraction, D (j-1,j) representing a (j-1) th tourist attraction to jth attraction connection route distance existing between the route deviation tourist attraction and the ith route correction tourist attraction in the tourist planning route,The method comprises the steps of representing a connection route time difference coefficient corresponding to a sight connection route of a (j-1) th tourist attraction and a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in a tourist planning route, wherein mu (j-1,j) represents a tourist speed influence coefficient corresponding to a sight connection route of a (j-1) th tourist attraction and a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in the tourist planning route, D j represents a tourist distance of a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in the tourist planning route, and sigma j represents a retention time coefficient corresponding to a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in the tourist planning route.
Furthermore, an intelligent travel data management system based on blockchain data carrying is provided, which is used for realizing the management method, and comprises the following steps:
The main control module is used for recommending tourists from big to small according to tourist recommendation indexes, acquiring tourist travel setting information, taking tourist attractions selected by the tourists as tourist planning route main nodes according to the tourist travel setting information, acquiring a tourist planning basic route, supplementing the tourist planning basic route according to the tourist recommendation indexes from big to small until the tourist planning route time reaches the travel end time according to the tourist recommendation indexes, acquiring tourist route planning information, screening tourist history data information according to the influence speed of the tourists and the tourist distance information of the tourists, acquiring tourist evaluation data of the tourists, taking the ratio of the historic tourist flow and the historic tourist flow which are the same as the tourist preference in each tourist as the tourist basic recommendation index corresponding to the tourists, taking the product of the retention time coefficient corresponding to each tourist attraction and the tourist basic recommendation index as the tourist recommendation index corresponding to the tourist attraction, and adjusting the tourist route according to the route planning information and the tourist current tourist information;
The information acquisition module is used for acquiring tourist area information, tourist attraction information and attraction route information connected with each tourist attraction, acquiring tourist history data information of the attraction, tourist history travel time information corresponding to each tourist attraction, historical tourist route information, tourist preference information, tourist travelling speed information and tourist position information according to the tourist area information, and acquiring current tourist attraction information of the tourist based on the tourist position information;
the evaluation module is used for taking the ratio of the scenic spot travel distance to the scenic spot reference speed corresponding to each tourist as tourist efficiency time of the tourist, taking the ratio of the tourist history travel time corresponding to each tourist in each tourist scenic spot to the tourist efficiency time of the tourist as a tourist residence time coefficient of the tourist in the tourist scenic spot, taking the ratio of the scenic spot reference speed of the second tourist scenic spot to the scenic spot reference speed of the first tourist scenic spot as a tourist speed influence coefficient of adjacent tourist spots corresponding to a scenic spot connecting route and taking the ratio of the tourist history travel time corresponding to each scenic spot connecting route between adjacent tourist spots to the scenic spot connecting route as a connecting route time difference coefficient corresponding to the scenic spot connecting route based on scenic spot travel evaluation data;
and the display module is interacted with the main control module and is used for outputting and displaying tourist information, travel route planning information, tourist position information and tourist corrected route information.
Optionally, the main control module specifically includes:
The control unit is used for screening scenic spot travel history data information according to scenic spot influence speed and scenic spot travel distance information, obtaining scenic spot travel evaluation data, taking the ratio of the historical tourist flow which is the same as tourist preference in each scenic spot to the historical tourist flow as a tourist base recommendation index corresponding to the scenic spot, taking the product of the retention time coefficient corresponding to each tourist spot and the tourist base recommendation index as a tourist recommendation index corresponding to the tourist spot, and adjusting a tourist route according to tourist route planning information and tourist current tourist spot information;
The information receiving unit is interacted with the information acquisition module and the evaluation module and is used for receiving data and transmitting the data to the route planning unit;
The route planning unit is used for recommending tourist attractions to tourists according to the order of the tourist recommendation indexes from large to small, acquiring tourist setting information, taking tourist attractions selected by the tourists as main nodes of a tourist planning route according to the tourist setting information, acquiring a tourist planning basic route, supplementing the tourist planning basic route according to the order of the tourist recommendation indexes from large to small by using the tourist attractions not selected by the tourists until the tourist planning route time reaches the travel end time, and acquiring tourist route planning information.
Optionally, the information acquisition module specifically includes:
The first acquisition unit is used for acquiring tourist area information, tourist attraction information and attraction route information connected with each tourist attraction, and acquiring tourist history data information of the attraction, tourist history tourist time information and history tourist route information corresponding to each tourist attraction according to the tourist area information;
The second acquisition unit is used for acquiring tourist information, tourist preference information, tourist travelling speed information and tourist position information, and acquiring tourist current tourist attraction information based on the tourist position information.
Optionally, the evaluation module specifically includes:
The first evaluation unit is used for taking the ratio of the scenic spot travel distance to the scenic spot reference speed corresponding to each tourist as tourist efficiency time and taking the ratio of the tourist history travel time corresponding to each tourist in each tourist attraction to the tourist efficiency time as a tourist residence time coefficient of the tourist at the tourist attraction based on scenic spot travel evaluation data;
The second evaluation unit is used for taking the ratio of the scenic spot reference speed of the second tourist attraction to the scenic spot reference speed of the first tourist attraction as a tourist speed influence coefficient of the adjacent tourist attraction corresponding to the scenic spot connecting route, and taking the ratio of the tourist history travel time corresponding to each scenic spot connecting route among the adjacent tourist attractions to the scenic spot connecting route reference time as a connecting route time difference coefficient corresponding to the scenic spot connecting route.
Compared with the prior art, the invention has the beneficial effects that:
The invention provides a block chain data carrying-based intelligent management method and system for tourist data, which accurately evaluates the attraction capability of each tourist attraction to tourists through a retention time coefficient, improves the tourist route planning efficiency, accurately evaluates the influence conditions of different routes on the tourist time through a tourist speed influence coefficient, ensures the reliability of the tourist route, provides a basis for the planning of the subsequent tourist route, adjusts the tourist route through the current tourist attraction information of the tourist, ensures the stability of the tourist route and improves the playing experience of the tourist.
Detailed Description
The following description is presented to enable one of ordinary skill in the art to make and use the invention. The preferred embodiments in the following description are by way of example only and other obvious variations will occur to those skilled in the art.
Referring to fig. 1 to fig. 4, in an embodiment of the present invention, a method and a system for intelligently managing travel data based on blockchain data, including:
Acquiring tourist area information, wherein the tourist area information comprises tourist attraction information and attraction route information connected with each tourist attraction;
According to the tourist area information, obtaining tourist history data information of scenic spots, wherein the tourist history data information of the scenic spots represents tourist history travel time information and history travel route information corresponding to each tourist spot;
Acquiring a retention time coefficient corresponding to each tourist attraction based on tourist history data information of the attraction;
Specifically, based on scenic spot travel history data information, the retention time coefficient corresponding to each scenic spot is obtained, and specifically includes:
according to the tourist history data information of the scenic spots, obtaining tourist history travel time information and history travel route information corresponding to each tourist spot;
Obtaining tourist attraction area structure information, wherein the tourist attraction area structure information comprises tourist attraction entrance information and tourist attraction exit information;
based on the tracking and positioning of tourist images, acquiring historical tourist speed information of each tourist at tourist attractions;
according to tourist speed information of each tourist at tourist attractions, using the tourist speed of each tourist at tourist attractions as a benchmark speed of the attractions and using the tourist speed of each tourist at tourist attractions as an influence speed of the attractions;
acquiring scenic spot travel distance information based on scenic spot entrance information and scenic spot exit information according to the scenic spot region structure information, wherein the scenic spot travel distance information represents the shortest distance from the scenic spot entrance to the scenic spot exit;
screening scenic spot travel history data information according to scenic spot influence speed and scenic spot travel distance information to obtain scenic spot travel evaluation data;
Based on scenic spot travel evaluation data, taking the ratio of scenic spot travel distance to scenic spot reference speed corresponding to each tourist as tourist efficiency time;
Taking the ratio of the tourist history travel time and the tourist efficiency time corresponding to each tourist in each tourist attraction as the tourist residence time coefficient of the tourist in the tourist attraction;
And taking the average value of the tourist retention time coefficients in each tourist attraction as the corresponding retention time coefficient of the tourist attraction according to the tourist evaluation data of the attraction.
In this scenario, the residence time is converted into a computable residence time coefficient by analyzing the tourist history travel time, route and speed, in combination with the scenic spot area structure (entrance, exit, shortest distance, etc.). The quantitative index can accurately reflect the actual stay efficiency of tourists in scenic spots, provides a full-chain solution from microscopic behavior analysis to macroscopic resource scheduling for the tourism industry, improves the management efficiency, enhances the scientificity and sustainability of tourist experience, provides a data basis for time calculation in subsequent route planning, and ensures the stability and reliability of tourism route planning.
Specifically, according to scenic spot influence speed and scenic spot travel distance information, scenic spot travel history data information is screened to obtain scenic spot travel evaluation data, specifically including:
According to the scenic spot influence speed and the scenic spot travel distance information, the ratio of the scenic spot travel distance to the scenic spot influence speed is used as the scenic spot retention reference time;
Comparing the tourist history travel time information with the scenic spot retention reference time, and judging whether scenic spot travel history data corresponding to the tourist is available or not;
If the tourist history travel time information does not exceed the scenic spot retention reference time, the scenic spot travel history data corresponding to the tourist is unavailable, and if the tourist history travel time information exceeds the scenic spot retention reference time, the scenic spot travel history data corresponding to the tourist is available;
And removing the unavailable scenic spot travel history data to obtain scenic spot travel evaluation data.
In the scheme, scenic spot travel historical data information is screened to obtain scenic spot travel evaluation data, tourist retention conditions of scenic spots are accurately evaluated through the scenic spot travel evaluation data, and abnormal data (such as incomplete complete sightseeing of tourists, data acquisition errors and malicious data interference) are timely found through calculation of scenic spot retention reference time (scenic spot travel distance/scenic spot influence speed). Rejecting such data can avoid "pseudo-retention" interference analysis.
Acquiring travel speed influence coefficients corresponding to adjacent tourist attractions according to the historical travel route information and the travel area information;
Specifically, according to historical travel route information and travel area information, the travel speed influence coefficient corresponding to the adjacent tourist attractions is obtained, and specifically comprises the following steps:
Acquiring adjacent tourist attraction information according to the historical tourist route information and the tourist area information, wherein the adjacent tourist attraction represents two adjacent tourist attractions in the tourist route;
According to the tourist area information, scenic spot connection route information corresponding to the adjacent tourist attractions is obtained;
based on the travel direction of the travel route, the travel points of the adjacent travel points, which are far away from the travel direction of the travel route, are used as first travel points, and the travel points of the adjacent travel points, which are close to the travel direction of the travel route, are used as second travel points;
Acquiring a scenic spot reference speed of an adjacent tourist attraction corresponding to each scenic spot connecting route;
taking the ratio of the scenic spot reference speed of the second scenic spot to the scenic spot reference speed of the first scenic spot as a tourist speed influence coefficient of the adjacent scenic spots corresponding to the scenic spot connecting route;
According to the scenic spot connecting route information and the scenic spot travel history data information, obtaining tourist history travel time information and scenic spot connecting route distance information corresponding to each scenic spot connecting route between adjacent scenic spots;
Taking the ratio of the sight-point connecting route distance to the sight-point reference speed of the second tourist attraction as the sight-point connecting route reference time;
and taking the ratio of the tourist history travel time corresponding to each scenic spot connecting route between adjacent tourist attractions to the reference time of the scenic spot connecting route as the connecting route time difference coefficient corresponding to the scenic spot connecting route.
In the scheme, the speed influence of the foreground scenic spot on the subsequent scenic spot is quantized by calculating the ratio of the second scenic spot reference speed to the first scenic spot reference speed. For example, if the ratio is greater than 1, the speed of tourists is increased from a first scenic spot to a second scenic spot (if the foreground is a dense sightseeing area and the background is an open road), and if the ratio is less than 1, the speed is reduced (if the foreground is an exit congestion area and the background is an entrance current limiting area), the influence of different scenic spot connecting routes on time is accurately estimated through the time difference coefficient of the connecting routes. And a data basis is provided for the subsequent travel route planning through the travel speed influence coefficient and the connection route time difference coefficient, so that the travel route planning efficiency is improved.
Obtaining tourist information, wherein the tourist information comprises tourist preference information and tourist travelling speed information;
obtaining travel route planning information according to tourist information;
specifically, according to tourist information, travel route planning information is acquired, which specifically includes:
according to the tourist information, obtaining tourist preference information, wherein the tourist preference information comprises tourist preference feature keyword information;
Acquiring historical tourist flow information corresponding to each scenic spot according to the scenic spot travel history data information;
Based on the tourist preference information, acquiring historical tourist flow information which is the same as the tourist preference in the historical tourist flow information;
Taking the ratio of the historical tourist flow and the historical tourist flow, which are the same as the tourist preference, in each scenic spot as a tourist basic recommendation index corresponding to the scenic spot;
Taking the product of the retention time coefficient corresponding to each tourist attraction and the tourist basic recommendation index as the tourist recommendation index corresponding to the tourist attraction;
Recommending tourist attractions to the tourists according to the sequence of the tourist recommendation indexes from large to small to obtain tourist setting information, wherein the tourist setting information comprises tourist attraction information and tourist ending time information selected by the tourists;
according to tourist setting information, tourist attractions selected by tourists are taken as main nodes of a tourist planning route, and a basic tourist planning route is obtained;
based on tourist travelling speed information, supplementing tourist scenery points which are not selected by tourists to a basic tourist planning route according to the sequence of the tourist recommendation indexes from large to small until the time of the tourist planning route reaches the time of the end of the travel, and obtaining tourist route planning information.
According to the scheme, through extracting characteristic keywords (such as 'natural scene', 'historical ancient site', 'parent-child interaction', and the like) of the tourist preference, the part matched with the preference in the historical tourist flow of the scenic spot is used as a recommendation basis, potential interest points of the tourist can be accurately positioned, irrelevant scenic spots are avoided, the correlation of recommended content and the satisfaction degree of the tourist are improved, the scenic spots selected by the tourist are used as 'main nodes', core requirements are ensured to be met, and meanwhile secondary scenic spots are supplemented from high to low based on the recommendation index until the preset travel ending time is reached. This "core+expansion" mode both respects the user's autonomy and maximizes utilization time, avoiding too loose or compact travel.
In this embodiment, the travel planning route time is the residence time of each scenic spot plus the route time of the neighboring scenic spots, wherein the residence time is the ratio of the scenic spot travel distance of the scenic spot to the scenic spot reference speed x the residence time coefficient of the scenic spot, wherein the scenic spot reference speed is obtained through the travel speed influence coefficient, for example, the travel route is from scenic spot a to scenic spot B to scenic spot C, then the scenic spot reference speed V c=VA·μAB·μBC of the scenic spot C is obtained, wherein V A represents the scenic spot reference speed of scenic spot a, μ AB represents the scenic spot a to scenic spot B travel speed influence coefficient, μ BC represents the scenic spot B to scenic spot C travel speed influence coefficient, so that the scenic spot reference speed corresponding to each scenic spot by the tourist can be obtained through the tourist travel speed, and the route time is the ratio of the scenic spot reference speed between the neighboring scenic spots to the scenic spot to the route x the connection route time difference coefficient, the play time of each planned route is calculated through this step, so that the travel route time is ensured not to exceed the travel end time.
Obtaining tourist position information;
based on the position information of the tourist, acquiring the current tourist attraction information of the tourist;
and adjusting the travel route according to the travel route planning information and the tourist current tourist attraction information.
Specifically, according to the travel route planning information and the tourist's current tourist attraction information, the travel route is adjusted, and the method specifically comprises the following steps:
Judging whether the tourist deviates from the tourist planning route according to the tourist planning information and the current tourist attraction information of the tourist, if so, taking the direction of the tourist planning route as a benchmark according to the tourist planning information, and taking the last tourist attraction visited by the tourist in the tourist planning as a route deviation tourist attraction;
According to the travel route planning information, taking the direction of the travel planning route as a benchmark, and taking the next tourist attraction pointed by the route deviation tourist attraction as a route target tourist attraction;
Taking tourist attractions of the route target tourist attractions and tourist attractions which are not visited by tourists in the tourist route planning and tourist attractions of the tourist, which are connected with the current tourist attractions, as route correction tourist attractions, and sorting the route correction tourist attractions according to the direction standard of the tourist planning route;
obtaining a route correction time deviation coefficient according to the route correction tourist attractions and the tourist current tourist attractions;
Obtaining tourist corrected route information according to the route corrected time deviation coefficient;
Traversing the route correction tourist attractions according to the sorting sequence of the route correction tourist attractions until the route correction time deviation coefficient Q (i, x) is less than or equal to 1, and taking the route correction tourist attractions and the attraction connection route as tourist correction routes to acquire tourist correction route information;
The route correction time deviation coefficient specifically comprises the following steps:
Wherein Q (i, x) represents a route correction time deviation coefficient of the connection route of the ith route correction tourist attraction and the (x) th attraction of the tourist current tourist attraction, d ix represents a route distance of the connection route of the ith route correction tourist attraction and the (x) th attraction of the tourist current tourist attraction, Representing a connection route time difference coefficient corresponding to an ith route correction tourist attraction and an xth attraction connection route of a tourist current tourist attraction, V 0 representing a attraction reference speed of the route deviation tourist attraction, mu 0 representing a tourist speed influence coefficient corresponding to the tourist current tourist attraction, mu ix representing a tourist speed influence coefficient corresponding to the ith route correction tourist attraction and an xth attraction connection route of the tourist current tourist attraction, D i representing a tourist distance of the ith route correction tourist attraction, sigma i representing a retention time coefficient corresponding to the ith route correction tourist attraction, T (0, i) representing a tourist time from the route deviation tourist attraction to the ith route correction tourist attraction, D (j-1,j) representing a (j-1) th tourist attraction to jth attraction connection route distance existing between the route deviation tourist attraction and the ith route correction tourist attraction in the tourist planning route,The method comprises the steps of representing a connection route time difference coefficient corresponding to a sight connection route of a (j-1) th tourist attraction and a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in a tourist planning route, wherein mu (j-1,j) represents a tourist speed influence coefficient corresponding to a sight connection route of a (j-1) th tourist attraction and a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in the tourist planning route, D j represents a tourist distance of a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in the tourist planning route, and sigma j represents a retention time coefficient corresponding to a j th tourist attraction existing between a route deviation tourist attraction and an i th route correction tourist attraction in the tourist planning route.
In the scheme, when tourists deviate from a planned route, the system rapidly positions route deviation scenic spots and target scenic spots by taking the direction of the route of the travel plan as a benchmark, screens route correction scenic spots communicated with the current position, obtains route correction time deviation coefficients through the route correction scenic spots and the current tourist scenic spots of the tourists, and ensures that the route time of the corrected route does not exceed the corresponding route time in the original route plan through the route correction time deviation coefficients, wherein when j=m, D j=Di,σj=σi is achieved, namely the jth tourist scenic spot is the ith route correction scenic spot.
Referring to fig. 5, further, in combination with the above-mentioned intelligent travel data management method based on blockchain data portability, an intelligent travel data management system based on blockchain data portability is provided, including:
The main control module is used for recommending tourists from big to small according to tourist recommendation indexes, acquiring tourist travel setting information, taking tourist attractions selected by the tourists as tourist planning route main nodes according to the tourist travel setting information, acquiring a tourist planning basic route, supplementing the tourist planning basic route according to the tourist recommendation indexes from big to small until the tourist planning route time reaches the travel end time according to the tourist recommendation indexes, acquiring tourist route planning information, screening tourist history data information according to the influence speed of the tourists and the tourist distance information of the tourists, acquiring tourist evaluation data of the tourists, taking the ratio of the historic tourist flow and the historic tourist flow which are the same as the tourist preference in each tourist as the tourist basic recommendation index corresponding to the tourists, taking the product of the retention time coefficient corresponding to each tourist attraction and the tourist basic recommendation index as the tourist recommendation index corresponding to the tourist attraction, and adjusting the tourist route according to the route planning information and the tourist current tourist information;
The information acquisition module is used for acquiring tourist area information, tourist attraction information and attraction route information connected with each tourist attraction, acquiring tourist history data information of the attraction, tourist history travel time information corresponding to each tourist attraction, historical tourist route information, tourist preference information, tourist travelling speed information and tourist position information according to the tourist area information, and acquiring current tourist attraction information of the tourist based on the tourist position information;
the evaluation module is used for taking the ratio of the scenic spot travel distance to the scenic spot reference speed corresponding to each tourist as tourist efficiency time of the tourist, taking the ratio of the tourist history travel time corresponding to each tourist in each tourist scenic spot to the tourist efficiency time of the tourist as a tourist residence time coefficient of the tourist in the tourist scenic spot, taking the ratio of the scenic spot reference speed of the second tourist scenic spot to the scenic spot reference speed of the first tourist scenic spot as a tourist speed influence coefficient of adjacent tourist spots corresponding to a scenic spot connecting route and taking the ratio of the tourist history travel time corresponding to each scenic spot connecting route between adjacent tourist spots to the scenic spot connecting route as a connecting route time difference coefficient corresponding to the scenic spot connecting route based on scenic spot travel evaluation data;
and the display module is interacted with the main control module and is used for outputting and displaying tourist information, travel route planning information, tourist position information and tourist corrected route information.
The main control module specifically comprises:
The control unit is used for screening scenic spot travel history data information according to scenic spot influence speed and scenic spot travel distance information, obtaining scenic spot travel evaluation data, taking the ratio of the historical tourist flow which is the same as tourist preference in each scenic spot to the historical tourist flow as a tourist base recommendation index corresponding to the scenic spot, taking the product of the retention time coefficient corresponding to each tourist spot and the tourist base recommendation index as a tourist recommendation index corresponding to the tourist spot, and adjusting a tourist route according to tourist route planning information and tourist current tourist spot information;
The information receiving unit is interacted with the information acquisition module and the evaluation module and is used for receiving data and transmitting the data to the route planning unit;
The route planning unit is used for recommending tourist attractions to tourists according to the order of the tourist recommendation indexes from large to small, acquiring tourist setting information, taking tourist attractions selected by the tourists as main nodes of a tourist planning route according to the tourist setting information, acquiring a tourist planning basic route, supplementing the tourist planning basic route according to the order of the tourist recommendation indexes from large to small by using the tourist attractions not selected by the tourists until the tourist planning route time reaches the travel end time, and acquiring tourist route planning information.
The information acquisition module specifically comprises:
The first acquisition unit is used for acquiring tourist area information, tourist attraction information and attraction route information connected with each tourist attraction, and acquiring tourist history data information of the attraction, tourist history tourist time information and history tourist route information corresponding to each tourist attraction according to the tourist area information;
The second acquisition unit is used for acquiring tourist information, tourist preference information, tourist travelling speed information and tourist position information, and acquiring tourist current tourist attraction information based on the tourist position information.
The evaluation module specifically comprises:
The first evaluation unit is used for taking the ratio of the scenic spot travel distance to the scenic spot reference speed corresponding to each tourist as tourist efficiency time and taking the ratio of the tourist history travel time corresponding to each tourist in each tourist attraction to the tourist efficiency time as a tourist residence time coefficient of the tourist at the tourist attraction based on scenic spot travel evaluation data;
The second evaluation unit is used for taking the ratio of the scenic spot reference speed of the second tourist attraction to the scenic spot reference speed of the first tourist attraction as a tourist speed influence coefficient of the adjacent tourist attraction corresponding to the scenic spot connecting route, and taking the ratio of the tourist history travel time corresponding to each scenic spot connecting route among the adjacent tourist attractions to the scenic spot connecting route reference time as a connecting route time difference coefficient corresponding to the scenic spot connecting route.
In summary, the invention has the advantages that the residence time coefficient corresponding to each tourist attraction is obtained through the tourist history data information of the attraction, the attraction capability of each tourist attraction to tourists is accurately estimated through the residence time coefficient, the tourist route planning efficiency is improved, the tourist speed influence coefficients corresponding to adjacent tourist attractions are obtained through the historical tourist route information and the tourist area information, the influence conditions of different routes on the tourist time are accurately estimated through the tourist speed influence coefficients, the reliability of the tourist route is ensured, the basis is provided for the planning of the subsequent tourist route, the tourist route is adjusted through the current tourist attraction information of the tourist, the stability of the tourist route is ensured, and the playing experience of the tourist is improved.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made therein without departing from the spirit and scope of the invention, which is defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.