Intelligent tourism planning method, system and equipment based on generative model and medium

Through generative adversarial networks and optimization algorithms, combined with natural language processing technology, the problem of unsatisfied data acquisition and personalized needs in the existing technology has been solved, personalized and practical intelligent tourism planning has been achieved, the tourism planning process has been automated, and improved user satisfaction.

CN118628296AInactive Publication Date: 2024-09-10SHENZHEN TOURING TOURISM TECH CO LTD

Patent Information

Application Number
CN202410497072.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118628296A
    Figure CN118628296A
Patent Text Reader

Abstract

The embodiment of the invention discloses an intelligent travel planning method, system, equipment and medium based on a generative model, and the method comprises the steps: collecting user data which comprises historical travel data, comment data and travel preference data, learning the user data through the generative model, generating a user interest model, and carrying out the learning of the user interest model, and according to the user interest model, in combination with tourism destination information, generating a preliminary tourism plan conforming to user interests, and adjusting the preliminary tourism plan through an optimization algorithm to meet user tourism constraint conditions and generate a final tourism plan. According to the method and the device, the personalized demand of the user and the actual operation constraint are comprehensively considered, a highly customized tourism planning scheme can be generated, and the tourism experience and satisfaction of the user are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of intelligent information technology, and in particular to an intelligent tourism planning method, system, device and medium based on a generative model. Background Art

[0002] With the rapid development of information technology, personalized tourism services are becoming more and more popular. In existing tourism planning services, users usually need to manually search and filter a large amount of tourism information, which is not only time-consuming but also inefficient. In addition, traditional tourism planning methods often lack an in-depth understanding of users' personalized needs, resulting in the generated tourism planning schemes that may not meet users' specific preferences and needs.

[0003] In order to solve the above problems, researchers and companies have begun to explore the use of artificial intelligence technology to improve the intelligence level of tourism planning services. Among them, generative models, as a powerful machine learning tool, have shown their potential in generating personalized content in many fields. Generative models can generate new data instances that conform to specific distributions by learning a large number of data samples, which provides new possibilities for personalized tourism planning.

[0004] However, existing travel planning methods based on generative models still have some limitations. First, these methods often require a large amount of labeled data for training, which may be difficult to obtain in the tourism field. Second, existing methods may not fully consider users' personalized constraints, such as budget, schedule, and specific travel preferences, when generating travel plans. In addition, these methods may need further improvement and optimization in the construction of user interest models and the optimization of travel planning schemes.

[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose a generative model-based intelligent tourism planning method, system, device and medium to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a method for intelligent tourism planning based on a generative model, the method comprising:

[0009] Collecting user data, including historical travel data, review data, and travel preference data;

[0010] Using a generative model to learn the user data to generate a user interest model;

[0011] Generate a preliminary travel plan that meets the user's interests based on the user interest model and combined with the travel destination information;

[0012] The preliminary travel plan is adjusted through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

[0013] As a further improvement of the present application, the using a generative model to learn the user data to generate a user interest model includes:

[0014] Converting the user data into a new format;

[0015] Inputting the converted user data into a preset generative adversarial network, wherein the generative adversarial network includes a generator and a discriminator;

[0016] Initializing network parameters of the generator and the discriminator, generating new data samples from random noise, and distinguishing original data from generated data through the discriminator;

[0017] Generate an output probability value based on the differentiated original data and generated data, wherein the output probability value is the possibility of outputting the original data and the generated data;

[0018] Calculate the loss function according to the output probability value, and update the network parameters of the discriminator through a back propagation algorithm;

[0019] The data generated by the generator is evaluated using the updated discriminator, the loss function of the generator is calculated, and the network parameters of the generator are updated through the back-propagation algorithm.

[0020] As a further improvement of the present application, the method further includes:

[0021] Continuously performing adversarial training based on the updated discriminator network parameters and generator network parameters until the data generated by the generator enables the discriminator to be unable to accurately distinguish between the original data and the generated data, thus reaching a preset training stop condition;

[0022] Generate a user interest model based on the trained generator and discriminator.

[0023] As a further improvement of the present application, the method further includes:

[0024] According to the user interest model and in combination with the tourist destination information, generating a preliminary tourist plan that meets the user's interests includes:

[0025] Quantitatively analyzing the user interest model to extract key interest indicators;

[0026] Based on the extracted key interest indicators, an interest indicator vector set is generated, each vector in the interest indicator vector set represents an interest dimension;

[0027] Calculating respectively the comprehensive similarity score between each tourist destination in the preset tourist destination database and the interest index vector set;

[0028] The tourist destination with the highest comprehensive similarity score is determined as the recommended tourist destination.

[0029] As a further improvement of the present application, the method further includes:

[0030] generating a preliminary travel plan based on the recommended travel destinations;

[0031] Defining travel constraints of the user, wherein the travel constraints include budget constraints, time constraints, and travel preferences;

[0032] Transform the user's travel constraints into constraint parameters to evaluate the feasibility of preliminary travel planning;

[0033] Iteratively adjusting the preliminary travel plan based on the constraint parameters using a preset optimization algorithm;

[0034] In each iteration, the matching degree between the current preliminary travel plan and the user constraints is evaluated, and the parameters of the preset optimization algorithm are adjusted according to the evaluation results until the current preliminary travel plan meets all user constraints or reaches the preset number of iterations or time limit.

[0035] As a further improvement of the present application, the method further includes:

[0036] Building a multi-layer neural network model based on the user data and the travel destination as input;

[0037] Taking the user's travel preferences and travel constraints as network inputs, and calculating the fitness score of the preliminary travel plan through network forward propagation;

[0038] The neural network model is trained using the gradient descent algorithm to minimize the difference between the predicted fitness score and the actual user satisfaction;

[0039] The preliminary travel planning is adjusted in real time through the trained multi-layer neural network model to generate a final travel planning solution.

[0040] As a further improvement of the present application, the method further includes:

[0041] Analyze the review data using natural language processing technology to extract sentiment and keywords;

[0042] Build a user preference semantic model based on the extraction results;

[0043] Combining the historical travel data and the travel preference data, using a cluster analysis algorithm to construct user interest groups;

[0044] Matching the user interest groups with the semantic descriptions of tourist destinations to generate potential tourist interest points;

[0045] The user interest model is updated based on user data of other similar users in the user interest group through collaborative filtering technology.

[0046] In a second aspect, some embodiments of the present disclosure provide a smart tourism planning system based on a generative model, the system comprising:

[0047] A collection module, used to collect user data, wherein the user data includes historical travel data, comment data and travel preference data;

[0048] A generation module, used to learn the user data using a generative model to generate a user interest model;

[0049] A preliminary planning module, used to generate a preliminary travel plan that meets the user's interests based on the user interest model and combined with the travel destination information;

[0050] The final planning module is used to adjust the preliminary travel plan through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

[0051] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation method in the above-mentioned first aspect.

[0052] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any one of the implementations in the first aspect above is implemented.

[0053] The above-mentioned embodiments of the present disclosure have the following beneficial effects:

[0054] By using a generative model to learn the user's historical travel data, comment data and travel preference data, the present invention can generate a highly personalized user interest model, thereby providing a travel planning solution that is more in line with the user's personal taste and needs; compared with the traditional manual search and screening of travel information, the method of the present invention automates the travel planning process, greatly reducing the time and energy required by users to plan travel; the method of the present invention not only considers the user's travel preferences, but also fully considers the user's budget constraints, time constraints and other personalized constraints through optimization algorithms, so that the final travel planning solution is more practical and in line with the user's actual travel conditions; through natural language processing technology and cluster analysis algorithms, the present invention can extract emotional tendencies and keywords from the user's comment data to construct a more accurate user preference The semantic model provides data-driven decision support for tourism planning; in the process of generating the user interest model, the present invention adopts regularization technology and cross-validation method, which effectively improves the generalization ability of the model and enables it to adapt to the diverse needs of different user groups; using the trained multi-layer neural network model, the present invention can make real-time dynamic adjustments to the preliminary tourism plan and quickly respond to the changing needs of users and the update of market information; the intelligent tourism planning method of the present invention can be integrated into the existing tourism service platform, or run independently through electronic equipment and computer-readable storage media, with good system compatibility and broad application prospects; through collaborative filtering technology, the present invention can further refine and update the user interest model based on the interest groups of similar users, so that the tourism planning scheme is more accurate and diversified. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0056] Figure 1 is a flow chart of a method for intelligent tourism planning based on a generative model according to an embodiment of the present invention;

