Composite motion travel itinerary planning method and device and electronic equipment
By generating exercise-calorie consumption portraits and embedding exercise routes to the travel itinerary, the problem that users find it difficult to take into account their sports goals during the travel process is solved, and maintaining exercise habits and enhancing fun during the travel process is achieved.
Patent Information
- Application Number
- CN202510567478.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-04-30
AI Technical Summary
During the travel process, it is difficult for users to take into account both sports goals and travel experience, resulting in anxiety and interruption of exercise habits, especially for users who need regular exercise and fat loss.
By obtaining the user's basic physiological data and sports equipment data, a sports-care consumption portrait is generated, combining the target sports type and travel date, the target sports venue is determined, and the tourism sports calendar information is generated, and the sports route is embedded into the travel itinerary, and the exercise intensity is dynamically adjusted to meet user needs.
It has achieved the realization of maintaining exercise habits and exercise goals during travel, reducing user anxiety, enhancing travel fun, and dynamically adjusting exercise intensity through exercise-calorie consumption portraits to ensure that users do not sacrifice experience during travel to achieve exercise goals.
Smart Images

Figure CN120373597A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular, to a method, device, and electronic device for planning a tourism itinerary with compound sports. Background Art
[0002] Currently, traveling is a common leisure and relaxation method chosen by users. However, while traveling, users may experience some anxiety due to breaking their daily living habits, especially for those who maintain regular exercise habits in daily life and have weight loss needs. This forces users to compromise between "deep tourism" and "achieving exercise goals", affecting the psychological experience of users during travel and even causing anxiety due to unfulfilled exercise goals. Summary of the Invention
[0003] In view of this, the purpose of the present application is to provide a method, device, electronic device, and medium for planning a tourism itinerary with compound sports, which can highly couple the exercise needs of users during travel.
[0004] In a first aspect, the present application provides a method for planning a tourism itinerary with compound sports, including the following steps:
[0005] In response to a first user entering a sports compound mode for a target tourism route, obtain the basic physiological data, sports equipment data, target sports type, and exercise goal of the first user; the target tourism route includes multiple tourism dates and the itinerary route corresponding to each tourism date; the itinerary route includes multiple target locations;
[0006] Generate an exercise-calorie consumption portrait for the first user based on the basic physiological data and sports equipment data of the first user; the exercise-calorie consumption portrait represents the calories consumed by the first user during exercise;
[0007] Based on the target sports type and exercise goal of the first user, determine at least one target sports venue that matches the target sports type in the radiation area of each tourism date, and determine various tourism planning data and calorie consumption data for each tourism date based on the target sports venue, the exercise goal, and the exercise-calorie consumption portrait; the exercise amount of each sports venue in different tourism planning data is different;
[0008] Generate tourism exercise calendar information based on the itinerary route corresponding to each tourism date, each type of tourism planning data, and calorie consumption data, and send the tourism exercise calendar information to the terminal device of the first user, so that the program of the terminal device executes the tourism exercise calendar information to prompt the first user to exercise.
[0009] In some embodiments, in the method for planning a tourism itinerary with composite motion, before responding to the first user entering the motion composite mode for the target tourism route, the method further includes:
[0010] Responding to the first user's first selection operation for a pre-configured tourism route and the second selection operation for the tourism date, determining the target tourism route;
[0011] Or,
[0012] Responding to the first user's first configuration operation for multiple target locations in the map and the third selection operation for the tourism date, determining the target tourism route.
[0013] In some embodiments, in the method for planning a tourism itinerary with composite motion, obtaining the target motion type and motion goal of the first user includes:
[0014] Responding to the first user entering the motion composite mode for the target tourism route, obtaining the adapted motion type and general motion type corresponding to the target tourism route;
[0015] Responding to receiving the configuration instruction of the first user for the adapted motion type and general motion type, determining the target motion type;
[0016] Obtaining the fat loss amount configured by the first user or the amount of exercise for the target motion type, determining the motion goal.
[0017] In some embodiments, in the method for planning a tourism itinerary with composite motion, generating a motion-calorie consumption portrait for the first user based on the first user's basic physiological data and motion device data includes:
[0018] Inputting the first user's basic physiological data and motion device data into a pre-trained motion calorie consumption model;
[0019] Processing the basic physiological data and motion device data through the motion calorie consumption model, and outputting the calorie consumption data of various types of motion of the first user.
[0020] In some embodiments, in the method for planning a tourism itinerary with composite motion, based on the target motion type and motion goal of the first user, determining at least one target motion venue that matches the target motion type in the radiation area of each tourism date includes:
[0021] Obtaining the key coordinates, radiation radius, and open-source map data in the itinerary route of each tourism date, and determining the radiation area corresponding to the itinerary route; the key coordinates include the coordinates of the target location, the boundaries of the target location, and the coordinates of the sampling points obtained by sampling the itinerary route;
[0022] Position matching is performed between the radiation area corresponding to the itinerary and the pre-constructed sports venue feature space to determine candidate sports venues matching the radiation area; the sports venue feature space includes multiple sports venues and attribute information and matching degree information of each sports venue; the matching degree information of the sports venue includes the matching degree of the sports venue and each type of sport; the sports venues include original sports venues and sports venues obtained by converting other types of venues and / or roads through configuration operations;
[0023] Obtaining an offset distance between each candidate sports venue and the travel route;
[0024] In response to satisfying the first trigger condition of the leisure sports mode or the second trigger condition of the special training mode, determining a target venue screening model that matches the sports mode; wherein the venue screening model corresponding to the leisure sports mode takes the offset distance from the travel route as a target, and the venue screening model corresponding to the special training mode takes the venue matching degree as a target;
[0025] Determining a first target score for each candidate sport location through the target venue screening model based on the matching degree between the candidate sport location and the target sport type and the offset distance of the travel route;
[0026] A target sports venue having a first target score greater than a preset score threshold is selected from the candidate sports venues.
[0027] In some embodiments, in the method for planning a travel itinerary for a composite sport, determining the sport planning data and calorie consumption data for each target sport venue on each travel date based on the sport goal and the sport-calorie consumption profile includes:
[0028] Based on the movement pattern corresponding to the first user, generating a plurality of movement planning data corresponding to the travel date; wherein each movement planning data achieves a movement goal through at least a portion of the sports venue;
[0029] Descriptive information for each type of sports planning data is generated by combining the weather parameters of the travel date, the sports mode and the sports goal.
[0030] In some embodiments, in the method for planning a travel itinerary for a composite sport, based on the sport mode corresponding to the first user, a plurality of sport planning data corresponding to the travel date are generated, including:
[0031] Determine the amount of exercise to be allocated corresponding to the travel date; the amount of exercise to be allocated is the amount of exercise in the exercise target or the amount of exercise obtained by converting the amount of fat loss in the exercise target; determine the amount of exercise corresponding to the travel date; the amount of fat loss is obtained by converting the exercise-calorie consumption profile of the first user;
[0032] For the leisure sports mode, the amount of exercise to be allocated corresponding to the travel date is adjusted based on the preset redundant parameters to obtain the adjusted amount of exercise to be allocated corresponding to the travel date;
[0033] Based on the attributes of each target sports venue, the amount of exercise corresponding to the travel date is allocated to each target sports venue corresponding to the travel date, and the exercise planning data of each target sports venue is determined; the exercise planning data of the target sports venue includes the amount of exercise of at least one target sports type;
[0034] For the special training mode, the quality rankings of the different target sports venues are determined, and the exercise planning data for the amount of exercise to be allocated corresponding to the travel date for each target sports venue is determined. The quality rankings of different target sports venues are used to assist users in selecting venues, thereby ensuring that the user's special exercise is completed in a high-quality length.
[0035] In some embodiments, in the method for planning a travel itinerary for a composite sport, after sending the travel sport calendar information to the terminal device of the first user, the method further includes:
[0036] Get real-time weather information based on the travel date based on the API interface;
[0037] Obtain user feedback information on the travel date; the user feedback information includes dietary calories, exercise target execution results, target exercise type change information, exercise target change information, and exercise mode change information;
[0038] Based on the real-time weather information and user feedback information, adjust the sports planning data of the next target sports venue on the travel date in the travel sports calendar information, and / or adjust the order of different types of sports planning data or the content of the sports planning data on the next travel date.
[0039] In a second aspect, an embodiment of the present application provides a composite motion travel itinerary planning device, the travel itinerary planning device comprising:
[0040] an acquisition module, configured to acquire basic physiological data, exercise equipment data, target exercise type and exercise target of the first user in response to the first user entering a sports composite mode for a target travel route; the target travel route includes a plurality of travel dates and a travel route corresponding to each travel date; the travel route includes a plurality of target locations;
[0041] A first generating module, configured to generate an exercise-calorie consumption portrait for the first user based on the basic physiological data and exercise equipment data of the first user; the exercise-calorie consumption portrait represents the calories consumed by the first user when exercising;
[0042] A first determination module, configured to determine at least one target sports venue that matches the target sports type in the radiation area of each travel date based on the target sports type and sports goal of the first user, and determine various travel planning data and calorie consumption data in each travel date based on the target sports venue, the sports goal, and the sports-calorie consumption portrait; the amount of exercise for each sports venue in different travel planning data is different;
[0043] A second generation module, configured to generate travel sports calendar information based on the itinerary corresponding to each travel date, each type of sports planning data, and calorie consumption data, and send the travel sports calendar information to the terminal device of the first user, so that the program of the terminal device executes the travel sports calendar information to prompt the first user to exercise.
[0044] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of any one of the travel itinerary planning methods for composite sports are executed.
[0045] The present application provides a method, an apparatus, and an electronic device for planning a tourism itinerary with composite movement. The method responds to a first user entering a movement composite mode for a target tourism route, and obtains the basic physiological data, movement device data, target movement type, and movement goal of the first user; the target tourism route includes multiple tourism dates and the itinerary routes corresponding to each tourism date; the itinerary routes include multiple target locations; based on the basic physiological data and movement device data of the first user, a movement-calorie consumption portrait for the first user is generated; the movement-calorie consumption portrait represents the calories consumed by the first user during movement; based on the target movement type and movement goal of the first user, at least one target movement venue that matches the target movement type is determined in the radiation area of each tourism date, and various tourism planning data and calorie consumption data for each tourism date are determined based on the target movement venue, the movement goal, and the movement-calorie consumption portrait; the amount of exercise at each movement venue in different tourism planning data is different; tourism movement calendar information is generated based on the itinerary route corresponding to each tourism date, each type of movement planning data, and the calorie consumption data, and the tourism movement calendar information is sent to the terminal device of the first user, so that the program of the terminal device executes the tourism movement calendar information to prompt the first user to exercise, thereby coupling the movement route and the tourism itinerary, eliminating the spatio-temporal disconnection between "scenic spot tour" and "movement venue switching" in traditional planning. The user does not need to sacrifice the tourism experience to complete the movement goal. The movement intensity is dynamically adjusted through the movement-calorie consumption portrait, and the movement data is accurately planned for the user, ensuring that the user can still maintain the movement habit and achieve the movement goal during tourism. By displaying the movement planning and calorie consumption in the tourism plan, the anxiety of the user is reduced, and the interest of the user's tourism is enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings required for the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0047] Figure 1 The flowchart of the method for planning a tourism itinerary with composite movement according to the embodiment of the present application is shown;
[0048] Figure 2 The flowchart of the method for obtaining the target movement type and movement goal of the first user according to the embodiment of the present application is shown;
[0049] Figure 3 The flowchart of the method for generating a movement-calorie consumption portrait for the first user according to the embodiment of the present application is shown;
[0050] Figure 4 It shows a flowchart of the method for determining at least one target sports venue that matches the target sports type in the radiation area on each travel date according to the embodiments of the present application;
[0051] Figure 5 It shows a schematic structural diagram of the travel itinerary planning device according to the embodiments of the present application;
[0052] Figure 6 It shows a schematic structural diagram of the electronic device according to the embodiments of the present application. Detailed implementation manners
[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that the accompanying drawings in the present application are only for the purposes of illustration and description, and are not used to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to actual scale. The flowcharts used in the present application show the operations implemented according to some embodiments of the present application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and the steps without logical context relationships may be reversed or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of the present application.
[0054] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but only represents the selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts belong to the protection scope of the present application.
[0055] It should be noted that the term "including" will be used in the embodiments of the present application to indicate the existence of the features stated thereafter, but does not exclude the addition of other features.
[0056] Currently, traveling is a common leisure and relaxation method chosen by users. However, when traveling, while enjoying the beautiful scenery and tasting delicious food, it will also bring some anxiety due to breaking the daily living habits. Especially for those who maintain regular exercise habits in daily life and have the need to lose weight, it causes users to be forced to make a compromise between "deep travel" and "achieving sports goals", affecting the psychological experience of users' travel.
[0057] Users sometimes get very anxious because they fail to achieve their exercise goals. For example, a user's regular exercise rhythm is disrupted during a trip. For instance, a daily morning runner may be troubled when traveling because they can't find a suitable running venue, or they need to expend extra energy to coordinate scenic spots and fitness routes. The same problem exists for people trying to lose weight. Since they can't quantify their exercise amount during the trip, it may lead to the interruption of their weight loss plan, and some may even end up abandoning all their previous efforts and overeating.
[0058] Moreover, some users with exercise needs may also abandon their travel plans because it's difficult for them to achieve their exercise goals.
[0059] Based on this, the present application proposes a method, device, and electronic device for planning a travel itinerary with combined exercise. The method responds to a first user entering an exercise combined mode for a target travel route, and obtains the first user's basic physiological data, exercise device data, target exercise type, and exercise goal. The target travel route includes multiple travel dates and the itinerary route corresponding to each travel date. The itinerary route includes multiple target locations. Based on the first user's basic physiological data and exercise device data, an exercise-calorie consumption portrait for the first user is generated. The exercise-calorie consumption portrait represents the calories consumed by the first user during exercise. Based on the first user's target exercise type and exercise goal, at least one target exercise venue that matches the target exercise type is determined in the radiation area of each travel date, and various travel planning data and calorie consumption data for each travel date are determined based on the target exercise venue, the exercise goal, and the exercise-calorie consumption portrait. The exercise amount of each exercise venue in different travel planning data is different. Based on the itinerary route corresponding to each travel date, each exercise planning data, and the calorie consumption data, travel exercise calendar information is generated, and the travel exercise calendar information is sent to the terminal device of the first user, so that the program of the terminal device executes the travel exercise calendar information to prompt the first user to exercise. In this way, based on the user's exercise goal, the exercise route is directly embedded in the travel itinerary, eliminating to a certain extent the spatio-temporal gap between "scenic spot visits" and "exercise venue switching" in traditional planning. Users don't need to sacrifice their travel experience to achieve their exercise goals. By dynamically adjusting the exercise intensity through the exercise-calorie consumption portrait (such as optimizing the running pace according to the user's basal metabolic rate), accurate exercise data is planned for the user, ensuring that the user can still maintain their exercise habit and achieve their exercise goal during the trip, reducing the user's anxiety, and enhancing the fun of the user's travel.
[0060] Please refer to Figure 1 , Figure 1 which shows the flowchart of the method for planning a travel itinerary with combined exercise according to an embodiment of the present application. As Figure 1 shown, the method for planning a travel itinerary includes the following steps: S101 - S104:
[0061] S101. In response to the first user entering the sports composite mode for the target travel route, obtain the basic physiological data, sports equipment data, target sports type, and sports goal of the first user; the target travel route includes multiple travel dates and the itinerary corresponding to each travel date; the itinerary includes multiple target locations.
[0062] S102. Generate a sports-calorie consumption portrait for the first user based on the basic physiological data and sports equipment data of the first user; the sports-calorie consumption portrait represents the calories consumed by the first user during exercise.
[0063] S103. Based on the target sports type and sports goal of the first user, determine at least one target sports venue that matches the target sports type in the radiation area of each travel date, and determine various travel planning data and calorie consumption data for each travel date based on the target sports venue, the sports goal, and the sports-calorie consumption portrait; the amount of exercise at each sports venue in different travel planning data is different.
[0064] S104. Generate travel sports calendar information based on the itinerary corresponding to each travel date, each type of travel planning data, and calorie consumption data, and send the travel sports calendar information to the terminal device of the first user, so that the program of the terminal device executes the travel sports calendar information to prompt the first user to exercise.
[0065] In the step S101, in response to the first user entering the sports composite mode for the target travel route, obtain the basic physiological data, sports equipment data, target sports type, and sports goal of the first user; the target travel route includes multiple travel dates and the itinerary corresponding to each travel date; the itinerary includes multiple target locations.
[0066] When the first user enters the sports composite mode for the target travel route, specifically, when the first user triggers the "sports composite mode" through the user terminal (such as a mobile phone); in some embodiments, the triggering of the sports composite mode is as follows: open the target application, display the user interface, and the user interface displays multiple travel modes for the user to choose from, such as the sports composite mode, the travel mode, etc.; click on the sports composite mode to enter the mode setting interface, where the user can customize parameters such as the target sports type and sports goal, and at the same time configure the basic physiological data and sports equipment data; among them, the basic physiological data can be manually input by the user or obtained from other devices; the sports equipment data is obtained from the sports equipment.
[0067] In some embodiments, before responding to the first user entering the sports composite mode for the target travel route, the method further includes:
[0068] In response to a first selection operation of a first user for a preconfigured travel route and a second selection operation of a travel date, determining a target travel route;
[0069] or,
[0070] In response to a first configuration operation by the first user for a plurality of target locations in the map and a third selection operation for a travel date, a target travel route is determined.
[0071] The target locations include scenic spots, restaurants, hotels, etc.
[0072] In some embodiments, multiple tourist routes are displayed on the user interface of the terminal device, such as a three-day tour of Q City; the target location in each preset tourist route is determined, such as a three-day tour of Q City, including Hotel A, Scenic Area A, Scenic Area B and Scenic Area C.
[0073] In some embodiments, when a user needs a deeply personalized itinerary (such as photography tours, exploration of niche secrets), a travel route is automatically generated based on the target locations marked by the user on the map.
[0074] Obtain basic physiological data and sports equipment data of the first user. Specifically, the user triggers a multi-dimensional data acquisition interface; the multi-dimensional data acquisition interface includes multiple input controls; the multiple input controls include: basic physiological data input controls and sports equipment access controls, and the user inputs multi-dimensional parameters in the multi-dimensional data acquisition interface.
[0075] Specifically, the sports equipment data includes: daily steps, maximum oxygen uptake (VOmax), resting heart rate, etc. in historical sports data; the basic physiological data includes gender, height, weight, age).
[0076] Please refer to Figure 2 In some embodiments, obtaining the target motion type and motion target of the first user includes the following steps S201-S203:
[0077] S201, in response to a first user entering a sports composite mode for a target travel route, acquiring an adapted sports type and a general sports type corresponding to the target travel route;
[0078] S202, in response to receiving a configuration instruction from a first user for the adapted motion type and the general motion type, determining a target motion type;
[0079] S203: Obtain the fat loss amount configured by the first user or the exercise amount for the target exercise type, and determine the exercise target.
[0080] In some embodiments, after the user determines the target travel route, the user enters the mode setting interface, where the user can perform personalized configuration on the target exercise type and exercise target parameters.
[0081] First, based on the geographical features of the current itinerary of the target travel route (such as route altitude changes, scenic spot spacing, landforms), recommend a suitable exercise type (such as cycling, hiking, mountain climbing); then determine general exercise types such as walking, running, swimming, yoga.
[0082] When displayed on the graphical user interface of the terminal device, the suitable exercise type corresponds to a suitable identifier to remind the first user.
[0083] The suitable exercise type and general exercise type are exercise types for the user to choose from. The first user determines the selected target exercise type through operations such as selection and input.
[0084] Obtain the amount of fat loss configured by the first user or the amount of exercise for the target exercise type, and determine the exercise target, that is, the exercise target is the amount of exercise or the amount of fat loss.
[0085] Exemplarily, the amount of exercise is 10,000 steps, running 10 kilometers, or running for 30 minutes, yoga for 1 hour, etc.
[0086] The amount of fat loss is 2 kg of fat loss, etc.
[0087] In step S102, based on the basic physiological data and exercise device data of the first user, generate an exercise-calorie consumption portrait for the first user; the exercise-calorie consumption portrait represents the calories consumed by the first user during exercise.
[0088] In step S102, based on the basic physiological data and exercise device data of the first user, generate an exercise-calorie consumption portrait for the first user; the exercise-calorie consumption portrait represents the calories consumed by the first user during exercise.
[0089] Specifically, please refer to Figure 3 , based on the basic physiological data and exercise device data of the first user, generate an exercise-calorie consumption portrait for the first user, including the following steps S301 - S302:
[0090] S301. Input the basic physiological data and exercise device data of the first user into a pre-trained exercise calorie consumption model;
[0091] S302. Process the basic physiological data and exercise device data through the exercise calorie consumption model, and output the calorie consumption data of various types of exercise for the first user.
[0092] Specifically, according to the input requirements of the model, preprocess the basic physiological data and sports equipment data, format the basic physiological data and sports equipment data into a format acceptable to the model, and input the preprocessed data into a pre-trained exercise calorie consumption model.
[0093] The exercise calorie consumption model has been trained with a large number of sample data and can accurately predict the calorie consumption under different physiological characteristics and exercise conditions.
[0094] The model uses built-in algorithms and logics, combines the input basic physiological data and sports equipment data, estimates the calorie consumption, and the calorie consumption data of the first user under various exercise conditions.
[0095] Exemplarily, the calorie consumption data includes various speed parameters (such as jogging, running fast, walking, etc.) and the calorie consumption values matching each speed parameter.
[0096] In step S103, based on the target exercise type and exercise goal of the first user, determine at least one target sports venue that matches the target exercise type in the radiation area of each travel date, and determine various travel planning data and calorie consumption data in each travel date based on the target sports venue, the exercise goal, and the exercise-calorie consumption portrait; the exercise amount of each sports venue in different travel planning data is different.
[0097] Please refer to Figure 4 , based on the target exercise type and exercise goal of the first user, determining at least one target sports venue that matches the target exercise type in the radiation area of each travel date includes the following steps S401 - S406:
[0098] S401. Obtain the key coordinates, radiation radius, and open-source map data in the itinerary of each travel date, and determine the radiation area corresponding to the itinerary; the key coordinates include the coordinates of the target location, the boundaries of the target location, and the coordinates of the sampling points obtained by sampling the itinerary.
[0099] S402. Perform position matching between the radiation area corresponding to the itinerary and the pre-constructed sports venue feature space to determine the candidate sports venues that match the radiation area; the sports venue feature space includes multiple sports venues and the attribute information and matching degree information of each sports venue; the matching degree information of the sports venue includes the matching degree of the sports venue and each exercise type; the sports venue includes the original sports venue, the sports venue obtained by converting other types of venues and / or roads through configuration operations.
[0100] S403. Obtain the first offset distance between each candidate sports venue and the itinerary.
[0101] S404, in response to satisfying the first trigger condition of the leisure sports mode or the second trigger condition of the special training mode, determining a target venue screening model that matches the sports mode; wherein the venue screening model corresponding to the leisure sports mode takes the offset distance from the travel route as a target, and the venue screening model corresponding to the special training mode takes the venue matching degree as a target;
[0102] S405, determining a first target score for each candidate sports location through the target venue screening model based on the matching degree between the candidate sports location and the target sports type and the offset distance of the travel route;
[0103] S406: Select a target sports venue whose first target score is greater than a preset score threshold from the candidate sports venues.
[0104] The radiation area corresponding to the itinerary route is the area near the itinerary route; the radiation area is determined based on the target location in the itinerary route and the sampling points in the path between the target locations; illustratively, the target locations are: the coordinates of point A in scenic spot A and the coordinates of point B in scenic spot B; path sampling: a coordinate point is taken every 500 meters in the route between the coordinates of point A in scenic spot A and the coordinates of point B in scenic spot B.
[0105] The multiple sports venues in the sports venue feature space may be discovered through map retrieval, such as stadiums, parks, etc., or may be constructed by users themselves; for example, an open-air basketball court (original venue); AA Street cycling path (road conversion venue, uploaded by users).
[0106] The first trigger condition of the leisure sports mode or the second trigger condition of the special training mode may be set by the first user himself.
[0107] If the first user selects "leisure sports mode", priority will be given to venues that are close; if the "special training mode" (running training, yoga training) is selected, priority will be given to venues with high professionalism (hotel gyms).
[0108] Determine the target site screening model that matches the motion mode. You can select a matching model from two models, or adjust the weights of the matching degree and offset distance in the model.
[0109] Selecting target sports venues whose first target scores are greater than a preset score threshold from the candidate sports venues indicates that these target sports venues can meet the user's sports needs and take into account the continuity of the tour.
[0110] Determine the exercise planning data and calorie consumption data for each target sports venue on each travel date based on the exercise goal and exercise-calorie consumption profile, including:
[0111] Generate multiple exercise planning data based on the travel date corresponding to the first user's exercise pattern; wherein, each exercise planning data achieves the exercise goal through at least part of the exercise venues;
[0112] Combine the weather parameters of the travel date, the exercise pattern, and the fat loss goal to generate descriptive information for each exercise planning data.
[0113] Generate multiple exercise planning data based on the travel date corresponding to the first user's exercise pattern, including:
[0114] Determine the amount of exercise to be allocated corresponding to the travel date; the amount of exercise to be allocated is the amount of exercise in the exercise goal or the amount of exercise converted from the fat loss amount in the exercise goal; determine the amount of exercise corresponding to the travel date; the fat loss amount is converted from the exercise-calorie consumption portrait of the first user to obtain the amount of exercise;
[0115] For the leisure exercise pattern, adjust the amount of exercise to be allocated corresponding to the travel date based on the preset redundancy parameter to obtain the adjusted amount of exercise to be allocated corresponding to the travel date;
[0116] Based on the attributes of each target exercise venue, allocate the amount of exercise corresponding to the travel date to each target exercise venue corresponding to the travel date, and determine the exercise planning data of each target exercise venue; the exercise planning data of the target exercise venue includes the amount of exercise of at least one target exercise type;
[0117] For the special training pattern, determine the quality ranking of the different target exercise venues, and determine the exercise planning data for each target exercise venue to complete the amount of exercise to be allocated corresponding to the travel date alone.
[0118] The amount of exercise converted from the fat loss amount determines the amount of exercise corresponding to the travel date. Specifically, it includes:
[0119] Obtain the fat loss goal input by the first user, and determine the calorie deficit corresponding to the daily itinerary;
[0120] Obtain the historical fat loss data of the second user who has undergone fat loss tourism on the target travel route; the historical fat loss data includes: the basic physiological data, actual fat loss results, and exercise equipment data of the second user;
[0121] Conduct cluster analysis on the basic physiological data and exercise equipment data of the second user on the target travel route, and the basic physiological data and exercise equipment data of the first user to determine the user cluster that matches the basic physiological data and exercise equipment data of the first user;
[0122] Based on the actual fat loss results of the user cluster, judge whether the fat loss goal of the first user is reasonable;
[0123] If it is unreasonable, update the fat loss goal of the first user based on the actual fat loss results of the user cluster to obtain the updated fat loss goal.
[0124] Determine the amount of exercise corresponding to the travel date from the amount of fat loss converted exercise amount, including the exercise amounts corresponding to multiple exercise types.
[0125] For the leisure exercise mode, adjust the amount of exercise to be allocated corresponding to the travel date based on the preset redundancy parameter. Exemplarily, the redundancy coefficient is 1.5;
[0126] Original goal: Run 10 km per day; After adjustment = 10 × 1.5 = 15 km / day.
[0127] In order to deeply couple the travel itinerary, for the leisure exercise mode, allocate the exercise amount to each target exercise venue to ensure that the user can complete the exercise goal without being too exhausted due to exercise; The redundancy coefficient is set because there are many situations during the travel. In fact, users often do not exercise at each target venue and often choose to exercise at some venues. For example, there are 3 exercise venues including Scenic Area A, Scenic Area B and the hotel gym, and walk 5 km at each venue; However, in fact, most users choose to walk in Scenic Area A and Scenic Area B respectively, rather than walking in the hotel gym.
[0128] The exercise planning data of the target exercise venue includes the exercise amounts of at least one target exercise type. Exemplarily, for example, the hotel gym can be running 5 km or yoga for 1 hour, etc.
[0129] The quality ranking of different target exercise venues can be evaluated and pre-configured based on facility scores, safety scores, slope adaptation, emergency resources, etc., or can be configured in combination with user scores.
[0130] In step S105, send the target exercise route and exercise planning data for the first user to the terminal device of the first user, so that the program of the terminal device prompts the first user to exercise based on the target exercise route and exercise planning data.
[0131] In step S104, generate travel exercise calendar information based on the itinerary route corresponding to each travel date, each exercise planning data and calorie consumption data, and send the travel exercise calendar information to the terminal device of the first user, so that the program of the terminal device executes the travel exercise calendar information to prompt the first user to exercise.
[0132] The travel and sports calendar information is used to enable the program of the terminal device to execute the travel and sports calendar information, and visually display the itinerary corresponding to the travel date, each sports planning data, and calorie consumption data in the form of a calendar, so as to improve the readability of the information.
[0133] In some embodiments, for the travel itinerary planning method of the composite sports, after sending the travel and sports calendar information to the terminal device of the first user, the method further includes:
[0134] Obtain real-time weather information based on the travel date through the API interface;
[0135] Obtain the user feedback information on the travel date; the user feedback information includes dietary calories, execution results of sports goals, information on changes in target sports types, information on changes in sports goals, and information on changes in sports modes;
[0136] Based on the real-time weather information and the user feedback information, adjust the sports planning data of the next target sports venue on the travel date in the travel and sports calendar information, and / or adjust the sorting or content of the sports planning data of different types of sports on the next travel date.
[0137] Exemplarily, when the user has completed the sports goals at the first three target sports venues, cancel the sports planning for the subsequent target sports venues and prompt the user that the sports goals have been completed.
[0138] When the weather temperature is relatively high, sort the sports planning data of running in the stadium after the sports planning data of running in the hotel gym.
[0139] The present application also provides a travel itinerary planning device for composite sports, as Figure 5 shown in the block diagram of a travel itinerary planning device for composite sports. The functions implemented by this travel itinerary planning device for composite sports correspond to the steps of the travel itinerary planning method for composite sports executed on the terminal device. This device can be understood as a component of a server including a processor. The travel itinerary planning device described in the present application, the travel itinerary planning device includes:
[0140] An acquisition module 501, configured to, in response to the first user entering the sports composite mode for the target travel route, acquire the basic physiological data, sports equipment data, target sports type, and sports goal of the first user; the target travel route includes multiple travel dates and the itinerary corresponding to each travel date; the itinerary includes multiple target locations;
[0141] The first generation module 502 is configured to generate an exercise-calorie consumption portrait for the first user based on the basic physiological data and exercise device data of the first user; the exercise-calorie consumption portrait represents the calories consumed by the first user during exercise.
[0142] The first determination module 503 is configured to determine at least one target exercise venue that matches the target exercise type in the radiation area of each travel date based on the target exercise type and exercise goal of the first user, and determine various travel planning data and calorie consumption data in each travel date based on the target exercise venue, the exercise goal, and the exercise-calorie consumption portrait; the exercise amount of each exercise venue in different travel planning data is different.
[0143] The second generation module 504 is configured to generate travel exercise calendar information based on the itinerary corresponding to each travel date, each exercise planning data, and the calorie consumption data, and send the travel exercise calendar information to the terminal device of the first user, so that the program of the terminal device executes the travel exercise calendar information to prompt the first user to exercise.
[0144] In a feasible implementation manner, the device further includes:
[0145] The second determination module is configured to determine a target travel route in response to a first selection operation of the first user for a pre-configured travel route and a second selection operation of the travel date before the first user enters the exercise composite mode for the target travel route.
[0146] Or,
[0147] In response to a first configuration operation of the first user for multiple target locations on the map and a third selection operation of the travel date, determine the target travel route.
[0148] In a feasible implementation manner, when the acquisition module acquires the target exercise type and exercise goal of the first user, it is specifically configured to:
[0149] In response to the first user entering the exercise composite mode for the target travel route, acquire the adapted exercise type and general exercise type corresponding to the target travel route;
[0150] In response to receiving a configuration instruction from the first user for the adapted exercise type and general exercise type, determine the target exercise type;
[0151] Acquire the amount of fat loss configured by the first user or the exercise amount for the target exercise type, and determine the exercise goal.
[0152] In a feasible implementation manner, when the first generation module is used to generate a motion-calorie consumption portrait for the first user based on the basic physiological data and motion device data of the first user, it is specifically used for:
[0153] Input the basic physiological data and motion device data of the first user into a pre-trained motion calorie consumption model;
[0154] Process the basic physiological data and motion device data through the motion calorie consumption model; output the calorie consumption data of various motions of the first user.
[0155] In a feasible implementation manner, when the first determination module determines at least one target motion venue that matches the target motion type in the radiation area of each travel date based on the target motion type and motion target of the first user, it is specifically used for:
[0156] Obtain the key coordinates, radiation radius, and open-source map data in the itinerary of each travel date, and determine the radiation area corresponding to the itinerary; the key coordinates include the coordinates of the target location, the boundaries of the target location, and the coordinates of the sampling points obtained by sampling the itinerary;
[0157] Perform position matching between the radiation area corresponding to the itinerary and a pre-constructed motion venue feature space to determine candidate motion venues that match the radiation area; the motion venue feature space includes multiple motion venues and the attribute information and matching degree information of each motion venue; the matching degree information of the motion venue includes the matching degree between the motion venue and each motion type; the motion venue includes existing motion venues, motion venues obtained by converting other types of venues and / or roads through configuration operations;
[0158] Obtain the offset distance between each candidate motion venue and the itinerary;
[0159] In response to meeting the first trigger condition for the leisure sports mode or the second trigger condition for the special training mode, determine a target venue screening model that matches the motion mode; among them, the venue screening model corresponding to the leisure sports mode targets the offset distance from the itinerary, and the venue screening model corresponding to the special training mode targets the venue matching degree;
[0160] Based on the matching degree between the candidate motion location and the target motion type and the offset distance from the itinerary, determine the first target score of each candidate motion location through the target venue screening model;
[0161] Select target motion venues with a first target score greater than the preset score threshold from the candidate motion locations.
[0162] In a feasible implementation manner, the first determination module, when determining the exercise planning data and calorie consumption data of each target sports venue in each travel date based on the exercise target and the exercise-calorie consumption portrait, is specifically used to:
[0163] Based on the movement pattern corresponding to the first user, generating a plurality of movement planning data corresponding to the travel date; wherein each movement planning data achieves a movement goal through at least a portion of the sports venue;
[0164] Descriptive information for each type of sports planning data is generated by combining the weather parameters of the travel date, the sports mode and the sports goal.
[0165] In a feasible implementation manner, the first determination module, when generating a plurality of exercise planning data corresponding to the travel date based on the exercise mode corresponding to the first user, is specifically used to:
[0166] Determine the amount of exercise to be allocated corresponding to the travel date; the amount of exercise to be allocated is the amount of exercise in the exercise target or the amount of exercise obtained by converting the amount of fat loss in the exercise target; determine the amount of exercise corresponding to the travel date; the amount of fat loss is obtained by converting the exercise-calorie consumption profile of the first user;
[0167] For the leisure sports mode, the amount of exercise to be allocated corresponding to the travel date is adjusted based on the preset redundant parameters to obtain the adjusted amount of exercise to be allocated corresponding to the travel date;
[0168] Based on the attributes of each target sports venue, the amount of exercise corresponding to the travel date is allocated to each target sports venue corresponding to the travel date, and the exercise planning data of each target sports venue is determined; the exercise planning data of the target sports venue includes the amount of exercise of at least one target sports type;
[0169] For the special training mode, the quality rankings of the different target sports venues are determined, and the exercise planning data for the amount of exercise to be allocated corresponding to the travel date for each target sports venue is determined. The quality rankings of different target sports venues are used to assist users in selecting venues, thereby ensuring that the user's special exercise is completed in a high-quality length.
[0170] In a feasible implementation manner, the device further includes an adjustment module, which is used to obtain real-time weather information based on the travel date based on an API interface after sending the travel and sports calendar information to the terminal device of the first user;
[0171] Obtain user feedback information on the travel date; the user feedback information includes dietary calories, exercise target execution results, target exercise type change information, exercise target change information, and exercise mode change information;
[0172] Based on the real-time weather information and user feedback information, adjust the exercise planning data of the next target exercise venue on the travel date in the travel and exercise calendar information, and / or adjust the sorting of exercise planning data of different types or the content of exercise planning data for the next travel date.
[0173] This application also provides an electronic device, such as Figure 6 shown, including: a processor 601, a memory 602, and a bus 603. The memory 602 stores machine-readable instructions executable by the processor 601. When the electronic device is running, the processor 601 communicates with the memory 602 through the bus 503. When the machine-readable instructions are executed by the processor 601, the steps of the travel itinerary planning method for any one of the composite exercises are executed.
[0174] This application also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the travel itinerary planning method for any one of the composite exercises are executed.
[0175] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the method embodiments, which will not be elaborated in this application. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there can be other division methods in actual implementation. For another example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or modules can be in electrical, mechanical, or other forms.
[0176] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0177] In addition, the functional units in each embodiment of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0178] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0179] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A method for planning a tourism itinerary with compound movements, characterized in that, The described travel itinerary planning method includes the following steps: In response to a first user entering a motion composite mode for a target travel route, obtain the first user's basic physiological data, motion device data, target motion type, and motion goal; the target travel route includes multiple travel dates and a corresponding itinerary route for each travel date; the itinerary route includes multiple target locations; Based on the first user's basic physiological data and motion device data, generate a motion-calorie consumption portrait for the first user; the motion-calorie consumption portrait characterizes the calories consumed by the first user during motion. Based on the first user's target motion type and motion goal, determine at least one target motion venue that matches the target motion type in the radiation area of each travel date, and determine various travel planning data and calorie consumption data for each travel date based on the target motion venue, the motion goal, and the motion-calorie consumption portrait; the amount of exercise at each motion venue in different travel planning data is different. Generate travel motion calendar information based on the itinerary route corresponding to each travel date, each type of motion planning data, and calorie consumption data, and send the travel motion calendar information to the terminal device of the first user, so that the program of the terminal device executes the travel motion calendar information to prompt the first user to exercise.
2. The method for planning a tourism itinerary with compound motion according to claim 1, wherein, Before responding to the first user entering the motion composite mode for the target travel route, the method further includes: In response to a first selection operation of the first user for a pre-configured travel route and a second selection operation of the travel date, determine the target travel route; Or, In response to a first configuration operation of the first user for multiple target locations on the map and a third selection operation of the travel date, determine the target travel route.
3. The method for planning a tourism itinerary with compound movement according to claim 1, wherein Obtaining the first user's target motion type and motion goal includes: In response to the first user entering the motion composite mode for the target travel route, obtain the adapted motion type and general motion type corresponding to the target travel route; In response to receiving a configuration instruction from the first user for the adapted motion type and general motion type, determine the target motion type; Obtain the amount of fat loss configured by the first user or the amount of exercise for the target motion type, and determine the motion goal.
4. The method for planning a tourism itinerary with compound movement according to claim 1, wherein Generating a motion-calorie consumption portrait for the first user based on the first user's basic physiological data and motion device data includes: Input the first user's basic physiological data and motion device data into a pre-trained motion calorie consumption model; Process the basic physiological data and motion device data through the motion calorie consumption model, and output the calorie consumption data of various types of motion of the first user.
5. The travel itinerary planning method for composite motion according to claim 1, wherein Based on the first user's target motion type and motion goal, determining at least one target motion venue that matches the target motion type in the radiation area of each travel date includes: Obtain key coordinates, radiation radius and open source map data in the itinerary of each travel date to determine the radiation area corresponding to the itinerary; the key coordinates include the coordinates of the target location, the boundary of the target location and the coordinates of the sampling points obtained by sampling the itinerary; Position matching is performed between the radiation area corresponding to the itinerary and the pre-constructed sports venue feature space to determine candidate sports venues matching the radiation area; the sports venue feature space includes multiple sports venues and attribute information and matching degree information of each sports venue; the matching degree information of the sports venue includes the matching degree of the sports venue and each type of sport; the sports venues include original sports venues and sports venues obtained by converting other types of venues and / or roads through configuration operations; Obtaining an offset distance between each candidate sports venue and the travel route; In response to satisfying the first trigger condition of the leisure sports mode or the second trigger condition of the special training mode, determining a target venue screening model that matches the sports mode; wherein the venue screening model corresponding to the leisure sports mode takes the offset distance from the travel route as a target, and the venue screening model corresponding to the special training mode takes the venue matching degree as a target; Determining a first target score for each candidate sport location through the target venue screening model based on the matching degree between the candidate sport location and the target sport type and the offset distance of the travel route; A target sports venue having a first target score greater than a preset score threshold is selected from the candidate sports venues.
6. The method for planning a tourism itinerary with a compound movement according to claim 5, characterized in that, Determine the exercise planning data and calorie consumption data for each target sports venue on each travel date based on the exercise goal and exercise-calorie consumption profile, including: Based on the movement pattern corresponding to the first user, generating a plurality of movement planning data corresponding to the travel date; wherein each movement planning data achieves a movement goal through at least a portion of the sports venue; Descriptive information for each type of sports planning data is generated by combining the weather parameters of the travel date, the sports mode and the sports goal.
7. The method for planning a tourism itinerary with compound motion according to claim 6, characterized in that, Based on the motion pattern corresponding to the first user, a plurality of motion planning data corresponding to the travel date is generated, including: Determine the amount of exercise to be allocated corresponding to the travel date; the amount of exercise to be allocated is the amount of exercise in the exercise target or the amount of exercise obtained by converting the amount of fat loss in the exercise target; determine the amount of exercise corresponding to the travel date; the amount of fat loss is obtained by converting the exercise-calorie consumption profile of the first user; For the leisure sports mode, the amount of exercise to be allocated corresponding to the travel date is adjusted based on the preset redundant parameters to obtain the adjusted amount of exercise to be allocated corresponding to the travel date; Based on the attributes of each target sports venue, the amount of exercise corresponding to the travel date is allocated to each target sports venue corresponding to the travel date, and the exercise planning data of each target sports venue is determined; the exercise planning data of the target sports venue includes the amount of exercise of at least one target sports type; For the special training mode, determine the quality rankings of the different target sports venues, and determine the exercise planning data of the exercise volume to be allocated corresponding to the travel dates completed by each target sports venue alone. The quality rankings of the different target sports venues are used to assist users in selecting venues, so as to ensure that users can complete their special exercises at high quality venues.
8. The method for planning a travel itinerary for a composite exercise according to claim 1, after sending the travel exercise calendar information to the terminal device of the first user, the method further includes: Obtain real-time weather information based on the travel date through an API interface; Obtain user feedback information on the travel date; The user feedback information includes dietary calories, exercise target execution results, target exercise type change information, exercise target change information, and exercise mode change information; Based on the real-time weather information and user feedback information, adjust the exercise planning data of the next target sports venue on the travel date in the travel exercise calendar information, and / or adjust the sorting or content of the exercise planning data of different types of exercise in the next travel date.
9. A travel itinerary planning device for compound motion, characterized in that, It includes: An acquisition module, configured to, in response to the first user entering the exercise composite mode for the target travel route, acquire the basic physiological data, exercise equipment data, target exercise type, and exercise target of the first user; the target travel route includes multiple travel dates and the itinerary corresponding to each travel date; The itinerary includes multiple target locations; A first generation module, configured to generate an exercise-calorie consumption portrait for the first user based on the basic physiological data and exercise equipment data of the first user; The exercise-calorie consumption portrait represents the calories consumed by the first user during exercise; A first determination module, configured to, based on the target exercise type and exercise target of the first user, determine at least one target sports venue that matches the target exercise type in the radiation area of each travel date, and determine various travel planning data and calorie consumption data in each travel date based on the target sports venue, the exercise target, and the exercise-calorie consumption portrait; The exercise volume of each sports venue in different travel planning data is different; A second generation module, configured to generate travel exercise calendar information based on the itinerary corresponding to each travel date, each type of travel planning data, and calorie consumption data, and send the travel exercise calendar information to the terminal device of the first user, so that the program of the terminal device executes the travel exercise calendar information to prompt the first user to exercise.
10. An electronic device, characterized in that, It includes: A processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the method for planning a travel itinerary for a composite exercise according to any one of claims 1 to 8 are executed.
Citation Information
Patent Citations
System and method for GIS-based tourism and sports route planning and positioning of real scene information
CN105260799A
Sports field information pushing method and sports field information pushing device
CN106226797A
Method, device and system for planning movement path of user, and smart bracelet
CN108168538A
Travel route planning method and system based on motion steps
CN112001538A
Campus life recording method fused with large model
CN118396795A