Recommendation method, electronic equipment and vehicle
By receiving recommendation intention information and calculating the estimated driving time, and selecting scenic spots based on the target driving time, scenic spot development degree and scenery type, the problem of the inability of existing technology to provide effective scenic spot recommendations is solved, and the effectiveness and practicality of scenic spot recommendations are improved.
Patent Information
- Application Number
- CN202410825073.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-01
AI Technical Summary
Existing attraction recommendation methods cannot provide effective suggestions based on user needs, and cannot make recommendations based on the degree of development of attractions, resulting in an impact on the tourism experience.
By receiving recommendation intention information, the estimated driving time is calculated, and suitable attractions are selected for recommendation based on the target driving time, attraction development level and scenery type.
It improves the effectiveness and practicality of scenic spot recommendations, provides more accurate scenic spot suggestions based on user needs, and enhances the travel experience.
Smart Images

Figure CN118733878A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to a recommendation method, electronic equipment and a vehicle. Background Art
[0002] As the quality of life gradually improves, well-known scenic spots or scenic spots with large publicity investments will have the problem of large crowds, especially during holidays and before and after holidays. Such attractions may be crowded, seriously affecting everyone's travel experience.
[0003] At present, the method of recommending scenic spots can provide information such as the introduction and location of the scenic spots, and can also judge the popularity of the scenic spots based on the real-time number of people at the scenic spots. However, this method is too dependent on real-time data and requires users to clearly know the scenic spots they want to visit. However, some people do not clearly know the scenic spots they want to visit, and it is difficult to give effective suggestions by monitoring the popularity of the scenic spots. Summary of the invention
[0004] In view of this, the purpose of this application is to propose a recommendation method, electronic device and vehicle to solve the problem of being unable to provide effective suggestions based on user needs and unable to make recommendations based on the degree of development of scenic spots.
[0005] Based on the above objectives, the present application provides a recommendation method, which includes:
[0006] In response to receiving the recommendation intention information, determining the estimated driving time from the current position to each of the candidate attractions according to the current position and the location of each of the candidate attractions in the attraction database; wherein the recommendation intention information includes the target driving time, the degree of development of the attraction, and the type of scenery;
[0007] Determine at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions;
[0008] The recommended attractions are recommended.
[0009] Based on the above purpose, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the recommended method provided in any embodiment of the present application is implemented.
[0010] Based on the above purpose, the present application also provides a vehicle, which includes the electronic device provided in any embodiment of the present application.
[0011] As can be seen from the above, the recommendation method provided by the present application determines the estimated driving time from the current position to each candidate attraction according to the current position and the location of each candidate attraction in the attraction database in response to receiving the recommendation intention information, so as to receive the recommendation intention information, preliminarily calculate the time required to reach each candidate attraction from the current position, and facilitate subsequent screening according to the target driving time in the recommendation intention information, and then, according to the recommendation intention information, the attraction information corresponding to each candidate attraction and the estimated driving time corresponding to each candidate attraction, determine at least one recommended attraction, so as to find out the recommended attractions that meet the target driving time, attraction development level and scenery type in the recommendation intention information from each candidate attraction in the attraction database, and recommend the recommended attractions, so as to realize the combination of the user's recommendation intention information on the attraction, provide effective attraction suggestions, and be able to screen from three aspects: target driving time, attraction development level and scenery type, thereby improving the effectiveness and practicality of attraction recommendations. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A flowchart of a recommended method provided for an embodiment of the present application;
[0014] Figure 2 A flowchart of another recommended method provided for an embodiment of the present application;
[0015] Figure 3 A schematic diagram of a recommended device provided in an embodiment of the present application;
[0016] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0018] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0019] Figure 1 A flowchart of a recommendation method provided in an embodiment of the present application is suitable for being installed in a vehicle, comprehensively analyzing the user's travel intentions, and recommending suitable attractions. The method can be configured in an electronic device. Figure 1 As shown, the method may specifically include the following steps:
[0020] S110 . In response to receiving the recommendation intention information, determine the estimated driving time from the current location to each of the candidate attractions according to the current location and the location of each of the candidate attractions in the attraction database.
[0021] The recommendation intention information includes target driving time, scenic spot development level and scenery type. The recommendation intention information is the user's demand information for scenic spots, which can be obtained through human-computer interaction. The target driving time is the driving time that the user can accept. The current location is the current location of the vehicle, which can be obtained based on the positioning system, etc. The scenic spot development level is information describing the development level of each candidate scenic spot, which can be used to measure the popularity of the candidate scenic spot, and can include undeveloped, slightly developed, generally developed, and overdeveloped. The scenery type is used to describe the scenery of each candidate scenic spot, such as mountains, lakes, beaches, etc. The scenic spot database is a pre-constructed database, which includes each candidate scenic spot and related information of each candidate scenic spot, such as the relevant information including the location of the scenic spot, the development level, the type of scenic spot, etc., and also includes the maximum number of people, travel suggestions, etc. The candidate scenic spot is each optional item in the scenic spot database. The estimated driving time is the time required to travel from the current location of the vehicle to the scenic spot location of the candidate scenic spot.
[0022] Specifically, the user's recommendation intention information, that is, the user's requirements for the recommended attractions, can be obtained through human-computer interaction and other methods. Further, the current location is obtained, and the driving time between the current location and the location of each candidate attraction in the attraction database is calculated, that is, the estimated driving time from the current location to each candidate attraction.
[0023] Exemplarily, the user can input the travel intention through voice or an application interface, and the travel intention allows the user to speak freely. Then, based on the travel intention described by the user, the recommended intention information is extracted, namely, the target driving time, the degree of development of scenic spots, and the type of scenery. It is judged whether the extracted recommended intention information meets the preset conditions, which are: whether the target driving time, the degree of development of scenic spots, and the type of scenery can extract relevant information, wherein the target driving time and the degree of development of scenic spots belong to the information that the user must describe, and the type of scenery can be generalized, that is, it can include multiple categories. For this basic extraction of key information (recommended intention information) from travel intentions, relevant information can be obtained through the existing large language model. For example: the existing large language model: please summarize the user's desired target driving time, the degree of development of scenic spots, and the type of scenery the user wants to go from the following words, and if there is no direct answer, no: (user's travel intention). Among them, the large language model is a natural language processing model based on deep learning technology, which can learn the statistical characteristics and laws of language through a large amount of text data, can process and understand complex language structures, generate coherent text, and answer questions. If the preset conditions are not met, a control to supplement the incomplete part of the recommendation intention information can be provided to the user on the central control screen, for example: display the target driving time selection, the scenic spot development level selection and / or the scenery type selection, and the user can also be allowed to input manually, thereby forcing the user to input. The GPS (Global Positioning System) positioning of the vehicle computer, that is, the current position, is obtained to calculate the driving time information with each candidate scenic spot in the scenic spot database to obtain each estimated driving time, and then the estimated driving time of each candidate scenic spot is temporarily inserted into the scenic spot database.
[0024] Optionally, the target driving time and scenic spot development level in the recommended intent information are necessary information, and the scenery type is optional information. If the user description does not contain the necessary information, that is, the necessary information is missing, the user is asked to enter the desired target driving time and scenic spot development level on the central control screen. The scenery type is not mandatory, but an input interface can also be provided.
[0025] Optionally, since there are a large number of candidate attractions in the attraction database, calculating the estimated driving time for all of them with the current location will result in a large amount of calculation. Therefore, the amount of calculation can be reduced by the following methods:
[0026] According to the distance between the current position and the location of each scenic spot, the sorting position of each candidate scenic spot is determined, the candidate scenic spot with the first sorting position is used as the calculated scenic spot, the estimated driving time from the current position to the calculated scenic spot is determined, and it is judged whether the estimated driving time corresponding to the calculated scenic spot is greater than the target driving time; if so, the scenic spot direction between the current position and the calculated scenic spot is determined, and other candidate scenic spots with a distance in the scenic spot direction other than the distance between the calculated scenic spot and the current position are deleted from the candidate scenic spots, and the sorting position of each candidate scenic spot is updated, and it is judged whether the sorting position of the calculated scenic spot is the last one. If so, the calculation process is terminated. If not, the candidate scenic spot with the sorting position next to the calculated scenic spot is used as a new calculated scenic spot, and the step of determining the estimated driving time from the current position to the calculated scenic spot is returned; if not, the estimated driving time corresponding to the calculated scenic spot is added to the scenic spot database, and it is judged whether the sorting position of the calculated scenic spot is the last one. If so, the calculation process is terminated. If not, the candidate scenic spot with the sorting position next to the calculated scenic spot is used as a new calculated scenic spot, and the step of determining the estimated driving time from the current position to the calculated scenic spot is returned.
[0027] It is understandable that adding the estimated driving time corresponding to the calculated scenic spots to the scenic spot database may be a temporary item. When the current location changes, the estimated driving time corresponding to each selected scenic spot will be deleted for re-entry.
[0028] Based on the above example, the method for constructing the scenic spot database includes:
[0029] For each candidate scenic spot, obtain the location of the candidate scenic spot and the candidate satellite image;
[0030] Input the satellite image to be selected into a pre-built analysis model to determine the landscape type and the first development degree corresponding to the selected scenic spot;
[0031] Determine the recommendation number corresponding to the location of the scenic spot according to the location of the scenic spot, and determine the second development degree corresponding to the selected scenic spot according to the recommendation number;
[0032] Determine the comprehensive development degree of the selected scenic spot according to the first development degree and the second development degree;
[0033] A scenic spot database is constructed according to each candidate scenic spot, the scenic spot location of each candidate scenic spot, the landscape type of each candidate scenic spot and the comprehensive development degree of each candidate scenic spot.
[0034] Among them, the satellite image to be selected is a satellite image of the scenic spot to be selected. The analysis model is a model for classifying and identifying the scenery type and the first development degree of the satellite image to be selected. The analysis model is trained based on the sample satellite image, the sample type corresponding to the sample satellite image, and the sample development degree. The sample satellite image is pre-labeled with data, that is, the scenic spot external frame, sample type and sample development degree are labeled. The scenery type and the first development degree are the output results of the analysis model for the satellite image to be selected. The first development degree can be described by numbers. The number of recommendations is the number of information promoted for the location of the scenic spot. The promotional information can include promotional copywriting, news messages, etc. The second development degree is the estimated development degree obtained by dividing according to the number of recommendations, which can be described by numbers. The comprehensive development degree is the development degree calculated according to the first development degree, the second development degree and their corresponding weights.
[0035] Specifically, for each scenic spot to be selected, the location of the scenic spot to be selected and the satellite map to be selected are obtained. The satellite map to be selected is a satellite map, which is also called a satellite remote sensing image or a satellite image. It is a picture of the earth's surface obtained from space by a satellite. The satellite map to be selected is obtained by detecting the reflection and emission of electromagnetic waves by objects on the earth's surface through sensors on the satellite. After conversion and processing, these electromagnetic wave information forms a satellite map to be selected that we can recognize. In other words, the satellite map to be selected only provides pictures containing mountains, rivers, lakes, and beaches, but cannot classify this landform, add attributes, etc., so an analysis model needs to be introduced. The satellite map to be selected is input into the pre-built analysis model, and the scenery type and the first development degree corresponding to the scenic spot to be selected are output, where the first development degree can be a development score, for example, the development score is within a preset range, such as between 0-1. According to the location of the scenic spot, a wide search is conducted on the Internet, for example, by means of a web crawler, etc., to count the number of recommendations corresponding to the location of the scenic spot. According to the number of recommendations, data standardization is performed to a preset range, such as 0-1, etc., to obtain the second development degree corresponding to the selected scenic spot, wherein the second development degree page can be a development score. According to the various corresponding weights of the first development degree and the second development degree, the first development degree and the second development degree are weighted to obtain the comprehensive development degree of the selected scenic spot. For example, the weight of the first development degree is 0.6, and the weight of the second development degree is 0.4, etc. Furthermore, the data of the comprehensive development degree can be processed in text form, such as 0-0.25 for undeveloped, 0.25-0.5 for slightly developed, 0.5-0.75 for general development, 0.75-1 for overdeveloped, etc. The specific processing method can be determined according to actual needs and is not specifically limited in this embodiment. Further, after analyzing each of the selected scenic spots, each of the selected scenic spots, the scenic location of each of the selected scenic spots, the scenery type of each of the selected scenic spots, and the comprehensive development degree of each of the selected scenic spots are added to the scenic spot database to complete the construction of the scenic spot database.
[0036] Exemplarily, some pictures (sample satellite images) are selected from existing satellite maps and then data is annotated, and the annotation content includes a landscape circumscribed rectangular frame, landscape type, and sample development level. Then, these data are sent to the self-developed target detection network for training to obtain an analysis model. The analysis model can achieve: detecting the scenic area in the selected satellite image, judging the landscape type, and judging the first development level. Among them, the self-developed target detection network can be a network structure for classification added to the back end of the open source target detection network, so that a target can be divided into multiple categories and each category can be scored. For example, it can be Fast R-CNN (Fast Region-based Convolutional Neural Networks, region-based convolutional neural network), and the best model can be selected at different time periods for modification and training. Target detection is a basic task in the field of computer vision. Its purpose is to identify and locate various objects in images or videos. It requires not only identifying the category of the object, but also determining the specific location of these objects in the image, usually represented by a bounding box. The output of the current open source target detection network includes category labels, bounding box coordinates, confidence, etc., but there is only one category label for a box. The extended analysis model in this embodiment can identify multiple categories due to the addition of a network structure for classification. The location of the scenic spot can be obtained directly, or the location of the scenic area can be detected by the analysis model to calculate its position relative to the satellite image to be selected, and then the location of the scenic spot to be selected is calculated in combination with the scale. The location of the scenic spot to be selected is used as input, and the existing web crawler technology is used to obtain relevant information about the location of the scenic spot on the Internet (number of recommendations) to determine whether the point has been "Internet celebrity". If a place recommends too many blog posts, or the blog post contains "recently famous", "proxy shooting" and other similar situations, we judge it as "Internet celebrity". Therefore, the second development level can be determined in combination with the number of recommendations, and the self-developed network detection results (first development level) and the crawler results (second development level) can be combined to comprehensively judge the comprehensive development level of the scenic spot to be selected.
[0037] S120: Determine at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions.
[0038] Among them, the recommended attractions are candidate attractions that meet the recommendation intention information.
[0039] Specifically, for each candidate scenic spot, it is determined whether the scenic spot information and the corresponding estimated driving time of the candidate scenic spot meet the requirements of the recommendation intention information. If so, it is determined as a recommended scenic spot.
[0040] Optionally, if none of the candidate attractions meet the requirements of the recommendation intention information, the recommendation intention information is expanded to obtain expanded intention information, and a new judgment is made, that is, based on the expanded intention information, the attraction information corresponding to each candidate attraction and the estimated driving time corresponding to each candidate attraction, it is judged whether there is a recommended attraction. If there is at least one recommended attraction, the expansion is stopped and at least one recommended attraction is determined. If there is still no recommended attraction, the expanded intention information continues to be expanded to obtain new expanded intention information until at least one recommended attraction is determined.
[0041] Based on the above example, the recommended attractions can be determined according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions in the following manner:
[0042] Construct a target vector based on the recommendation intent information;
[0043] For each candidate scenic spot, a candidate vector is constructed according to the scenic spot information corresponding to the candidate scenic spot and the estimated driving time, and the candidate similarity corresponding to the candidate scenic spot is determined according to the candidate vector and the target vector;
[0044] Each candidate scenic spot whose candidate similarity is greater than a preset similarity threshold is used as a recommended scenic spot.
[0045] Among them, the target vector is a vector composed of various information in the recommendation intention information, which is used to describe the recommendation intention information. The candidate vector is a vector composed of the scenic spot information and the estimated driving time of the candidate scenic spot, which is used to describe the candidate scenic spot. The candidate similarity is the similarity between the candidate vector and the target vector, which is used to describe the degree to which the candidate scenic spot meets the recommendation intention information. The preset similarity threshold is a pre-set threshold used to determine whether the candidate scenic spot corresponding to the candidate similarity can be used as a recommended scenic spot.
[0046] Specifically, the recommendation intention information is converted into a vector form to obtain a target vector. In addition, for each candidate scenic spot, the scenic spot information and the estimated driving time corresponding to the candidate scenic spot are converted into a vector form to obtain a candidate vector. The similarity between each candidate vector and the target vector is calculated respectively to obtain a candidate similarity corresponding to each candidate scenic spot. For each candidate similarity, it is determined whether the candidate similarity is greater than a preset similarity threshold. If so, the candidate scenic spot corresponding to the candidate similarity is used as a recommended scenic spot.
[0047] Exemplarily, the recommendation intention information input by the user is converted into a target vector, for example, the recommendation intention information is converted into a target vector using an existing Embedding model, wherein the Embedding model is a technology for converting discrete variables into continuous vectors of fixed length. For each candidate attraction in the attraction database, the attraction information and the estimated driving time of the candidate attraction can be used to construct a candidate vector in the same manner as described above. Then, the target vector is used to calculate the candidate similarity with each candidate vector in the attraction database, and the candidate attractions that meet the preset similarity threshold are selected as recommended attractions.
[0048] Based on the above example, before determining at least one recommended attraction based on the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions, the selected attractions may also be filtered according to the degree of congestion, specifically:
[0049] For each of the selected attractions, obtain the current number of people and the maximum number of people that can be accommodated at the attraction;
[0050] Determine the crowding level of the selected attractions based on the number of vehicle passengers, the existing number of people, and the maximum number of people that can be accommodated;
[0051] When the degree of congestion is greater than a preset congestion threshold, the candidate scenic spot is determined to be a congested scenic spot, and the congested scenic spot is deleted from the candidate scenic spots.
[0052] Among them, the current number of people is the current number of people in the candidate scenic spot. The maximum number of people that can be accommodated is the maximum number of people that can be accommodated in the candidate scenic spot. The number of vehicle passengers is the total number of people in the current vehicle or the current fleet. The degree of crowding is data used to describe whether the number of people in the candidate scenic spot is too dense. The preset crowding threshold is a pre-set threshold used to analyze the crowding level to distinguish between crowded attractions and non-crowded attractions. Crowded attractions are candidate scenic spots with a crowding level greater than the preset crowding threshold, that is, too crowded candidate scenic spots, which are not recommended for subsequent visits.
[0053] Specifically, for each scenic spot to be selected, the following methods can be used for filtering. The current number of people at the scenic spot to be selected can be detected through satellite images and remote sensing technology, and the maximum number of people that can be accommodated at the scenic spot to be selected can be obtained through network search or estimated calculation. Furthermore, the sum of the current number of people and the number of vehicle passengers is used as the numerator, and the maximum number of people that can be accommodated is used as the denominator to obtain the degree of crowding of the scenic spot to be selected. If the degree of crowding is greater than the preset crowding threshold, it means that when the user arrives at the scenic spot to be selected, there may be a large number of people in the scenic spot to be selected. The scenic spot to be selected can be determined as a crowded scenic spot, and the crowded scenic spot can be deleted from the various scenic spots to complete the elimination of crowded scenic spots. If the degree of crowding is less than or equal to the preset crowding threshold, the scenic spot to be selected is retained for subsequent determination of recommended scenic spots.
[0054] Exemplarily, remote sensing technology can be used to detect people in a candidate scenic spot to determine the current number of people at the candidate scenic spot at that time, and then the current number of people at the candidate scenic spot plus the number of people going to the spot in the user's vehicle or fleet (the number of vehicle passengers) are compared with the maximum number of people that the candidate scenic spot can accommodate, thereby filtering the candidate scenic spots and filtering out crowded attractions.
[0055] Optionally, the maximum number of people that can be accommodated by searching the network for the scenic spot to be selected can be determined. If the maximum number of people that can be accommodated cannot be found, the satellite image of the scenic spot to be selected can be checked to obtain the effective area, where the effective area is the area of the scenic spot where people can move. Then, the product of the preset number of people per unit area and the effective area is taken as the maximum number of people that can be accommodated. The preset number of people per unit area is the number of people that can be present in the unit area in advance without causing the problem of too dense a crowd.
[0056] For example, the coordinates of the upper left and lower right of the selected scenic spot are detected to calculate its area relative to the satellite image, and then the area of the scenic area in the actual scene is calculated based on the scale, and the maximum number of people it can accommodate is determined by the size of the area.
[0057] Optionally, for each candidate scenic spot, the Internet of Vehicles technology can be used to obtain vehicles with navigation destinations of the candidate scenic spot, and the future number of people corresponding to the candidate scenic spot can be estimated, that is, the number of people going to the candidate scenic spot. Then, the congestion level of the candidate scenic spot can be determined according to the number of vehicle passengers, the current number of people, and the maximum number of people that can be accommodated in the following manner:
[0058] Determine how crowded the potential attractions will be based on the number of vehicle passengers, current attendance, future attendance, and maximum capacity.
[0059] Specifically, the sum of the current number of people, the number of vehicle passengers and the number of people in the future is used as the numerator, and the maximum number of people that can be accommodated is used as the denominator to obtain the degree of congestion of the selected scenic spot.
[0060] S130: Recommend scenic spots.
[0061] Specifically, the recommended attractions and related information about the recommended attractions are displayed and recommended to the user through the vehicle computer for the user to select. In addition, after the user determines to select one of the recommended attractions, a navigation route to the recommended attraction determined to be selected by the user can be provided.
[0062] Based on the above example, after recommending the recommended attractions, the safety of users going to less developed attractions can be improved by:
[0063] receiving a trigger operation for at least one recommended scenic spot, and taking the recommended scenic spot corresponding to the trigger operation as a target scenic spot;
[0064] In response to the development level corresponding to the target scenic spot being lower than a preset level, information interaction is performed with the target server in real time;
[0065] In the event of information exchange failure, a stop driving advice message is issued.
[0066] The target attraction is a recommended attraction that the user has confirmed to visit among the recommended attractions. The preset level is a threshold used to measure the safety of the target attraction. The target server is a remote server for ensuring driving safety, such as a server of a vehicle manufacturer. The stop driving advice information is a prompt message that prompts the user that the signal has disappeared and there is a risk of losing connection during the current driving.
[0067] Specifically, when receiving a trigger operation from a user for at least one recommended scenic spot, it can be considered that the user has selected one of the recommended scenic spots to visit, and therefore, the recommended scenic spot corresponding to the trigger operation is used as the target scenic spot. Determine whether the development level corresponding to the target scenic spot is lower than the preset level, for example: whether the comprehensive development level is lower than the preset level, or whether at least one of the first development level, the second development level, and the comprehensive development level is lower than the preset level. If so, it means that the development level of the target scenic spot is low and there may be danger. Therefore, the vehicle computer is controlled to interact with the target server in real time to determine whether there is any signal loss. In the event of information interaction failure, for example, no reply message is received after a preset number of information interactions, it means that there is signal loss and there is a loss of contact with WeChat. Therefore, a stop driving suggestion message is sent to the user.
[0068] Optionally, a distress light is installed on the top of the vehicle. When a dangerous situation occurs, the distress light is lit manually or automatically to send out a distress signal.
[0069] For example, when users choose to go to some undeveloped and slightly developed scenic spots, these scenic spots may be located in relatively desolate areas. The signal in such areas is not particularly good. Once the user encounters danger or loses his way, it will be difficult to establish contact with the outside world. Therefore, the vehicle computer and the manufacturer's terminal (target server) send signals in real time (information interaction) to determine whether the signal is lost, ensuring the real-time signal in the user's area. If the vehicle computer does not receive a reply message after a preset number of consecutive requests, it will send a stop driving suggestion message, reminding the user that the signal has been lost and it is not recommended to move forward. If the user still goes there, a hardware solution is also provided. Once the user is in distress and cannot send a message, the light of the distress lamp installed on the top of the vehicle can be used to send a distress signal (distress light) to facilitate rescue personnel to find it quickly.
[0070] The recommendation method provided in this embodiment determines the estimated driving time from the current position to each candidate attraction according to the current position and the location of each candidate attraction in the attraction database in response to receiving the recommendation intention information, so as to receive the recommendation intention information, preliminarily calculate the time required to reach each candidate attraction from the current position, and facilitate subsequent screening according to the target driving time in the recommendation intention information, and then, according to the recommendation intention information, the attraction information corresponding to each candidate attraction and the estimated driving time corresponding to each candidate attraction, determine at least one recommended attraction, find out the recommended attractions that meet the target driving time, attraction development level and scenery type in the recommendation intention information from each candidate attraction in the attraction database, and recommend the recommended attractions, so as to provide effective attraction suggestions by combining the user's recommendation intention information on the attractions, and can screen from three aspects: target driving time, attraction development level and scenery type, thereby improving the effectiveness and practicality of attraction recommendations.
[0071] The above embodiment describes the method of selecting suitable recommended attractions from the attraction database according to the recommendation intention information. In this embodiment, the number of recommended attractions can also be limited to avoid too many or too few recommendations, which may affect the user experience. In addition, when recommending recommended attractions, the recommended content is enriched, and the process is further described, such as Figure 2 shown. Figure 2 This is a flowchart of another recommended method provided by an embodiment of the present application, wherein the explanations of terms that are the same or corresponding to the above-mentioned embodiments are not repeated here. Figure 2 As shown, the method may specifically include the following steps:
[0072] S210: In response to receiving the recommendation intention information, determine the estimated driving time from the current location to each of the candidate attractions according to the current location and the location of each of the candidate attractions in the attraction database.
[0073] S220: Determine at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions.
[0074] S230. In response to the number of recommended scenic spots not being within the recommended number range, generate guidance information, receive guidance intention information corresponding to the guidance information, use the guidance intention information as recommended intention information, and return to execute the step of determining at least one recommended scenic spot based on the recommended intention information and the scenic spot information corresponding to each candidate scenic spot and the estimated driving time, until the number of scenic spots is within the recommended number range.
[0075] The recommended number range is a pre-set reasonable number range of recommended attractions provided to users, such as 5-10, etc., which can be adjusted according to user needs. Guidance information is information used to guide users to expand or narrow the range of recommendation intention information. Guidance intention information is the intention information that users reply to or input in response to guidance information.
[0076] Specifically, if the number of attractions in the recommended attractions is not within the recommended number range, the recommended attractions need to be further adjusted. For example, if the number of attractions is less than the lower limit of the recommended number range, the user needs to be guided to expand the recommendation intention information. If the number of attractions is greater than the upper limit of the recommended number range, the user needs to be guided to reduce the recommendation intention information. Therefore, guidance information for guiding the user to make further adjustments can be generated, and guidance intention information input by the user for the guidance information can be received. The guidance intention information is used as the recommendation intention information, and the recommended attractions are re-determined according to the new recommendation intention information until the number of attractions is within the recommended number range. At this time, the number of attractions in the recommended attractions meets the user's needs, and the similarity between each recommended attraction and the recommendation intention information is high.
[0077] For example, if there is no relevant scenic spot in the user's recommendation intention information or the relevant scenic spot does not conform to reality, such as: the user's recommendation intention information includes an estimated driving time of 30 minutes and the scenery type is mountains, but it is found that there is only the sea and no mountains within 30 minutes' drive from the user, then it is impossible to determine the appropriate recommended scenic spot. In order to avoid this situation, the scenic spot database contains information such as the scenery type, comprehensive development level and maximum number of people to be accommodated of each candidate scenic spot. The scenic spot database is updated regularly. Since the topography of the scenic spot will not change too much, the candidate satellite map does not need to be updated in real time. The user's recommendation intention information is converted into a target vector, and the candidate similarity is calculated with the candidate vector of each candidate scenic spot in the scenic spot database, and the preset similarity threshold is selected. Guidance information can also be generated through a large language model. The filtered recommended scenic spots and the recommendation intention information are spliced and input into the large language model for answering. For example: Please answer the question "recommended intention information" based on the above information "(content in the scenic spot database that meets the preset similarity threshold requirements)". Note that the answer result can only be within the above information. If there is no exact consistency, please answer information similar to the question. In this way, through the above questions and answers, it is possible to provide users with guidance information (information similar to the question) so that the choice is closer and closer to the information in the scenic spot database. Guidance information can be used to guide users in the form of dialogue to turn unrealistic needs into actual needs. It is easy for users to clearly understand the estimated driving time and the degree of development of scenic spots, but there may be confusion about the type of scenery. Therefore, you can first screen the scenic spot database according to the estimated driving time and the degree of development of scenic spots, and then splice the searched scenic spots with the user's recommended intention information and input them into the large language model. Then, the large language model can be used to guide users step by step through dialogue to expand or narrow the recommended intention information to find suitable recommended attractions. Because the large language model can use all the content in the scenic spot database, and then use the recommended intention information as a consolidation, the output result will be more in line with reality.
[0078] S240: For each recommended scenic spot, determine a planned route according to the current location and the location of the recommended scenic spot.
[0079] The planned path is a path from the current location to the location of the recommended scenic spot.
[0080] Specifically, based on a navigation system or the like, a path from the current location to the location of each recommended attraction may be planned, ie, a planned path.
[0081] S250: Input the current environment information and the scenic spot information of the recommended scenic spots into a pre-established large language model to obtain suggestion information.
[0082] The current environment information is information related to the environment in which the vehicle is located, and may include weather information, road condition information, current time, etc. The pre-established large language model is a model for providing suggestion information. The suggestion information is travel suggestions corresponding to the recommended attractions, such as: what to bring, recommended clothing, etc.
[0083] Specifically, the current environment information and the information of the recommended scenic spots are input into a pre-established large language model, and language analysis and retrieval are performed through the large language model to output travel suggestions for users to the recommended scenic spots, that is, recommendation information.
[0084] For example, the current environment information, such as the weather forecast of the vehicle computer, the seasonal information of the vehicle computer, the current time of the vehicle computer, etc., and the scenic spot information of the recommended scenic spots pre-stored in the scenic spot database are summarized and input to the pre-established large language model, so that it can give relevant suggestions, such as: what time to set off for the best scenery, what items to bring, etc., as the recommended information for the recommended scenic spots. The input of the large language model can be: Please provide some travel suggestions to the user based on the above information of "(summarized input information)", including but not limited to the following points: what time to set off for the best scenery, what items to bring, what is the shooting style, etc.
[0085] S260. Recommend scenic spots based on the planned route and suggested information.
[0086] Specifically, the planned route and suggestion information of each recommended scenic spot are provided to the user so that the user can select the recommended scenic spot he / she wants to visit.
[0087] Based on the above example, after determining the planned path according to the current location and the location of the recommended scenic spots, the display of the planned path can be enriched, specifically:
[0088] Determine each road condition category included in the planned path, and determine the road section position and road section length corresponding to each road condition category in the planned path according to the planned path and each road condition category;
[0089] Determine the total energy consumption corresponding to the planned path based on the unit energy consumption corresponding to each road condition category and the length of the road section;
[0090] The display mode of the planned route is determined according to the road section location corresponding to each road condition category and the preset display mode.
[0091] Among them, the road condition category can be a category used to distinguish different driving conditions, such as: uphill, downhill, continuous curves, etc. The section location is the location of the part of the path corresponding to the road condition category in the planned path. The section length is the length of the part of the path corresponding to the road condition category in the planned path. Unit energy consumption is the energy consumption corresponding to the unit distance traveled by the current vehicle under the conditions of the road condition category. The total energy consumption is the total energy consumed by the current vehicle after traveling along the planned path. The preset display mode is the display mode corresponding to each road condition category, which is used to distinguish different road condition categories. It can be a display mode with line type distinction or a display mode with color distinction. The display mode of the planned path is the display mode planned according to the section location corresponding to each road condition category and the preset display mode.
[0092] Specifically, each road condition category included in the planned path is identified, and for each road condition category, a search is performed in the planned path to obtain the road section position and road section length corresponding to the road condition category in the planned path. Then, the product of the unit energy consumption and the road section length corresponding to each road condition category is calculated respectively to obtain the energy consumption corresponding to each road condition category, and the energy consumption corresponding to each road condition category is summed to obtain the total energy consumption corresponding to the planned path. In addition, according to the preset display mode corresponding to each road condition category, the road section position corresponding to each road condition category in the planned path is displayed differently to obtain the display mode of the planned path.
[0093] Exemplarily, taking a recommended scenic spot as an example, a navigation route is planned for the recommended scenic spot to obtain a planned path, and each road condition category is identified on the planned path through an existing target detection network. For example: first identify the first road condition (such as a rugged road section), and determine the section position and section length of the first road condition, then delete the portion corresponding to the first road condition from the planned path, then identify the second road condition (such as an uphill dirt road), and determine the section position and section length of the second road condition, then delete the portion corresponding to the second road condition from the planned path, then identify the third road condition (such as a downhill dirt road), and determine the section position and section length of the third road condition, then delete the portion corresponding to the third road condition from the planned path, and so on, until all road condition categories are identified. If there are still some planned paths that are not identified, the remaining parts of the planned paths are determined as other categories, and the paths of other categories are saved as images for subsequent use when providing introductions to users so that users can understand the situation. According to the road section length and unit energy consumption corresponding to various road conditions, the fuel consumption / electricity consumption (energy consumption) corresponding to each road condition can be calculated. For other categories, the highest unit fuel consumption can be used for calculation. The fuel consumption / electricity consumption standard (unit energy consumption) for each road condition can be calculated according to public standards.
[0094] Based on the above example, you can recommend attractions based on the planned route and suggestion information in the following ways:
[0095] For each recommended attraction, the planned route is displayed in the display mode, and the recommended information and total energy consumption are displayed.
[0096] Specifically, each recommended scenic spot can be displayed in this way. According to the display method of the planned path of the recommended scenic spot, the planned path is displayed to clarify the partial path corresponding to each road condition category, and the display suggestion information and total energy consumption are added to provide more reference information for users.
[0097] For example, all information is displayed on the central control screen for users to choose. All information can include text information and picture information. The text information includes the recommended information output by the large language model, and also includes the scenery type of the recommended scenic spot, the estimated driving time, the maximum number of people suitable, the degree of development of the scenic spot, fuel consumption / power consumption (total energy consumption), etc. The picture information includes the satellite image of the recommended scenic spot to be selected and the planned route. It can be seen that the above method can provide recommended information such as what time to set off for the best scenery and what items to bring. It can also combine the road conditions and the planned route to determine the amount of fuel / power (total energy consumption) required, and remind the user in time.
[0098] The recommendation method provided in this embodiment generates guidance information in response to the number of attractions of the recommended attractions not being within the recommended number range, and receives guidance intention information corresponding to the guidance information, uses the guidance intention information as the recommendation intention information, and returns to execute the step of determining at least one recommended attraction based on the recommendation intention information and the attraction information corresponding to each candidate attraction and the estimated driving time, until the number of attractions is within the recommended number range, so as to guide the user to adjust the recommendation intention information through guided interaction, so that the number of attractions of the recommended attractions is not too much or too little, affecting the user's selection experience, and for each recommended attraction, a planned path is determined based on the current location and the location of the recommended attraction, the current environment information and the attraction information of the recommended attraction are input into a pre-established large language model to obtain suggestion information, and the recommended attraction is recommended based on the planned path and the suggestion information, providing richer introduction information to facilitate users to make choices according to their own needs, achieving the effect of reasonably planning the number of attractions of the recommended attractions and enriching the display information of the recommended attractions, and improving the user's usage experience.
[0099] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0100] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0101] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a recommendation device. Figure 3 A schematic diagram of a recommended device provided in the embodiment of the present application, see Figure 3 The recommendation device includes: an information receiving and calculating module 310, a recommended scenic spot determining module 320 and a recommended scenic spot recommending module 330.
[0102] Among them, the information receiving and calculating module 310 is used to determine the estimated driving time from the current position to each of the candidate attractions in response to receiving the recommendation intention information, according to the current position and the location of each of the candidate attractions in the attraction database; wherein the recommendation intention information includes the target driving time, the degree of attraction development and the type of scenery; the recommended attraction determination module 320 is used to determine at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the candidate attractions and the estimated driving time corresponding to each of the candidate attractions; the recommended attraction recommendation module 330 is used to recommend the recommended attractions.
[0103] Based on the above example, the recommended scenic spot determination module 320 is optionally further used to construct a target vector according to the recommendation intention information; for each candidate scenic spot, a candidate vector is constructed according to the scenic spot information corresponding to the candidate scenic spot and the estimated driving time, and the candidate similarity corresponding to the candidate scenic spot is determined according to the candidate vector and the target vector; each candidate scenic spot whose candidate similarity is greater than a preset similarity threshold is used as a recommended scenic spot.
[0104] Based on the above example, optionally, before determining at least one recommended attraction based on the recommendation intention information, the attraction information corresponding to each of the candidate attractions and the estimated driving time corresponding to each of the candidate attractions, it also includes: an attraction filtering module, used to obtain the current number of people and the maximum number of people that can be accommodated for each candidate attraction; determine the congestion level of the candidate attraction based on the number of vehicle passengers, the current number of people and the maximum number of people that can be accommodated; when the congestion level is greater than a preset congestion threshold, determine that the candidate attraction is a crowded attraction, and delete the crowded attraction from each of the candidate attractions.
[0105] Based on the above example, optionally, the scenic spot database is constructed by a scenic spot database construction module, and the scenic spot database construction module is used to obtain the scenic spot location and the satellite image to be selected for each scenic spot to be selected; the satellite image to be selected is input into a pre-constructed analysis model to determine the scenery type and the first development degree corresponding to the scenic spot to be selected; wherein the analysis model is trained based on sample satellite images, sample types corresponding to the sample satellite images, and sample development degrees; according to the scenic spot location, the recommendation number corresponding to the scenic spot location is determined, and according to the recommendation number, the second development degree corresponding to the scenic spot to be selected is determined; according to the first development degree and the second development degree, the comprehensive development degree of the scenic spot to be selected is determined; according to each of the scenic spots to be selected, the scenic spot location of each of the scenic spots to be selected, the scenery type of each of the scenic spots to be selected, and the comprehensive development degree of each of the scenic spots to be selected, a scenic spot database is constructed.
[0106] Based on the above example, optionally, the recommended scenic spot recommendation module 330 is also used to determine a planned path for each recommended scenic spot according to the current location and the location of the recommended scenic spot; input the current environmental information and the scenic spot information of the recommended scenic spot into a pre-established large language model to obtain recommendation information; and recommend the recommended scenic spot according to the planned path and the recommendation information.
[0107] Based on the above example, optionally, after determining the planned path according to the current position and the location of the recommended scenic spot, it also includes: adding a display module to determine the various road condition categories included in the planned path, and determining the section position and section length corresponding to each road condition category in the planned path according to the planned path and the various road condition categories; determining the total energy consumption corresponding to the planned path according to the unit energy consumption corresponding to each road condition category and the section length; determining the display mode of the planned path according to the section position corresponding to each road condition category and a preset display mode; accordingly, the recommended scenic spot recommendation module 330 is also used to display the planned path according to the display mode for each recommended scenic spot, and to display the recommendation information and the total energy consumption.
[0108] Based on the above example, optionally, after the recommended scenic spot is recommended, it also includes: an information interaction module, used to receive a trigger operation for at least one of the recommended scenic spots, and use the recommended scenic spot corresponding to the trigger operation as a target scenic spot; in response to the development level corresponding to the target scenic spot being lower than a preset level, real-time information interaction with the target server; in the event of failure of information interaction, issuing a stop driving recommendation message.
[0109] Based on the above example, optionally, after determining at least one recommended scenic spot and before recommending the recommended scenic spot, it also includes: an attraction quantity adjustment module, which is used to generate guidance information in response to the number of attractions of the recommended scenic spot not being within the recommended number range, and receive guidance intention information corresponding to the guidance information, use the guidance intention information as recommendation intention information, and return to execute the step of determining at least one recommended scenic spot based on the recommendation intention information and the attraction information corresponding to each of the selected attractions and the estimated driving time, until the number of attractions is within the recommended number range.
[0110] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0111] The device of the above embodiment is used to implement the corresponding recommended method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0112] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the recommended method described in any of the above embodiments is implemented.
[0113] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0114] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0115] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0116] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0117] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0118] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0119] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0120] The electronic device of the above embodiment is used to implement the corresponding recommended method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0121] Based on the same inventive concept, corresponding to any of the above embodiments and methods, the present application also provides a vehicle, which includes the electronic device as described in any of the above embodiments.
[0122] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the recommendation method described in any of the above embodiments.
[0123] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0124] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the recommendation method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0125] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0126] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0127] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0128] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A recommendation method, characterized in that: include: In response to receiving the recommendation intention information, determining the estimated driving time from the current position to each of the candidate attractions according to the current position and the location of each of the candidate attractions in the attraction database; wherein the recommendation intention information includes the target driving time, the degree of development of the attraction, and the type of scenery; Determine at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions; The recommended attractions are recommended.
2. The method according to claim 1, characterized in that The determining at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions includes: Constructing a target vector according to the recommendation intention information; For each candidate scenic spot, construct a candidate vector according to scenic spot information corresponding to the candidate scenic spot and an estimated driving time, and determine a candidate similarity corresponding to the candidate scenic spot according to the candidate vector and the target vector; Each of the candidate attractions whose candidate similarity is greater than a preset similarity threshold is used as a recommended attraction.
3. The method according to claim 1, characterized in that: Before determining at least one recommended attraction according to the recommendation intention information, the attraction information corresponding to each of the selected attractions, and the estimated driving time corresponding to each of the selected attractions, the method further includes: For each of the selected scenic spots, obtain the current number of people and the maximum number of people that can be accommodated in the selected scenic spot; Determining the crowding degree of the selected scenic spot according to the number of vehicle passengers, the existing number of people and the maximum number of people that can be accommodated; When the degree of congestion is greater than a preset congestion threshold, the candidate scenic spot is determined to be a crowded scenic spot, and the crowded scenic spot is deleted from the candidate scenic spots.
4. The method according to claim 1, characterized in that: The method for constructing the scenic spot database includes: For each candidate scenic spot, obtaining the location of the candidate scenic spot and a candidate satellite image; Inputting the candidate satellite image into a pre-built analysis model to determine the scenery type and the first development degree corresponding to the candidate scenic spot; wherein the analysis model is trained based on the sample satellite image, the sample type corresponding to the sample satellite image, and the sample development degree; Determine, according to the location of the scenic spot, a recommendation number corresponding to the location of the scenic spot, and determine, according to the recommendation number, a second development degree corresponding to the selected scenic spot; Determining the comprehensive development degree of the selected scenic spot according to the first development degree and the second development degree; A scenic spot database is constructed according to each of the scenic spots to be selected, the location of each of the scenic spots to be selected, the type of scenery of each of the scenic spots to be selected, and the comprehensive development degree of each of the scenic spots to be selected.
5. The method according to claim 1, characterized in that The recommending the recommended scenic spots includes: For each recommended scenic spot, determining a planned route according to the current location and the location of the recommended scenic spot; Inputting the current environment information and the scenic spot information of the recommended scenic spots into a pre-established large language model to obtain suggestion information; The recommended attractions are recommended according to the planned route and the suggestion information.
6. The method according to claim 5, characterized in that After determining the planned path according to the current location and the location of the recommended scenic spot, the method further includes: Determine each road condition category included in the planned path, and determine the road section position and road section length corresponding to each road condition category in the planned path according to the planned path and each road condition category; Determine the total energy consumption corresponding to the planned path according to the unit energy consumption corresponding to each road condition category and the length of the road section; Determining a display mode of the planned route according to the road section position corresponding to each road condition category and a preset display mode; Accordingly, recommending the recommended attractions according to the planned route and the suggestion information includes: For each recommended scenic spot, the planned route is displayed in the display mode, and the recommendation information and the total energy consumption are displayed.
7. The method according to claim 1, characterized in that After recommending the recommended scenic spots, the method further includes: receiving a trigger operation for the at least one recommended scenic spot, and taking the recommended scenic spot corresponding to the trigger operation as a target scenic spot; In response to the development level corresponding to the target scenic spot being lower than a preset level, performing information interaction with the target server in real time; In the event of information exchange failure, a stop driving advice message is issued.
8. The method according to claim 1, characterized in that: After determining at least one recommended scenic spot and before recommending the recommended scenic spot, the method further includes: In response to the number of attractions of the recommended attractions not being within the recommended number range, guidance information is generated, and guidance intention information corresponding to the guidance information is received, the guidance intention information is used as the recommended intention information, and the step of determining at least one recommended attraction based on the recommended intention information and the attraction information corresponding to each of the selected attractions and the estimated driving time is returned to be executed until the number of attractions is within the recommended number range.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the recommendation method according to any one of claims 1 to 8 is implemented.
10. A vehicle, characterized in that: The vehicle comprises the electronic device as claimed in claim 9.
Citation Information
Patent Citations
Tourist attraction random recommendation method based on voice navigation
CN116576876A
Cited By
Control of a motor vehicle
DE102024131831A1
