Method and device for guiding heritage tourist attraction based on virtual reality

By combining real-time flow data and path data in the VR guide system to calculate the path and scenic spot scores, the optimal play route is solved, and the problem of difficulty in selecting play routes based on the real-time situation of scenic spots in the existing technology is solved, achieving a more efficient and comfortable travel experience.

CN119597157AInactive Publication Date: 2025-03-11LESHAN NORMAL UNIV

Patent Information

Application Number
CN202510147944.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-03-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing VR-based heritage tourist attractions guide method is difficult to choose the best play route for customers based on the real-time and real situation of the scenic spot, making it difficult for customers to play in a realistic manner.

Method used

By obtaining the geographical map of the target heritage tourist attractions, combining real-time flow of people and path data, the path scores of each path and the attraction scores of each attraction are calculated, and the optimal play route is built based on these scores and users' preset preferences, and feedback them to VR devices.

Benefits of technology

It has achieved the selection of the best play route for customers based on the real-time situation of the scenic spot, improving tourists' comfort, safety and traffic efficiency, and improving the overall tourism experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119597157A_ABST
    Figure CN119597157A_ABST
Patent Text Reader

Abstract

The invention discloses a heritage tourist attraction guiding method and device based on virtual reality. The heritage tourist attraction guiding method comprises the steps of obtaining a geographic map of a target heritage tourist attraction; determining a path score of each path in the target heritage tourist attraction; according to the real-time scenic spot data and the evaluation data of each scenic spot in the target heritage tourist attraction, determining a scenic spot score of each scenic spot in the target heritage tourist attraction; determining a starting scenic spot according to the plurality of scenic spot scores and a preset preference of the first target; according to the starting scenic spot, the plurality of scenic spot scores, the plurality of path scores and the position relationship between the starting scenic spot and other scenic spots, constructing a target playing route of the target heritage tourist attraction; and feeding back the target playing route to the VR equipment of the first target, so that the first target advances according to the target playing route. The invention belongs to the field of virtual reality games. According to the invention, when the traveler wears the VR equipment to carry out tourism experience, the scenic spot can be truly restored, and the tourism experience of the traveler is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual reality games, and in particular to a method and device for guiding a heritage tourist attraction based on virtual reality. Background Art

[0002] Tourism through VR refers to the use of virtual reality technology to provide users with an immersive experience, allowing them to explore attractions around the world without leaving their current location. This experience includes watching 360-degree panoramic videos, freely exploring in a three-dimensionally reconstructed environment, interacting with virtual content, participating in multiplayer online experiences, and conducting education and training. VR tourism not only enhances existing tourism methods, but also provides people who cannot go to the destination in person with the opportunity to travel virtually, improving the user experience, while bringing new growth points and development opportunities to the tourism industry.

[0003] However, currently, tourism based on VR only provides customers with feedback on scenic spots and scenery, but does not reflect the real situation of the scenic area for customers. Therefore, it is difficult for customers to choose a travel route according to the real situation of the scenic area, making it difficult for customers to play in a realistic way. Therefore, the present invention proposes a method for guiding heritage tourism scenic spots based on virtual reality. Summary of the invention

[0004] The present invention solves the technical problem in the prior art that it is difficult for customers to tour the scenic spot in accordance with the real-time situation of the scenic spot by providing a method and device for guiding the heritage tourist scenic spot based on virtual reality, and achieves the technical effect that customers can choose the optimal tour route according to the real-time situation of the scenic spot.

[0005] In a first aspect, the present invention provides a method for guiding a heritage tourist attraction based on virtual reality, the method comprising: Obtaining a geographical map of a target heritage tourist attraction, wherein the geographical map of the target heritage tourist attraction is composed of a number of routes and a number of scenic spots; Determine the path score of each path in the target heritage tourist attraction based on the real-time pedestrian flow data and path data on each path in the target heritage tourist attraction, wherein the path data includes the length of the road, the average width of the road, the average curvature of the road and the average slope, and the real-time pedestrian flow data includes the number of pedestrians, the direction of pedestrian movement and the average speed of pedestrians; Determine the score of each scenic spot in the target heritage tourism scenic spot based on the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourism scenic spot, wherein the real-time scenic spot data includes the average dwelling time and the number of visitors to the scenic spot, and the evaluation data includes the number of scenic spot pictures and the number of words in the scenic spot evaluation; Determine the starting attraction based on the ratings of several attractions and the preset preference of the first target; Construct a target tour route for the target heritage tourist attraction based on the starting attraction, several attraction scores, several route scores, and the positional relationship between the starting attraction and the remaining attractions; The target play route is fed back to the VR device of the first target so that the first target can move along the target play route.

[0006] Further, according to the starting scenic spot, the scores of several scenic spots, the scores of several paths, and the positional relationship between the starting scenic spot and the remaining scenic spots, a target tour route of the target heritage tourist attraction is constructed, including steps S151-S155: Step S151, determining a number of scenic spots adjacent to the starting scenic spot; Step S152, determining the play index of the adjacent scenic spot according to the path score between the starting scenic spot and the adjacent scenic spot and the scenic spot score of the adjacent scenic spot; Step S153, taking the adjacent scenic spot corresponding to the highest value among the multiple play indexes as the next scenic spot, and taking the path between the starting scenic spot and the next scenic spot as the target play sub-route; Step S154, removing the starting scenic spot, and taking the next scenic spot obtained in step S153 as the new starting scenic spot, and re-performing steps S151 to S154 until only one scenic spot remains in the target heritage tourist attraction; Step S155, combining the plurality of target tour sub-routes into a target tour route of a target heritage tourist attraction according to the order in which the plurality of target tour sub-routes are obtained.

[0007] Furthermore, according to the real-time passenger flow data and path data of the target heritage tourist attraction on each path, a path score of each path in the target heritage tourist attraction is determined, including:

[0008] in, For the The path score of the path, For the The road length of the path, For the The average road width of the paths, For the The number of pedestrians on the path, For the The average curvature of the road for each path, For the The average speed of pedestrians on the path, For the The average slope of the path, For the The number of pedestrians in the path whose moving direction is positive, No. The number of pedestrians in the path whose direction of travel is in the opposite direction, wherein the direction of travel is clockwise along the geographical map of the target heritage tourist attraction and the direction of travel is counterclockwise along the geographical map of the target heritage tourist attraction. to All are preset weights. is a constant greater than 1.

[0009] Further, according to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourist attraction, the scenic spot score of each scenic spot in the target heritage tourist attraction is determined, including:

[0010] in, For the Attraction ratings for attractions, For the The average length of stay at each attraction, For the The number of visitors to each attraction, For the The number of scenic spot pictures for each scenic spot, For the The number of words in the scenic spot evaluation of the scenic spot, among which, if is less than or equal to e, then All are recorded as 1.

[0011] Furthermore, the travel index of the adjacent scenic spot is determined according to the path score between the starting scenic spot and the adjacent scenic spot and the scenic spot score of the adjacent scenic spot, including:

[0012] in, The first attraction adjacent to the starting point The travel index of adjacent attractions, The first attraction adjacent to the starting point Attraction ratings of neighboring attractions, Starting point and The path score between adjacent attractions.

[0013] Furthermore, the starting attractions are determined according to the scores of several attractions and the preset preference of the first target, including: Determine the attraction preference type according to the preset preference of the first target, and set an adjustment coefficient for the attraction preference type, wherein the adjustment coefficient is greater than 1; Determine the starting score of the attraction belonging to the attraction preference type according to the adjustment coefficient of the attraction preference type and the attraction score of the attraction belonging to the attraction preference type; The attraction ratings of attractions that do not belong to the attraction preference type are used as the starting ratings; The scenic spot with the highest starting score is taken as the starting scenic spot.

[0014] Further, according to the adjustment coefficient of the attraction preference type and the attraction score of the attraction belonging to the attraction preference type, determining the initial score of the attraction belonging to the attraction preference type includes:

[0015] in, For the The starting ratings of attractions belonging to the attraction preference type, For the Attraction ratings for attractions belonging to the attraction preference type, is the adjustment factor for the attraction preference type and Greater than 1.

[0016] Furthermore, the average curvature of the road is determined, including: Determine the curvature of the curved part according to the actual curved length and the straight length of the curved part on the path; The average value of the curvatures of several bends on the path is taken as the average curvature of the road corresponding to the path.

[0017] Further, determining the curvature of the curved part according to the actual curved length and the straight length of the curved part on the path includes:

[0018] in, For path The curvature of the bend at the yth position, For path The actual bending length of the bend at the yth position, For path The length of the straight line that bends at position y.

[0019] In a second aspect, the present invention provides a heritage tourist attraction guide device based on virtual reality, the device comprising: An acquisition module is used to acquire a geographical map of a target heritage tourist attraction, where the geographical map of the target heritage tourist attraction consists of a number of routes and a number of scenic spots; A path scoring module is used to determine the path score of each path in the target heritage tourist attraction according to the real-time flow data of people on each path and the path data of the target heritage tourist attraction, wherein the path data includes the length of the road, the average width of the road, the average curvature of the road and the average slope, and the real-time flow data includes the number of pedestrians, the direction of pedestrian movement and the average speed of pedestrians; The scenic spot scoring module is used to determine the scenic spot score of each scenic spot in the target heritage tourism scenic spot according to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourism scenic spot, wherein the real-time scenic spot data includes the average dwelling time and the number of scenic spot visitors, and the evaluation data includes the number of scenic spot pictures and the number of words in the scenic spot evaluation; A starting scenic spot module, used to determine a starting scenic spot according to a number of scenic spot ratings and a preset preference of the first target; A tour route module is used to construct a target tour route of a target heritage tourist attraction based on the starting attraction, several attraction scores, several path scores, and the positional relationship between the starting attraction and the remaining attractions; The feedback module is used to feed back the target play route to the VR device of the first target, so that the first target can move along the target play route.

[0020] One or more technical solutions provided in the present invention have at least the following technical effects or advantages: The present invention determines the path score from three parts: Taking into account the relationship between road length and width and the number of pedestrians, The density of pedestrian traffic on each path can be measured. If a wider road has fewer pedestrians and a shorter route, it will be scored higher, indicating that the path is relatively spacious and comfortable, and can be traveled faster. A lower pedestrian density means that there is more space between pedestrians, reducing the risk of collisions and congestion, improving walking safety, and encouraging the use of spacious and uncrowded paths to avoid excessive pressure on local areas caused by excessive concentration of tourists. Secondly, It reflects the degree of curve of the road and the degree of inclination of the slope, and reflects the impact of physical characteristics on pedestrian speed. Roads with large curvature and steep slopes will affect pedestrian speed. Steep slopes and complex bends may increase the risk of falls or other accidents, reflecting the impact on tourists' travel experience. It reflects that the effect of curvature on pedestrian speed is not linear. The exponential function can linearize the nonlinear relationship, making the effect of curvature changes on the score smoother and more reasonable. It can more accurately reflect the actual effect of curvature on pedestrian speed, and can make the path score more reasonable, which provides a more accurate basis for constructing the target tour route later. Finally, Using square roots can smooth the difference, reduce the impact of extreme values, and make the score more stable. Dividing the difference by the total number of pedestrians can link the impact of two-way traffic differences to the total number of people, ensuring that the score not only reflects the difference in direction, but also takes into account the actual traffic density. By dividing by the total number of pedestrians, the score can be normalized to make the comparison between different paths more fair. The path score takes into account multiple factors, including space utilization, physical characteristics, traffic density, and direction of travel, and provides a comprehensive path evaluation. Combined with real-time traffic data, the path score can be dynamically adjusted to ensure the timeliness and accuracy of the information. By optimizing path selection, tourists' comfort, safety, and traffic efficiency can be improved, and the overall travel experience can be enhanced. Based on the path score, personalized tour route suggestions can be provided to tourists with different needs to meet diverse needs.

[0021] For the scenic spot rating, the present invention amplifies the influence of the average dwelling time based on the exponential function. The longer the dwelling time, the higher the interest and satisfaction of the tourists in the scenic spot. Through the exponential form, the positive influence of long-term stay on the rating can be more significantly reflected. The product of the number of scenic spot pictures and the number of evaluation words is processed based on the natural logarithm. The more pictures and the number of evaluation words, the higher the tourists' attention and participation in the scenic spot. Through the logarithmic form, the influence of the number of pictures and the number of evaluation words can be balanced to avoid extreme values ​​leading to too high or too low ratings. At the same time, this also reflects the detailed records and feedback of tourists on the scenic spot, which increases the credibility of the rating. The scenic spot rating comprehensively considers the behavior of tourists (dwelling time), the number of people in the current scenic spot, and the participation of tourists (pictures and evaluations), and provides a comprehensive scenic spot evaluation. By combining multiple data sources, the rating is more comprehensive and accurate, and can better reflect the real situation of the scenic spot. Combined with real-time scenic spot data and evaluation data, the scenic spot rating can be dynamically adjusted to ensure the timeliness and accuracy of the information.

[0022] For the starting scenic spot, the present invention combines personal preferences, real-time data and user feedback to ensure the timeliness and accuracy of the recommendation, and can give priority to recommending scenic spots that meet user preferences, thereby improving the overall travel experience. By combining the scenic spot score and the path score, the present invention can comprehensively consider the quality of the scenic spot itself and the path conditions to reach the scenic spot, thereby providing a more comprehensive evaluation, ensuring that the recommended next scenic spot is not only highly attractive in itself, but also that the path to the scenic spot is comfortable and safe, thereby improving the overall tour experience. Combined with real-time data, the timeliness and accuracy of the recommendation are ensured. By determining the play index of adjacent scenic spots, the optimal tour order can be determined to ensure that tourists get the best tour experience within a limited time, and closely restore the real experience of passengers wearing VR equipment.

[0023] The present invention combines the advantages of VR devices. In the ordinary play process, it is usually considered whether the route is repeated, because repeated routes will increase the time and reduce the experience. However, when playing based on VR devices, regardless of whether the path is repeated, the physical energy consumed by repeating the path in the VR device is much lower than that in the real environment, and the VR device can adjust parameters such as the travel speed, so that repeated sections can be skipped as soon as possible to ensure the play experience of the scenic spot.

[0024] Through steps S151-S155, the present invention can select adjacent scenic spots with the highest play index each time, ensure that tourists visit the most attractive scenic spots with the best path conditions within a limited time, ensure the play experience of passengers wearing VR equipment, and improve the overall tour efficiency by optimizing the tour order; combine real-time traffic data, dynamically adjust the path score and scenic spot score, and adjust the recommended route in time to improve the user experience. Eliminate the visited starting scenic spots, and repeat the steps with new starting scenic spots until all scenic spots are visited. According to the order of the obtained target play sub-routes, form a complete target play route to ensure that all scenic spots are visited and no important scenic spots are missed. By gradually constructing the target play sub-routes, a coherent and efficient complete play route is formed. And each step is based on the current best choice to ensure that each step is the optimal solution. By gradually constructing and optimizing, it is ensured that each step is the current optimal choice, and finally a global optimal play route is formed. Combined with the characteristics of VR, the present invention can take the highest play comfort as the next tourist route without considering the repetition rate of the route when selecting the route. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 A flowchart of a method for guiding a heritage tourist attraction based on virtual reality provided by the present invention. DETAILED DESCRIPTION

[0027] The embodiment of the present invention solves the technical problem in the prior art that it is difficult to tour a heritage tourist attraction in accordance with the real-time situation of the scenic spot by providing a method for guiding the tourist attraction in a virtual reality.

[0028] The technical solution of the present invention is to solve the above technical problems, and the overall idea is as follows: A method for guiding a heritage tourist attraction based on virtual reality comprises: obtaining a geographical map of a target heritage tourist attraction, wherein the geographical map of the target heritage tourist attraction is composed of a plurality of paths and a plurality of scenic spots; determining a path score of each path in the target heritage tourist attraction according to real-time crowd flow data and path data on each path of the target heritage tourist attraction, wherein the path data comprises the length of the road, the average width of the road, the average curvature of the road and the average slope, and the real-time crowd flow data comprises the number of pedestrians, the direction of pedestrian movement and the average speed of pedestrians; determining a scenic spot score of each scenic spot in the target heritage tourist attraction according to real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourist attraction, wherein the real-time scenic spot data comprises the average dwelling time and the number of people at the scenic spot, and the evaluation data comprises the number of scenic spot pictures and the number of words in the scenic spot evaluation; determining a starting scenic spot according to the scores of the plurality of scenic spots and the preset preference of a first target; constructing a target tour route of the target heritage tourist attraction according to the starting scenic spot, the scores of the plurality of scenic spots, the scores of the plurality of paths, and the positional relationship between the starting scenic spot and the remaining scenic spots; and feeding back the target tour route to a VR device of the first target, so that the first target can travel according to the target tour route.

[0029] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0030] First of all, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0031] To illustrate the present invention, VR (Virtual Reality) is a computer technology that can create and experience a virtual world. Users can interact with the virtual environment through special devices such as head-mounted displays, handles, etc.

[0032] At present, virtual tourism with VR is a way of traveling without leaving home, but virtual tourism with VR only means viewing the scenery of various heritage tourism scenic spots. It is difficult to truly and accurately restore the real situation of the scenic spots, and it is difficult to experience the real feeling of choosing the best tour route in the scenic spots. Therefore, the present invention provides a heritage tourism scenic spot guiding method based on virtual reality, so that tourists can experience the best tour route and the real real environment of the scenic spot when wearing VR equipment.

[0033] The present invention provides Figure 1A method for guiding a heritage tourist attraction based on virtual reality is shown, comprising steps S11-S16 (the parameters in the present invention are dimensionless, only numerical values): Regarding step S11, a geographical map of the target heritage tourist attraction is obtained, and the geographical map of the target heritage tourist attraction is composed of a number of routes and a number of scenic spots.

[0034] The target heritage tourist attraction refers to the attraction to be visited by the target tourists after wearing the VR device. The geographical map may be a 3D geographical map. The 3D geographical map increases the sense of depth through height information, so that the features such as terrain and buildings are more intuitively presented to the user.

[0035] The geographical map is composed of several paths and several scenic spots. It should be noted that, in the present invention, all roads of the target heritage tourist attraction are divided by scenic spots to obtain several paths. In other words, the endpoint of each path is the scenic spot. After obtaining the geographical map of the target heritage tourist attraction, the geographical map can be stored in the VR device of the first target.

[0036] Regarding step S12, the path score of each path in the target heritage tourist attraction is determined based on the real-time crowd flow data and path data on each path in the target heritage tourist attraction, wherein the path data includes the road length, average road width, average road curvature and average slope, and the real-time crowd flow data includes the number of pedestrians, the direction of pedestrian travel and the average speed of pedestrians.

[0037] Several cameras, sensors, and drones may be deployed in the target heritage tourist attractions to obtain real-time crowd flow data. Path data may be obtained in several ways, which are not limited here.

[0038] There are many ways to determine the average curvature of a road. The present invention uses the arc length method, that is, the ratio of the arc length to the straight line is equal to the curvature of a curve. It can be understood that there may be several curves on a path. The curvature of each curve is determined separately, and the average value is used as the average curvature of the road of the path.

[0039] Determining the average curvature of the road specifically includes: determining the curvature of the curve according to the actual curvature length and the straight length of the curve on the path; and taking the average curvature of several curves on the path as the average curvature of the road corresponding to the path.

[0040] According to the actual bending length and straight length of the bending part on the path, the curvature of the bending part is determined, including:

[0041] in, For path The curvature of the bend at the yth position, For path The actual bending length of the bend at the yth position, For path The length of the straight line that bends at position y.

[0042] Slope refers to the degree of inclination of the ground surface or road surface relative to the horizontal plane. Slope is used to describe the steepness of the terrain or the rising or falling angle of a linear structure such as a road or path. It is understandable that a path may have both upslopes and downslopes. In this case, the average slope of the upslope and the average slope of the downslope can be determined separately, and the average of the average slope of the upslope and the average slope of the downslope can be used as the average slope of the path. (The slope of the upslope and the slope of the downslope are both recorded as positive. The present invention can use the ratio of the vertical height difference to the distance between two points on the horizontal plane as the slope) According to the real-time passenger flow data and path data of the target heritage tourist scenic spot on each path, the path score of each path in the target heritage tourist scenic spot is determined, including:

[0043] in, For the The path score of the path, For the The road length of the path, For the The average road width of the paths, For the The number of pedestrians on the path, For the The average curvature of the road for each path, For the The average speed of pedestrians on the path, For the The average slope of the path, For the The number of pedestrians in the path whose moving direction is positive, No. The number of pedestrians in the path whose direction of travel is in the opposite direction, wherein the direction of travel is clockwise along the geographical map of the target heritage tourist attraction and the direction of travel is counterclockwise along the geographical map of the target heritage tourist attraction. to All are preset weights. is a constant greater than 1.

[0044] The present invention determines the path score from three parts: Taking into account the relationship between road length and width and the number of pedestrians, The density of pedestrian traffic on each path can be measured. If a wider road has fewer pedestrians and a shorter route, it will be scored higher, indicating that the path is relatively spacious and comfortable, suitable for fast passage. A lower pedestrian density means that there is more space between pedestrians, reducing the risk of collisions and congestion, improving walking safety, and encouraging the use of spacious and uncrowded paths to avoid excessive pressure on local areas caused by excessive concentration of tourists. Secondly, It reflects the degree of curve of the road and the degree of inclination of the slope, and reflects the impact of physical characteristics on pedestrian speed. Roads with large curvature and steep slopes will affect pedestrian speed. Steep slopes and complex bends may increase the risk of falls or other accidents, reflecting the impact on tourists' travel experience. It reflects that the effect of curvature on pedestrian speed is not linear. The exponential function can linearize the nonlinear relationship, making the effect of curvature changes on the score smoother and more reasonable. It can more accurately reflect the actual effect of curvature on pedestrian speed, make the path score more reasonable, and provide a more accurate basis for constructing the target tour route later. Finally, Using square roots can smooth the difference, reduce the impact of extreme values, and make the score more stable. Dividing the difference by the total number of pedestrians can link the impact of two-way traffic differences to the total number of people, ensuring that the score not only reflects the difference in direction, but also takes into account the actual traffic density. By dividing by the total number of pedestrians, the score can be normalized to make the comparison between different paths more fair. The path score takes into account multiple factors, including space utilization, physical characteristics, traffic density, and direction of travel, and provides a comprehensive path evaluation. Combined with real-time traffic data, the path score can be dynamically adjusted to ensure the timeliness and accuracy of the information. By optimizing path selection, tourists' comfort, safety, and traffic efficiency can be improved, and the overall travel experience can be enhanced. Based on the path score, personalized tour route suggestions can be provided to tourists with different needs to meet diverse needs.

[0045] Regarding step S13, the scenic spot score of each scenic spot in the target heritage tourism scenic spot is determined based on the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourism scenic spot, wherein the real-time scenic spot data includes the average dwelling time and the number of visitors to the scenic spot, and the evaluation data includes the number of scenic spot pictures and the number of words in the scenic spot evaluation.

[0046] Several cameras, sensors and drones can be deployed in the target heritage tourist attractions to obtain real-time scenic spot data. Evaluation data can be obtained based on apps that can evaluate the target heritage tourist attractions, such as Dianping, Meituan, etc., without restriction.

[0047] According to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourism scenic spot, the scenic spot score of each scenic spot in the target heritage tourism scenic spot is determined, including:

[0048] in, For the Attraction ratings for attractions, For the The average length of stay at each attraction, For the The number of visitors to each attraction, For the The number of scenic spot pictures for each scenic spot, For the The number of words in the scenic spot evaluation of the scenic spot, among which, if is less than or equal to e, then All are recorded as 1.

[0049] The influence of the average dwell time is amplified based on the exponential function. The longer the dwell time, the higher the interest and satisfaction of the tourists in the attraction. The exponential form can more significantly reflect the positive impact of long-term stay on the score. The product of the number of scenic spot pictures and the number of evaluation words is processed based on the natural logarithm. The more pictures and the more words in the evaluation, the higher the tourists' attention and participation in the attraction. The logarithmic form can balance the influence of the number of pictures and the number of words in the evaluation, avoiding extreme values ​​that lead to too high or too low scores. At the same time, this also reflects the detailed records and feedback of tourists on the attractions, increasing the credibility of the ratings.

[0050] The present invention amplifies the influence of the average dwell time based on an exponential function. The longer the dwell time, the higher the interest and satisfaction of the tourists in the scenic spot. Through the exponential form, the positive influence of long-term stay on the score can be more significantly reflected. The product of the number of scenic spot pictures and the number of evaluation words is processed based on the natural logarithm. The more pictures and the more evaluation words, the higher the tourists' attention and participation in the scenic spot. Through the logarithmic form, the influence of the number of pictures and the number of evaluation words can be balanced to avoid extreme values ​​leading to too high or too low scores. At the same time, this also reflects the detailed records and feedback of tourists on the scenic spot, which increases the credibility of the score. The scenic spot score comprehensively considers the behavior of tourists (dwelling time), the number of people in the current scenic spot, and the participation of tourists (pictures and evaluations), and provides a comprehensive scenic spot evaluation. By combining multiple data sources, the score is more comprehensive and accurate, and can better reflect the real situation of the scenic spot. Combined with real-time scenic spot data and evaluation data, the scenic spot score can be dynamically adjusted to ensure the timeliness and accuracy of the information.

[0051] Regarding step S14, a starting attraction is determined according to the ratings of the attractions and the preset preference of the first target.

[0052] Specifically, it includes: determining the attraction preference type according to the preset preference of the first target, and setting an adjustment coefficient of the attraction preference type, wherein the adjustment coefficient is greater than 1; determining the starting score of the attraction belonging to the attraction preference type according to the adjustment coefficient of the attraction preference type and the attraction scores of the attractions belonging to the attraction preference type; using the attraction scores of the attractions that do not belong to the attraction preference type as the starting scores; and using the attraction corresponding to the highest starting score as the starting attraction.

[0053] Determine the starting score of the attraction belonging to the attraction preference type, including:

[0054] in, For the The starting ratings of attractions belonging to the attraction preference type, For the Attraction ratings for attractions belonging to the attraction preference type, is the adjustment factor for the attraction preference type and Greater than 1. The adjustment coefficient can be set according to actual conditions and is not limited here.

[0055] The first target is the tourist who wears VR equipment for sightseeing. The preset preference of the first target can be obtained from the user terminal of the first target. For example, the number of scenic spots containing water in the browsing history of the first target is the largest, that is, it can be considered that the attraction preference type of the first target is attractions containing water.

[0056] For example, the preset preference for the first target is attractions containing water. The target heritage tourist attraction includes 13 attractions, of which 3 are attractions containing water. The 3 attractions containing water are calculated according to the above formula, and the starting scores of the remaining 10 attractions are the attraction scores. The 13 starting scores are sorted, and the attraction with the highest score among the 13 attractions is the starting attraction.

[0057] When determining the initial score of an attraction, the present invention combines personal preferences, real-time data and user feedback to ensure the timeliness and accuracy of recommendations, and can give priority to recommending attractions that meet user preferences, thereby improving the overall travel experience.

[0058] Regarding step S15, a target tour route of the target heritage tourist attraction is constructed based on the starting attraction, several attraction scores, several route scores, and the positional relationship between the starting attraction and the remaining attractions.

[0059] Specific steps S151-S155: Step S151, determining a number of scenic spots adjacent to the starting scenic spot.

[0060] It is understandable that the starting scenic spot is adjacent to at least one scenic spot. (Since the present invention allows tourists to wear VR equipment to play, the exit and entrance of the scenic spot can be ignored, which fully utilizes the advantages of VR equipment and combines the real-time situation of the target heritage tourist scenic spot to provide tourists with a more realistic play effect) Step S152, determining the play index of the adjacent scenic spot according to the path score between the starting scenic spot and the adjacent scenic spot and the scenic spot score of the adjacent scenic spot; Specifically include:

[0061] in, The first attraction adjacent to the starting point The travel index of adjacent attractions, The first attraction adjacent to the starting point Attraction ratings of neighboring attractions, Starting point and The path score between adjacent attractions.

[0062] When determining the starting scenic spot, the present invention can comprehensively consider the quality of the scenic spot itself and the path conditions to reach the scenic spot by combining the scenic spot score and the path score, thereby providing a more comprehensive evaluation, ensuring that the recommended next scenic spot is not only highly attractive in itself, but also that the path to the scenic spot is comfortable and safe, thereby improving the overall tour experience. Combined with real-time data, the timeliness and accuracy of the recommendation are ensured. By determining the play index of adjacent scenic spots, the optimal tour order can be determined to ensure that tourists get the best tour experience within a limited time, and the real experience of tourists wearing VR devices is restored in a close manner.

[0063] Step S153, taking the adjacent scenic spot corresponding to the highest value among the multiple play indexes as the next scenic spot, and taking the path between the starting scenic spot and the next scenic spot as the target play sub-route; Among the attractions adjacent to the starting attraction, the attraction with the highest value in the play index is determined as the next attraction, and the path between the two is the target play sub-route.

[0064] Step S154, remove the starting scenic spot, and use the next scenic spot obtained in step S153 as the new starting scenic spot, and re-execute steps S151 to S154 until only one scenic spot remains in the target heritage tourist attraction.

[0065] After obtaining the next scenic spot, the starting scenic spot can be deleted, and the next scenic spot obtained in step S153 is used as the new starting scenic spot. It can be understood that the present invention combines the advantages of VR devices. In the ordinary play process, it is usually considered whether the route is repeated, because the repeated route will increase the time and reduce the experience. However, when playing based on VR devices, regardless of whether the path is repeated, the physical energy consumed by repeating the path in the VR device is much lower than that in the real environment, and the VR device can adjust the parameters such as the travel speed, so that the repeated sections can be skipped as soon as possible to ensure the play experience of the scenic spot.

[0066] Step S155, combining the plurality of target tour sub-routes into a target tour route of a target heritage tourist attraction according to the order in which the plurality of target tour sub-routes are obtained.

[0067] It is understandable that since the next scenic spot is obtained first and then the starting scenic spot is eliminated, there is an acquisition order for the target tour sub-routes. The target tour sub-routes can be combined according to the acquisition order of each target tour sub-route to obtain the target tour route of the target heritage tourist attraction.

[0068] Through steps S151-S155, the present invention can select adjacent attractions with the highest play index each time, ensure that tourists visit the most attractive attractions with the best path conditions within a limited time, ensure the play experience of passengers wearing VR equipment, and improve the overall tour efficiency by optimizing the tour order; combine real-time traffic data, dynamically adjust the path score and the attraction score, and adjust the recommended route in time to improve the user experience. Eliminate the visited starting attractions, and repeat the steps with new starting attractions until all attractions are visited. According to the order of the obtained target play sub-routes, form a complete target play route to ensure that all attractions are visited and no important attractions are missed. By gradually constructing the target play sub-routes, a coherent and efficient complete play route is formed. And each step is based on the current best choice to ensure that each step is the optimal solution. By gradually constructing and optimizing, it is ensured that each step is the current best choice, and finally the global optimal play route is formed.

[0069] Regarding step S16, the target play route is fed back to the VR device of the first target so that the first target can move along the target play route.

[0070] After obtaining the target play route, the target play route can be fed back to the VR device of the first target, so that the first target can play according to the target play route.

[0071] In summary, the present invention determines the path score from three parts: Taking into account the relationship between road length and width and the number of pedestrians, The density of pedestrian traffic on each path can be measured. If a wider road has fewer pedestrians and a shorter route, it will be scored higher, indicating that the path is relatively spacious and comfortable, and can be passed faster. Lower pedestrian density means that there is more space between pedestrians, reducing the risk of collisions and congestion, improving walking safety, and encouraging the use of spacious and uncrowded paths to avoid excessive pressure on local areas caused by excessive concentration of tourists. Secondly, It reflects the degree of curve of the road and the degree of inclination of the slope, and reflects the impact of physical characteristics on pedestrian speed. Roads with large curvature and steep slopes will affect pedestrian speed. Steep slopes and complex bends may increase the risk of falls or other accidents, reflecting the impact on tourists' travel experience. It reflects that the effect of curvature on pedestrian speed is not linear. The exponential function can linearize the nonlinear relationship, making the effect of curvature changes on the score smoother and more reasonable. It can more accurately reflect the actual effect of curvature on pedestrian speed, and can make the path score more reasonable, which provides a more accurate basis for constructing the target tour route later. Finally, Using square roots can smooth the difference, reduce the impact of extreme values, and make the score more stable. Dividing the difference by the total number of pedestrians can link the impact of two-way traffic differences to the total number of people, ensuring that the score not only reflects the difference in direction, but also takes into account the actual traffic density. By dividing by the total number of pedestrians, the score can be normalized to make the comparison between different paths more fair. The path score takes into account multiple factors, including space utilization, physical characteristics, traffic density, and direction of travel, and provides a comprehensive path evaluation. Combined with real-time traffic data, the path score can be dynamically adjusted to ensure the timeliness and accuracy of the information. By optimizing path selection, tourists' comfort, safety, and traffic efficiency can be improved, and the overall travel experience can be enhanced. Based on the path score, personalized tour route suggestions can be provided to tourists with different needs to meet diverse needs.

[0072] For the scenic spot rating, the present invention amplifies the influence of the average dwelling time based on the exponential function. The longer the dwelling time, the higher the interest and satisfaction of the tourists in the scenic spot. Through the exponential form, the positive influence of long-term stay on the rating can be more significantly reflected. The product of the number of scenic spot pictures and the number of evaluation words is processed based on the natural logarithm. The more pictures and the number of evaluation words, the higher the tourists' attention and participation in the scenic spot. Through the logarithmic form, the influence of the number of pictures and the number of evaluation words can be balanced to avoid extreme values ​​leading to too high or too low ratings. At the same time, this also reflects the detailed records and feedback of tourists on the scenic spot, which increases the credibility of the rating. The scenic spot rating comprehensively considers the behavior of tourists (dwelling time), the number of people in the current scenic spot, and the participation of tourists (pictures and evaluations), and provides a comprehensive scenic spot evaluation. By combining multiple data sources, the rating is more comprehensive and accurate, and can better reflect the real situation of the scenic spot. Combined with real-time scenic spot data and evaluation data, the scenic spot rating can be dynamically adjusted to ensure the timeliness and accuracy of the information.

[0073] For the starting scenic spot, the present invention combines personal preferences, real-time data and user feedback to ensure the timeliness and accuracy of the recommendation, and can give priority to recommending scenic spots that meet user preferences, thereby improving the overall travel experience. By combining the scenic spot score and the path score, the present invention can comprehensively consider the quality of the scenic spot itself and the path conditions to reach the scenic spot, thereby providing a more comprehensive evaluation, ensuring that the recommended next scenic spot is not only highly attractive in itself, but also that the path to the scenic spot is comfortable and safe, thereby improving the overall tour experience. Combined with real-time data, the timeliness and accuracy of the recommendation are ensured. By determining the play index of adjacent scenic spots, the optimal tour order can be determined to ensure that tourists get the best tour experience within a limited time, and closely restore the real experience of passengers wearing VR equipment.

[0074] The present invention combines the advantages of VR devices. In the ordinary play process, it is usually considered whether the route is repeated, because repeated routes will increase the time and reduce the experience. However, when playing based on VR devices, regardless of whether the path is repeated, the physical energy consumed by repeating the path in the VR device is much lower than that in the real environment, and the VR device can adjust parameters such as the travel speed, so that repeated sections can be skipped as soon as possible to ensure the play experience of the scenic spot.

[0075] Through steps S151-S155, the present invention can select adjacent attractions with the highest play index each time, ensure that tourists visit the most attractive attractions with the best path conditions within a limited time, ensure the play experience of passengers wearing VR equipment, and improve the overall tour efficiency by optimizing the tour order; combine real-time traffic data, dynamically adjust the path score and the attraction score, and adjust the recommended route in time to improve the user experience. Eliminate the visited starting attractions, and repeat the steps with new starting attractions until all attractions are visited. According to the order of the obtained target play sub-routes, form a complete target play route to ensure that all attractions are visited and no important attractions are missed. By gradually constructing the target play sub-routes, a coherent and efficient complete play route is formed. And each step is based on the current best choice to ensure that each step is the optimal solution. By gradually constructing and optimizing, it is ensured that each step is the current best choice, and finally the global optimal play route is formed.

[0076] Based on the same inventive concept, the present invention provides a heritage tourist attraction guide device based on virtual reality, the device comprising: An acquisition module is used to acquire a geographical map of a target heritage tourist attraction, where the geographical map of the target heritage tourist attraction consists of a number of routes and a number of scenic spots; A path scoring module is used to determine the path score of each path in the target heritage tourist attraction according to the real-time flow data of people on each path and the path data of the target heritage tourist attraction, wherein the path data includes the length of the road, the average width of the road, the average curvature of the road and the average slope, and the real-time flow data includes the number of pedestrians, the direction of pedestrian movement and the average speed of pedestrians; The scenic spot scoring module is used to determine the scenic spot score of each scenic spot in the target heritage tourism scenic spot according to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourism scenic spot, wherein the real-time scenic spot data includes the average dwelling time and the number of scenic spot visitors, and the evaluation data includes the number of scenic spot pictures and the number of words in the scenic spot evaluation; A starting scenic spot module, used to determine a starting scenic spot according to a number of scenic spot ratings and a preset preference of the first target; A tour route module is used to construct a target tour route of a target heritage tourist attraction based on the starting attraction, several attraction scores, several path scores, and the positional relationship between the starting attraction and the remaining attractions; The feedback module is used to feed back the target play route to the VR device of the first target, so that the first target can move along the target play route.

[0077] Since the electronic device introduced in this embodiment is an electronic device used to implement the information processing method in the embodiment of the present invention, based on the information processing method introduced in the embodiment of the present invention, a person skilled in the art can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present invention is not described in detail here. As long as the electronic device used by a person skilled in the art to implement the information processing method in the embodiment of the present invention, it belongs to the scope of protection of the present invention.

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

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

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

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

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

[0083] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for guiding a heritage tourist attraction based on virtual reality, characterized in that: The method comprises: Obtaining a geographical map of a target heritage tourist attraction, wherein the geographical map of the target heritage tourist attraction is composed of a plurality of routes and a plurality of scenic spots; Determine the path score of each path in the target heritage tourist attraction according to the real-time pedestrian flow data and path data on each path of the target heritage tourist attraction, wherein the path data includes the length of the road, the average width of the road, the average curvature of the road and the average slope, and the real-time pedestrian flow data includes the number of pedestrians, the direction of pedestrian movement and the average speed of pedestrians; Determine the scenic spot score of each scenic spot in the target heritage tourist scenic spot according to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourist scenic spot, wherein the real-time scenic spot data includes the average dwelling time and the number of visitors to the scenic spot, and the evaluation data includes the number of scenic spot pictures and the number of words in the scenic spot evaluation; Determine the starting attraction based on the ratings of several attractions and the preset preference of the first target; Constructing a target tour route for the target heritage tourist attraction according to the starting attraction, the scores of the several attractions, the scores of the several routes, and the positional relationship between the starting attraction and the remaining attractions; The target play route is fed back to the VR device of the first target, so that the first target can travel according to the target play route.

2. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 1, characterized in that: According to the starting scenic spot, several scenic spot scores, several route scores, and the positional relationship between the starting scenic spot and the remaining scenic spots, a target tour route of the target heritage tourist attraction is constructed, including steps S151-S155: Step S151, determining a number of scenic spots adjacent to the starting scenic spot; Step S152, determining the play index of the adjacent scenic spot according to the path score between the starting scenic spot and the adjacent scenic spot and the scenic spot score of the adjacent scenic spot; Step S153, taking the adjacent scenic spot corresponding to the highest value among the plurality of play indexes as the next scenic spot, and taking the path between the starting scenic spot and the next scenic spot as the target play sub-route; Step S154, removing the starting scenic spot, and taking the next scenic spot obtained in step S153 as a new starting scenic spot, and re-performing steps S151 to S154 until only one scenic spot remains in the target heritage tourist attraction; Step S155, combining the plurality of target tour sub-routes into a target tour route of the target heritage tourist attraction according to the acquisition order of the plurality of target tour sub-routes.

3. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 1, characterized in that: Determining a path score for each path in the target heritage tourist attraction according to the real-time passenger flow data and path data on each path in the target heritage tourist attraction includes: in, For the The path score of the path, For the The road length of the path, For the The average road width of the paths, For the The number of pedestrians on the path, For the The average curvature of the road for each path, For the The average speed of pedestrians on the path, For the The average slope of the path, For the The number of pedestrians in the path whose moving direction is positive, No. The number of pedestrians in the path whose direction of travel is in the opposite direction, wherein the direction of travel is clockwise along the geographical map of the target heritage tourist attraction and the direction of travel is counterclockwise along the geographical map of the target heritage tourist attraction. to All are preset weights. is a constant greater than 1.

4. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 1, characterized in that: Determining the scenic spot score of each scenic spot in the target heritage tourist scenic spot according to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourist scenic spot includes: in, For the Attraction ratings for attractions, For the The average length of stay at each attraction, For the The number of visitors to each attraction, For the Number of scenic spot pictures per scenic spot, For the The number of words in the scenic spot reviews of the scenic spots, among which, if is less than or equal to e, then All are recorded as 1.

5. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 1, characterized in that: Determining the play index of the adjacent attraction according to the path score between the starting attraction and the adjacent attraction and the attraction score of the adjacent attraction includes: in, The first attraction adjacent to the starting point The travel index of adjacent attractions, The first attraction adjacent to the starting point Attraction ratings of neighboring attractions, Starting point and The path score between adjacent attractions.

6. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 1, characterized in that: The starting attractions are determined based on several attraction ratings and the preset preferences of the first target, including: Determine the attraction preference type according to the preset preference of the first target, and set an adjustment coefficient for the attraction preference type, wherein the adjustment coefficient is greater than 1; Determine the starting score of the attraction belonging to the attraction preference type according to the adjustment coefficient of the attraction preference type and the attraction score of the attraction belonging to the attraction preference type; The attraction ratings of attractions that do not belong to the attraction preference type are used as the starting ratings; The scenic spot corresponding to the highest starting score is used as the starting scenic spot.

7. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 6, characterized in that: According to the adjustment coefficient of the attraction preference type and the attraction score of the attraction belonging to the attraction preference type, the starting score of the attraction belonging to the attraction preference type is determined, including: in, For the The starting ratings of attractions belonging to the attraction preference type, For the Attraction ratings for attractions belonging to the attraction preference type, is the adjustment factor for the attraction preference type and Greater than 1.

8. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 1, characterized in that: Determine the average curvature of the road, including: Determine the curvature of the curved part according to the actual curved length and the straight length of the curved part on the path; The average value of the curvatures of several bends on the path is taken as the average curvature of the road corresponding to the path.

9. A method for guiding a heritage tourist attraction based on virtual reality as claimed in claim 8, characterized in that: According to the actual bending length and straight length of the bending part on the path, the curvature of the bending part is determined, including: in, For path The curvature of the bend at the yth position, For path The actual bending length of the bend at the yth position, For path The length of the straight line that bends at position y.

10. A heritage tourist attraction guide device based on virtual reality, characterized in that: The device comprises: An acquisition module is used to acquire a geographical map of a target heritage tourist attraction, wherein the geographical map of the target heritage tourist attraction is composed of a plurality of routes and a plurality of scenic spots; A path scoring module is used to determine the path score of each path in the target heritage tourist attraction according to the real-time pedestrian flow data and path data of each path in the target heritage tourist attraction, wherein the path data includes the length of the road, the average width of the road, the average curvature of the road and the average slope, and the real-time pedestrian flow data includes the number of pedestrians, the direction of pedestrian movement and the average speed of pedestrians; A scenic spot scoring module is used to determine the scenic spot score of each scenic spot in the target heritage tourist scenic spot according to the real-time scenic spot data and evaluation data of each scenic spot in the target heritage tourist scenic spot, wherein the real-time scenic spot data includes the average dwelling time and the number of scenic spot visitors, and the evaluation data includes the number of scenic spot pictures and the number of words in the scenic spot evaluation; A starting scenic spot module, used to determine a starting scenic spot according to a number of scenic spot ratings and a preset preference of the first target; A tour route module, for constructing a target tour route of the target heritage tourist attraction according to the starting attraction, several attraction scores, several path scores, and the positional relationship between the starting attraction and the remaining attractions; A feedback module is used to feed back the target play route to the VR device of the first target, so that the first target can move along the target play route.

Citation Information

Patent Citations

  • Tourist route planning method and device, computer equipment and storage medium

    CN111047066A

  • Travel route planning method and device, electronic equipment and storage medium

    CN115269991A

  • Tourism path planning method and system suitable for geological culture villages

    CN118378774A

  • Smart tourism system based on rural text travel and virtual reality

    CN118799126A

  • Method and apparatus for combining data to construct a floor plan

    US11348269B1

Cited By

  • Scenic area tourism development evaluation method and device based on heritage protection, equipment and medium

    CN120725502A