Method, device, electronic device and computer program product for recommending alighting point
By obtaining and analyzing the relevant characteristics of the drop-off point, and using the drop-off point recommendation network to recommend the optimal drop-off point, the problem of inappropriate drop-off point selection in the existing technology is solved, and travel efficiency and user satisfaction are improved.
Patent Information
- Application Number
- CN202110240405.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-04
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-03-04
AI Technical Summary
In existing taxi-hailing software, users need to manually enter the drop-off location when placing an order. As a result, the driver may choose an inappropriate drop-off point when arriving. There are problems such as crossing walls or detours, making it difficult to meet user needs.
By determining the candidate drop-off point, obtaining its relevant characteristics, and inputting it into the preset drop-off point recommendation network, based on the user's changing trends and habits of the drop-off point, the optimal drop-off point is recommended to improve the accuracy of the recommendation.
It realizes the recommendation of the optimal drop-off point based on user needs, avoids problems such as crossing roads and detours, and improves travel efficiency and user satisfaction.
Smart Images

Figure CN112800338B
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of travel technology, and in particular, to a method, device, electronic device, and computer program product for recommending a drop-off point. Background Art
[0002] With the development of travel technology, various types of taxi-hailing apps have emerged, providing a lot of convenience for users' travel.
[0003] In current taxi-hailing apps, users manually enter the drop-off location on the taxi page before placing an order. However, since the drop-off location covers a wide geographical range, there may be multiple different drop-off points when the driver of the order takes the user to the drop-off location.
[0004] Therefore, how to choose an optimal drop-off point that can meet the needs of passengers has become a technical problem that needs to be urgently solved by current taxi-hailing software. Summary of the invention
[0005] The embodiments of the present disclosure provide a method, device, electronic device and computer program product for recommending alighting points, which can recommend an optimal alighting point that meets the needs of passengers.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for recommending a drop-off point, the method comprising:
[0007] Determine at least two candidate alighting points according to the current alighting location of the user;
[0008] Obtain relevant features of each of the candidate alighting points;
[0009] Inputting the relevant features of each of the candidate alighting points into a preset alighting point recommendation network to obtain a recommendation list; the recommendation list includes the quantized value of each of the candidate alighting points;
[0010] The target alighting point is determined according to the recommendation list.
[0011] In a second aspect, an embodiment of the present disclosure provides a device for recommending alighting points, the device comprising:
[0012] A candidate alighting point determination module is used to determine at least two candidate alighting points according to the current alighting location of the user;
[0013] A feature acquisition module is used to acquire relevant features of each of the candidate alighting points;
[0014] A recommended alighting point module, used for inputting the relevant features of each of the candidate alighting points into a preset alighting point recommendation network to obtain a recommendation list; the recommendation list includes the quantized value of each of the candidate alighting points;
[0015] The module for determining a target alighting point is used to determine a target alighting point according to the recommendation list.
[0016] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.
[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in the first aspect above.
[0018] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0019] The method, device, electronic device, storage medium and computer program product for recommending alighting points provided by the embodiments of the present disclosure determine at least two candidate alighting points according to the alighting location of the current user, obtain relevant features of each candidate alighting point, input the relevant features of each candidate alighting point into a preset alighting point recommendation network, obtain a recommendation list, and finally determine the target alighting point according to the recommendation list. The alighting point recommendation network can learn the changing trend of the alighting behavior and / or the alighting behavior habits of each passenger in advance according to the relevant features of each candidate alighting point, and then when the alighting point recommendation network is used to recommend alighting points based on the relevant features of each candidate alighting point, the optimal target alighting point that can meet the needs of the passenger can be recommended, and the accuracy of the recommended target alighting point can be improved by obtaining relevant features of each candidate alighting point in different dimensions. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of a system framework provided in one embodiment;
[0021] Figure 2 A schematic diagram of a process for recommending a drop-off point in one embodiment;
[0022] Figure 3 A schematic diagram of a disembarkation position in one embodiment;
[0023] Figure 4 A schematic diagram of a matrix of general getting-off behaviors in one embodiment;
[0024] Figure 5 A schematic diagram of the structure of a get-off point recommendation network in one embodiment;
[0025] Figure 6 for Figure 2A flowchart of an implementation method of S103 in the embodiment;
[0026] Figure 7 for Figure 6 A flowchart of an implementation method of S201 in the embodiment;
[0027] Figure 8 for Figure 6 A flowchart of an implementation method of S202 in the embodiment;
[0028] Fig. 9 A schematic diagram of a process of training a get-off point recommendation network in one embodiment;
[0029] Fig.10 for Fig. 9 A flowchart of an implementation method of S303 in the embodiment;
[0030] Fig.11 A schematic diagram of the structure of a get-off point recommendation network in one embodiment;
[0031] Fig.12 It is a structural block diagram of a device for recommending alighting points in one embodiment;
[0032] Fig.13 It is a structural block diagram of a device for recommending alighting points in one embodiment;
[0033] Fig.14 It is a structural block diagram of a device for recommending alighting points in one embodiment;
[0034] Fig.15 It is a structural block diagram of a device for recommending alighting points in one embodiment;
[0035] Fig.16 It is a structural block diagram of a device for recommending alighting points in one embodiment;
[0036] Fig.17 It is a structural block diagram of a device for recommending alighting points in one embodiment;
[0037] Fig.18 is a diagram of the internal structure of an electronic device in one embodiment;
[0038] Fig.19 FIG. 4 is a diagram showing the internal structure of a server in one embodiment. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure more clear, the embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present disclosure and are not used to limit the embodiments of the present disclosure.
[0040] First, before specifically introducing the technical solution of the embodiment of the present disclosure, the technical background or technical evolution context based on the embodiment of the present disclosure is introduced. Generally, in the field of online car-hailing travel, the current technical background is: in the existing taxi software, the user will manually enter the drop-off location (also known as POI) on the taxi page when placing an order, but the drop-off location may be just a geographical name (such as XXX community, XXX University), which involves a wide geographical range, and then the driver of the order may face the problem of choosing a drop-off point from many available drop-off points when carrying the user to the drop-off location, but the drop-off point selected by the driver may not be the best for the user, and there may be problems such as crossing the wall and detours. Based on this background, the applicant has found through long-term model simulation research and development and the collection, demonstration and verification of experimental data that the wider the geographical range involved in some parking locations in the map, the more drop-off points there are nearby. So how to choose an optimal drop-off point that can meet user needs among many available drop-off points has become a problem that needs to be solved urgently. In addition, it should be noted that the applicants have put in a lot of creative work for the technical solutions introduced in the following embodiments.
[0041] The technical solutions involved in the embodiments of the present disclosure are introduced below in combination with the scenarios to which the embodiments of the present disclosure are applied.
[0042] The method for recommending alighting points provided by the embodiment of the present disclosure can be applied to Figure 1 In the system architecture shown. The system architecture includes a driver end 101, a passenger end 102 and a platform end 103. Among them, the driver end 101 and the passenger end 102 can be electronic devices such as mobile phones, tablet computers, IPADs, or the driver end 101 can be a first APP software installed on the driver end device, and the passenger end 102 can be a second APP software installed on the passenger end device. The platform end 103 can be a server, which can be an independent server or a server cluster. It should be noted that the driver end 101, the passenger end 102, and the platform end 103 can communicate with each other, and the embodiment of the present disclosure does not limit the communication method of the three. In addition, the above-mentioned first APP software and the second APP software can be software released by the platform end. These two software can be two separate APP software, or they can be software presentations of the same software in different modes. For example, the platform end releases a travel software, and the travel software has two modes: driver mode and passenger mode. The software functions are different in different modes, and the user groups they face are also different.
[0043] In one embodiment, Figure 2 As shown, a method for recommending a drop-off point is provided. Figure 1Taking the platform end 103 in the example as an example, the method includes the following steps:
[0044] S101, determining at least two candidate alighting points according to the current alighting location of the user.
[0045] The drop-off location may be the drop-off location entered by the current user when initiating a car order on the passenger terminal. The drop-off location is also called a "point of interest (POI)". In a geographic information system, a POI may be a house, a shop, a community, a block, etc. The candidate drop-off point is a specific place where the driver can stop when driving the vehicle to the drop-off location specified by the user, for example, Figure 3 The schematic diagram of the get-off location is shown, where the box area (POI area) represents the get-off location, and the small dots around the box represent possible parking places, namely the candidate get-off points. Assuming that the POI area represents XX community, the corresponding candidate get-off points can be specifically different locations such as the east gate, west gate, south gate, etc. of XX community.
[0046] Specifically, the current user is using the passenger terminal ( Figure 1 When the passenger terminal 102 in the network makes an order for a ride, the passenger terminal can enter the drop-off location on it, and the passenger terminal sends the order information to the platform terminal, and the platform terminal can obtain the drop-off location indicated by the current user from the order information. It should be noted that the current user can enter the drop-off location by editing text on the passenger terminal, or by using a drop-down menu, which is not limited here. When the current user enters the drop-off location by using a drop-down menu, when the current user logs in to the ride-booking page using the passenger terminal, the passenger terminal will first send the current user's login information to the platform terminal, and the platform terminal will obtain the current user's historical ride information from the database based on the current user's login information, and will feedback at least one optional drop-off location to the passenger terminal based on the current user's historical ride information. The passenger terminal will display at least one optional drop-off location in the form of a drop-down menu, and the current user can select the drop-off location in the drop-down menu, and enter the selected drop-off location, and the passenger terminal can obtain the drop-off location entered by the user.
[0047] When the platform obtains the current user's get-off location, it can first obtain a map containing the get-off location from the map database, and obtain some specified stop locations related to the get-off location on the map based on the map information. These stop locations can be determined as candidate get-off points. For example, if the get-off location is XX shopping mall, then some corresponding stop locations of the XX shopping mall are the 1# hall door, 2# hall door, 3# hall door, underground garage #1 entrance, underground garage 2# entrance, etc. of the XX shopping mall; optionally, in addition to the candidate get-off points specified on the map, the platform can also determine the surrounding area of the get-off location based on the map information, and select a number of unequally spaced or equally spaced locations within the surrounding area of the get-off location, and determine these several unequally spaced or equally spaced locations as candidate get-off points. For example, if the get-off location is XX shopping mall, the platform can select 5 unequally spaced or equally spaced locations on a road closest to the main entrance of the XX shopping mall (the specific settings can be determined based on the road shape or conditions) as candidate get-off points. It should be noted that the platform can simultaneously use the designated drop-off point on the map and the drop-off points within the selected surrounding area as candidate drop-off points. The number of candidate drop-off points can be determined based on the specific drop-off location. For example, if the geographical area involved in the drop-off location is relatively large, the number of corresponding candidate drop-off points will be relatively large. If the geographical area involved in the drop-off location is relatively small, the number of corresponding candidate drop-off points will be relatively small. Specifically in the application, the platform can determine at least two candidate drop-off points based on the drop-off location, so as to later select the optimal drop-off point and provide it to the vehicle driver to carry the current user to the destination.
[0048] S102, obtaining relevant features of the candidate alighting points.
[0049] Among them, the relevant features of the candidate getting off points may include some behavioral features of the current user at the candidate getting off points within the historical time period, some behavioral features of other users at the candidate getting off points within the historical time period, geographical features of the candidate getting off points, popularity features of the candidate getting off points, dynamic features of the candidate getting off points, distance features between the candidate getting off points and the getting off locations, road section features between the candidate getting off points and the getting off locations, road condition features between the candidate getting off points and the getting off locations, and other features related to the candidate getting off points.
[0050] Some behavioral features of the current user at the candidate getting-off point within the historical time period may include the number of times the current user got off at the candidate getting-off point, the time of getting off, feedback information on getting off, etc. For example, within 30 days before the current time, the user got off at a candidate getting-off point 18 times, and all of them were around 6 pm, and the user's feedback information indicated satisfaction; some behavioral features of other users at the candidate getting-off point within the historical time period may include the number of times other users got off at the candidate getting-off point, the time of getting off, feedback information on getting off, etc. For example, within 30 days before the current time, another user got off at a candidate getting-off point 10 times, and all of them were around 6 pm, and the user's feedback information indicated satisfaction; the geographical features of the candidate getting-off point may include the location coordinates, geographical name, and region of the candidate getting-off point; the heat features of the candidate getting-off point may include The dynamic features of the candidate drop-off point include the location of the candidate drop-off point, the road section, or the popularity of the area. For example, if the candidate drop-off point is a commercial district, the corresponding candidate drop-off point will be more popular during holidays. If the candidate drop-off point is an office area, the corresponding candidate drop-off point will be more popular during the rush hour on weekdays. The dynamic features of the candidate drop-off point include the current state features of the candidate drop-off point, for example, whether there are road repairs, accidents, traffic jams and other problems at the location corresponding to the candidate drop-off point. The distance feature between the candidate drop-off point and the drop-off location represents the distance between the candidate drop-off point and the drop-off location. The road section feature between the candidate drop-off point and the drop-off location represents the direction, contour and other features of the road section between the candidate drop-off point and the drop-off location. The road condition feature between the candidate drop-off point and the drop-off location represents whether there are cross-roads, traffic jams, road repairs, accidents and other conditions between the candidate drop-off point and the drop-off location.
[0051] Specifically, the platform can obtain the current user's historical orders and other users' historical orders from the database, and obtain relevant features of each candidate alighting point based on the current user's historical orders and other users' historical orders, for example, obtaining the current user's behavioral features through the current user's historical orders, and obtaining other users' behavioral features through other users' historical orders; optionally, the platform can also obtain relevant features of each candidate alighting point through big data statistics, for example, obtaining the popularity features of the candidate alighting points by capturing relevant information of the candidate alighting points.
[0052] S103, inputting relevant features of each candidate alighting point into a preset alighting point recommendation network to obtain a recommendation list; the recommendation list includes a quantized value of each candidate alighting point.
[0053] Among them, the alighting point recommendation network may include but is not limited to a neural network model (for example, a CNN model, a DNN model), a support vector machine model, a matrix decomposition machine learning model FM model, a Lambdarank model, a LambdaMart model, or a combination of these models; the alighting point recommendation network is used to predict whether each candidate alighting point can become the actual alighting point of the user and obtain a prediction result. The quantized value of each candidate alighting point represents the probability value of each candidate alighting point being able to become the actual alighting point of the user, and may also represent the score value of scoring the probability of each candidate alighting point being able to become the actual alighting point of the user, the higher the probability, the higher the score value, and the lower the probability, the lower the score value. The quantized value in this embodiment includes a probability value or a score value. The recommendation list contains the relevant information of each recommended candidate alighting point (such as location coordinates, location name, etc.), as well as the quantized value of each candidate alighting point (such as a probability value or a score value), and the quantized value of each candidate alighting point in the recommendation list can be arranged in order from high to low, or in other ways, which is not limited here.
[0054] It should be noted that the alighting point recommendation network is a pre-trained network model, and during the training process, the alighting point recommendation network can learn the changing trend of each user's alighting behavior and / or the alighting behavior habits based on the sample data of each candidate alighting point, so that when the trained alighting point recommendation network is used for recommendation, the changing trend of the alighting behavior and / or the alighting behavior habits of the passengers can be analyzed to predict whether each candidate alighting point can become the user's actual alighting point, and a recommendation list containing the quantized values of each candidate alighting point can be obtained.
[0055] S104: Determine the target alighting point according to the recommendation list.
[0056] Specifically, when the alighting point recommendation network outputs a recommendation list, the platform end can first screen out the candidate alighting points whose quantization values exceed the preset quantization threshold from the recommendation list based on the quantization values of each candidate alighting point in the recommendation list. If one candidate alighting point is screened out, the candidate alighting point is directly determined as the target alighting point. If at least two candidate alighting points are screened out, one candidate alighting point is randomly selected from the at least two candidate alighting points as the target alighting point. Optionally, the platform end can also select a candidate alighting point with the highest quantization value from at least two candidate alighting points as the target alighting point. The above-mentioned preset quantization threshold can be determined in advance by the platform end according to actual screening requirements. After the platform end determines the target alighting point based on the recommendation list, the target alighting point can be sent to the driver end ( Figure 1 In the driver side 101), the driver side pushes the target drop-off point to the display page to show it to the driver on the driver side so that the driver can view it and can drive the vehicle to carry the taxi user to the drop-off location and stop at the target drop-off point.
[0057] In the above-mentioned method for recommending alighting points, at least two candidate alighting points are determined according to the alighting location, and the relevant features of each candidate alighting point are obtained, and then the relevant features of each candidate alighting point are input into a preset alighting point recommendation network to obtain a recommendation list, and finally the target alighting point is determined according to the recommendation list. Among them, the alighting point recommendation network can learn the changing trend of the alighting behavior and / or the alighting behavior habits of each passenger in advance according to the relevant features of each candidate alighting point, and then when the alighting point recommendation network is used to recommend alighting points based on the relevant features of each candidate alighting point, the optimal target alighting point that can meet the needs of the passenger can be recommended, and the accuracy of the recommended target alighting point can be improved by obtaining the relevant features of each candidate alighting point in different dimensions.
[0058] In one embodiment, the relevant features of each candidate alighting point specifically include at least two of artificial features, sparse features, a current user's alighting behavior sequence, and a general alighting behavior feature.
[0059] Among them, the artificial features include at least one of the heat feature, attribute feature and statistical feature of each candidate drop-off point. The heat feature of the candidate drop-off point indicates the heat of the location of the candidate drop-off point, for example, 20,000 people have been to the location of the candidate drop-off point in the past 30 days; the attribute features of the candidate drop-off point include the size of the location of the candidate drop-off point, the type of the location of the candidate drop-off point, etc.; the statistical features of each candidate drop-off point are used to measure the frequency, probability or proportion of drop-off at each candidate drop-off point from different time, space and direction. The statistical characteristics of the candidate alighting points may indicate the frequency of the candidate alighting points being designated as target alighting points within a preset time period, wherein the preset time period may include any time period, for example, the preset time period may be different days such as the past 30 days, 60 days, 90 days, etc., or different time periods such as morning, morning, afternoon, evening, etc. within the past preset number of days, or different types of dates such as working days and holidays within the past preset number of days; the statistical characteristics of the candidate alighting points may also indicate the frequency of the candidate alighting points being designated as target alighting points within a preset space, for example, the preset space may be different distance ranges such as 30 meters, 60 meters, 90 meters, etc. near the candidate alighting points; the statistical characteristics of the candidate alighting points may also indicate the frequency of the candidate alighting points being designated as target alighting points when a vehicle approaches in a preset direction, for example, the preset direction may be different driving directions such as southeast, southwest, northeast, etc.
[0060] Sparse features represent the encoding characteristics of each candidate alighting point, such as the ID of the road where each candidate alighting point is located, the ID of the road network where each candidate alighting point is located, the ID of each candidate alighting point, the ID of the starting point related to each candidate alighting point, the ID of the alighting location associated with each candidate alighting point, the ID of the passenger associated with each candidate alighting point, etc.
[0061] The current user's disembarkation behavior sequence represents the current user's disembarkation behavior in the historical disembarkation order corresponding to the disembarkation location. Specifically, the order of each disembarkation point in the historical order corresponding to the disembarkation location of the current user can be expressed in a sequence, so the current user's disembarkation behavior sequence can reflect the change trend of the current user's disembarkation behavior in multiple historical disembarkation orders. Specifically, the disembarkation point of the current user in the historical disembarkation order can be constructed in an S2 representation method, and the sequence has a time mark. For example, the current user's disembarkation behavior sequence can include the actual disembarkation point and disembarkation time of the current user in each historical disembarkation order. It is precisely because the current user's disembarkation behavior sequence can reflect the change trend of the current user's disembarkation behavior in multiple historical disembarkation orders, or it can be said that it reflects the logical relationship between the current user's disembarkation behaviors in multiple historical disembarkation orders, that when the neural network model is used to learn based on the behavior sequence in the later stage, the change trend or logical relationship of the current user's historical disembarkation behavior can be learned, and accurate prediction can be made based on the change trend or logical relationship.
[0062] The general disembarkation behavior feature represents the disembarkation behavior of other users except the current user in the historical disembarkation orders corresponding to the disembarkation location. Specifically, the general disembarkation behavior feature is used to describe the historical disembarkation behavior of multiple users relative to the same disembarkation location in the historical time period. Specifically, it can be represented by a matrix, for example, an m×n (e.g. 30*8) matrix is used (e.g. Figure 4 As shown), each row of the matrix is used to represent the getting-off behavior data generated on each day within the historical m days, and each column is used to represent the getting-off behavior data within n different distance intervals.
[0063] The relevant features of each candidate alighting point described in the above embodiment include features of different dimensions, among which there are features indicating the popularity of the candidate alighting point itself, there are features indicating the association between the current user and the candidate alighting point, and there are features indicating the association between other users and the candidate alighting points. Compared with the traditional method of recommending alighting points by only counting the number of times all users get off at the alighting point, the relevant features involved in this embodiment include information such as different time, different space, different direction, and different affiliation. Therefore, the method of recommending alighting points based on relevant features can greatly improve the accuracy of the recommendation. Moreover, since the alighting behavior sequence of the current user reflects the changing trend and / or behavioral habits of the current user's alighting behavior, the target alighting point obtained based on the sequence is the alighting point most desired by the current user and is the optimal alighting point for the current user, and there will be no problems such as crossing roads or taking detours.
[0064] In one embodiment, the present disclosure provides a network for recommending alighting points, such as Figure 5As shown, the alighting point recommendation network includes: a behavior prediction subnetwork, a feature extraction subnetwork and an output subnetwork. The behavior prediction subnetwork is used to predict the user's alighting behavior based on the input data, the output subnetwork is used to estimate the quantitative value according to the input features, and the feature extraction subnetwork is used to extract features from the input data.
[0065] Optionally, apply Figure 5 When the network recommends the drop-off point, the platform executes Figure 2 In the step S103 of the embodiment, when "inputting the relevant features of each candidate alighting point into the preset alighting point recommendation network to obtain a recommendation list", if Figure 6 As shown, the following steps can be performed specifically:
[0066] S201, inputting the getting-off behavior sequence of the current user of each candidate getting-off point and the common getting-off behavior features of each candidate getting-off point into the behavior prediction subnetwork respectively for behavior prediction, and obtaining the user behavior features of each candidate getting-off point.
[0067] Optionally, the platform can input the current user's getting-off behavior sequence of each candidate getting-off point and the common getting-off behavior features of each candidate getting-off point into the behavior prediction subnetwork in different time sequences to perform behavior prediction respectively, and obtain the user behavior features of each candidate getting-off point, for example:
[0068] Example 1: The platform can input the current user's getting off behavior sequence of each candidate getting off point and the general getting off behavior features of each candidate getting off point into the behavior prediction subnetwork through the same input interface of the behavior prediction subnetwork in chronological order, and obtain the corresponding behavior features at the same output interface, and determine the corresponding behavior features as the user behavior features of each candidate getting off point.
[0069] Example 2: The platform can input the current user's getting off behavior sequence of each candidate getting off point and the general getting off behavior features of each candidate getting off point into the behavior prediction subnetwork through different input interfaces of the behavior prediction subnetwork in chronological order, and obtain the corresponding behavior features at different output interfaces, and determine the corresponding behavior features as the user behavior features of each candidate getting off point.
[0070] Optionally, the platform can input the current user's getting-off behavior sequence of each candidate getting-off point and the common getting-off behavior features of each candidate getting-off point into the behavior prediction subnetwork at the same time to perform behavior prediction, and obtain the user behavior features of each candidate getting-off point, for example:
[0071] Example three: The platform can simultaneously input the current user's getting off behavior sequence of each candidate getting off point and the general getting off behavior features of each candidate getting off point into the behavior prediction subnetwork through the same input interface of the behavior prediction subnetwork, and obtain the user behavior features of each candidate getting off point at the same output interface.
[0072] Example 4: The platform can simultaneously input the current user's getting off behavior sequence of each candidate getting off point and the general getting off behavior features of each candidate getting off point into the behavior prediction subnetwork through different input interfaces of the behavior prediction subnetwork, and obtain the user behavior features of each candidate getting off point at the same output interface.
[0073] Example 5: The platform can simultaneously input the current user's getting off behavior sequence of each candidate getting off point and the general getting off behavior features of each candidate getting off point into the behavior prediction subnetwork through different input interfaces of the behavior prediction subnetwork, and obtain the user behavior features of each candidate getting off point at different output interfaces.
[0074] Optionally, when the platform obtains the behavioral characteristics corresponding to the current user's getting off behavior sequence and the general getting off behavior characteristics of each candidate getting off point through the above method, the platform can further splice the corresponding behavioral characteristics and determine the spliced behavioral characteristics as the user behavior characteristics of each candidate getting off point.
[0075] Optionally, the behavior prediction subnetwork includes a feature analysis model (CNN model or FGCNN model) and a time series feature analysis model (Transformer model), and the user behavior features include current user behavior features and other user behavior features. Based on the above application environment, when the platform side specifically executes the above S201, Figure 7 As shown, the specific steps may include:
[0076] S2011, inputting the getting-off behavior sequence of the current user at each candidate getting-off point into the time series feature analysis model for behavior prediction to obtain the current user behavior features.
[0077] The time series feature analysis model can be a Transformer model that has been pre-trained based on the historical get-off order samples of each user. During the training process, the initial time series feature analysis model can learn the user's get-off behavior change trend and / or get-off behavior habits based on the historical get-off order samples of each user, thereby determining the relationship between each candidate get-off point and the current get-off point to be predicted through the get-off behavior change trend and / or get-off behavior, and determining the get-off behavior characteristics of the current get-off point to be predicted by learning the relationship. When the trained time series feature analysis model is actually used to predict the candidate get-off points to be predicted (for example, Figure 2In order to predict the candidate alighting points in the embodiment), it is necessary to input the alighting behavior sequence of the current user at each candidate alighting point and the location information of each candidate alighting point to be predicted into the time series feature analysis model for prediction, so as to obtain the user behavior characteristics of the user at each candidate alighting point to be predicted, that is, the current user behavior characteristics. It should be noted that the platform can first input the alighting behavior sequence of the current user at each candidate alighting point into the embedding layer for discretization processing to obtain the feature data after discretization processing, and then input the feature data after discretization processing into the time series feature analysis model for behavior prediction to obtain the current user behavior characteristics.
[0078] S2012, inputting the common alighting behavior features of each candidate alighting point into a feature analysis model for behavior prediction to obtain other user behavior features.
[0079] The feature analysis model can be a CNN model or FGCNN model that has been pre-trained based on the historical get-off order samples of each user. During the training process, the initial feature analysis model can learn the get-off behavior habits of multiple users based on the historical get-off order samples of multiple users, thereby determining the get-off behavior characteristics of multiple users at each candidate get-off point through the get-off behavior habits of multiple users, that is, the behavior characteristics of other users.
[0080] S202, the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point are respectively input into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point.
[0081] Optionally, the platform can input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork in different time sequences for feature extraction, and obtain feature information of each candidate alighting point, for example:
[0082] Example 1: The platform can input the manual features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork through the same input interface of the feature extraction subnetwork in order, and obtain the corresponding feature information at the same output interface, and determine the corresponding feature information as the feature information of each candidate alighting point.
[0083] Example 2: The platform can also input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork through different input interfaces of the feature extraction subnetwork in order, and obtain the corresponding feature information at different output interfaces, and determine the corresponding feature information as the feature information of each candidate alighting point.
[0084] Optionally, the platform can simultaneously input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point, for example:
[0085] Example three: The platform can simultaneously input the manual features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork through the same input interface of the feature extraction subnetwork, and obtain the feature information of each candidate alighting point at the same output interface.
[0086] Example 4: The platform can simultaneously input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the behavior feature extraction subnetwork through different input interfaces of the feature extraction subnetwork, and obtain the feature information of each candidate alighting point at the same output interface.
[0087] Example 5: The platform can simultaneously input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork through different input interfaces of the feature extraction subnetwork, and obtain the feature information of each candidate alighting point at different output interfaces.
[0088] Example 6: The platform can input any two of the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork on the same input interface, and obtain the feature information corresponding to the two features on a corresponding output interface. At the same time, another feature can be input into the feature extraction network on another input interface, and the feature information corresponding to the feature can be obtained on a corresponding output interface. It is not limited here which two of the three features are input on the same input interface, and can be determined specifically according to the structure of the feature extraction subnetwork, as long as the three features are simultaneously input into the feature extraction subnetwork for feature extraction.
[0089] Optionally, the platform can simultaneously input any two of the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork for feature extraction, and then input another feature of the above three features into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point, for example:
[0090] Example seven, the platform can first input any two features of the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork through the same input interface of the feature extraction subnetwork, and obtain the feature information corresponding to the two features at the same output interface, and then input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and another feature of the user behavior features of each candidate alighting point into the feature extraction subnetwork through another input interface of the feature extraction subnetwork for feature extraction, and obtain the feature information corresponding to the input features at another output interface, then the feature information output by the two output interfaces of the above feature extraction subnetwork is the feature information of each candidate alighting point.
[0091] Example 8: The platform can first input any two features of the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork through different input interfaces of the feature extraction subnetwork for feature extraction, and obtain the feature information corresponding to each of the two features at different output interfaces, and then input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and another feature of the user behavior features of each candidate alighting point into the feature extraction subnetwork through another input interface of the feature extraction subnetwork, and obtain the feature information corresponding to the input feature at another output interface. Then, the feature information output by the three output interfaces of the above feature extraction subnetwork is the feature information of each candidate alighting point.
[0092] Optionally, when the platform obtains the feature information corresponding to the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point through the above method, the platform can further integrate the corresponding behavior feature information and determine the integrated feature information as the feature information of each candidate alighting point.
[0093] Optionally, the feature extraction subnetwork includes a matrix decomposition machine learning model (FM model) and a deep learning model (DNN model), and the feature information of each candidate alighting point includes first feature information, second feature information, and third feature information, wherein the first feature information is feature information of artificial features after feature extraction, the second feature information is feature information of sparse features after feature extraction, and the third feature information is feature information of user behavior features after feature extraction. Based on the above application environment, when the platform side specifically executes the above S202, as Figure 8 As shown, the specific steps may include:
[0094] S2021, input the artificial features of each candidate alighting point into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the first feature information.
[0095] Specifically, the platform can first input the artificial features of each candidate alighting point into the one-hot encoding layer for encoding processing to obtain the encoded feature data, and then input the encoded feature data into the matrix decomposition machine learning model for second-order cross feature extraction to obtain the first feature information.
[0096] S2022, input the artificial features of each candidate alighting point and the sparse features of each candidate alighting point into a matrix decomposition machine learning model to perform second-order cross feature extraction to obtain second feature information.
[0097] Specifically, the platform can first input the artificial features of each candidate alighting point into the one-hot encoding layer for encoding processing to obtain the encoded feature data, and at the same time input the sparse features of each candidate alighting point into the embedding layer for discretization processing to obtain the discretized feature data, and then input the encoded feature data and the discretized feature data into the matrix decomposition machine learning model at the same time for second-order cross feature extraction to obtain the second feature information.
[0098] S2023, input the sparse features of each candidate alighting point and the user behavior features of each candidate alighting point into the deep learning model to extract high-order cross features to obtain third feature information.
[0099] Specifically, the platform can first input the sparse features of each candidate alighting point into the embedding layer (EmbeddingLayer) for discretization processing to obtain the discretized feature data, and then input the discretized feature data and the user behavior characteristics of each candidate alighting point into the deep learning model at the same time for high-order cross-feature extraction to obtain the third feature information.
[0100] S203: Input feature information of each candidate alighting point into the output subnetwork to obtain a recommendation list.
[0101] The output subnetwork includes a concat layer, a fully connected layer (FC layer), and an output layer. Specifically, when the platform obtains the feature information of each candidate alighting point, the feature information of each candidate alighting point can be input into the concat layer for concatenation processing to obtain the concatenated feature information, and then the concatenated feature information is input into the fully connected layer for estimating the quantized value to obtain the quantized value of each candidate alighting point. Finally, the quantized value (such as a probability value or a score value) of each candidate alighting point is output through the output layer, thereby obtaining a recommendation list containing the quantized values of each candidate alighting point.
[0102] In the above embodiment, various types of network models are provided to form the alighting point recommendation network, such as FM model, CNN model, DNN model, Transformer model, etc., to analyze and process different types of related features, thereby obtaining a recommendation list containing the quantized values of each candidate alighting point. Since different types of related features represent features of different dimensions, and different types of network models are used to analyze and process different types of features in a targeted manner, the estimation accuracy of the quantized values of each candidate alighting point by the alighting point recommendation network can be improved, thereby improving the recommendation accuracy of the alighting point recommendation network, which can not only meet the high-quality needs of passengers, but also enable vehicle drivers to quickly reach the location of the target alighting point.
[0103] In one embodiment, there is provided Figure 2 In one implementation of S101 in the embodiment, the above S101 "determine at least two candidate getting-off points according to the current user's getting-off position" specifically includes: screening out at least two candidate getting-off points within a preset area corresponding to the getting-off position.
[0104] Among them, the preset area range can be determined in advance by the platform in combination with map information according to the type of the current user's getting off location. For example, if the current user's getting off location is a residential community, the area within 30 meters around the community can be set as the preset area range. If the current user's getting off location is a bus stop, the surrounding circular area with a radius of 30 meters centered on the bus stop can be set as the preset area range, etc.
[0105] Specifically, when the platform obtains the current user's get-off location, it can first obtain a map containing the get-off location from the map database, and determine the type of the get-off location based on the map information, and then determine the preset area range based on the type of the get-off location, and then further determine the places where the vehicle can be parked within the preset area range as candidate get-off points, or select some places from many places where the vehicle can be parked as candidate get-off points according to preset screening conditions. For example, select some frequently used places from many places where the vehicle can be parked as candidate get-off points, or select some easy-to-park places from many places where the vehicle can be parked as candidate get-off points, or select some places with less traffic from many places where the vehicle can be parked as candidate get-off points, etc.
[0106] The above embodiment realizes that the platform automatically recommends multiple candidate drop-off points based on the drop-off location currently input by the user, and realizes the process of preliminary screening or filtering of candidate drop-off points, so that the platform can make predictions based on these multiple candidate drop-off points in the later stage, and finally recommend the optimal target drop-off point. Compared with the method of analyzing and processing all possible drop-off points before recommending, the solution provided by this embodiment does not need to spend extra time analyzing and processing many drop-off points with low probability, and can improve the efficiency and accuracy of recommendation.
[0107] In one embodiment, there is provided Figure 2 In one implementation of S104 in the embodiment, the above S104 "determine the target alighting point according to the recommendation list" specifically includes: determining the candidate alighting point corresponding to the highest quantized value in the recommendation list as the target alighting point.
[0108] Specifically, when the alighting point recommendation network outputs a recommendation list, the platform can compare the quantized values of each candidate alighting point in the recommendation list, and directly determine the candidate alighting point corresponding to the highest quantized value as the target alighting point. The candidate alighting point corresponding to the highest quantized value represents the alighting point that best meets the current user's alighting needs, and the candidate alighting point corresponding to the highest quantized value will not have problems such as detours and cross-roads.
[0109] In one embodiment, a training method for a drop-off point recommendation network is provided, such as Fig. 9 As shown, the training method includes:
[0110] S301, obtaining multiple sample orders.
[0111] Among them, multiple sample orders correspond to historical orders of multiple users, each historical order can be an order for each user's trip that has ended, and each sample order contains the user's selected drop-off location, the predicted drop-off point recommended by the order system, and the user's actual drop-off point. Specifically, the platform can obtain historical orders of a large number of users from the database corresponding to the dedicated taxi system, can obtain historical orders of multiple users about a certain drop-off location, and can also obtain historical orders of multiple users at different drop-off locations, which is not limited here.
[0112] S302, obtaining relevant features and labels of the drop-off points corresponding to each sample order.
[0113] Among them, the drop-off point label can represent the distance between the predicted drop-off point recommended by the system contained in the sample order and the actual drop-off point of the user. The smaller the distance, the closer the predicted drop-off point recommended by the system is to the actual drop-off point. The larger the distance, the farther the predicted drop-off point recommended by the system is from the actual drop-off point. Therefore, the quantitative value of the drop-off point label can be represented by the value of the distance. Optionally, the drop-off point label can represent the probability that the predicted drop-off point recommended by the system contained in the sample order is equal to the actual drop-off point. The larger the probability, the closer the predicted drop-off point recommended by the system is to the actual drop-off point. The smaller the probability, the farther the predicted drop-off point recommended by the system is from the actual drop-off point. Therefore, the quantitative value of the drop-off point label can also be represented by the value of the probability. Optionally, the quantitative value of the drop-off point label can also be represented by a binary value, that is, if the predicted drop-off point is the actual drop-off point, the corresponding drop-off point label is represented by a value of "1", and if the predicted drop-off point is not the actual drop-off point, the corresponding drop-off point label is represented by a value of "0". Specifically, when the platform obtains multiple sample orders, it can obtain the relevant features and drop-off point labels corresponding to each sample order by analyzing the information contained in the multiple sample orders.
[0114] S303, based on the relevant features and labels of the alighting points corresponding to the multiple sample orders, an initial alighting point recommendation network is trained to obtain a alighting point recommendation network.
[0115] Specifically, the platform can pre-construct an initial alighting point recommendation network. When the platform obtains relevant features and alighting point labels corresponding to multiple sample orders, the relevant features and alighting point labels can be input into the constructed initial alighting point recommendation network for training, so that the initial alighting point recommendation network can learn the user's alighting behavior change trends and / or alighting behavior habits at each alighting point based on the historical order data of a large number of users, and obtain the quantitative value of each alighting point according to the alighting behavior change trends and / or alighting behavior habits at each alighting point.
[0116] Furthermore, a specific implementation of the above S303 is provided, such as Fig.10 As shown, the method includes the following steps:
[0117] S401, inputting relevant features of the alighting points corresponding to the plurality of sample orders into the initial alighting point recommendation network to obtain a predicted recommendation list; the predicted recommendation list includes quantitative values of the plurality of predicted alighting points arranged in descending order.
[0118] Specifically, when the platform obtains the relevant features of the drop-off points corresponding to the multiple sample orders, the relevant features of the drop-off points corresponding to the multiple sample orders and the location information of the multiple predicted drop-off points contained in the multiple sample orders are input into the initial drop-off point recommendation network, and the initial drop-off point recommendation network outputs a prediction recommendation list, which contains the quantitative values of each predicted drop-off point. Then the platform arranges the predicted drop-off points in the prediction recommendation list in descending order of the quantitative values to obtain a sorted prediction recommendation list.
[0119] S402, determining an actual recommendation list according to the alighting point label corresponding to each sample order; the actual recommendation list includes quantized values of multiple alighting point labels arranged in descending order.
[0120] Specifically, when the platform obtains the alighting point labels corresponding to multiple sample orders, when the quantized value of the alighting point label is represented by the value of the distance, the platform can sort the alighting point labels in descending order according to the value of the distance corresponding to each alighting point label; when the quantized value of the alighting point label is represented by the value of the probability, the platform can sort the alighting point labels in descending order according to the value of the probability corresponding to each alighting point label; when the quantized value of the alighting point label is represented by a binary value, the platform can put the alighting point label with a value of "1" in the front position and the alighting point label with a value of "0" in the back position. After sorting, the quantized values of multiple alighting point labels arranged in descending order can be obtained. For example, if there are 5 alighting point labels corresponding to 5 sample orders, which are {0 1 1 0 0}, the alighting point labels obtained after sorting the alighting point labels according to the size of the quantized value are {11 0 0 0}.
[0121] S403: Determine a loss function according to the predicted recommendation list and the actual recommendation list.
[0122] Specifically, during the training process, the loss function can be expressed as follows:
[0123]
[0124]
[0125]
[0126] In the above formula, NDCG represents the normalized discounted cumulative gain; DCG represents the discounted cumulative gain corresponding to the predicted alighting point, r(i) represents the quantized value of the predicted alighting point of the ranking result at the i-th position; IDCG represents the discounted cumulative gain corresponding to the alighting point label (i.e., the ideal discounted cumulative gain), and l(i) represents the quantized value of the alighting point label of the ranking result at the i-th position. Specifically, when the platform obtains the predicted recommendation list, the quantized value of the predicted alighting point contained in the predicted recommendation list can be substituted into the relation (2) for calculation to obtain the discounted cumulative gain DCG corresponding to the predicted alighting point, and when the actual recommendation list is obtained, the quantized value of the alighting point label contained in the actual recommendation list can be substituted into the relation (3) for calculation to obtain the discounted cumulative gain IDCG corresponding to the alighting point label, and then DCG and IDCG are substituted into the relation (1) to calculate the normalized discounted cumulative gain NDCG, and the output result of the NDCG is used as the output result of the loss function to train the initial alighting point recommendation network.
[0127] S404, training an initial alighting point recommendation network through a loss function to obtain an alighting point recommendation network.
[0128] Specifically, once the platform determines the loss function, it can use the loss function to train the initial alighting point recommendation network until the output of the loss function no longer decreases, and the training is completed. The trained initial alighting point recommendation network is the alighting point recommendation network.
[0129] The training method for recommending drop-off points provided by the above method can enable the initial drop-off point recommendation network to learn the changing trend of the user's drop-off behavior and / or the drop-off behavior habits at each predicted drop-off point based on a large number of user orders, and then obtain the target drop-off point that can greatly meet the user's drop-off needs by analyzing the changing trend of the user's drop-off behavior and / or the drop-off behavior habits at each predicted drop-off point. After the drop-off point recommendation network is trained, the drop-off point recommendation network can be used in any taxi-hailing system to recommend drop-off points, and the drop-off point recommendation network has extremely strong learning and generalization capabilities.
[0130] Based on all the above embodiments, a specific alighting point recommendation network is also provided, such as Fig.11As shown in Figure 1, the alighting point recommendation network includes: matrix decomposition machine learning model (FM model), deep learning model (DNN model), time series feature analysis model (Transformer model), feature analysis model (CNN model), concatenation layer (concat layer), fully connected layer (FC layer), output layer (output layer), one-hot encoding layer (one-hot encoding layer), embedding layer (Embedding Layer), and the connection relationship between each model and each layer is shown in Figure 1. Fig.11 As shown, I will not go into details here. For the functions of each model and each layer, please refer to the above description, which will not be repeated here. Fig.11 In the scenario where the recommendation network for the alighting point shown in the figure predicts the alighting point, when the platform obtains the relevant features of each candidate alighting point, it can simultaneously input the relevant features of all candidate alighting points and the corresponding location information of all candidate alighting points into the recommendation network for the alighting point to predict each candidate alighting point, and obtain a quantized value (such as a score value or a probability value) for each candidate alighting point, indicating the possibility of the current user getting off at each candidate alighting point; optionally, the platform can also select any one candidate alighting point from multiple candidate alighting points for prediction, that is, input the relevant features of the candidate alighting point and the location information of the candidate alighting point into the recommendation network for the alighting point to predict the candidate alighting point, and obtain a quantized value (such as a score value or a probability value) for the candidate alighting point, indicating the possibility of the current user getting off at the candidate alighting point. In this way, the platform can predict one candidate alighting point at a time until all candidate alighting points are predicted after multiple predictions to obtain a recommendation list. It should be noted that Fig.11 The location information of each candidate alighting point in represents each candidate alighting point to be predicted.
[0131] The recommendation network for the alighting point provided in this embodiment can obtain accurate prediction results by analyzing and processing features or sequences of different dimensions through the FM model, DNN model, Transformer model, and CNN model. In addition, the Transformer model is used to perform behavior prediction on the input alighting behavior sequence of the current user. By analyzing the changing trend of the current user's alighting behavior and / or the alighting behavior habits, the target alighting point that best meets the current user's behavior habits or behavior needs, that is, the optimal target alighting point, can be obtained.
[0132] It should be understood that although Figure 2-10 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-10 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0133] In one embodiment, Fig.12 As shown, a device for recommending a drop-off point is provided, comprising: a module 11 for determining a candidate drop-off point, a module 12 for acquiring a feature, a module 13 for recommending a drop-off point, and a module 14 for determining a target drop-off point, wherein:
[0134] The candidate alighting point determination module 11 is used to determine at least two candidate alighting points according to the current alighting location of the user.
[0135] The feature acquisition module 12 is used to acquire relevant features of each of the candidate alighting points.
[0136] The recommended alighting point module 13 is used to input the relevant features of each candidate alighting point into a preset alighting point recommendation network to obtain a recommendation list; the recommendation list includes the quantized value of each candidate alighting point;
[0137] The target alighting point determination module 14 is used to determine the target alighting point according to the recommendation list.
[0138] In one embodiment, the above-mentioned related features include at least two of artificial features, sparse features, the current user's getting-off behavior sequence, and general getting-off behavior features, wherein:
[0139] The artificial features include at least one of a heat feature, an attribute feature, and a statistical feature of each candidate alighting point;
[0140] The sparse features represent the encoding characteristics of each of the candidate alighting points;
[0141] The current user's getting-off behavior sequence represents the current user's getting-off behavior in the historical getting-off orders corresponding to the getting-off location;
[0142] The general disembarkation behavior feature represents the disembarkation behavior of other users except the current user in the historical disembarkation orders corresponding to the disembarkation location.
[0143] In one embodiment, when the alighting point recommendation network includes a feature extraction subnetwork, a behavior prediction subnetwork and an output subnetwork, the alighting point recommendation module 13 is as follows: Fig.13 As shown, including:
[0144] The first input unit 131 is used to input the getting-off behavior sequence of the current user of each candidate getting-off point and the general getting-off behavior feature of each candidate getting-off point into the behavior prediction subnetwork for behavior prediction, so as to obtain the user behavior feature of each candidate getting-off point;
[0145] The second input unit 132 is used to input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point;
[0146] The third input unit 133 is used to input the feature information of each candidate alighting point into the output subnetwork to obtain the recommendation list.
[0147] In one embodiment, when the behavior prediction subnetwork includes a feature analysis model and a time series feature analysis model, and the user behavior feature includes a current user behavior feature and other user behavior features, the first input unit 131, such as Fig.14 As shown, specifically including:
[0148] The first prediction subunit 1311 is used to input the getting-off behavior sequence of the current user at each candidate getting-off point into the time series feature analysis model to perform behavior prediction to obtain the current user behavior feature;
[0149] The second prediction subunit 1312 is used to input the common alighting behavior features of each of the candidate alighting points into the feature analysis model to perform behavior prediction to obtain the other user behavior features.
[0150] In one embodiment, when the feature extraction subnetwork includes a matrix decomposition machine learning model and a deep learning model, and the feature information includes first feature information, second feature information, and third feature information, the second input unit 132, such as Fig.15 As shown, specifically including:
[0151] A first extraction subunit 1321 is used for inputting the artificial features of each of the candidate alighting points into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the first feature information;
[0152] The second extraction subunit 1322 is used to input the artificial features of each candidate alighting point and the sparse features of each candidate alighting point into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the second feature information;
[0153] The third extraction subunit 1323 is used to input the sparse features of each candidate alighting point and the user behavior features of each candidate alighting point into the deep learning model to perform high-order cross-feature extraction to obtain the third feature information.
[0154] In one embodiment, the candidate alighting point determining module 11 is specifically configured to select at least two candidate alighting points within a preset area corresponding to the alighting position.
[0155] In one embodiment, the target alighting point determining module 14 is specifically configured to determine the candidate alighting point corresponding to the highest quantized value in the recommendation list as the target alighting point.
[0156] In one embodiment, the above-mentioned device for recommending the alighting point further includes a training module 15, such as Fig.16 As shown, the training module 15 includes:
[0157] A sample acquisition unit 151 is used to acquire multiple sample orders;
[0158] The label acquisition unit 152 is used to acquire the relevant features and the label of the alighting point corresponding to each of the sample orders;
[0159] The training unit 153 is used to train the initial alighting point recommendation network based on the relevant features and alighting point labels of the alighting points corresponding to the multiple sample orders to obtain the alighting point recommendation network.
[0160] In one embodiment, the training unit 153, such as Fig.17 As shown, including:
[0161] The third prediction subunit 1531 is used to input the relevant features of the alighting points corresponding to the multiple sample orders into the initial alighting point recommendation network to obtain a prediction recommendation list; the prediction recommendation list includes the quantitative values of the multiple predicted alighting points arranged in descending order;
[0162] The first determining subunit 1532 is used to determine an actual recommendation list according to the alighting point labels corresponding to each of the sample orders; the actual recommendation list includes the quantized values of multiple alighting point labels arranged in descending order;
[0163] A second determining subunit 1533, configured to determine a loss function according to the predicted recommendation list and the actual recommendation list;
[0164] The training subunit 1534 is used to train the initial alighting point recommendation network through the loss function to obtain the alighting point recommendation network.
[0165] The specific definition of the device for recommending the drop-off point can be found in the definition of the method for recommending the drop-off point in the above text, and will not be repeated here. Each module in the above-mentioned device for recommending the drop-off point can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the electronic device / server in the form of hardware, or can be stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0166] Fig.18 1 is a block diagram of an electronic device 1300 according to an exemplary embodiment. For example, the electronic device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0167] Reference Fig.18 , the electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input / output (I / O) interface 1312, a sensor component 1314, and a communication component 1316. The memory stores computer programs or instructions running on the processor.
[0168] The processing component 1302 generally controls the overall operation of the electronic device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 1302 may include one or more modules to facilitate the interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate the interaction between the multimedia component 1308 and the processing component 1302.
[0169] The memory 1304 is configured to store various types of data to support operations on the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phone book data, messages, pictures, videos, etc. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0170] The power supply component 1306 provides power to the various components of the electronic device 1300. The power supply component 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1300.
[0171] The multimedia component 1308 includes a touch display screen that provides an output interface between the electronic device 1300 and the user. In some embodiments, the touch display screen may include a liquid crystal display (LCD) and a touch panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front camera and / or a rear camera. When the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0172] The audio component 1310 is configured to output and / or input audio signals. For example, the audio component 1310 includes a microphone (MIC), and when the electronic device 1300 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1304 or sent via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
[0173] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0174] The sensor assembly 1314 includes one or more sensors for providing various aspects of status assessment for the electronic device 1300. For example, the sensor assembly 1314 can detect the open / closed state of the electronic device 1300, the relative positioning of components, such as the display and keypad of the electronic device 1300, and the sensor assembly 1314 can also detect the position change of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, the orientation or acceleration / deceleration of the electronic device 1300, and the temperature change of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0175] The communication component 1316 is configured to facilitate wired or wireless communication between the electronic device 1300 and other devices. The electronic device 1300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0176] In an exemplary embodiment, the electronic device 1300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the above-mentioned method for recommending a drop-off point.
[0177] Fig.19 FIG. 1 is a block diagram of a server 1400 according to an exemplary embodiment. Fig.19The server 1400 includes a processing component 1420, which further includes one or more processors, and a memory resource represented by a memory 1422 for storing instructions or computer programs, such as applications, that can be executed by the processing component 1420. The application stored in the memory 1422 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1420 is configured to execute the instructions to perform the above-mentioned method for recommending a drop-off point.
[0178] The server 1400 may also include a power supply component 1424 configured to perform power management of the device 1400, a wired or wireless network interface 1426 configured to connect the device 1400 to a network, and an input / output (I / O) interface 1428. The server 1400 may operate based on an operating system stored in the memory 1422, such as Windows 14 14erverTM, Mac O14 XTM, UnixTM, LinuxTM, FreeB14DTM or the like.
[0179] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, and the instructions can be executed by a processor 1320 of the electronic device 1300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0180] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory 1422 including instructions, which can be executed by a processor of the server 1400 to perform the above method. The storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0181] In an exemplary embodiment, a computer program product is also provided, and when the computer program is executed by a processor, the above method can be implemented. The computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, part or all of the above method can be implemented in whole or in part according to the process or function described in the embodiment of the present disclosure.
[0182] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the embodiments of the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0183] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0184] The above-described embodiments only express several implementation methods of the embodiments of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the embodiments of the present disclosure, and these all belong to the protection scope of the embodiments of the present disclosure. Therefore, the protection scope of the patent of the embodiments of the present disclosure shall be subject to the attached claims.
Claims
1. A method for recommending alighting points, characterized in that: The method comprises: Determine at least two candidate alighting points based on the current user's alighting location; Obtain relevant features of each of the candidate alighting points; Inputting the relevant features of each of the candidate alighting points into a preset alighting point recommendation network to obtain a recommendation list; the recommendation list includes the quantized value of each of the candidate alighting points; Determine the target drop-off point according to the recommendation list; The relevant features include at least two of artificial features, sparse features, the current user's getting-off behavior sequence, and universal getting-off behavior features, wherein: The artificial features include at least one of a heat feature, an attribute feature, and a statistical feature of each candidate alighting point; The sparse features represent the encoding characteristics of each of the candidate alighting points; The current user's getting-off behavior sequence represents the current user's getting-off behavior in the historical getting-off orders corresponding to the getting-off location; The general disembarkation behavior feature represents the disembarkation behavior of other users except the current user in the historical disembarkation orders corresponding to the disembarkation location; The alighting point recommendation network includes a behavior prediction subnetwork, a feature extraction subnetwork and an output subnetwork. The relevant features of each candidate alighting point are input into the preset alighting point recommendation network to obtain a recommendation list, including: Inputting the getting-off behavior sequence of the current user at each candidate getting-off point and the general getting-off behavior features of each candidate getting-off point into the behavior prediction subnetwork to perform behavior prediction, thereby obtaining the user behavior features of each candidate getting-off point; Inputting the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point; The feature information of each candidate alighting point is input into the output subnetwork to obtain the recommendation list.
2. The method according to claim 1, characterized in that The behavior prediction subnetwork includes a feature analysis model and a time series feature analysis model, and the user behavior features include current user behavior features and other user behavior features. The step of inputting the getting-off behavior sequence of the current user at each candidate getting-off point and the general getting-off behavior features of each candidate getting-off point into the behavior prediction subnetwork to perform behavior prediction, and obtaining the user behavior features of each candidate getting-off point includes: Inputting the getting-off behavior sequence of the current user at each candidate getting-off point into the time series feature analysis model to perform behavior prediction to obtain the current user behavior feature; The general alighting behavior features of each of the candidate alighting points are input into the feature analysis model to perform behavior prediction to obtain the other user behavior features.
3. The method according to claim 1, characterized in that The feature extraction subnetwork includes a matrix decomposition machine learning model and a deep learning model, and the feature information of the candidate alighting point includes first feature information, second feature information and third feature information. The artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point are input into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point, including: Inputting the artificial features of each of the candidate alighting points into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the first feature information; Inputting the artificial features of each of the candidate alighting points and the sparse features of each of the candidate alighting points into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the second feature information; The sparse features of each of the candidate alighting points and the user behavior features of each of the candidate alighting points are input into the deep learning model to perform high-order cross-feature extraction to obtain the third feature information.
4. The method according to claim 1, characterized in that: The step of determining at least two candidate alighting points according to the current alighting location of the user comprises: At least two candidate alighting points are selected within a preset area corresponding to the alighting position.
5. The method according to claim 1, characterized in that: The step of determining the target alighting point according to the recommendation list includes: The candidate alighting point corresponding to the highest quantized value in the recommendation list is determined as the target alighting point.
6. The method according to claim 1, characterized in that The training method of the alighting point recommendation network includes: Get multiple sample orders; Obtain relevant features and labels of the drop-off points corresponding to each of the sample orders; Based on the relevant features and the drop-off point labels corresponding to the multiple sample orders, an initial drop-off point recommendation network is trained to obtain the drop-off point recommendation network.
7. The method according to claim 6, characterized in that The training of the initial alighting point recommendation network based on the relevant features and alighting point labels of the alighting points corresponding to the multiple sample orders to obtain the alighting point recommendation network includes: Inputting relevant features of the drop-off points corresponding to the multiple sample orders into the initial drop-off point recommendation network to obtain a predicted recommendation list; the predicted recommendation list includes quantized values of multiple predicted drop-off points arranged in descending order; Determining an actual recommendation list according to the alighting point labels corresponding to each of the sample orders; the actual recommendation list includes quantized values of multiple alighting point labels arranged in descending order; Determine a loss function according to the predicted recommendation list and the actual recommendation list; The initial alighting point recommendation network is trained by the loss function to obtain the alighting point recommendation network.
8. A device for recommending alighting points, characterized in that: The device comprises: A candidate alighting point determination module is used to determine at least two candidate alighting points according to the current alighting location of the user; A feature acquisition module is used to acquire relevant features of each of the candidate alighting points; A recommended alighting point module, used for inputting the relevant features of each candidate alighting point into a preset alighting point recommendation network to obtain a recommendation list; the recommendation list includes the quantized value of each candidate alighting point; A module for determining a target alighting point, used to determine a target alighting point according to the recommendation list; The relevant features include at least two of artificial features, sparse features, the current user's getting-off behavior sequence, and universal getting-off behavior features, wherein: The artificial features include at least one of a heat feature, an attribute feature, and a statistical feature of each candidate alighting point; The sparse features represent the encoding characteristics of each of the candidate alighting points; The current user's getting-off behavior sequence represents the current user's getting-off behavior in the historical getting-off orders corresponding to the getting-off location; The general disembarkation behavior feature represents the disembarkation behavior of other users except the current user in the historical disembarkation orders corresponding to the disembarkation location; When the alighting point recommendation network includes a behavior prediction subnetwork, a feature extraction subnetwork and an output subnetwork, the alighting point recommendation module includes: A first input unit is used to input the getting-off behavior sequence of the current user of each candidate getting-off point and the general getting-off behavior features of each candidate getting-off point into the behavior prediction subnetwork for behavior prediction, so as to obtain the user behavior features of each candidate getting-off point; A second input unit is used to input the artificial features of each candidate alighting point, the sparse features of each candidate alighting point, and the user behavior features of each candidate alighting point into the feature extraction subnetwork for feature extraction to obtain feature information of each candidate alighting point; The third input unit is used to input the feature information of each candidate alighting point into the output subnetwork to obtain the recommendation list.
9. The device according to claim 8, characterized in that When the behavior prediction subnetwork includes a feature analysis model and a time series feature analysis model, and the user behavior feature includes a current user behavior feature and other user behavior features, the first input unit includes: A first prediction subunit is used to input the getting-off behavior sequence of the current user at each candidate getting-off point into the time series feature analysis model to perform behavior prediction to obtain the current user behavior feature; The second prediction subunit is used to input the common getting-off behavior features of each of the candidate getting-off points into the feature analysis model to perform behavior prediction to obtain the other user behavior features.
10. The device according to claim 8, characterized in that When the feature extraction subnetwork includes a matrix decomposition machine learning model and a deep learning model, and the feature information of the candidate alighting point includes first feature information, second feature information, and third feature information, the second input unit includes: A first extraction subunit is used to input the artificial features of each of the candidate alighting points into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the first feature information; A second extraction subunit is used to input the artificial features of each of the candidate alighting points and the sparse features of each of the candidate alighting points into the matrix decomposition machine learning model to perform second-order cross feature extraction to obtain the second feature information; The third extraction subunit is used to input the sparse features of each candidate alighting point and the user behavior features of each candidate alighting point into the deep learning model to perform high-order cross-feature extraction to obtain the third feature information.
11. The device according to claim 8, characterized in that The candidate alighting point determination module is used to select at least two candidate alighting points within a preset area corresponding to the alighting position.
12. The device according to claim 8, characterized in that The target alighting point determination module is used to determine the candidate alighting point corresponding to the highest quantized value in the recommendation list as the target alighting point.
13. The device according to claim 8, characterized in that The device for recommending alighting points further includes a training module, and the training module includes: Get sample unit, used to get multiple sample orders; A label acquisition unit, used to acquire relevant features and labels of the drop-off points corresponding to each of the sample orders; A training unit is used to train an initial alighting point recommendation network based on relevant features and alighting point labels corresponding to the multiple sample orders to obtain the alighting point recommendation network.
14. The device according to claim 13, characterized in that The training unit comprises: A third prediction subunit is used to input the relevant features of the alighting points corresponding to the multiple sample orders into the initial alighting point recommendation network to obtain a prediction recommendation list; the prediction recommendation list includes the quantitative values of the multiple predicted alighting points arranged in descending order; A first determining subunit is used to determine an actual recommendation list according to the alighting point label corresponding to each of the sample orders; the actual recommendation list includes quantized values of multiple alighting point labels arranged in descending order; A second determining subunit, configured to determine a loss function according to the predicted recommendation list and the actual recommendation list; The training subunit is used to train the initial alighting point recommendation network through the loss function to obtain the alighting point recommendation network.
15. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