[0057] Figure 2 It is a principle block diagram of an intelligent tourism planning system based on a generative model according to an embodiment of the present invention.

[0058] Figure 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;

[0059] Figure 4 is a schematic diagram of the structure of a storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0060] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0061] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0062] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0063] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0064] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0065] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0066] Figure 1 The process 100 of some embodiments of the intelligent tourism planning method based on the generative model according to the present disclosure is shown. The intelligent tourism planning method based on the generative model includes the following steps:

[0067] Step S101, collecting user data, wherein the user data includes historical travel data, comment data and travel preference data;

[0068] Preferably, user data is collected, which is the basis of the entire smart tourism planning method. User data mainly includes three aspects: historical travel data, comment data and travel preference data. Historical travel data refers to the user's past travel records, including the destinations visited, the length of stay, the activities participated in, etc. Comment data comes from user feedback on the tourism platform, such as reviews of hotels and attractions. These data reflect the user's satisfaction and emotional inclination towards specific tourism elements. Travel preference data is the user's explicit choice or inclination towards tourism elements (such as destination type, accommodation standard, dining preferences, etc.). These data can be obtained through questionnaires, user registration information or user interaction on the tourism platform.

[0069] Step S102, using a generative model to learn the user data to generate a user interest model;

[0070] After collecting user data, the present invention uses a generative model to conduct in-depth learning on this data. A generative model is a machine learning algorithm that can learn the distribution of data and generate new data samples. In the present invention, the generative model specifically refers to a generative adversarial network (GAN), which consists of a generator and a discriminator. The goal of the generator is to generate realistic data samples, while the discriminator attempts to distinguish between real data and data generated by the generator. Through this adversarial process, the generator gradually learns how to generate new samples similar to real user data, thereby helping to build a user interest model.

[0071] It should be noted that in addition to generative adversarial networks, generative models can also use other types of generative models, such as variational autoencoders (VAE) or autoregressive models. In addition, the choice of optimization algorithm can also vary depending on the actual problem, such as using simulated annealing or particle swarm optimization algorithms. In the user data collection stage, in addition to obtaining data directly from users, user preferences can also be indirectly inferred by analyzing user behavior patterns on the Internet. These alternatives provide more flexibility and adaptability for smart tourism planning methods.

[0072] The user interest model is the core of the present invention. It is generated based on user data and is used to capture and simulate the user's travel preferences. The generative model extracts the user's preference for different travel elements by learning the user's historical travel behavior and comments, and forms a set of quantitative user interest indicators. These indicators can include preferences for specific destinations, choices of accommodation types, preferences for activities, etc., which together constitute a multi-dimensional representation of user interests.

[0073] Step S103, generating a preliminary travel plan that meets the user's interests based on the user interest model and combined with the travel destination information;

[0074] Preferably, based on the user interest model, the system starts to generate a preliminary travel plan. This step involves combining the user interest model with the travel destination information. The travel destination information may include introductions to attractions, lists of activities, accommodation options, dining recommendations, etc. The system analyzes the degree of match between this information and the user interest index, selects the travel destinations and activities that best match the user's interests, and forms a preliminary travel plan.

[0075] Step S104, adjusting the preliminary travel plan through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

[0076] In order to ensure that the travel plan not only meets the user's interests, but also meets the user's personalized constraints, the present invention uses an optimization algorithm to adjust the preliminary plan. These constraints may include the user's budget constraints, time arrangements, special needs, etc. Optimization algorithms, such as genetic algorithms, dynamic programming, or linear programming, can find the best or feasible travel planning solution under the premise of meeting these constraints. Through iterative calculations, the optimization algorithm gradually adjusts the planning details until a final travel plan is generated that meets both the user's interests and the user's constraints.

[0077] Furthermore, the using a generative model to learn the user data to generate a user interest model may also include:

[0078] Converting the user data into a new format;

[0079] Before using a generative model to learn, user data must be converted into a format suitable for model processing. This step may include data cleaning, standardization, and encoding. Data cleaning refers to removing invalid or erroneous data to ensure the quality of data input to the model. Standardization refers to scaling the data to a uniform range for easy model processing. Encoding involves converting non-numeric data (such as text or classification labels) into numerical features, which is usually achieved through techniques such as One-Hot Encoding or Word Embedding.

[0080] Inputting the converted user data into a preset generative adversarial network, wherein the generative adversarial network includes a generator and a discriminator;

[0081] Preferably, the format-converted user data is input into a preset generative adversarial network (GAN). A generative adversarial network is a special deep learning model that consists of two parts: a generator and a discriminator. The task of the generator is to generate new data samples, while the task of the discriminator is to evaluate the authenticity of these samples.

[0082] It should be noted that in addition to the standard generative adversarial network, other types of generative models can also be considered, such as conditional generative adversarial networks (cGAN), which allow additional conditional information to be added during the generation process, which may help to capture user preferences more accurately. In addition, the choice of loss function and optimization algorithm can also be adjusted according to the specific application scenario, such as using different loss functions to improve the stability and generation quality of the model, or using different optimization algorithms to speed up training or improve model performance.

[0083] Initializing network parameters of the generator and the discriminator, generating new data samples from random noise, and distinguishing original data from generated data through the discriminator;

[0084] Preferably, the network parameters of the generator and discriminator are randomly initialized at the beginning. The generator starts with random noise and generates new data samples through its network structure. These noises can be regarded as "seeds" for generating new samples, and data with a specific structure is generated through the transformation of the network.

[0085] The discriminator receives the generated data from the generator and the actual user data and tries to distinguish between the two. It outputs a probability value for each set of data, indicating the likelihood that the set of data is real data.

[0086] Generate an output probability value based on the differentiated original data and generated data, wherein the output probability value is the possibility of outputting the original data and the generated data;

[0087] Preferably, the output probability values ​​generated by the discriminator for the original data and the generated data are essentially the model's assessment of the authenticity of the data. These probability values ​​are the basis for calculating the loss function in the subsequent training process.

[0088] Calculate the loss function according to the output probability value, and update the network parameters of the discriminator through a back propagation algorithm;

[0089] Preferably, a loss function is calculated based on the output probability value of the discriminator, which measures the ability of the discriminator to distinguish true and false data. If the discriminator can accurately distinguish true and false data, the value of the loss function will be small. Through the back propagation algorithm, the network parameters of the discriminator are optimized according to the loss function to improve its ability to distinguish true and false data.

[0090] The data generated by the generator is evaluated using the updated discriminator, the loss function of the generator is calculated, and the network parameters of the generator are updated through the back-propagation algorithm.

[0091] The goal of the discriminator is to correctly distinguish between real data and fake data generated by the generator. The loss function consists of two parts: the discriminant loss for real data and the discriminant loss for generated data. When the discriminator receives real data, it should output a high probability, indicating that the data is real; when it receives generated data, it should output a low probability, indicating that the data is fake. If the discriminator can do this, its loss function value will be small. The goal of the generator is to deceive the discriminator into thinking that the data generated by the generator is real. The loss function of the generator is based on the discriminator's evaluation of the generated data. If the discriminator evaluates the generated data with a high probability, that is, it thinks that the data is real, then the generator's loss function value will be small.

[0092] In Generative Adversarial Networks (GANs), the loss function is a key indicator for measuring model performance, which defines the goal of model training. The following is a specific explanation of the loss function in GANs and the steps associated with it:

[0093] 1. Generate data labels: For real data sets, generate corresponding high-probability labels; for fake data sets generated by the generator, generate corresponding low-probability labels.

[0094] 2. Calculate the loss of the discriminator: Using the labels of the real data and fake data, and the discriminator’s predictions on these data, calculate the discriminator’s loss.

[0095] 3. Update the discriminator parameters: Based on the results of the loss function, adjust the parameters of the discriminator to make it better at distinguishing true from false data.

[0096] 4. Generate new fake data: Use the updated discriminator to guide the generator to generate new fake data.

[0097] 5. Calculate the loss of the generator: Use the discriminator to evaluate the new fake data generated by the generator and calculate the loss of the generator.

[0098] 6. Update the generator parameters: According to the result of the loss function, adjust the parameters of the generator to make the generated data more realistic and more difficult for the discriminator to recognize.

[0099] 7. Repeat the training process: Alternately update the parameters of the discriminator and generator until the quality of the data generated by the generator meets the requirements or the preset number of training times is reached.

[0100] Preferably, the updated discriminator is used to evaluate the data generated by the generator and calculate the loss function of the generator. The loss function of the generator is usually based on the evaluation of the discriminator on the data it generates, with the aim of making it increasingly difficult for the discriminator to distinguish between true and false data. The back propagation algorithm is also used to update the network parameters of the generator according to its loss function. Throughout the training process, the parameters of the generator and the discriminator are updated alternately, forming a dynamic adversarial process. As the training progresses, the data samples generated by the generator become more and more realistic, while the discriminator's discriminative ability becomes stronger and stronger. Ultimately, the generator is able to generate data samples that are difficult to distinguish by the discriminator, at which point the user interest model training can be considered complete.

[0101] Furthermore, the method further comprises:

[0102] Continuously performing adversarial training based on the updated discriminator network parameters and generator network parameters until the data generated by the generator enables the discriminator to be unable to accurately distinguish between the original data and the generated data, thus reaching a preset training stop condition;

[0103] Preferably, continuing the adversarial training may include: before the adversarial training is performed, ensuring that the network parameters of the discriminator and the generator have been initialized and a certain amount of user data is available as a training set.

[0104] The adversarial training process begins, and in each iteration, the generator generates new data samples from random noise. The discriminator receives these generated data samples and real user data samples randomly drawn from the training set. The discriminator's task is to determine as accurately as possible whether the input data is real user data or data generated by the generator. To do this, it outputs a probability value that represents the likelihood that the input data is real data.

[0105] Preferably, the loss function is calculated based on the output of the discriminator. For the discriminator, if it mistakenly judges the generated data as real data, or judges the real data as generated data, the loss function value will increase. The back propagation algorithm is used to update the network parameters of the discriminator according to the value of the loss function, so that the discriminator can more accurately judge the authenticity of the data in the next iteration.

[0106] Preferably, the generator receives feedback from the discriminator. The loss function of the generator is based on the discriminator's evaluation of its generated data, that is, the probability that the discriminator considers these generated data to be real data. According to this loss function, the network parameters of the generator will also be updated. The parameter update process of the generator and the discriminator is carried out alternately to form a loop. This loop iteration will continue until the quality of the data generated by the generator is high enough so that the discriminator cannot effectively distinguish between true and false data. In other words, when the discriminator gives a high probability value to the generated data, that is, when it considers that these data are no different from real data, it can be considered that the generator has been successfully trained. The training stop conditions can be diverse. For example, it can be set that the loss function of the generated data drops below a certain threshold, or the performance of the discriminator does not improve significantly after several consecutive iterations. In addition, the stop condition can also be set according to the actual training time or number of iterations.

[0107] Preferably, once the training stop condition is reached, the trained generator and discriminator can be used to generate a user interest model. This model can capture the user's travel preferences and points of interest, providing a personalized basis for the next travel planning.

[0108] Generate a user interest model based on the trained generator and discriminator.

[0109] Preferably, using the trained generator, we can generate a series of virtual data samples that match the user's historical behavior and preferences. These samples reflect the user's potential interests and preferences, and can be used to build a user interest model, thereby guiding the generation of travel plans that meet the user's interests.

[0110] Preferably, generating a preliminary travel plan that meets the user's interests based on the user interest model and in combination with the travel destination information further includes:

[0111] Quantitatively analyzing the user interest model to extract key interest indicators;

[0112] Preferably, the quantitative analysis of the user interest model is achieved by converting the user's interests and preferences into numerical data. For example, if the user prefers beach vacations, the characteristics of beach vacations such as "sunshine", "beach", "water activities", etc. can be assigned numerical values, such as scores from 1 to 10, to quantify the user's preference for these characteristics.

[0113] On the basis of quantification, key factors that influence users' travel preferences are extracted through data analysis techniques (such as cluster analysis, principal component analysis, etc.). These factors may include the climate type, cultural background, types of activities, and food characteristics of the destination.

[0114] Based on the extracted key interest indicators, an interest indicator vector set is generated, each vector in the interest indicator vector set represents an interest dimension;

[0115] For each tourist destination in the database, we first need to construct a feature vector. This feature vector contains multiple attributes of the destination, such as climate conditions, types of attractions, types of activities, dining features, etc. Each attribute has a corresponding weight value, which reflects the importance of the attribute to the tourist experience. For example, if a destination is famous for beach activities, then the weight value of the attribute "beach quality" may be higher.

[0116] Preferably, the extracted key interest indicators are used to construct a vector set, where each vector represents the user's preference in a certain tourism interest dimension. For example, if the user's preferences include beach activities, historical and cultural relics, and local cuisine, three vectors can be constructed to represent the preference strength of these three dimensions respectively.

[0117] Since different feature attributes may have different dimensions and value ranges, the feature vector and interest indicator vector need to be standardized before calculating the similarity. Standardization can be performed by methods such as maximum and minimum value normalization and Z score normalization to ensure that all feature values ​​are on the same comparison scale.

[0118] Calculating respectively the comprehensive similarity score between each tourist destination in the preset tourist destination database and the interest index vector set;

[0119] Preferably, for each destination in the tourist destination database, a destination feature vector similar to the user interest index vector is generated based on the tourist products and services it provides. Then, a similarity calculation method (such as cosine similarity) is used to evaluate the degree of match between the user interest vector and each destination feature vector to obtain a comprehensive similarity score for each destination.

[0120] Preferably, a suitable similarity calculation method is selected to evaluate the similarity between the feature vector of the tourist destination and the user interest index vector. Commonly used similarity calculation methods include cosine similarity, Euclidean distance, Manhattan distance, etc. Cosine similarity is a common choice because it can effectively measure the similarity of two vectors in direction, not just their absolute value. Using the selected similarity calculation method, the feature vector of each tourist destination is compared with the user interest index vector to obtain a comprehensive similarity score for each destination. For example, if cosine similarity is used, the calculation formula is the dot product of the two vectors divided by the product of their modules. The closer the calculation result is to 1, the higher the match between the tourist destination and the user's interest.

[0121] If the user's interest index vector contains multiple dimensions, then all dimensions need to be considered when calculating the comprehensive similarity score. A score can be calculated for the similarity of each dimension, and then a comprehensive similarity score can be obtained through weighted average or other synthesis methods. All tourist destinations are sorted according to the calculated comprehensive similarity score. The destination with the highest score is the recommended tourist destination that best matches the user's interest.

[0122] The tourist destination with the highest comprehensive similarity score is determined as the recommended tourist destination.

[0123] According to the calculated comprehensive similarity score, the destination with the highest score is selected as the recommended travel destination for the user. If there are multiple destinations with similar scores, they can be sorted according to the user's preference strength for a specific interest dimension, and the destination that best matches the user's current preference can be selected. Based on the recommended travel destinations, a preliminary travel plan is generated that includes elements such as accommodation, transportation, attractions, and activities. In the planning, priority is given to points of interest with higher scores in the user's interest model. For example, if the user has a high interest in beach activities, beach resort accommodation and related water activities are arranged in the plan. On the basis of the preliminary plan, each link is further refined. For example, if the user is interested in history and culture, a trip to visit a historical museum or monument can be arranged for the user. At the same time, the plan is adjusted based on user feedback and real-time travel information, such as recommending different activities according to seasonal changes or recommending corresponding restaurants according to the user's dietary preferences.

[0124] Preferably, the preliminary travel plan is presented to the user, and a feedback mechanism is provided so that the user can express satisfaction with the plan or make suggestions for modification. User feedback is used to further refine the travel plan and update the user interest model so that more personalized services can be provided in the future. As the frequency of user use of the system increases, new user feedback and behavior data are continuously collected to continuously optimize the user interest model and travel planning algorithm, so that each generated travel plan can be closer to the user's real needs.

[0125] Furthermore, the method further comprises:

[0126] generating a preliminary travel plan based on the recommended travel destinations;

[0127] Preferably, after determining the recommended tourist destination, the system will generate a preliminary travel plan based on the destination. This plan will include basic itinerary arrangements, such as arrival and departure times, major sightseeing activities, accommodation and dining options, etc.

[0128] Specifically, based on the comprehensive similarity scores of the user interest model and the tourist destinations, the destination with the highest score is selected as the core of the travel planning. This destination matches the user interest model in multiple interest dimensions, such as climate, culture, activities, etc. In-depth research is conducted on the selected tourist destinations to collect relevant information including but not limited to attractions, activities, accommodation, catering, transportation, etc. This information constitutes the basic data for travel planning. Based on the itinerary framework, the specific activities of each day are further refined. Time is allocated for each activity, considering the geographical proximity and reasonable connection between activities in time. At the same time, considering the user's dining preferences and accommodation requirements, appropriate dining locations and accommodation facilities are arranged.

[0129] Preferably, a cost estimate is made for each item in the preliminary plan, including transportation, tickets, food, accommodation, etc., to ensure that the total cost is within the user's budget. Adjust the compactness of the itinerary according to the user's time constraints. If the user has limited time, prioritize the highest-rated activities and attractions, while ensuring that the itinerary is not too tight and leaves the user enough rest and free time. Recommend suitable accommodation and transportation methods for the user based on the itinerary. Consider the distance from the accommodation to each attraction, transportation convenience, and the user's accommodation preferences.

[0130] Defining travel constraints of the user, wherein the travel constraints include budget constraints, time constraints, and travel preferences;

[0131] Preferably, users need to provide their travel constraints, which may include budget constraints, time constraints, and specific travel preferences. For example, users may have a maximum budget, a fixed number of travel days, and preferences for specific types of activities or attractions.

[0132] Transform the user's travel constraints into constraint parameters to evaluate the feasibility of preliminary travel planning;

[0133] Preferably, the user's travel constraints are converted into quantifiable parameters, which will be used to evaluate and adjust the preliminary travel plan. For example, the budget limit can be converted into the maximum spending limit for each travel project, and the time limit can be converted into the maximum visiting time for each activity or attraction.

[0134] Iteratively adjusting the preliminary travel plan based on the constraint parameters using a preset optimization algorithm;

[0135] Preferably, the preliminary travel planning is iteratively adjusted based on the constraint parameters using a preset optimization algorithm, such as a genetic algorithm, particle swarm optimization or linear programming, etc. In a genetic algorithm, the solution of the travel planning can be continuously optimized by simulating the process of natural selection.

[0136] In each iteration, the matching degree between the current preliminary travel plan and the user constraints is evaluated, and the parameters of the preset optimization algorithm are adjusted according to the evaluation results until the current preliminary travel plan meets all user constraints or reaches the preset number of iterations or time limit.

