WO2022134479A1 - 路线推荐方法、装置、电子设备和存储介质 - Google Patents
路线推荐方法、装置、电子设备和存储介质 Download PDFInfo
- Publication number
- WO2022134479A1 WO2022134479A1 PCT/CN2021/097905 CN2021097905W WO2022134479A1 WO 2022134479 A1 WO2022134479 A1 WO 2022134479A1 CN 2021097905 W CN2021097905 W CN 2021097905W WO 2022134479 A1 WO2022134479 A1 WO 2022134479A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- scenic spot
- duration
- scenic
- list
- itinerary
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004590 computer program Methods 0.000 claims description 12
- 238000005065 mining Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000007418 data mining Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
Definitions
- the present application relates to the field of data processing, in particular to the field of intelligent recommendation.
- the route quality of self-driving tours is often the core of tourist satisfaction.
- users generally search for routes recommended by other users through the Internet, and select a route that is relatively more suitable for their own needs.
- the present application provides a route recommendation method, apparatus, electronic device and storage medium.
- a method for recommending a route comprising:
- a recommended route of the target itinerary is determined based on the scenic spot list.
- a route recommendation device comprising:
- the information acquisition module is used to acquire the information of the ith scenic spot input for the target itinerary; wherein, i is a positive integer;
- the duration determination module is used to update the scenic spot list of the target itinerary based on the information of the ith scenic spot, and determine the estimated tour duration based on the scenic spot list;
- the route determination module is configured to determine the recommended route of the target itinerary based on the scenic spot list when the difference between the planned itinerary duration of the target itinerary and the expected tour duration is less than a preset threshold.
- an electronic device comprising:
- the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method provided by the embodiments of the present application.
- a non-transitory computer-readable storage medium storing computer instructions
- the computer instructions are used to cause a computer to execute the method provided by the embodiments of the present application.
- a computer program product including a computer program, which implements the method in the embodiments of the present application when the computer program is executed by a processor.
- the scenic spot list can be updated based on the input scenic spot information, and the recommended route is determined when the gap between the estimated tour duration and the itinerary plan duration is determined based on the scenic spot list is small. Therefore, the list of scenic spots can be determined according to the user's input, the number of scenic spots in the itinerary can be reasonably set, and a high-quality recommended route that meets the user's personalized needs can be obtained.
- FIG. 1 is a schematic diagram of a route recommendation method provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of a route recommendation method provided by another embodiment of the present application.
- FIG. 3 is a schematic diagram of an application example of the route recommendation method of the present application.
- FIG. 4 is a schematic diagram of a route recommendation device provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a route recommendation device provided by another embodiment of the present application.
- FIG. 6 is a block diagram of an electronic device used to implement the method for recommending a route according to an embodiment of the present application.
- FIG. 1 shows a schematic diagram of a route recommendation method provided by an embodiment of the present application. As shown in Figure 1, the method includes:
- Step S11 obtaining the information of the ith scenic spot input for the target itinerary; wherein, i is a positive integer;
- Step S12 based on the ith scenic spot information, update the scenic spot list of the target itinerary, and determine the estimated tour duration based on the scenic spot list;
- Step S13 when the difference between the planned itinerary duration of the target itinerary and the expected tour duration is less than a preset threshold, determine a recommended route for the target itinerary based on the scenic spot list.
- a scenic spot is an area including at least one scenic spot, which can provide users with relatively concentrated and rich landscapes, such as the Forbidden City scenic spot, Zhangjiajie scenic spot, and the like.
- scenic spots may refer to landscape units with relative independence and integrity, such as the Hall of Supreme Harmony scenic spot in the Forbidden City scenic spot, the Tianmen Mountain scenic spot in the Zhangjiajie scenic spot, and the like.
- the target itinerary may be the itinerary to which the recommended route for the user belongs.
- the user may input relevant information of the target itinerary, and the electronic device executing the above method may determine a recommended route for the target itinerary based on the acquired information input for the target itinerary.
- the relevant information of the target itinerary may include scenic spot information, travel start point, travel end point, travel start time, travel end time, travel days, and the like.
- the planned trip duration may be determined based on the trip start time and the trip end time.
- the user can input scenic spot information for the target itinerary, and the electronic device can obtain the scenic spot list according to the scenic spot information input by the user.
- the scenic spot information may include information such as the name, code, and initials of the scenic spot.
- the electronic device each time the user inputs scenic spot information, the electronic device adds the corresponding scenic spot name or code to the scenic spot list to update the scenic spot list once, and determines the estimated tour duration based on the scenic spot list. That is to say, after acquiring the information of the ith scenic spot, the scenic spot list may include the information of the ith scenic spot and the information of the X scenic spots obtained before. where X is an integer, for example, X can be 0.
- the user can be prompted to stop inputting scenic spot information, and the recommended route of the target trip can be determined based on the current scenic spot list.
- a prompt message for stopping the input of scenic spot information is output, and in the case where it is determined to stop inputting scenic spot information, for example, the user has input an instruction to determine to stop , and determine the recommended route for the target itinerary based on the list of scenic spots. Based on this, the recommended route can be determined when the number of scenic spots in the target itinerary is not completely saturated, so that the number of scenic spots in the target itinerary is reasonable and the itinerary can be arranged in an orderly manner.
- the (i+1)th scenic spot information input for the target itinerary can be acquired.
- the user can also be prompted to continue to input the scenic spot information, thereby continuing to update the scenic spot list.
- the above method may further include: when the difference between the planned itinerary duration of the target itinerary and the expected tour duration is greater than or equal to a preset threshold, outputting prompt information for continuing to input scenic spot information, and obtaining the input information for the target itinerary. (i+1)th scenic spot information. Based on this, as many scenic spots as possible can be set within the planned duration of the target itinerary, so that the user can visit and experience as much as possible.
- the scenic spot list can be updated based on the input scenic spot information, and the recommended route is determined when the difference between the estimated tour duration and the itinerary plan duration is determined based on the scenic spot list. Therefore, it is beneficial to reasonably set the number of scenic spots in the itinerary, and design high-quality routes that meet the individual needs of users. Avoid leaving too much spare time and causing users to visit insufficiently, or to miss some scenic spots in the itinerary due to excessively tight itinerary design.
- the estimated tour duration may be calculated based on the relevant information of the target itinerary and the relevant information of each scenic spot in the scenic spot list. As an example, as shown in FIG. 2, in the above step S12, the estimated tour duration is determined based on the list of scenic spots, including:
- Step S21 based on the travel start point, the travel end point of the target itinerary, and the location information of each scenic spot in the scenic spot list, calculate the journey time required for each scenic spot in the scenic spot list;
- Step S22 Determine the estimated tour duration based on the reasonable stay duration and journey duration of each scenic spot in the scenic spot list.
- the starting point of the target itinerary is P s
- the end point of the itinerary is Pe
- the journey duration T route can be calculated according to the following formula:
- each time length in formula (1) is the time required from the starting point of the itinerary P s to the 0th scenic spot P 0 in the scenic spot list, is the time required from the last scenic spot P n in the scenic spot list to the end of the trip Pe , is the time required to go from the (j-1)th scenic spot to the jth scenic spot in the scenic spot list.
- each duration in formula (1) may also be calculated in combination with the travel start time ts of the target travel. For example, call the future travel estimated time function in the map application program according to the travel start time t s of the target itinerary, and use the future travel estimated time function, based on the travel start point P s , the travel end point P e and the scenic spots in the scenic spot list. Location information to calculate the travel time required for each scenic spot in the list of scenic spots. The calculation results have high accuracy.
- the reasonable stay duration of each scenic spot in the scenic spot list can be obtained by mining based on historical data.
- the length of stay of multiple users in the scenic spot can be calculated according to the time when the multiple users enter and leave the scenic spot in the historical data.
- Statistics on the length of stay of multiple users in the scenic spot are performed to obtain the distribution information of the stay time.
- the distribution of residence time is generally Gaussian.
- the reasonable stay time of the scenic spot is determined. For example, take the median or expected value of the stay time as the reasonable stay time in the scenic spot.
- the distribution interval [T low , T high ] of the stay time of the X users with the longest stay time is taken as the reasonable stay time of the scenic spot; wherein, X is a positive integer, and X can be obtained based on a preset ratio, for example, X is 70%, 80% of the total number of users, etc.
- the total stay time T tour can be calculated according to the following formula:
- T j is the reasonable stay duration of the (j+1)th scenic spot, which is an arbitrary value in the distribution interval of stay duration [T iow , T high ].
- the estimated tour duration T can be determined according to the following formula:
- the starting point, the ending point of the itinerary and the location information of each scenic spot are used as the basis for calculation, and the length factors such as the length of the journey and the length of stay in the itinerary are fully considered. Therefore, the accurate estimated tour duration can be calculated, which is beneficial to Set the number of scenic spots accurately and reasonably to improve the itinerary experience.
- the estimated tour duration can be obtained based on the minimum value of the reasonable stay duration or the maximum value of the reasonable stay duration.
- the estimated tour duration can also be a certain duration interval, and when calculating the difference between the planned itinerary and the estimated tour duration, the calculation can be performed based on the maximum value of the duration interval to avoid excessive travel tension.
- the above-mentioned step S21 calculates the travel time required for each scenic spot in the scenic spot list, which may include:
- N tour orders Based on the list of scenic spots, determine N tour orders; wherein, N is a positive integer
- the itinerary end point of the target itinerary and the location information of each scenic spot in the scenic spot list calculate the N travel durations corresponding to the N tour sequences;
- the minimum value of the N journey durations is determined as the journey duration required to visit each scenic spot in the scenic spot list.
- all arrangements of the scenic spots in the scenic spot list can be traversed to obtain N tour orders. Then, based on each of the N tour orders, the journey duration is calculated according to formula (1) to obtain N journey durations. Take the minimum value as the travel time required to visit each scenic spot in the list of scenic spots.
- the length of the journey in the journey can be minimized, thereby improving the experience of the journey.
- the recommended route of the target itinerary is determined based on the list of scenic spots, including:
- the tour order corresponding to the minimum value of the N journey durations obtained based on the scenic spot list is determined as the tour order of each scenic spot in the recommended route of the target itinerary.
- the tour order corresponding to the minimum journey duration is determined as the tour order of each scenic spot in the recommended route of the target itinerary. Based on this, the recommended route can be optimized to the greatest extent.
- the electronic device can obtain the globally optimal scenic spot list and scenic spot tour order under the following constraints:
- argmin(T route ) means to minimize the journey duration T route .
- st(subject to) means that the following inequality needs to be satisfied, that is, the constraint condition is T duraion ⁇ T route +T tour ; among them, T duraion is the estimated travel time, T route is the travel time required for each scenic spot in the list of scenic spots, and T tour is the total length of stay.
- determining the recommended route of the target itinerary based on the scenic spot list may include:
- a route that meets the expected duration of stay is selected as the recommended route for the j-th scenic spot.
- the ratio of the expected staying time of each scenic spot may be determined based on the reasonable staying time of each scenic spot. According to this ratio and the difference between the planned itinerary duration of the target itinerary and the journey duration, the estimated stay duration of each scenic spot is determined.
- the recommended route based on the scenic spot list to determine the target itinerary includes a reasonable duration of stay as For the two scenic spots of 2.5h and 1.5h, the ratio of the estimated duration of stay in the two scenic spots should be 5:3. According to the difference between the planned duration of the itinerary and the duration of the journey of 6h and this ratio, the expected duration of stay in the two scenic spots can be calculated.
- the durations are 3.75h and 2.25h respectively.
- a set of high-quality routes for each scenic spot may be pre-configured.
- the set of high-quality routes can be derived based on historical data. For example, multiple user routes in the scenic spot are selected from historical data and added to the high-quality route set.
- the selection basis may be the popularity value of the user or the popularity value of the route, and the popularity value may be determined according to the number of times the user or the route has been viewed, the number of times the route has been commented, and the like.
- the duration interval corresponding to the high-quality route set may be divided into multiple sub-intervals. For example, if the duration of multiple users' routes in the scenic area is between 1h and 2h, the duration interval [1h, 2h] can be divided into sub-intervals [1h, 1.5h] and [1.5h, 2h]. If the estimated stay duration of the jth scenic spot in the scenic spot list is 1.75h, then the sub-interval [1.5h, 2h] is the one that matches the estimated stay duration, and the route with the stay duration in the sub-interval [1.5h, 2h] is determined as the Recommended routes for j scenic spots.
- the recommended route in the scenic spot can also be automatically determined for each scenic spot in the scenic spot list, which does not require the user to spend a lot of time and energy, and the recommendation efficiency is high.
- the embodiment of the present application also provides an exemplary way of determining a high-quality route corresponding to each scenic spot.
- the above route recommendation method may further include:
- L routes are selected from the M historical routes, and the set of high-quality routes corresponding to the jth scenic spot is obtained based on the L routes, where L is a positive integer less than or equal to M.
- statistics may be performed on the scenic spots passed by the M historical routes, and the Y scenic spots that have been passed the most times among them are determined as the core scenic spots.
- Y is a positive integer.
- M historical routes may be aggregated to obtain a set of historical routes to be selected.
- L routes may be selected according to the number of core scenic spots covered by each historical route in the route set of the area to be selected. For example, the number of core scenic spots in a scenic spot is 5. If the number of core scenic spots covered by a historical route is greater than 3, this route can be selected.
- obtaining a set of high-quality routes in the scenic spot based on the core scenic spots is beneficial to recommending routes in the scenic spot with high coverage of the core scenic spots and high experience for users.
- the embodiment of the present application also provides a method for determining the scenic spots passed by each historical route.
- the above route recommendation method may further include:
- P scenic spots associated with the P positioning point clusters are determined, and the P scenic spots are determined as the scenic spots passed by the kth historical route.
- clustering may be performed according to the spatial distances of user positioning points in each historical route to obtain multiple positioning point clusters, and the positioning point clusters with smaller positioning point density are eliminated to obtain the remaining P positioning point clusters. Then, according to the distance between the center of each positioning point cluster in the P positioning point clusters and each scenic spot in the scenic spot, each positioning point cluster is bound to the nearest scenic spot to obtain the scenic spots passed by the historical route.
- the scenic spots passed by the historical route can be accurately determined, thereby improving the accuracy of mining core scenic spots, which is conducive to recommending the most suitable routes in scenic spots for users.
- FIG. 3 shows a schematic diagram of an application example of the route recommendation method of the present application.
- the route recommendation method of the present application includes online service provision, offline data mining and estimated travel time in the future.
- offline data mining includes:
- Step S311 excavating a reasonable length of stay in the scenic spot
- Step S312 mining the core scenic spots of the scenic spot
- Step S313 determining the high-quality route set of the scenic spot.
- Online service offerings include:
- Step S321 setting relevant information of the target itinerary.
- the relevant information includes start time, end time, travel start point, travel end point, and the like. Based on the start time and end time, the planned duration of the itinerary can be calculated.
- Step S322 inputting a list of scenic spots.
- the polling access input module is adopted, the estimated tour duration is calculated after each input, and it is determined whether to continue the input until the estimated tour duration is close to the planned itinerary.
- the estimated tour duration can be calculated based on the reasonable stay duration in the scenic spot and the estimated travel time in the future.
- Step S323 determine the recommended route.
- the recommended route can be determined according to the core attractions of the scenic spot and the collection of high-quality routes.
- the scenic spot list can be updated based on the input scenic spot information, and the recommended route is determined when the difference between the estimated tour duration and the itinerary planned duration is determined based on the scenic spot list. Therefore, the list of scenic spots can be determined according to the user's input, the number of scenic spots in the itinerary can be reasonably set, and a high-quality recommended route that meets the user's personalized needs can be obtained.
- FIG. 4 shows a schematic diagram of a route recommendation device in an embodiment of the present application. As shown in Figure 4, the device includes:
- the information acquisition module 410 is used for acquiring the information of the ith scenic spot inputted for the target itinerary; wherein, i is a positive integer;
- a duration determination module 420 configured to update the scenic spot list of the target itinerary based on the ith scenic spot information, and determine the estimated tour duration based on the scenic spot list;
- the route determination module 430 is configured to determine the recommended route of the target itinerary based on the scenic spot list when the difference between the planned itinerary duration and the expected tour duration of the target itinerary is less than a preset threshold.
- the device further includes:
- the input determination module 510 is configured to obtain the (i+1)th scenic spot information input for the target itinerary when the difference between the planned itinerary duration and the expected tour duration of the target itinerary is greater than or equal to a preset threshold.
- the duration determination module 420 may include:
- the journey duration determination unit 421 is used to calculate the journey duration required for each scenic spot in the scenic spot list based on the journey start point, the journey end point of the target journey and the location information of each scenic spot in the scenic spot list;
- the total duration determining unit 422 is configured to determine the estimated tour duration based on the reasonable staying duration and the journey duration of each scenic spot in the scenic spot list.
- the journey duration determining unit 421 is used for:
- N tour orders Based on the list of scenic spots, determine N tour orders; wherein, N is a positive integer
- the itinerary end point of the target itinerary and the location information of each scenic spot in the scenic spot list calculate the N travel durations corresponding to the N tour sequences;
- the minimum value of the N journey durations is determined as the journey duration required to visit each scenic spot in the scenic spot list.
- the route determination module 430 is used to:
- the tour order corresponding to the minimum value of the N journey durations obtained based on the scenic spot list is determined as the tour order of each scenic spot in the recommended route of the target itinerary.
- the route determination module 430 may include:
- the stay duration determination unit 431 is used to determine the estimated stay duration of the jth scenic spot in the scenic spot list based on the planned trip duration of the target itinerary and the reasonable stay duration of each scenic spot in the scenic spot list;
- the scenic route determination unit 432 is configured to select a route that meets the expected stay duration from the set of high-quality routes corresponding to the jth scenic spot, as a recommended route for the jth scenic spot.
- the device further includes:
- the core scenic spot mining module 520 is used to determine the core scenic spot of the jth scenic spot from the scenic spots passed by the M historical routes of the jth scenic spot; wherein, M is a positive integer;
- the route selection module 530 is used to select L routes from M historical routes based on the core scenic spots of the jth scenic spot, and obtain a set of high-quality routes corresponding to the jth scenic spot based on the L routes, where L is less than or equal to M positive integer of .
- the device further includes:
- the positioning point clustering module 540 is used for clustering the user positioning points corresponding to the kth historical route in the M historical routes to obtain P positioning point clusters; wherein, k and P are both positive integers;
- the scenic spot determination module 550 is configured to determine P scenic spots associated with the P positioning point clusters based on the position information of each scenic spot in the j th scenic spot, and determine the P scenic spots as the scenic spots passed by the k th historical route.
- the apparatuses provided by the embodiments of the present application can implement the methods provided by the embodiments of the present application, and have corresponding beneficial effects.
- the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
- FIG. 6 shows a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure.
- Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
- Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices.
- the components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
- the device 600 includes a computing unit 601 that can be executed according to a computer program stored in a read only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603 Various appropriate actions and handling. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored.
- the computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
- An input/output (I/O) interface 605 is also connected to bus 604 .
- Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606, such as a keyboard, mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, an optical disk, etc. ; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, and the like.
- the communication unit 609 allows the device 600 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
- Computing unit 601 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of computing units 601 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various specialized artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc.
- the computing unit 601 executes the various methods and processes described above, such as a route recommendation method.
- the route recommendation method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608 .
- part or all of the computer program may be loaded and/or installed on device 600 via ROM 602 and/or communication unit 609.
- the computer program When the computer program is loaded into RAM 603 and executed by computing unit 601, one or more steps of the route recommendation method described above may be performed.
- the computing unit 601 may be configured to perform the route recommendation method by any other suitable means (eg, by means of firmware).
- Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof.
- FPGAs field programmable gate arrays
- ASICs application specific integrated circuits
- ASSPs application specific standard products
- SOC systems on chips system
- CPLD load programmable logic device
- computer hardware firmware, software, and/or combinations thereof.
- These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that
- the processor which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
- Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented.
- the program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer.
- a display device eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
- a keyboard and pointing device eg, a mouse or trackball
- Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
- the systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
- the components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
- a computer system can include clients and servers.
- Clients and servers are generally remote from each other and usually interact through a communication network.
- the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
Description
Claims (19)
- 一种路线推荐方法,包括:获取针对目标行程输入的第i个景区信息;其中,i为正整数;基于所述第i个景区信息,更新所述目标行程的景区列表,并基于所述景区列表确定预计游览时长;在所述目标行程的行程计划时长与所述预计游览时长之间的差值小于预设阈值的情况下,基于所述景区列表确定所述目标行程的推荐路线。
- 根据权利要求1所述的方法,还包括:在所述目标行程的行程计划时长与所述预计游览时长之间的差值大于等于预设阈值的情况下,获取针对所述目标行程输入的第(i+1)个景区信息。
- 根据权利要求1或2所述的方法,其中,所述基于所述景区列表确定预计游览时长,包括:基于所述目标行程的行程起点、行程终点以及所述景区列表中各景区的位置信息,计算游览所述景区列表中各景区所需的路程时长;基于所述景区列表中各景区的合理停留时长以及所述路程时长,确定所述预计游览时长。
- 根据权利要求3所述的方法,其中,所述基于所述目标行程的行程起点、行程终点以及所述景区列表中各景区的位置信息,计算游览所述景区列表中各景区所需的路程时长,包括:基于所述景区列表,确定N个游览次序;其中,N为正整数;基于所述目标行程的行程起点、行程终点以及所述景区列表中各景区的位置信息,计算与所述N个游览次序分别对应的N个路程时长;将所述N个路程时长中的最小值,确定为游览所述景区列表中各景区所需的路程时长。
- 根据权利要求4所述的方法,其中,所述基于所述景区列表确定所述目标行程的推荐路线,包括:将基于所述景区列表得到的所述N个路程时长中的最小值所对应的游览次序,确定为所述目标行程的推荐路线中各景区的游览次序。
- 根据权利要求1或2所述的方法,其中,所述基于所述景区列表确定所述目标行程的推荐路线,包括:基于所述目标行程的行程计划时长以及所述景区列表中各景区的合理停留时长,确定所述景区列表中第j个景区的预计停留时长;在所述第j个景区对应的优质路线集合中选取符合所述预计停留时长的路线,作为所述第j个景区的推荐路线。
- 根据权利要求6所述的方法,还包括:从所述第j个景区的M个历史路线所经过的景点中,确定所述第j个景区的核心景点;其中,M为正整数;基于所述第j个景区的核心景点,从所述M个历史路线中选取L个路线,并基于所述L个路线得到所述第j个景区对应的优质路线集合,其中,L为小于等于M的正整数。
- 根据权利要求7所述的方法,还包括:对所述M个历史路线中的第k个历史路线所对应的用户定位点进行聚类,得到P个定位点簇;其中,k和P均为正整数;基于所述第j个景区中各景点的位置信息,确定与所述P个定位点簇关联的P个景点,并将所述P个景点确定为所述第k个历史路线所经过的景点。
- 一种路线推荐装置,包括:信息获取模块,用于获取针对目标行程输入的第i个景区信息;其中,i为正整数;时长确定模块,用于基于所述第i个景区信息,更新所述目标行程的景区列表,并基于所述景区列表确定预计游览时长;路线确定模块,用于在所述目标行程的行程计划时长与所述预计游览时长之间的差值小于预设阈值的情况下,获取针对所述目标行程输入的第(i+1)个景区信息。
- 根据权利要求9所述的装置,还包括:输入确定模块,用于在所述目标行程的行程计划时长与所述预计游览时长之间的差值大于等于预设阈值的情况下,确定继续针对所述目标行程输入景区信息。
- 根据权利要求9或10所述的装置,其中,所述时长确定模块包括:路程时长确定单元,用于基于所述目标行程的行程起点、行程终点以及所述景区列表中各景区的位置信息,计算游览所述景区列表中各景区所需的路程时长;总时长确定单元,用于基于所述景区列表中各景区的合理停留时长以及所述路程时长,确定所述预计游览时长。
- 根据权利要求11所述的装置,其中,所述路程时长确定单元用于:基于所述景区列表,确定N个游览次序;其中,N为正整数;基于所述目标行程的行程起点、行程终点以及所述景区列表中各景区的位置信息,计算与所述N个游览次序分别对应的N个路程时长;将所述N个路程时长中的最小值,确定为游览所述景区列表中各景区所需的路程时长。
- 根据权利要求12所述的装置,其中,所述路线确定模块用于:将基于所述景区列表得到的所述N个路程时长中的最小值所对应的游览次序,确定为所述目标行程的推荐路线中各景区的游览次序。
- 根据权利要求9或10所述的装置,其中,所述路线确定模块包括:停留时长确定单元,用于基于所述目标行程的行程计划时长以及所述 景区列表中各景区的合理停留时长,确定所述景区列表中第j个景区的预计停留时长;景区路线确定单元,用于在所述第j个景区对应的优质路线集合中选取符合所述预计停留时长的路线,作为所述第j个景区的推荐路线。
- 根据权利要求14所述的装置,还包括:核心景点挖掘模块,用于从所述第j个景区的M个历史路线所经过的景点中,确定所述第j个景区的核心景点;其中,M为正整数;路线选取模块,用于基于所述第j个景区的核心景点,从所述M个历史路线中选取L个路线,并基于所述L个路线得到所述第j个景区对应的优质路线集合,其中,L为小于等于M的正整数。
- 根据权利要求15所述的装置,还包括:定位点聚类模块,用于对所述M个历史路线中的第k个历史路线所对应的用户定位点进行聚类,得到P个定位点簇;其中,k和P均为正整数;景点确定模块,用于基于所述第j个景区中各景点的位置信息,确定与所述P个定位点簇关联的P个景点,并将所述P个景点确定为所述第k个历史路线所经过的景点。
- 一种电子设备,其特征在于,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-8中任一项所述的方法。
- 一种存储有计算机指令的非瞬时计算机可读存储介质,其特征在于,所述计算机指令用于使计算机执行权利要求1-8中任一项所述的方法。
- 一种计算机程序产品,包括计算机程序,该计算机程序在被处理器执行时实现根据权利要求1-8中任一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21790349.1A EP4044048A4 (en) | 2020-12-24 | 2021-06-02 | ROUTE RECOMMENDATION METHOD AND APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIA |
JP2021564193A JP2023510659A (ja) | 2020-12-24 | 2021-06-02 | 経路推奨方法、装置、電子デバイス、記憶媒体、及びプログラム |
KR1020217041176A KR20220003624A (ko) | 2020-12-24 | 2021-06-02 | 노선 추천 방법, 장치, 전자기기, 저장매체 및 컴퓨터 프로그램 |
US17/594,655 US20240110796A1 (en) | 2020-12-24 | 2021-06-02 | Route recommendation method, electronic device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011573267.1A CN112559891A (zh) | 2020-12-24 | 2020-12-24 | 路线推荐方法、装置、电子设备和存储介质 |
CN202011573267.1 | 2020-12-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022134479A1 true WO2022134479A1 (zh) | 2022-06-30 |
Family
ID=75033509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/097905 WO2022134479A1 (zh) | 2020-12-24 | 2021-06-02 | 路线推荐方法、装置、电子设备和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112559891A (zh) |
WO (1) | WO2022134479A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114997531A (zh) * | 2022-07-20 | 2022-09-02 | 枣庄山好科技有限公司 | 一种实时运力智能推荐方法及系统 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559891A (zh) * | 2020-12-24 | 2021-03-26 | 北京百度网讯科技有限公司 | 路线推荐方法、装置、电子设备和存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106886837A (zh) * | 2017-02-21 | 2017-06-23 | 携程旅游网络技术(上海)有限公司 | 基于时间规划的自由行行程推荐方法 |
US20180094943A1 (en) * | 2016-08-22 | 2018-04-05 | Microsoft Technology Licensing, Llc | Generating personalized routes with user route preferences |
CN109165786A (zh) * | 2018-08-31 | 2019-01-08 | 深圳春沐源控股有限公司 | 一种导游方案的规划方法及服务器 |
CN111768035A (zh) * | 2020-06-29 | 2020-10-13 | 北京三快在线科技有限公司 | 路径推荐信息推送方法、装置、计算机设备及存储介质 |
CN112559891A (zh) * | 2020-12-24 | 2021-03-26 | 北京百度网讯科技有限公司 | 路线推荐方法、装置、电子设备和存储介质 |
-
2020
- 2020-12-24 CN CN202011573267.1A patent/CN112559891A/zh active Pending
-
2021
- 2021-06-02 WO PCT/CN2021/097905 patent/WO2022134479A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180094943A1 (en) * | 2016-08-22 | 2018-04-05 | Microsoft Technology Licensing, Llc | Generating personalized routes with user route preferences |
CN106886837A (zh) * | 2017-02-21 | 2017-06-23 | 携程旅游网络技术(上海)有限公司 | 基于时间规划的自由行行程推荐方法 |
CN109165786A (zh) * | 2018-08-31 | 2019-01-08 | 深圳春沐源控股有限公司 | 一种导游方案的规划方法及服务器 |
CN111768035A (zh) * | 2020-06-29 | 2020-10-13 | 北京三快在线科技有限公司 | 路径推荐信息推送方法、装置、计算机设备及存储介质 |
CN112559891A (zh) * | 2020-12-24 | 2021-03-26 | 北京百度网讯科技有限公司 | 路线推荐方法、装置、电子设备和存储介质 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114997531A (zh) * | 2022-07-20 | 2022-09-02 | 枣庄山好科技有限公司 | 一种实时运力智能推荐方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN112559891A (zh) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10578445B2 (en) | Method and apparatus for building an itinerary-planning model and planning a traveling itinerary | |
WO2022134479A1 (zh) | 路线推荐方法、装置、电子设备和存储介质 | |
US20190329788A1 (en) | Road condition status prediction method, device, and server, and storage medium | |
JP6660467B2 (ja) | 旅行ルート計画方法、計画サーバー及び記憶媒体 | |
US11630560B2 (en) | Map information display method and apparatus, electronic device, and computer storage medium | |
US20230243661A1 (en) | Navigation path planning method and apparatus, device, and storage medium | |
JP6787624B2 (ja) | 音声指紋の照合のための方法、マシン可読媒体及びシステム | |
CN104156897A (zh) | 基于情景感知的室内导览系统 | |
US20230063099A1 (en) | Method and apparatus for correcting positioning information, and storage medium | |
WO2023168909A1 (zh) | 地理预训练模型的预训练方法及模型微调方法 | |
US11954084B2 (en) | Method and apparatus for processing table, device, and storage medium | |
US20230195998A1 (en) | Sample generation method, model training method, trajectory recognition method, device, and medium | |
US20230100734A1 (en) | Positioning method and apparatus, device, system, medium and self-driving vehicle | |
US11816443B2 (en) | Method, device, and storage medium for generating response | |
CN113326450B (zh) | 一种兴趣点召回方法、装置、电子设备和存储介质 | |
US20230229913A1 (en) | Method and Apparatus for Training Information Adjustment Model of Charging Station, and Storage Medium | |
US20230075033A1 (en) | Ride-hailing method and apparatus, electronic device and readable storage medium | |
CN116186200B (zh) | 模型训练方法、装置、电子设备和存储介质 | |
CN113836446B (zh) | 出行信息的向量化表示方法及装置 | |
US11934449B2 (en) | Method and apparatus for processing map information, and storage medium | |
US20210389156A1 (en) | Map rendering method and apparatus, device, and storage medium | |
US20220276068A1 (en) | Navigation method, navigation apparatus, device and storage medium | |
US11976935B2 (en) | Route recommendation method, electronic device, and storage medium | |
EP4044048A1 (en) | Route recommendation method and apparatus, electronic device, and storage medium | |
CN113361574A (zh) | 数据处理模型的训练方法、装置、电子设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2021564193 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021790349 Country of ref document: EP Effective date: 20211027 |
|
ENP | Entry into the national phase |
Ref document number: 20217041176 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 17594655 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |