A method and system for classifying, benchmarking, screening and configuring cultural and tourism solutions
Through the online cultural and tourism attractions combination and route estimate, combined with the feedback scoring system, efficient and personalized cultural travel solutions are quickly generated, which solves the problem of time-consuming and labor-intensive formulation of solutions in the existing technology and improves tourism experience and productivity.
Patent Information
- Application Number
- CN202410536560.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-04-30
AI Technical Summary
In the prior art, the formulation of cultural travel plans mainly relies on experience search and artificial adjustment, which leads to the waste of time and energy, making it difficult to quickly provide efficient and personalized cultural travel plans.
Through the random combination of online cultural and tourism attractions and route estimates, a variety of solution libraries are formed, and a feedback and scoring system is set up to make comprehensive recommendations based on customer needs. The specific steps include crawling the attractions information online, generating main pictures and tour time recommendations, obtaining customer needs, forming a database of attractions and restaurants, generating a tourism plan database, extracting popularity information and driving proportion for display.
It realizes the rapid generation of efficient and personalized cultural travel solutions, reducing labor costs and time waste, and improving the depth and efficiency of the travel experience.
Smart Images

Figure CN118312675B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cultural tourism scheme generation, and more specifically, to a method and system for classifying, benchmarking, screening and configuring cultural tourism schemes. Background Art
[0002] As globalization intensifies, cultural travel has become an important way for people to pursue in-depth experience and enrich their horizons. Therefore, it is particularly important to quickly formulate an efficient and sophisticated cultural travel plan. This process not only involves the rational use of time, but also the accurate inheritance of culture and the deepening of experience. Through rapid planning, it is possible to ensure that the itinerary is compact and substantial, avoid unnecessary waste of time, and thus improve the time efficiency of travel.
[0003] Prior to the technology of the present invention, the formulation of cultural travel plans in the prior art was mainly through experience-based searches and manual adjustments. It often took a lot of time and energy to identify and select before making travel plans, which resulted in a lot of waste of time and energy. If cultural travel companies can quickly provide customized recommendation plans based on customer needs, it can greatly improve productivity and reduce labor costs. Summary of the invention
[0004] In view of the above problems, the present invention proposes a method and system for classifying, benchmarking, screening and configuring cultural and tourism solutions. By randomly combining online cultural and tourism attractions with route estimation, a library of several solutions is formed, a feedback scoring system is set up, and comprehensive recommendations are made based on the feedback scores.
[0005] According to a first aspect of an embodiment of the present invention, a method for classifying, benchmarking, screening and configuring cultural and tourism solutions is provided.
[0006] In one or more embodiments, preferably, the cultural tourism scheme classification benchmarking screening configuration method includes:
[0007] The description of scenic spots in each area is formed by web crawling;
[0008] Generate main map and tour duration recommendation based on scenic spot classification;
[0009] Obtain customers' travel needs and form a basic tourist attraction recommendation library;
[0010] Automatically recommend additional restaurants based on the recommended tour duration;
[0011] Complete the generation of a travel plan database based on tour duration, restaurant and attraction locations;
[0012] Extract the popularity information of attractions and restaurants in each plan, extract the route popularity and driving ratio for automatic display.
[0013] In one or more embodiments, preferably, the forming of the scenic spot descriptions corresponding to each area by means of web crawling specifically includes:
[0014] Crawl the scenic spot information of different administrative blocks through web crawling;
[0015] Crawl the scenic spot description corresponding to each scenic spot information, and finally store all the scenic spot information and scenic spot descriptions in a preset tour database.
[0016] In one or more embodiments, preferably, generating a main image and a tour duration recommendation according to the classification of scenic spots specifically includes:
[0017] Classifying scenic spots according to the preset sightseeing database;
[0018] According to the preset tour database, the tour duration of each scenic spot is extracted, and the tour duration recommendation in the scenic spot description is selected for extraction.
[0019] In one or more embodiments, preferably, the obtaining of customer sightseeing needs and forming a basic sightseeing attractions recommendation library specifically includes:
[0020] Get the customer's travel destination range and temperature range;
[0021] Determine the type of travel needs of the current customer, and set specific types including at least taking photos and checking in, resting and vacationing, studying, exciting adventure, food experience and relaxing;
[0022] According to different types, a corresponding scenic spot recommendation library is set, and the scenic spot recommendation library is formed by screening the scenic spots that meet the destination range and the temperature range using the first calculation formula, and the scenic spots that meet the first calculation formula are stored in the target scenic spot recommendation library;
[0023] The first calculation formula is:
[0024] AVG>Z
[0025] Among them, the daily average of the number of likes and collections of the corresponding scenic spot in the past month on the AVG preset platform, and Z is the median of the daily collection of all scenic spots within the tourist destination range including specific types of keywords.
[0026] In one or more embodiments, preferably, the automatic recommendation of additional restaurants based on the recommendation result of the tour duration specifically includes:
[0027] Determine the recommended visiting time of each attraction in the target attraction recommendation library at the current moment and extract it;
[0028] Obtain the catering constraints of the customer's tour destination and generate recommended meals within the tour range;
[0029] If it is determined that the recommended tour time meets the second calculation formula, the recommended meals that meet the catering constraints must be determined in advance in the corresponding scenic area;
[0030] For each scenic spot that does not satisfy the second calculation formula, a recommended meal that satisfies the catering constraint condition and is closest to the corresponding scenic spot is set;
[0031] Generate recommended meals based on the current target scenic spot recommendation library;
[0032] The second calculation formula is:
[0033] s>0.5×T
[0034] Among them, s is the tour duration and T is days.
[0035] In one or more embodiments, preferably, the generation of the travel program database according to the tour duration, restaurant and attraction locations specifically includes:
[0036] Extract the total duration of a single-day tour required by customers;
[0037] Form route planning one by one based on the recommended meals and target attractions recommendation database;
[0038] Make the path travel time satisfy the third calculation formula;
[0039] According to the total number of days required by the customer, all plans are generated one by one to form a travel plan database;
[0040] The third calculation formula is:
[0041] T L +C+J <Y
[0042] Among them, Y is the total duration of a single day tour, C is the estimated dining time, J is the estimated attractions, and T L is the route travel time.
[0043] In one or more embodiments, preferably, extracting the popularity information of attractions and restaurants in each plan, extracting the route popularity and driving ratio for automatic display, specifically includes:
[0044] Extract the popularity information of the scenic spots and restaurants in each plan, and generate the route popularity using the fourth calculation formula;
[0045] Extract all the journey durations and generate the total travel time using the fifth calculation formula;
[0046] The driving ratio is calculated based on the total duration of the cultural tour, and the online plan information is displayed. During the display process, each plan is sorted according to the driving ratio and route popularity, and plans with high popularity and low driving ratio are displayed first;
[0047] The fourth calculation formula is:
[0048]
[0049] Among them, LR is the route heat, r i is the number of newly liked comments for the i-th scenic spot in the scheme in the past month;
[0050] The fifth calculation formula is:
[0051]
[0052] Among them, TC is the total travel time, Tj is the total length of the j-th trip, and M is the total number of trips in the plan;
[0053] The sixth calculation formula is:
[0054] B=TC÷TT
[0055] Among them, B is the proportion of driving distance, and TT is the total travel time.
[0056] According to a second aspect of an embodiment of the present invention, a system for classifying, benchmarking, screening and configuring cultural and tourism solutions is provided.
[0057] In one or more embodiments, preferably, the cultural tourism scheme classification benchmarking screening configuration system includes:
[0058] The scenic spot description module is used to form the scenic spot description corresponding to each area by means of web crawling;
[0059] The main image and tour duration recommendation module is used to generate the main image and tour duration recommendation according to the classification of scenic spots;
[0060] The attraction recommendation library module is used to obtain customer sightseeing needs and form a basic sightseeing attraction recommendation library;
[0061] The restaurant recommendation module is used to automatically recommend additional restaurants based on the results of the tour duration recommendation;
[0062] Route recommendation module, used to generate a travel plan database based on tour duration, restaurant and attraction locations;
[0063] The display module is used to extract the popularity information of attractions and restaurants in each plan, extract the route popularity and driving ratio for automatic display.
[0064] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0065] According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement any one of the methods described in the first aspect of the embodiment of the present invention.
[0066] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0067] In the solution of the present invention, the best quality pictures and the most comprehensive scenic spot description are obtained through online scenic spot description and picture extraction.
[0068] In the solution of the present invention, the basic demand direction of the customer is obtained by extracting the demand online in advance, and then the optimal dynamic cultural and tourism route recommendation is quickly determined based on the basic demand direction.
[0069] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0070] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0072] Figure 1 It is a flow chart of a method for classifying, benchmarking, screening and configuring cultural and tourism solutions according to an embodiment of the present invention.
[0073] Figure 2 It is a flowchart of forming scenic spot descriptions corresponding to each area by means of network crawling in a method for classifying, benchmarking, screening and configuring cultural and tourism solutions in one embodiment of the present invention.
[0074] Figure 3It is a flowchart of generating a main map and a tour duration recommendation according to scenic spot classification in a method for classifying, benchmarking, screening and configuring cultural and tourism plans in one embodiment of the present invention.
[0075] Figure 4 It is a flowchart of obtaining customer sightseeing needs and forming a basic sightseeing attractions recommendation library in a method for classifying, benchmarking, screening and configuring cultural and tourism solutions in one embodiment of the present invention.
[0076] Figure 5 It is a flowchart of automatically supplementing restaurant recommendations based on tour duration recommendation results in a method for classifying, benchmarking, screening and configuring cultural and tourism plans in one embodiment of the present invention.
[0077] Figure 6 It is a flowchart of completing the generation of a tourism plan database according to the tour duration, restaurant and scenic spot locations in a cultural tourism plan classification, benchmarking, screening and configuration method in one embodiment of the present invention.
[0078] Figure 7 It is a flowchart of a method for classifying, benchmarking, screening and configuring cultural and tourism plans in one embodiment of the present invention, which extracts popularity information of attractions and restaurants in each plan, extracts route popularity and travel ratio, and automatically displays them.
[0079] Figure 8 It is a structural diagram of a cultural and tourism solution classification, benchmarking, screening and configuration system according to an embodiment of the present invention.
[0080] Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION
[0081] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0082] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0083] With the increasing globalization, cultural travel has become an important way for people to pursue in-depth experience and enrich their horizons. Therefore, it is particularly important to quickly formulate an efficient and sophisticated cultural travel plan. This process not only involves the rational use of time, but also the accurate inheritance of culture and the deepening of experience. Through rapid planning, we can ensure that the itinerary is compact and substantial, avoid unnecessary waste of time, and thus improve the time efficiency of travel. At the same time, the essence of cultural travel lies in the respect and inheritance of local cultures. Rapid planning helps us accurately grasp the cultural characteristics of the destination and ensure the maximum cultural benefits within a limited time. In addition, rapid planning can also help people optimize their itineraries and ensure that every minute and every second of the trip can be best utilized, so as to achieve the best budget control effect. On this basis, we can also provide travelers with personalized customized services based on personal preferences and needs, so that every traveler can have a rich and unique experience. Safety is the cornerstone of travel. Rapid planning can ensure that all possible risks are fully considered in the preparatory stage before the trip, thereby providing the necessary safety guarantees.
[0084] Prior to the technology of the present invention, the formulation of cultural travel plans in the prior art was mainly through experience-based searches and manual adjustments. It often took a lot of time and energy to identify and select before making travel plans, which resulted in a lot of waste of time and energy. If cultural travel companies can quickly provide customized recommendation plans based on customer needs, it can greatly improve productivity and reduce labor costs.
[0085] In an embodiment of the present invention, a method and system for classifying, benchmarking, screening and configuring cultural tourism solutions are provided. The solution forms a library of several solutions by randomly combining online cultural tourism attractions with route estimates, sets a feedback scoring system and makes comprehensive recommendations based on the feedback scores.
[0086] According to a first aspect of an embodiment of the present invention, a method for classifying, benchmarking, screening and configuring cultural and tourism solutions is provided.
[0087] Figure 1 It is a flow chart of a method for classifying, benchmarking, screening and configuring cultural and tourism solutions according to an embodiment of the present invention.
[0088] In one or more embodiments, preferably, the cultural tourism scheme classification benchmarking screening configuration method includes:
[0089] S101, forming a description of scenic spots corresponding to each area by means of web crawling;
[0090] S102, generating a main map and a tour duration recommendation according to the classification of scenic spots;
[0091] S103, obtaining the customer's sightseeing needs and forming a basic sightseeing attractions recommendation library;
[0092] S104, automatically recommending additional restaurants based on the recommended tour duration;
[0093] S105, completing the generation of a travel program database according to the tour duration, restaurant and scenic spot locations;
[0094] S106: Extract the popularity information of the attractions and restaurants in each plan, extract the route popularity and driving ratio, and automatically display them.
[0095] In an embodiment of the present invention, the most comprehensive description of the scenic spot is automatically identified by web crawling, and the picture with the most likes in the past month on the entire network is extracted as the main picture to form a scenic spot plan. The average value of the recommended value of the tour time is extracted from the plan as the recommended tour time; considering the distance planning, a restaurant library near the pre-set area is automatically extracted, and a time constraint is set so that the tour time each time does not exceed the preset tour time. When the preset tour time is exceeded, a restaurant in the area is automatically set within the time range.
[0096] Figure 2 It is a flowchart of forming scenic spot descriptions corresponding to each area by means of network crawling in a method for classifying, benchmarking, screening and configuring cultural and tourism solutions in one embodiment of the present invention.
[0097] like Figure 2 As shown, in one or more embodiments, preferably, the forming of the scenic spot description corresponding to each area by means of web crawling specifically includes:
[0098] S201, crawling the scenic spot information of different administrative blocks through network crawling;
[0099] S202, crawling the scenic spot description corresponding to each scenic spot information, and finally storing all the scenic spot information and scenic spot description in a preset tour database.
[0100] In the embodiment of the present invention, we have realized the automatic collection of scenic spot information of each administrative block, including a detailed description of each scenic spot, through web crawling technology. Finally, we have successfully stored all the collected scenic spot information and descriptions in a preset tour database, providing rich and accurate data support for subsequent tourism planning, recommendation system and data analysis.
[0101] Figure 3 It is a flowchart of generating a main map and a tour duration recommendation according to scenic spot classification in a method for classifying, benchmarking, screening and configuring cultural and tourism plans in one embodiment of the present invention.
[0102] like Figure 3 As shown, in one or more embodiments, preferably, generating a main map and a tour duration recommendation according to the scenic spot classification specifically includes:
[0103] S301, classifying scenic spots according to the preset sightseeing database;
[0104] S302: extract the tour duration of each scenic spot according to the preset tour database, and select the tour duration recommendation in the scenic spot description for extraction.
[0105] In the embodiment of the present invention, according to the preset tour database, the scheme first classifies the scenic spots in detail so that users can more conveniently find and select the scenic spots they are interested in. At the same time, the scheme extracts the tour duration information of each scenic spot from the database, and combines the recommended tour duration in the description of the scenic spot to provide users with a more accurate tour time reference. In this way, when planning a trip, users can choose the most suitable scenic spots to visit according to their own interests and time arrangements. Through this process, the scheme aims to provide users with a more personalized and efficient travel planning experience.
[0106] Figure 4 It is a flowchart of obtaining customer sightseeing needs and forming a basic sightseeing attractions recommendation library in a method for classifying, benchmarking, screening and configuring cultural and tourism solutions in one embodiment of the present invention.
[0107] like Figure 4 As shown, in one or more embodiments, preferably, the obtaining of customer sightseeing needs and forming a basic sightseeing attractions recommendation library specifically includes:
[0108] S401, obtaining the customer's travel destination range and temperature range;
[0109] S402, determining which category the current customer's tour demand belongs to, where the specific categories set include at least taking photos and checking in, resting and vacationing, studying, exciting adventure, gourmet experience and relaxing;
[0110] S403, according to different types, a corresponding scenic spot recommendation library is set, and the scenic spot recommendation library is formed by screening using a first calculation formula within a destination range and a temperature range, and the scenic spots that meet the first calculation formula are stored in the target scenic spot recommendation library;
[0111] The first calculation formula is:
[0112] AVG>Z
[0113] Among them, the daily average of the number of likes and collections of the corresponding scenic spot in the past month on the AVG preset platform, and Z is the median of the daily collection of all scenic spots within the tourist destination range including specific types of keywords.
[0114] In the embodiment of the present invention, in order to form a basic tourist attraction recommendation library, the solution first obtains the customer's tourist destination range and temperature range to filter out attractions that meet their needs. Next, the solution analyzes the customer's tourist demand type, which may include taking photos and checking in, resting and vacationing, studying, exciting adventures, gourmet food experience, and relaxing the mind. According to different types of needs, the solution sets up a corresponding tourist attraction recommendation library.
[0115] In order to meet the customer's destination range and temperature requirements, and taking into account the popularity of the attractions, this solution uses the first calculation formula for screening. The formula is: AVG>Z, where AVG represents the daily average of the number of likes and collections of the corresponding attractions on the preset platform in the past month, and Z is the median of the daily collection of all attractions within the scope of the tour destination, including the specific demand type keywords. Only when the attraction meets the condition of AVG>Z will it be stored in the target attraction recommendation library.
[0116] In this way, the program ensures that the recommended attractions not only meet the basic needs of customers, but are also popular attractions that are loved by other tourists. The goal of this program is to provide customers with a personalized and high-quality travel recommendation experience to help them better plan and enjoy their trip.
[0117] Figure 5 It is a flowchart of automatically supplementing restaurant recommendations based on tour duration recommendation results in a method for classifying, benchmarking, screening and configuring cultural and tourism plans in one embodiment of the present invention.
[0118] like Figure 5 As shown, in one or more embodiments, preferably, the automatic recommendation of a supplementary restaurant based on the result of the tour duration recommendation specifically includes:
[0119] S501, determining the recommended tour time for each scenic spot in the target scenic spot recommendation library at the current moment and extracting it;
[0120] S502, obtaining catering constraints of the customer's tour purpose, and generating recommended meals within the tour range;
[0121] S503: If it is determined that the recommended sightseeing time satisfies the second calculation formula, the recommended meals that meet the catering constraints must be determined in advance in the corresponding scenic spot;
[0122] S504, setting a recommended meal that satisfies the catering constraint condition and is closest to the corresponding scenic spot for each scenic spot that does not satisfy the second calculation formula;
[0123] S505, generating recommended meals according to the target scenic spot recommendation library at the current moment;
[0124] The second calculation formula is:
[0125] s>0.5×T
[0126] Among them, s is the tour duration and T is days.
[0127] In the embodiment of the present invention, in order to provide a more complete travel experience, the solution automatically recommends additional restaurants based on the recommended tour duration. First, the solution extracts the recommended tour duration for each attraction from the target attraction recommendation library. Next, the solution obtains the customer's dining constraints, such as taste preferences, budget constraints, etc., in order to generate recommended meals that meet their needs.
[0128] During the recommendation process, this solution uses the second calculation formula to determine the relationship between the scenic spot tour time and meal recommendations. The formula is: s>0.5×T, where s is the tour time and T is the time of a day (in hours). If the recommended tour time of a scenic spot meets this formula, that is, the tour time exceeds half a day, this solution will determine and recommend meals that meet the customer's dining constraints in advance in the corresponding scenic spot.
[0129] For scenic spots that do not meet the second calculation formula, that is, scenic spots with a shorter visiting time, this solution will look for recommended meals outside the scenic area that are closest and meet the customer's dining constraints, ensuring that customers can enjoy suitable dining options during their short stay.
[0130] Finally, this solution generates a complete list of recommended meals based on the current target attraction recommendation library, which not only takes into account the tour duration, but also meets the customer's personalized dining needs. Such a recommendation strategy aims to provide customers with a convenient and delicious travel experience.
[0131] Figure 6 It is a flowchart of completing the generation of a tourism plan database according to the tour duration, restaurant and scenic spot locations in a cultural tourism plan classification, benchmarking, screening and configuration method in one embodiment of the present invention.
[0132] like Figure 6 As shown, in one or more embodiments, preferably, the generation of the travel program database according to the tour duration, restaurant and attraction locations specifically includes:
[0133] S601, extracting the total duration of a single-day tour required by the customer;
[0134] S602. Generate a route plan one by one according to the recommended meals and the target scenic spot recommendation library;
[0135] S603. Make the route driving time satisfy the third calculation formula;
[0136] S604. Generate all the solutions one by one according to the total number of days required by the customer, and generate them into a tourism solution database;
[0137] The third calculation formula is:
[0138] T L +C+J<Y
[0139] Wherein, Y is the total daily tour duration, C is the estimated dining time, J is the estimated scenic spot time, and T L is the route driving time.
[0140] In the embodiment of the present invention, in the process of generating the tourism solution database, this solution first extracts the total daily tour duration (Y) required by the customer. Then, according to the recommended meals and the target scenic spot recommendation library generated before, this solution plans the tour routes for the customer one by one. To ensure the tour efficiency, this solution requires that the sum of the route driving time (TL), the estimated dining time (C), and the estimated scenic spot tour time (J) does not exceed the total daily tour duration (Y) set by the customer. This ensures that the customer can reasonably arrange time within a day and fully enjoy the tourism experience.
[0141] To meet this requirement, this solution applies the third calculation formula: TL + C + J < Y. When planning the route, this solution considers the distance between scenic spots, traffic conditions, and the location of dining places to ensure that the sum of the driving time, dining time, and tour time does not exceed the total daily tour duration.
[0142] Finally, according to the total number of days required by the customer, this solution combines and optimizes the above-generated individual tourism solutions to form a complete tourism solution database. This database will provide customers with diverse tourism options to meet different itinerary preferences and time arrangements. Through such a solution database, this solution aims to provide customers with more personalized, efficient, and fulfilling tourism planning services.
[0143] Figure 7 It is a flowchart of extracting the popularity information of scenic spots and restaurants in each solution, extracting the route popularity and the proportion of driving distance, and automatically displaying them in a method for classifying, benchmarking, screening, and configuring cultural and tourism solutions according to an embodiment of the present invention.
[0144] As Figure 7 shown, in one or more embodiments, preferably, the extracting the popularity information of scenic spots and restaurants in each solution, extracting the route popularity and the proportion of driving distance, and automatically displaying them specifically includes:
[0145] S701, extracting the popularity information of the scenic spots and restaurants in each plan, and generating route popularity using the fourth calculation formula;
[0146] S702, extracting all journey durations and generating a total travel time using the fifth calculation formula;
[0147] S703, forming a travel ratio according to the total duration of the cultural tour, and displaying the plan information online, sorting each plan according to the travel ratio and route popularity, and giving priority to displaying plans with high popularity and low travel ratio;
[0148] The fourth calculation formula is:
[0149]
[0150] Among them, LR is the route heat, r i is the number of newly liked comments for the i-th scenic spot in the scheme in the past month;
[0151] The fifth calculation formula is:
[0152]
[0153] Among them, TC is the total travel time, Tj is the total length of the j-th trip, and M is the total number of trips in the plan;
[0154] The sixth calculation formula is:
[0155] B=TC÷TT
[0156] Among them, B is the proportion of driving time, and TT is the total travel time.
[0157] In an embodiment of the present invention, after generating a travel plan database, the present solution can further extract and analyze the popularity information of attractions and restaurants in each plan, and calculate the total travel time and travel ratio of each plan, so as to provide customers with a more detailed and intuitive plan display.
[0158] First, this solution extracts the popularity information of attractions and restaurants in each solution. For attractions, this solution can use the fourth calculation formula to calculate the route popularity (LR). This formula accumulates the number of new likes (ri) for each attraction in the solution in the past month to obtain the popularity of the entire route. In this way, routes with high popularity often represent more popular and attractive tourist destination combinations.
[0159] Secondly, this solution extracts the total journey time and uses the fifth calculation formula to calculate the total travel time (TC). This formula adds the total number of journey segments (M) of each solution and the total length of each journey (Tj) to obtain the total journey time of the entire trip. This helps customers understand the proportion of driving time during the trip and better plan their itinerary.
[0160] Next, this solution calculates the driving ratio (B) based on the total duration of the cultural tour. Using the sixth calculation formula, this solution divides the total travel driving time (TC) by the total travel time (TT) to obtain the driving ratio. This ratio can reflect the ratio of driving or riding time to the total time during the trip, helping customers better evaluate the convenience and comfort of each solution.
[0161] Finally, this solution displays the information of each solution online and sorts them according to the travel time ratio and route popularity. This solution gives priority to solutions with high popularity and low travel time ratio, so that customers can find popular and time-saving travel solutions more quickly. Through online display and sorting functions, customers can more conveniently compare and choose travel solutions that suit them.
[0162] In summary, by extracting and analyzing the popularity information of attractions and restaurants, and calculating the total travel time and travel ratio, this solution can provide customers with a more comprehensive, intuitive and convenient travel plan display. This will help customers make more informed travel decisions and improve their travel experience and satisfaction.
[0163] According to a second aspect of an embodiment of the present invention, a system for classifying, benchmarking, screening and configuring cultural and tourism solutions is provided.
[0164] Figure 8 It is a structural diagram of a cultural and tourism solution classification, benchmarking, screening and configuration system according to an embodiment of the present invention.
[0165] In one or more embodiments, preferably, the cultural tourism scheme classification benchmarking screening configuration system includes:
[0166] The scenic spot description module 801 is used to form a description of the scenic spots corresponding to each area by means of web crawling;
[0167] The main image and tour duration recommendation module 802 is used to generate the main image and tour duration recommendation according to the scenic spot classification;
[0168] The scenic spot recommendation library module 803 is used to obtain the customer's sightseeing needs and form a basic sightseeing scenic spot recommendation library;
[0169] The restaurant recommendation module 804 is used to automatically make additional restaurant recommendations based on the results of the tour duration recommendation;
[0170] The route recommendation module 805 is used to generate a travel plan database based on the tour duration, restaurant and scenic spot locations;
[0171] The display module 806 is used to extract the popularity information of the attractions and restaurants in each plan, extract the route popularity and the travel ratio for automatic display.
[0172] In the embodiment of the present invention, a system suitable for different structures is realized through a series of modular designs. The system can achieve closed-loop, reliable and efficient execution through collection, analysis and control.
[0173] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0174] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided. Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. Fig. 9 The electronic device shown is a general cultural tourism scheme classification, benchmarking, screening and configuration device. The electronic device can be a smart phone, tablet computer and other devices. As shown, the electronic device 900 includes a processor 901 and a memory 902. Among them, the processor 901 is electrically connected to the memory 902. The processor 901 is the control center of the terminal 900, which uses various interfaces and lines to connect the various parts of the entire terminal, and executes various functions of the terminal and processes data by running or calling the computer program stored in the memory 902, and calling the data stored in the memory 902, so as to monitor the terminal as a whole.
[0175] In this embodiment, the processor 901 in the electronic device 900 will load the instructions corresponding to the processes of one or more computer programs into the memory 902 according to the following steps, and the processor 901 will run the computer program stored in the memory 902 to realize various functions: forming a description of scenic spots corresponding to each area by means of network crawling; generating a main map and tour duration recommendations according to the classification of scenic spots; obtaining customer tour needs and forming a basic tour attraction recommendation library; automatically supplementing restaurant recommendations based on the results of tour duration recommendations; completing the generation of a travel plan database based on tour duration, restaurant and attraction locations; extracting the popularity information of scenic spots and restaurants in each plan, extracting route popularity and driving ratio for automatic display.
[0176] The memory 902 may be used to store computer programs and data. The computer programs stored in the memory 902 include instructions that can be executed in the processor. The computer programs may constitute various functional modules. The processor 901 executes various functional applications and data processing by calling the computer programs stored in the memory 902.
[0177] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0178] In the solution of the present invention, the best quality pictures and the most comprehensive scenic spot description are obtained through online scenic spot description and picture extraction.
[0179] In the solution of the present invention, the basic demand direction of the customer is obtained by extracting the demand online in advance, and then the optimal dynamic cultural and tourism route recommendation is quickly determined based on the basic demand direction.
[0180] Those skilled in the art will appreciate 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. Moreover, 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 and optical storage, etc.) containing computer-usable program code.
[0181] 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.
[0182] 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.
[0183] 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 1 The steps for the functions specified in one or more boxes.
[0184] 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 classifying, benchmarking, screening and configuring cultural and tourism solutions, characterized in that: The method includes: The description of scenic spots in each area is formed by web crawling; Generate main map and tour duration recommendation based on scenic spot classification; Obtain customers' travel needs and form a basic tourist attraction recommendation library; Automatically recommend additional restaurants based on the recommended tour duration; Complete the generation of a travel plan database based on tour duration, restaurant and attraction locations; Extract the popularity information of attractions and restaurants in each plan, extract the route popularity and driving ratio for automatic display; The extraction of popularity information of attractions and restaurants in each plan, extraction of route popularity and travel ratio for automatic display, specifically includes: Extract the popularity information of the scenic spots and restaurants in each plan, and generate the route popularity using the fourth calculation formula; Extract the total journey time and generate the total travel time using the fifth calculation formula; The driving ratio is calculated using the sixth calculation formula according to the total duration of the cultural tour, and the online plan information is displayed. During the display process, each plan is sorted according to the driving ratio and route popularity, and plans with high popularity and low driving ratio are displayed first; The fourth calculation formula is: ; Among them, LR is the route heat, r i is the number of newly liked comments for the i-th scenic spot in the scheme in the past month; The fifth calculation formula is: ; Among them, TC is the total travel time, Tj is the total length of the j-th trip, and M is the total number of trips in the plan; The sixth calculation formula is: B=TC÷TT Among them, B is the proportion of driving distance, and TT is the total travel time; The method of forming the scenic spot descriptions corresponding to each area by crawling the network specifically includes: Crawl the scenic spot information of different administrative blocks through web crawling; Crawl the scenic spot description corresponding to each scenic spot information, and finally store all the scenic spot information and scenic spot descriptions in a preset tour database; The generating of the main map and the recommended tour duration according to the classification of scenic spots specifically includes: Classifying scenic spots according to the preset sightseeing database; Extracting the tour duration of each scenic spot according to the preset tour database, and selecting the tour duration recommendation in the scenic spot description for extraction; The step of obtaining the customer's sightseeing needs and forming a basic sightseeing attraction recommendation library specifically includes: Get the customer's travel destination range and temperature range; Determine the type of travel needs of the current customer, and set specific types including at least taking photos and checking in, resting and vacationing, studying, exciting adventure, food experience and relaxing; According to different types, a corresponding scenic spot recommendation library is set, and the scenic spot recommendation library is formed by screening the scenic spots that meet the destination range and the temperature range using the first calculation formula, and the scenic spots that meet the first calculation formula are stored in the target scenic spot recommendation library; The first calculation formula is: AVG>Z Among them, the daily average of the number of likes and collections of the corresponding scenic spot in the past month on the AVG preset platform, and Z is the median of the daily collections of all scenic spots within the tourist destination, including the specific type of keywords; The automatic recommendation of additional restaurants based on the recommended results of the tour duration specifically includes: Determine the recommended visiting time of each attraction in the target attraction recommendation library at the current moment and extract it; Obtain the catering constraints of the customer's tour destination and generate recommended meals within the tour range; If it is determined that the recommended tour time meets the second calculation formula, the recommended meals that meet the catering constraints must be determined in advance in the corresponding scenic area; For each scenic spot that does not satisfy the second calculation formula, a recommended meal that satisfies the catering constraint condition and is closest to the corresponding scenic spot is set; Generate recommended meals based on the current target scenic spot recommendation library; The second calculation formula is: s>0.5×T Among them, s is the tour duration, T is days; The generation of the travel program database according to the tour duration, restaurant and scenic spot locations specifically includes: Extract the total duration of a single-day tour required by customers; Form route planning one by one based on the recommended meals and target attractions recommendation database; Make the path travel time satisfy the third calculation formula; According to the total number of days required by the customer, all plans are generated one by one to form a travel plan database; The third calculation formula is: T L +C+J<Y Among them, Y is the total duration of a single day tour, C is the estimated dining time, J is the estimated attractions, and T L is the route travel time.
2. A system for classifying, benchmarking, screening and configuring cultural and tourism solutions, characterized in that: The system is used to implement the method according to claim 1, and the system comprises: The scenic spot description module is used to form the scenic spot description corresponding to each area by means of web crawling; The main image and tour duration recommendation module is used to generate the main image and tour duration recommendation according to the classification of scenic spots; The attraction recommendation library module is used to obtain customer sightseeing needs and form a basic sightseeing attraction recommendation library; The restaurant recommendation module is used to automatically recommend additional restaurants based on the results of the tour duration recommendation; Route recommendation module, used to generate a travel plan database based on tour duration, restaurant and attraction locations; The display module is used to extract the popularity information of attractions and restaurants in each plan, extract the route popularity and driving ratio for automatic display.
3. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method of claim 1 when executed by a processor.
4. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to claim 1.
Citation Information
Patent Citations
Travel package recommendation method and device and computer equipment
CN107977883A
Route recommendation method and device, electronic equipment and storage medium
CN112559891A
Self-driving travel route planning method and system based on role collaborative recommendation
CN116579514A
Method for intelligently generating scenic spot playing scheme based on tourist portraits
CN117217872A