[0137] Preferably, at each iteration, the system evaluates the degree of match between the current preliminary travel plan and the user's constraints. This can be achieved by calculating the degree to which the plan meets the constraints, such as the percentage of budget used, the rationality of time allocation, etc. Based on the evaluation results, the system will adjust the parameters of the optimization algorithm to better meet the user's constraints. For example, if the current plan exceeds the budget limit, the algorithm can increase the preference weight for travel activities with higher cost-effectiveness.

[0138] Preferably, the iteration process will continue until the tour plan satisfies all of the user's constraints, or until a preset number of iterations or time limit is reached. If a constraint is reached, the plan will be provided to the user as the final plan, even if it is not optimal. Once the iteration process is complete, the system will generate a final tour plan that takes into account all of the user's constraints. This plan will satisfy the user's travel preferences as much as possible while staying within the budget and time constraints. The user can review the final tour plan and provide feedback. Based on the user's feedback, the system can make some fine-tuning to ensure that the plan fully meets the user's expectations.

[0139] Through the above steps, the present invention can provide a user with a travel plan that satisfies personal preferences and takes actual constraints into consideration, thereby improving the practicality of the travel plan and user satisfaction.

[0140] Furthermore, the method may also include:

[0141] Building a multi-layer neural network model based on the user data and the travel destination as input;

[0142] Preferably, a multi-layer neural network model is constructed using user data and tourist destination information as input features. This model can use different types of neural network structures such as fully connected layers, convolutional layers, or recurrent layers to adapt to the characteristics of the data. For example, if the user data contains text information, a convolutional neural network (CNN) can be used to extract features; if the data has time series characteristics, a recurrent neural network (RNN) can be used.

[0143] Taking the user's travel preferences and travel constraints as network inputs, and calculating the fitness score of the preliminary travel plan through network forward propagation;

[0144] Preferably, the input layer of the network includes the user's travel preferences and constraints. Travel preferences may include preferences for destination types, activities, restaurants, etc.; constraints may include budget, time, special needs, etc. These inputs are converted into numerical data through one-hot encoding or word embedding to adapt to the processing of the neural network. The hidden layer of the neural network is responsible for extracting deep features and patterns of the input data. Designing multiple hidden layers can increase the learning ability of the model, enabling it to capture more complex relationships. The output layer is responsible for generating the fitness score of the preliminary travel plan, that is, the model's prediction of the satisfaction with the plan.

[0145] Preferably, the user's travel preferences and constraints are input into the neural network, and the fitness score of the preliminary travel plan is calculated through forward propagation. This score reflects the degree of match between the current plan and the user's preferences and constraints.

[0146] The neural network model is trained using the gradient descent algorithm to minimize the difference between the predicted fitness score and the actual user satisfaction;

[0147] Preferably, in order to make the prediction of the neural network model more accurate, the model needs to be trained. Using the gradient descent algorithm, the network weights are updated according to the difference between the predicted fitness score and the actual user satisfaction. Through multiple iterations of training, the model will gradually learn how to generate a travel plan that better meets user expectations. After the training is completed, the preliminary travel plan is adjusted in real time using a multi-layer neural network model. According to the fitness score output by the model, the various elements in the travel plan are optimized, such as adjusting the order of activities, changing the accommodation location, replanning the transportation route, etc.

[0148] The preliminary travel planning is adjusted in real time through the trained multi-layer neural network model to generate a final travel planning solution.

[0149] Preferably, the final travel planning scheme is generated through real-time adjustment of the neural network model. This scheme not only takes into account the user's travel preferences and constraints, but also improves the adaptability and satisfaction of the plan through intelligent optimization of the model. The final travel planning scheme is presented to the user and user feedback is collected. User feedback can be used to further adjust the travel plan, and can also be used to update the neural network model to more accurately capture user needs. As user feedback accumulates, the neural network model will continue to learn, automatically adjust and optimize its own parameters. This enables travel planning services to continue to improve and better meet the personalized needs of different users.

[0150] Furthermore, the method may also include:

[0151] Analyze the review data using natural language processing technology to extract sentiment and keywords;

[0152] Preferably, sentiment analysis tools are used to process user comment data. Sentiment analysis tools can identify positive, negative or neutral sentiment in user comments and label each comment accordingly. In addition, keyword extraction algorithms such as TF-IDF (term frequency-inverse document frequency) or Word2Vec are used to extract keywords reflecting user preferences from the comments.

[0153] Build a user preference semantic model based on the extraction results;

[0154] Preferably, the extracted sentiment and keywords are converted into semantic features to construct a semantic model of user preferences. This model can use topic modeling techniques, such as LDA (latent Dirichlet allocation), to identify the topics implicit in the comments and quantify the user's preference for these topics.

[0155] Combining the historical travel data and the travel preference data, using a cluster analysis algorithm to construct user interest groups;

[0156] Preferably, a clustering analysis algorithm is used to group users with similar travel preferences into a group to form interest groups. Each user is assigned to the most similar group based on the semantic features in its interest model. Clustering can be based on the similarity of user preferences, such as using cosine similarity to calculate the similarity between users.

[0157] Matching the user interest groups with the semantic descriptions of tourist destinations to generate potential tourist interest points;

[0158] Preferably, for each tourist destination, a semantic description is created, including information about the attractions, culture, activities, etc. Then, the semantic features of the user interest group are matched with the semantic description of the tourist destination to find the destination features most relevant to the user group.

[0159] The user interest model is updated based on user data of other similar users in the user interest group through collaborative filtering technology.

[0160] Preferably, collaborative filtering techniques are used to provide users with personalized travel planning suggestions based on the travel behaviors of other users in the user's interest group. For example, if many users in the group give positive reviews to a particular cultural event, then this event may be recommended to other users in the group. As the user's interests evolve and new data is collected, collaborative filtering techniques are used to update the user's interest model in real time. This may involve adjusting the weights in the model to reflect the user's latest preferences. A preliminary travel plan is generated by combining the user interest model and travel destination information. The plan is then iteratively optimized using optimization algorithms, such as gradient descent or genetic algorithms, to better meet the user's preferences and constraints.

[0161] Preferably, the generated travel plan is provided to the user and user feedback is collected. User feedback can be direct evaluation or adjustments made by the user to certain parts of the plan. This feedback is used to further refine the user interest model and improve the personalization of the travel plan. Over time, user feedback and behavioral data are accumulated to train and optimize the neural network model. This enables the model to more accurately predict user satisfaction and generate travel plans that better meet user expectations. Provide users with transparency about the logic of plan generation, explaining why certain destinations or activities are recommended. This can be done by showing keywords or topics in the user interest model and how they match the characteristics of the travel destination.

[0162] For example: suppose we have a registered user who provides his historical travel data, including the destinations he has visited, the activities he has participated in, and his accommodation preferences. At the same time, he also leaves comments on these trips, as well as some clear travel preferences, such as "like seaside vacations" and "prefer economical accommodation". Convert the user's text comments into structured data, use sentiment analysis tools to determine sentiment tendencies, and extract keywords such as "seaside" and "economy". Historical travel data and preference data are converted into numerical indicators for easy processing by machine learning models. Use generative adversarial networks (GANs) to train user interest models. Initialize the generator and discriminator network parameters of GAN. Through adversarial training, the generator learns to generate new samples similar to the user's historical data, while the discriminator learns to distinguish between true and false data. During the training process, the network parameters are continuously updated until the data generated by the generator is sufficient for the discriminator to distinguish.

[0163] Preferably, after training is completed, a user interest model is constructed based on the data samples generated by the generator. The model represents the user's interest points in the form of vectors, such as seaside activity preferences, economical accommodation preferences, etc. Using quantitative analysis, the user interest model is matched with each destination feature in the tourist destination database to calculate the similarity score. For example, if the user has a high tendency for seaside activities, then a destination with rich seaside resources will get a higher score. Several destinations with the highest comprehensive similarity scores are selected as recommendations to provide users with choices.

[0164] Preferably, a preliminary travel plan is generated based on the recommended destination selected by the user, including attractions, activities, accommodation and transportation. The user defines the budget limit, time limit and specific preferences for the travel, such as "no more than 5,000 yuan", "within 7 days", and "hope to have seaside activities". An optimization algorithm, such as a genetic algorithm, is used to iteratively adjust the preliminary plan according to the user's constraints, evaluate the feasibility of the plan after each iteration, and adjust the algorithm parameters to approach the user's actual needs.

[0165] Preferably, a multi-layer neural network model is constructed, user preferences and constraints are input, and the fitness score of the travel planning is calculated through forward propagation. The gradient descent algorithm is used to train the neural network to minimize the difference between the predicted fitness score and the user satisfaction. The collaborative filtering technology is used to further refine the user interest model based on similar user data in the user interest group, and provide the model with more dimensional personalized recommendations. After the above steps, the final travel planning scheme is output, which integrates user interests, preferences, budget and time constraints to provide users with a personalized and practical travel plan.

[0166] The above-mentioned embodiments of the present disclosure have the following beneficial effects: first, the method can comprehensively collect and analyze the user's historical travel data, comment data and travel preferences, and use a generative adversarial network to generate a user interest model that accurately reflects the user's interests, thereby providing a solid data foundation for personalized tourism planning; second, by quantitatively analyzing the user interest model and combining it with the tourism destination information, the method can generate a preliminary tourism plan that is highly matched with the user's interests, thereby greatly improving the relevance and attractiveness of the tourism plan; third, the method uses an optimization algorithm to iteratively adjust the preliminary plan, fully considering the user's budget constraints, time constraints and other personalized constraints, and ensuring the feasibility and personalization of the final planning scheme; in addition, the method realizes real-time evaluation and intelligent adjustment of the fitness of the tourism plan by constructing a multi-layer neural network model, thereby further improving the accuracy of the planning scheme and user satisfaction; finally, the method uses natural language processing technology to deeply analyze user comments, combines cluster analysis and collaborative filtering technology, continuously optimizes the user interest model, realizes personalized recommendations based on user interest groups, and makes tourism planning services more intelligent and humane.

[0167] In summary, the method of the present invention can provide highly accurate and personalized travel planning services on the basis of fully considering the personalized needs of users, significantly improving the travel experience and satisfaction of users, and has important practical value and broad application prospects.

[0168] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an intelligent tourism planning system based on a generative model. These device embodiments are similar to Figure 1 Corresponding to the method embodiment shown, the intelligent tourism planning system based on the generative model can be specifically applied to various electronic devices.

[0169] like Figure 2 As shown, in some embodiments, a generative model-based intelligent tourism planning system 200 includes:

[0170] A collection module 201 is used to collect user data, wherein the user data includes historical travel data, comment data and travel preference data;

[0171] A generation module 202, configured to learn the user data using a generative model to generate a user interest model;

[0172] A preliminary planning module 203 is used to generate a preliminary travel plan that meets the user's interests based on the user interest model and combined with the travel destination information;

[0173] The final planning module 204 is used to adjust the preliminary travel plan through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

[0174] It is understandable that the modules recorded in the generative model-based intelligent tourism planning system 200 and the reference Figure 1 The steps in the described intelligent tourism planning method based on the generative model correspond to each other. Therefore, the operations, features and beneficial effects described above for the intelligent tourism planning method based on the generative model are also applicable to the intelligent tourism planning system 200 based on the generative model and the modules contained therein, and will not be repeated here.

[0175] Reference below Figure 3, which shows a schematic diagram of the structure of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0176] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0177] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0178] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0179] Further, Figure 4 The schematic diagram of the structure of the storage medium of an embodiment of the present application is that the storage medium 4 of the embodiment of the present application stores program instructions 41 that can implement all the above methods, wherein the program instructions 41 can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.

[0180] It should be noted that in some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0181] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0182] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: collects user data, including historical travel data, comment data, and travel preference data; uses a generative model to learn the user data and generate a user interest model; generates a preliminary travel plan that meets the user's interests based on the user interest model and combined with travel destination information; adjusts the preliminary travel plan through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

[0183] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0184] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0185] The units described in some embodiments of the present disclosure may be implemented in software or in hardware. The units described may also be provided in a processor, and the functions described above herein may be performed at least in part by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0186] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. An intelligent tourism planning method based on a generative model, characterized in that: The method comprises: Collecting user data, including historical travel data, review data, and travel preference data; Using a generative model to learn the user data to generate a user interest model; Generate a preliminary travel plan that meets the user's interests based on the user interest model and combined with the travel destination information; The preliminary travel plan is adjusted through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

2. The method according to claim 1, characterized in that: The using a generative model to learn the user data to generate a user interest model includes: Converting the user data into a new format; Inputting the converted user data into a preset generative adversarial network, wherein the generative adversarial network includes a generator and a discriminator; Initializing network parameters of the generator and the discriminator, generating new data samples from random noise, and distinguishing original data from generated data through the discriminator; Generate an output probability value based on the differentiated original data and generated data, wherein the output probability value is the possibility of outputting the original data and the generated data; Calculate the loss function according to the output probability value, and update the network parameters of the discriminator through a back propagation algorithm; The data generated by the generator is evaluated using the updated discriminator, the loss function of the generator is calculated, and the network parameters of the generator are updated through the back-propagation algorithm.

3. The method according to claim 2, characterized in that The method further comprises: Continuously performing adversarial training based on the updated discriminator network parameters and generator network parameters until the data generated by the generator enables the discriminator to be unable to accurately distinguish between the original data and the generated data, thus reaching a preset training stop condition; Generate a user interest model based on the trained generator and discriminator.

4. The method according to claim 1, characterized in that: According to the user interest model and in combination with the tourist destination information, generating a preliminary tourist plan that meets the user's interests includes: Quantitatively analyzing the user interest model to extract key interest indicators; Based on the extracted key interest indicators, an interest indicator vector set is generated, each vector in the interest indicator vector set represents an interest dimension; Calculating respectively the comprehensive similarity score between each tourist destination in the preset tourist destination database and the interest index vector set; The tourist destination with the highest comprehensive similarity score is determined as the recommended tourist destination.

5. The method according to claim 4, characterized in that The method further comprises: generating a preliminary travel plan based on the recommended travel destinations; Defining travel constraints of the user, wherein the travel constraints include budget constraints, time constraints, and travel preferences; Transform the user's travel constraints into constraint parameters to evaluate the feasibility of preliminary travel planning; Iteratively adjusting the preliminary travel plan based on the constraint parameters using a preset optimization algorithm; In each iteration, the matching degree between the current preliminary travel plan and the user constraints is evaluated, and the parameters of the preset optimization algorithm are adjusted according to the evaluation results until the current preliminary travel plan meets all user constraints or reaches the preset number of iterations or time limit.

6. The method according to claim 5, characterized in that The method further comprises: Building a multi-layer neural network model based on the user data and the travel destination as input; Taking the user's travel preferences and travel constraints as network inputs, and calculating the fitness score of the preliminary travel plan through network forward propagation; The neural network model is trained using the gradient descent algorithm to minimize the difference between the predicted fitness score and the actual user satisfaction; The preliminary travel planning is adjusted in real time through the trained multi-layer neural network model to generate a final travel planning solution.

7. The method according to claim 1, characterized in that The method further comprises: Analyze the review data using natural language processing technology to extract sentiment and keywords; Build a user preference semantic model based on the extraction results; Combining the historical travel data and the travel preference data, using a cluster analysis algorithm to construct user interest groups; Matching the user interest groups with the semantic descriptions of tourist destinations to generate potential tourist interest points; The user interest model is updated based on user data of other similar users in the user interest group through collaborative filtering technology.

8. A generative model-based intelligent tourism planning system, used to implement the generative model-based intelligent tourism planning method according to any one of claims 1 to 7, characterized in that: include: A collection module, used to collect user data, wherein the user data includes historical travel data, comment data and travel preference data; A generation module, used to learn the user data using a generative model to generate a user interest model; A preliminary planning module, used to generate a preliminary travel plan that meets the user's interests based on the user interest model and combined with the travel destination information; The final planning module is used to adjust the preliminary travel plan through an optimization algorithm to meet the user's travel constraints and generate a final travel plan.

9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Information processing method and device, computer storage medium and electronic equipment

    CN111461757A

  • Project recommendation method and device, electronic equipment and readable medium

    CN114418624A

  • Generative artificial intelligence travel itinerary customization method, device and equipment

    CN117194780A

  • Smart tourism personalized service method and system

    CN117874343A

Cited By

  • Task planning domain software rapid construction method and device based on feature variability

    CN119536690A

  • Natural language-based itinerary planning method, system, equipment, product and medium

    CN119539450A

  • Student guidance scheme generation method and system based on dynamic planning

    CN120450922A