Information push method, device, electronic device and storage medium

By inputting the historical travel information of the target user into the travel prediction model, determining his travel plan in the target time period, and selecting and pushing travel resources according to the plan, the problem of lack of personalization of information push in the existing technology is solved and improves the efficiency Resource utilization and user experience.

CN111861538BActive Publication Date: 2024-10-22BEIJING DIDI INFINITY TECH & DEV CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010491309.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-02
Publication Date
2024-10-22
Estimated Expiration
2040-06-02

AI Technical Summary

Technical Problem

Existing travel platforms lack personalization when pushing travel resource information, causing users to receive information they don't care about, which reduces user experience and resource utilization.

Method used

By inputting the historical travel information of the target user into the travel prediction model, the first planned travel information in the target time period is determined, and based on this information and the attribute information of the candidate travel resources, the target travel is selected and pushed from multiple candidate resources. resource.

Benefits of technology

It improves the matching between travel resources and users, improves the utilization of push resources and the service quality of the travel platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111861538B_ABST
    Figure CN111861538B_ABST
Patent Text Reader

Abstract

The present application provides an information push method, device, electronic device and storage medium, the method comprising: inputting historical travel information of a target user into a travel prediction model to determine the first planned travel information of the target user in a target time period; selecting a target travel resource from a plurality of candidate travel resources based on the first planned travel information and resource attribute information of the candidate travel resources; and pushing the target travel resource to the target user to improve the utilization rate of the pushed information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to an information push method, device, electronic device and storage medium. Background Art

[0002] In recent years, with the rapid development of travel platforms, various travel platforms have been committed to promoting the sharing of transportation resources and improving the service quality of travel platforms.

[0003] In order to improve the service quality of the travel platform, the travel platform will push travel resource information to the platform users. When pushing travel resource information, it can push it indiscriminately to the platform users. However, this will cause users to continuously receive travel resource information that they are not concerned about, reducing the user experience. It will also cause a waste of travel resources and reduce the utilization rate of the pushed travel resource information. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide an information push method, device, electronic device and storage medium to improve the utilization rate of pushed information.

[0005] In a first aspect, an embodiment of the present application provides an information push device, the device comprising:

[0006] A determination module, used to input the historical travel information of the target user into the travel prediction model to determine the first planned travel information of the target user in the target time period;

[0007] A selection module, configured to select a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources;

[0008] A push module is used to push the target travel resources to the target user.

[0009] In one embodiment, the selection module is used to select the target travel resource according to the following steps:

[0010] Obtain historical travel information of each reference user in the reference user group;

[0011] For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period;

[0012] A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

[0013] In one embodiment, the selection module is used to select the target travel resource according to the following steps, including:

[0014] If there is a travel resource among the multiple candidate travel resources whose resource attribute information matches the travel attribute information of the first planned travel information, the travel resource whose resource attribute information matches the travel attribute information of the first planned travel information is determined as the target travel resource.

[0015] In one implementation, the determination module is used to determine the first planned travel information of the target user in the target time period according to the following steps:

[0016] Based on the historical travel orders of the target user, determine a set of candidate start-end point groups corresponding to the target user;

[0017] For each candidate start-end group in the candidate start-end group set, the historical travel information of the target user and the predicted travel information corresponding to the candidate start-end group are input into the travel prediction model to obtain the selection probability of the target user selecting the candidate start-end group in the target time period;

[0018] Selecting a target start-end point pair from the candidate start-end point group set based on the selection probability corresponding to each candidate start-end point group;

[0019] According to the selected target start-end point pair, the first planned travel information of the target user in the target time period is determined.

[0020] In one implementation, the determination module is used to determine the probability that the target user selects the candidate start and end point in the target time period according to the following steps:

[0021] Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group;

[0022] For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order;

[0023] Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order;

[0024] Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate starting and ending point group;

[0025] Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order;

[0026] The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

[0027] In one embodiment, the target time period is determined according to the following steps:

[0028] Obtain historical travel orders of the reference user group;

[0029] Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group;

[0030] The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

[0031] In one implementation, the determining module is used to determine the planned travel information of the target user in the target time period according to the following steps, including:

[0032] Obtain the road congestion level during the target time period;

[0033] If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

[0034] In one implementation, the historical travel information includes any one of the following information:

[0035] Historical travel start and end point information, historical travel time information, historical travel weather information, historical travel start and end point area distribution information and historical travel time difference information.

[0036] In one implementation, the target travel resource includes any one of the following resources:

[0037] Travel discount resources; travel mode resources.

[0038] In a second aspect, an embodiment of the present application provides an information push method, the method comprising:

[0039] Inputting the historical travel information of the target user into the travel prediction model to determine the first planned travel information of the target user in the target time period;

[0040] Selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources;

[0041] The target travel resource is pushed to the target user.

[0042] In one implementation, selecting a target travel resource from a plurality of candidate travel resources includes:

[0043] Obtain historical travel information of each reference user in the reference user group;

[0044] For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period;

[0045] A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

[0046] In one implementation, selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and the resource attribute information of the candidate travel resources includes:

[0047] If there is a travel resource among the multiple candidate travel resources whose resource attribute information matches the travel attribute information of the first planned travel information, the travel resource whose resource attribute information matches the travel attribute information of the first planned travel information is determined as the target travel resource.

[0048] In one implementation, determining the first planned travel information of the target user in the target time period includes:

[0049] Based on the historical travel orders of the target user, determine a set of candidate start-end point groups corresponding to the target user;

[0050] For each candidate start-end group in the candidate start-end group set, the historical travel information of the target user and the predicted travel information corresponding to the candidate start-end group are input into the travel prediction model to obtain the selection probability of the target user selecting the candidate start-end group in the target time period;

[0051] Selecting a target start-end point pair from the candidate start-end point group set based on the selection probability corresponding to each candidate start-end point group;

[0052] According to the selected target start-end point pair, the first planned travel information of the target user in the target time period is determined.

[0053] In one embodiment, for each candidate start-end point group in the candidate start-end point group set, historical travel information of the target user and predicted travel information corresponding to the candidate start-end point group are input into the travel prediction model to determine the probability that the target user selects the candidate start-end point in the target time period, including:

[0054] Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group;

[0055] For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order;

[0056] Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order;

[0057] Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate starting and ending point group;

[0058] Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order;

[0059] The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

[0060] In one embodiment, the target time period is determined according to the following steps:

[0061] Obtain historical travel orders of the reference user group;

[0062] Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group;

[0063] The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

[0064] In one embodiment, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period, including:

[0065] Obtain the road congestion level during the target time period;

[0066] If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

[0067] In one implementation, the historical travel information includes any one of the following information:

[0068] Historical travel start and end point information, historical travel time information, historical travel weather information, historical travel start and end point area information and historical travel time difference information.

[0069] In one implementation, the target travel resource includes any one of the following resources:

[0070] Travel discount resources; travel mode resources.

[0071] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the above-mentioned information push method.

[0072] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned information push method are executed.

[0073] The information push method provided in the embodiment of the present application takes into account the historical travel information of the target user and inputs the historical travel information of the target user into the travel prediction model to obtain the first planned travel information of the target user in the target time period, thereby improving the accuracy of the obtained planned travel information to a certain extent, and further selecting target travel resources for the target user from multiple candidate travel resources based on the first planned travel information and the resource attribute information of the preset candidate travel resources, thereby improving the matching degree between the target travel resources and the target user, and then pushing the target travel resources to the target user, thereby improving the utilization rate of the pushed travel resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0075] Figure 1 A schematic diagram of the architecture of an information push system provided by an embodiment of the present application is shown;

[0076] Figure 2 A first flow chart of an information push method provided in an embodiment of the present application is shown;

[0077] Figure 3 A second flow chart of an information push method provided in an embodiment of the present application is shown;

[0078] Figure 4 A schematic diagram of the structure of an information push device provided in an embodiment of the present application is shown;

[0079] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0080] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0081] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0082] In order to enable those skilled in the art to use the content of this application, the following implementation is provided in conjunction with a specific application scenario "travel scenario". For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application mainly describes the travel scenario, it should be understood that this is only an exemplary embodiment.

[0083] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0084] The terms "passenger", "requester", "service requester" and "customer" in this application are used interchangeably to refer to individuals, entities or tools that can request or order services. The terms "driver", "provider", "service provider" and "supplier" in this application are used interchangeably to refer to individuals, entities or tools that can provide services. The term "user" in this application may refer to an individual, entity or tool that requests a service, orders a service, provides a service, or facilitates the provision of a service. For example, a user may be a passenger, a driver, an operator, etc., or any combination thereof. In this application, "passenger" and "passenger terminal" are used interchangeably, and "driver" and "driver terminal" are used interchangeably.

[0085] The terms "service request" and "order" in this application are used interchangeably to refer to a request initiated by a passenger, a service requester, a driver, a service provider, a supplier, etc., or any combination thereof. The "service request" or "order" may be accepted by a passenger, a service requester, a driver, a service provider, a supplier, etc., or any combination thereof. A service request may be charged or free of charge.

[0086] In order to improve the utilization rate of pushed travel resources, passengers' travel information can be predicted based on macro traffic data, such as regional traffic flow and road traffic demand. However, there are many factors that affect passengers' travel, such as weather factors, passengers' personal preferences, work factors, traffic environment factors, etc. If passengers' travel is predicted based on traffic data alone, the accuracy of the predicted travel is relatively low. When travel resource information is pushed to passengers based on the predicted travel, the pushed resource information is not necessarily the travel resource information required by passengers. The travel resource information pushed in the above way does not improve the utilization rate of travel resources.

[0087] Based on this, the present application proposes an information push method, which takes into account the historical travel information of the target user, and inputs the historical travel information of the target user into a travel prediction model to obtain the first planned travel information of the target user in the target time period, which improves the accuracy of the obtained planned travel information to a certain extent, and further selects target travel resources for the target user from multiple candidate travel resources based on the first planned travel information and the resource attribute information of the preset candidate travel resources, thereby improving the matching degree between the target travel resources and the target user, and then pushing the target travel resources to the target user, thereby improving the utilization rate of the pushed travel resources and the service quality of the travel platform.

[0088] Figure 1 1 is a schematic diagram of the architecture of an information push system provided by an embodiment of the present application. For example, the information push system may be an online transportation service platform for transportation services such as taxis, chauffeur services, express trains, carpooling, bus services, driver rentals, or shuttle services, or any combination thereof. The information push system may include one or more of a server 110, a network 120, a service requester terminal 130, a service provider terminal 140, and a database 150.

[0089] In some embodiments, the server 110 may include a processor. The processor may process information and / or data related to the service request to perform one or more functions described in the present application. For example, the processor may determine the target vehicle based on the service request obtained from the service requester terminal 130. In some embodiments, the processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (M)). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.

[0090] In some embodiments, the device types corresponding to the service requester terminal 130 and the service provider terminal 140 may be mobile devices, such as smart home devices, wearable devices, smart mobile devices, virtual reality devices, or augmented reality devices, etc., or they may be tablet computers, laptop computers, or built-in devices in motor vehicles, etc.

[0091] In some embodiments, the database 150 may be connected to the network 120 to communicate with one or more components in the information push system (e.g., the server 110, the service requester terminal 130, the service provider terminal 140, etc.). One or more components in the information push system may access data or instructions stored in the database 150 via the network 120. In some embodiments, the database 150 may be directly connected to one or more components in the information push system, or the database 150 may also be part of the server 110.

[0092] The following is combined with the above Figure 1The content described in the information push system shown is used to explain in detail the information push method provided in the embodiment of the present application.

[0093] The present application embodiment provides an information push method, such as Figure 2 As shown, the method is applied to a server of a travel service platform, and the method specifically includes the following steps:

[0094] S201: Input the historical travel information of the target user into a travel prediction model to determine the first planned travel information of the target user in a target time period.

[0095] S202: Select a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources.

[0096] S203: Push the target travel resources to the target user.

[0097] In S201 , historical travel information is determined based on multiple historical travel orders of the target user.

[0098] The historical travel information includes at least one of the following information: historical travel start and end point information, historical travel time information, historical travel weather information, historical travel start and end point area distribution information, historical travel time difference information, etc.

[0099] The historical travel start and end information includes the historical travel start information and the historical travel end information. For example, the historical travel start information can be the travel start mark in the historical travel order, and the historical travel end information can be the travel end mark in the historical travel order. The start and end points in this application represent the departure and destination of a user's trip, such as u,i = <t u,i ,o u,i ,d u,i > indicates the i-th trip of user u, time is t u,i , the departure point (starting point) is o u,i , the destination (end point) is d u,i , the M user set is represented as U = {u1,u2,…,u M},u M represents the Mth user.

[0100] The historical travel time information may be the order time in the historical travel orders, or the travel time of the user.

[0101] Historical travel weather information refers to the weather conditions when the user travels, such as whether it rains, temperature information, humidity information, etc.

[0102] The historical travel starting and ending area distribution information includes the historical travel starting area distribution information and the historical travel ending area distribution information. The historical travel starting area distribution information is the distribution information of each point of interest in the area where the travel starting point in the historical travel order is located, that is, the distribution of the points of interest in the area where the travel starting point is located. For example, the area where the user's historical travel starting point is located is Zhongguancun, and the points of interest can be restaurants, residences, office buildings, etc., and the distribution is the distribution of restaurants, residences, office buildings, etc. in the Zhongguancun area; the historical travel ending area distribution information is the distribution information of each point of interest in the area where the travel ending point in the historical travel order is located, that is, the distribution of the points of interest in the area where the travel ending point is located. For example, the area where the user's historical travel ending point is located is Shangdi area, and the points of interest can be schools, residences, office buildings, etc., and the distribution of schools, residences, and office buildings in Shangdi area; wherein the starting area and the ending area can be obtained based on grid division, or can be obtained based on road network division, for example, the N area set is expressed as P = {p1, p2, ..., p N}, indicating that the urban area is divided into N areas, p N represents the Nth area, so a user's trip has N 2 possibilities.

[0103] The historical travel time difference information represents the time difference between the travel time of the current historical travel order and the travel time of the previous historical travel order, or the absolute value of the time difference between the travel time of the current historical travel order and the travel time of the next historical travel order, which can be determined according to actual conditions. When determining the historical travel time difference information, the user's historical travel orders can be sorted in order of travel time from far to near, the previous historical travel order is the previous historical travel order of the current historical travel order in the sorting, and the next historical travel order is the next historical travel order of the current historical travel order in the sorting.

[0104] The target time period is the time period after the time point when the planned travel information is determined. The time period can be a time interval on any date after the time point when the planned travel information is determined, or it can be a consecutive number of days. The target time period can be an arbitrarily selected time period. For example, the time point when the planned travel information of the target user is determined is December 20, 2019, and the target time period can be 7:00-9:00 on December 21, 2019.

[0105] In the randomly selected time period corresponding to the historical date, the user's travel behavior is relatively rare, resulting in sparse travel characteristics of the user. In order to obtain a more targeted target time period, the user's historical travel time is considered, so as to select a time period with a higher travel frequency, and take the time period with a higher travel frequency as the target time period, which specifically includes the following steps:

[0106] Obtain historical travel orders of the reference user group;

[0107] Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group;

[0108] The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

[0109] Here, the reference user group includes the target user and a large number of other users; the historical travel orders are the completed historical travel orders of the reference user in the reference user group, and the travel time is the order issuance time of the user included in the historical travel order, or the departure time of the user; the travel frequency can be the number of historical travel orders corresponding to the travel time falling into the time period, and the higher the number, the more historical travel orders there are in the time period.

[0110] In the specific implementation process, a large number of historical travel orders corresponding to each user are obtained. For each historical travel order, the time period including the travel time is determined according to the travel time in the historical travel order, and the number of historical travel orders whose travel time falls into each time period is counted. The number is used as the travel frequency of the corresponding time period. The time period corresponding to the maximum travel frequency can be determined as the target time period, or the travel frequencies can be sorted in descending order, and the time periods corresponding to the first preset number of travel frequencies that are ranked first can be determined as the target time period. The preset number can be determined according to actual conditions.

[0111] When determining the first planned travel information of the target user in the target time period, the first planned travel information of the target user in the target time period may be determined at a preset time point, or whether to trigger the determination of the first planned travel information of the target user in the target time period may be determined according to the road congestion level, specifically including the following steps:

[0112] The road congestion level in the target time period is obtained. If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

[0113] Here, the degree of road congestion can be represented by a road congestion index. The higher the road congestion index, the more serious the road congestion. The preset value is determined based on the historical road congestion degree.

[0114] In the specific implementation process, after obtaining the road congestion level of each road in the road network during the target time period, for each road in the road network, the road congestion index of the road is compared with the preset value. If the road congestion index of the road is greater than the preset value, the road sign of the road is recorded, and the number of road signs with road congestion index greater than the preset value is counted. If the ratio of the number to the total number of roads in the road network is greater than the preset ratio threshold, the step of inputting the historical travel information of the target user into the travel prediction model is executed to determine the first planned travel information of the target user in the target time period. In this way, compared with calculations at a specific time point, the number of calculations of the server is reduced to a certain extent.

[0115] The travel prediction model includes a feature vector generation layer, an attention layer, and a probability prediction layer, among which the feature vector generation layer, the attention layer, and the probability prediction layer are connected in sequence, the feature vector prediction layer may include a gated recurrent unit network (Gated Recurrent Unit, GRU), the attention layer may be a neural network attention mechanism (Attention) layer, and the probability prediction layer may include a multi-layer perceptron (Multi-Layer Perceptron, MLP). Different travel prediction models predict different target time periods for planned travel information. For a target prediction model, the model can predict the user's planned travel information in a target time period.

[0116] The travel prediction model is trained based on the first historical travel information of a large number of users. The first historical travel information is determined from the user's historical travel orders. The historical travel orders may be the same as or different from the target user's historical travel orders, depending on the actual situation.

[0117] The training process of the travel prediction model is described in detail below.

[0118] Obtain the historical travel orders of each user in the reference user group, and based on the historical travel orders of each user, determine the user's first historical travel information, the user's actual travel information in the historical target time period, the user's corresponding first historical area of ​​interest information, and the user's corresponding historical candidate start and end point group set.

[0119] The actual travel information of the user in the historical target time period is the actual starting point and the actual end point of the user in the historical target time period. The determination process of the historical target time period can refer to the determination process of the target time period.

[0120] The first historical travel information includes at least one of the first historical travel starting and ending point information, the first historical travel time information, the first historical travel weather information, the first historical travel starting and ending point area distribution information, the first historical travel time difference information, etc. The meaning of the information in the first historical travel information can refer to the meaning of the information in the historical travel information above.

[0121] The first historical interest area information may include a first historical interest starting area identifier, a first historical interest ending area identifier, a first historical interest starting and ending point pair identifier, etc., wherein the first historical interest starting and ending point pair identifier pair may be determined based on the starting and ending point pairs in the historical travel orders. For example, the number of identical starting and ending point pairs (same starting point and same ending point) in the historical travel orders is counted, and the starting and ending point pairs are sorted in descending order of number, and a preset number of starting and ending point pairs with the highest sorting are used as the interest starting and ending point pair identifiers; the first historical interest starting area identifier is determined based on the starting point and ending point in the user's historical travel orders. For each historical travel order, the starting area where the starting point and the ending point in the historical travel order are respectively determined, and the first number of identical starting point areas and the second number of ending point areas are counted. The starting point area pairs are sorted in descending order of the first number, and the preset number of starting point areas with the highest sorting are used as the interest starting point areas. The ending point area pairs are sorted in descending order of the second number, and the preset number of ending point areas with the highest sorting are used as the interest starting point areas.

[0122] The historical candidate start-end point group set can be selected from the start-end point pairs of historical travel orders. For example, the number of identical start-end point pairs is determined, and the start-end point pairs are sorted in descending order, and a preset number of start-end point pairs with the highest sorting order are determined as the historical candidate start-end point group set.

[0123] A training set is constructed, which includes the first historical travel information corresponding to each historical travel order of each user, the second historical travel information corresponding to the first historical interest area and the historical candidate start and end point group in the set of historical candidate start and end points, and the actual travel information of each user in the historical target time period. The second historical travel information includes at least one of the second historical travel start and end point information, the second historical travel time information, the second historical travel weather information, the second historical travel start and end point area distribution information, the second historical travel time difference information, etc. The meaning of the information in the second historical travel information can refer to the meaning of the information in the historical travel information above.

[0124] According to the first historical travel information corresponding to each historical travel order, the user characteristics, order characteristics, weather characteristics, starting point characteristics, end point characteristics, time characteristics, starting point area distribution characteristics, and end point area distribution characteristics corresponding to each historical travel order are determined, and the user characteristics, order characteristics, weather characteristics, starting and ending point characteristics, time characteristics, starting point area distribution characteristics, and end point area distribution characteristics are combined under different characteristics to obtain the combined characteristics corresponding to the historical travel order. For example, the starting point characteristics and the starting point area distribution characteristics are combined to obtain the first feature, and the end point characteristics and the end point area distribution characteristics are combined to obtain the second feature, and the value under the first feature and the value under the second feature are further weighted.

[0125] The features are expressed as follows: The feature of the user i-th group is expressed as Identify the first feature in the group i The vector representation of the features, l i represents the number of features in vector i, K i It represents the sum of the dimensions of all features of the i-th group feature. It should be noted that the interval feature in the order feature is expressed as where t i Represents the departure time of the i-th starting and ending group.

[0126] The combined feature is input into a vector generation model to obtain a first historical travel feature vector corresponding to the historical travel order. The vector generation model may be a convolutional neural network model, a fully connected neural network model, or the like.

[0127] The historical travel orders of each user are sorted in order from far to near in time. For each historical travel order of each user, the first historical travel feature vector corresponding to the historical travel order and the first historical travel behavior feature vector of the previous historical travel order adjacent to the historical travel order in sorting are used as inputs of the feature vector generation layer of the travel prediction model to predict the first historical travel behavior feature vector corresponding to the historical travel order. Among them, when the first first historical travel feature vector is input, the first historical travel behavior feature vector of the previous historical travel order adjacent to the historical travel order can be a preset feature vector.

[0128] For each historical candidate starting and ending point group in the set of historical candidate starting and ending point groups, the second historical travel feature vector corresponding to the historical candidate starting and ending point group is determined based on the second historical travel information corresponding to the historical candidate starting and ending point group. For example, the second historical travel information can be input into the vector generation model to obtain the second historical travel feature vector.

[0129] The first historical travel behavior feature vector corresponding to the historical travel order and the second historical travel feature vector corresponding to the historical candidate starting and ending point group are used as inputs of the attention layer in the travel prediction model to obtain a first influence coefficient of the historical travel order on the historical candidate starting and ending point group;

[0130] For each historical travel order, calculate the product of the first influence coefficient of the historical travel order on the historical candidate starting and ending point group and the historical travel behavior feature vector corresponding to the historical travel order, determine the sum of the above products, and obtain the first historical feature vector corresponding to the user.

[0131] The information of the first historical interest region of the user is input into a vector generation model to obtain a feature vector of the first historical interest region of the user.

[0132] The user's first historical feature vector, the user's first historical interest area feature vector and the historical travel behavior feature vector of the historical candidate starting and ending point group are spliced ​​together, and the spliced ​​feature vector is used as the input of the probability prediction layer of the travel prediction model to obtain the historical probability of the user selecting the historical candidate starting and ending point group.

[0133] The historical candidate starting and ending point group corresponding to the maximum historical probability is selected so that the distance between the first historical travel feature vector corresponding to the selected historical candidate starting and ending point group and the actual travel feature vector is minimized, and the model parameters in the travel prediction model are adjusted to obtain a travel probability prediction model that has completed training.

[0134] This application uses GRU to calculate user behavior representation. The specific calculation process of GRU is as follows:

[0135] z i =σ(x i W xz +h i-1 W hz +b z );

[0136] u i =σ(x i W xu +h i-1 W hu +b u );

[0137]

[0138]

[0139] W xz , W xu , W xh ∈R d×h ,W hz ,Whu ,W hh ∈R h×h

[0140] Among them, z i represents the reset gate vector, u i represents the update gate vector, b z represents the bias vector of the reset gate, b u represents the bias vector of the update gate, h i-1 represents the hidden vector at step i-1, represents the candidate hidden vector, b h Represents the bias vector when calculating the candidate hidden vector.

[0141] σ represents the sigmoid activation function;

[0142] x i Represents r i The feature vector of represents the OD of the user’s i-th trip;

[0143] W xz represents the first weight parameter; W xu represents the second weight parameter; W xh represents the third weight parameter; W hz represents the fourth weight parameter; W hu represents the fifth weight parameter; W hh represents the sixth weight parameter; ⊙ represents the multiplication of corresponding elements, h represents the number of hidden units, and d represents the input size.

[0144] h i As the user's i-th travel behavior vector representation, H represents the number of ODs in the user's historical travels, and the final travel behavior vector is expressed as

[0145] In addition, the present invention uses the attention mechanism to dynamically capture the user's travel mode information, and fully considers the differential impact of historical travel records on different candidate start and end point groups.

[0146] After obtaining the trained travel probability prediction model, refer to Figure 3 The first planned travel information of the target user in the target time period can be determined according to the following steps:

[0147] S301, determining a candidate start-end point group set corresponding to the target user based on the historical travel orders of the target user;

[0148] S302, for each candidate start-end group in the candidate start-end group set, inputting the target user's historical travel information and the predicted travel information corresponding to the candidate start-end group into the travel prediction model to obtain the probability of the target user selecting the candidate start-end group in the target time period;

[0149] S303, selecting a target start-end point pair from the candidate start-end point group set based on the probability corresponding to each candidate start-end point group;

[0150] S304: Determine the first planned travel information of the target user in the target time period according to the selected target start-end point pair.

[0151] For each candidate start-end point group in the candidate start-end point group set, the historical travel information of the target user and the predicted travel information corresponding to the candidate start-end point group are input into the travel prediction model, and the probability of the target user selecting the candidate start-end point in the target time period is determined, which may include the following steps:

[0152] Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group;

[0153] For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order;

[0154] Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order;

[0155] Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate start-end point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate start-end point group;

[0156] Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order;

[0157] The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

[0158] In S301, the predicted travel information includes candidate starting and ending point group information, predicted weather information, target time information, and candidate starting and ending point area distribution information, wherein the candidate starting and ending point area distribution information represents the starting point distribution information of the area where the candidate starting point is located and the end point distribution information of the area where the candidate end point is located, the starting point distribution information is the starting point identifier of multiple starting points distributed in the area where the candidate starting point is located, and the end point distribution information is the end point identifier of multiple end points distributed in the area where the candidate end point is located; the influence coefficient represents the influence of historical travel orders on the user's selection of the candidate starting and ending point groups, and the larger the influence coefficient, the greater the influence of historical travel orders on the user's selection of the candidate starting and ending point groups; the first historical travel information includes the travel starting point and travel end point predicted for the target user.

[0159] In the specific implementation process, the predicted travel information corresponding to the candidate start-end group is input into the vector generation model to determine the travel feature vector corresponding to the candidate start-end group, and for each historical travel order of the target user, the historical travel information corresponding to the historical travel order is input into the vector generation model to generate the historical travel feature vector corresponding to the historical travel order. The vector generation model may be a convolutional neural network model, a fully connected neural network model, or other models.

[0160] In S302, the historical travel orders of the target user are sorted in order of travel time from far to near, and for each historical travel order in the sorting, the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order in the sorting are input into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order. Wherein, when the historical travel feature vector input into the feature vector generation layer of the travel prediction model is the feature vector of the first historical travel order, the travel behavior feature vector input at the same time can be a vector whose feature values ​​are all preset to be 0.

[0161] The travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group are input into the attention layer in the travel prediction model to predict the influence coefficient of the historical travel order on the candidate starting and ending point group when the target user selects the candidate starting and ending point group.

[0162] For each historical travel order, calculate the product of the influence coefficient of the historical travel order on the candidate starting and ending point group and the travel behavior feature vector corresponding to the historical travel order, and calculate the sum of the products corresponding to each historical travel order, and use the sum as the first feature vector corresponding to the target user.

[0163] The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate starting and ending point group are input into the probability prediction layer in the travel prediction model to predict the probability of the target user selecting the candidate starting and ending point in the target time period.

[0164] In order to improve the accuracy of the probability that the target user selects the candidate starting and ending point in the target time period, the historical interest area information of the target user can be considered. Based on the historical interest area information of the target user, a historical interest area feature vector for the target user is generated, and the first feature vector corresponding to the target user, the travel feature vector corresponding to the candidate starting and ending point group, and the historical interest area feature vector are spliced. The spliced ​​feature vector is input into the probability prediction layer in the travel prediction model to predict the probability that the target user selects the candidate starting and ending point in the target time period. Compared with the probability obtained by only considering the first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate starting and ending point group, this probability improves the accuracy of the predicted probability.

[0165] Specifically, the historical interest area information may include a historical interest starting and ending point group identifier, a historical interest starting point area identifier and a historical interest ending point area identifier, wherein the historical interest starting and ending point group identifier is selected from the historical travel starting and ending point information. For example, from the historical travel orders, the number of the same historical travel starting and ending point groups is determined, and the historical travel starting and ending point groups are sorted in descending order. A preset number of historical travel starting and ending point groups with the highest order are used as the historical interest starting and ending point groups. The historical interest starting point area identifier may be an identifier of the area where the starting point in the historical interest starting and ending point group is located, and the historical interest ending point area identifier may be an identifier of the area where the end point in the historical interest starting and ending point group is located, or it may be determined based on the historical travel starting and ending points in the historical travel orders.

[0166] Considering the user's historical interest area information is to consider the user's most frequent travel area on the one hand, and the user's most frequent travel start and end groups on the other hand. The user's most frequent area includes the departure area and destination area that the user most frequently visits in the morning, afternoon, and evening.

[0167] In the problem of predicting the starting and ending points of user trips in this application, the prior art directly concatenates all feature vectors and inputs them into the model to obtain the prediction results, which only considers each independent feature and does not consider the mutual influence between features. In addition, the prior art ignores that the attractiveness of areas with different points of interest features to user trips changes over time. However, this application fully considers the mutual influence between features and the temporal variability of the attractiveness of areas with different points of interest features to user trips.

[0168] In S303, the candidate start-end point groups are sorted in descending order of probability, and a preset number of candidate start-end point groups with higher sorting are selected as target start-end point groups.

[0169] In S304, the target starting and ending point group is used as the first planned travel information of the target time period determined for the target user. In addition to the target starting and ending point group, the first planned travel information also includes the driving distance, driving time, traffic conditions and weather information from the target starting point to the target end point.

[0170] In S202, the candidate travel resources include at least travel discount resources and travel mode resources, and the resource attribute information includes travel time information, travel distance information, travel weather information, etc. Among them, the travel discount resources represent the discount degree for the planned travel information, and the travel mode resources represent the travel mode for the planned travel information, such as shuttle bus travel mode, special car travel mode, express travel mode, etc.

[0171] When executing S202, selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and the resource attribute information of the candidate travel resources may include the following steps:

[0172] If there is a travel resource among the multiple candidate travel resources whose resource attribute information matches the travel attribute information of the first planned travel information, the travel resource whose resource attribute information matches the travel attribute information of the first planned travel information is determined as the target travel resource.

[0173] Here, the travel attribute information includes time information, travel distance, travel weather, travel road conditions, etc. Among them, the time information is the planned travel time, that is, the target time period.

[0174] During the specific implementation process, after obtaining the first planned travel information, for each candidate travel resource, each type of information in the travel attribute information corresponding to the first planned travel information is compared with each type of information in the resource attribute information of the candidate travel resource. If there is at least one information in the travel information of the first planned travel information that matches the corresponding information in the resource attribute information of the candidate travel resource, the candidate travel resource is determined as the target travel resource.

[0175] For example, taking a candidate travel resource as an example, the travel attribute information of the first planned travel information includes three types of information, namely information A1, information A2 and information A3, and the resource attribute information of the candidate travel resource includes two types of information, namely information B1 and information B2. If information A1 matches information B2, the candidate travel resource is determined as the target travel resource.

[0176] Since the travel platform allocates resources for a large number of users at the same time, when the candidate resources of the travel platform are limited, in order to balance the global travel resources and evenly allocate travel resources, the planned travel information of the reference user group of the travel platform is considered, so as to determine the target travel resources for the target user, which may include the following steps:

[0177] Obtain historical travel information of each reference user in the reference user group;

[0178] For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period;

[0179] A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

[0180] Here, the historical travel information of the reference user may refer to the historical travel information of the target user, which will not be elaborated here; the second planned travel information includes a planned starting point group for the reference user, that is, the starting point and the end point in the travel plan.

[0181] In the specific implementation process, a reference user group is determined from the travel platform, historical travel information of each reference user in the reference user group is obtained, and the historical travel information of each reference user is input into the travel prediction model to predict the second travel plan information of the reference user in the target time period. The process of predicting the second travel plan information of the reference user can refer to the prediction process of the first travel plan information of the target user, which will not be described in detail here.

[0182] For each reference user, the first travel resource is selected for the reference user from multiple candidate travel resources based on the travel attribute information of the second planned travel information of the reference user and the resource attribute information of the candidate travel resources. That is, for each candidate travel resource, each type of information in the travel attribute information corresponding to the second planned travel information is compared with each type of information in the resource attribute information of the candidate travel resource. If there is at least one type of information in the travel information of the second planned travel information that matches the corresponding information in the resource attribute information of the candidate travel resource, the candidate travel resource is determined as the first travel resource.

[0183] When the target travel resource of the target user conflicts with the first travel resource of the reference user, for example, the first travel resource is the same as the target travel resource, and the sum of the number of the first travel resources and the number of the target travel resources exceeds the total number of corresponding candidate travel resources in the server, the user's priority can be considered at this time, so as to select the target travel resource for the target user from multiple candidate travel resources. For example, if the priority of the target user is higher than the priority of the reference user, the target travel resource is selected for the target user from multiple candidate travel resources. The priority can be determined according to the number of historical travel orders completed by the user. The greater the number of historical travel orders completed, the higher the priority of the user.

[0184] In S203, after the target travel resources for the target user are determined, the target travel resources may be pushed to the target user directly, or may be pushed to the target user at a preset time point, which may be determined according to actual conditions.

[0185] The present application embodiment provides an information push device, such as Figure 4 As shown, the device comprises:

[0186] A determination module 41 is used to input the historical travel information of the target user into the travel prediction model to determine the first planned travel information of the target user in the target time period;

[0187] A selection module 42, configured to select a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources;

[0188] The push module 43 is used to push the target travel resources to the target user.

[0189] In one implementation, the selection module 42 is used to select the target travel resource according to the following steps:

[0190] Obtain historical travel information of each reference user in the reference user group;

[0191] For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period;

[0192] A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

[0193] In one implementation, the selection module 42 is used to select the target travel resource according to the following steps, including:

[0194] If there is a travel resource among the multiple candidate travel resources whose resource attribute information matches the travel attribute information of the first planned travel information, the travel resource whose resource attribute information matches the travel attribute information of the first planned travel information is determined as the target travel resource.

[0195] In one implementation, the determining module 41 is used to determine the first planned travel information of the target user in the target time period according to the following steps:

[0196] Based on the historical travel orders of the target user, determine a set of candidate start-end point groups corresponding to the target user;

[0197] For each candidate start-end group in the candidate start-end group set, the historical travel information of the target user and the predicted travel information corresponding to the candidate start-end group are input into the travel prediction model to obtain the selection probability of the target user selecting the candidate start-end group in the target time period;

[0198] Selecting a target start-end point pair from the candidate start-end point group set based on the selection probability corresponding to each candidate start-end point group;

[0199] According to the selected target start-end point pair, the first planned travel information of the target user in the target time period is determined.

[0200] In one implementation, the determination module 41 is used to determine the probability that the target user selects the candidate start and end points in the target time period according to the following steps:

[0201] Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group;

[0202] For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order;

[0203] Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order;

[0204] Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate starting and ending point group;

[0205] Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order;

[0206] The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

[0207] In one embodiment, the target time period is determined according to the following steps:

[0208] Obtain historical travel orders of the reference user group;

[0209] Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group;

[0210] The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

[0211] In one implementation, the determining module 41 is used to determine the planned travel information of the target user in the target time period according to the following steps, including:

[0212] Obtain the road congestion level during the target time period;

[0213] If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

[0214] In one implementation, the historical travel information includes any one of the following information:

[0215] Historical travel start and end point information, historical travel time information, historical travel weather information, historical travel start and end point area distribution information and historical travel time difference information.

[0216] In one implementation, the target travel resource includes any one of the following resources:

[0217] Travel discount resources; travel mode resources.

[0218] The present application embodiment also provides an electronic device 50, such as Figure 5 , which is a schematic diagram of the structure of an electronic device 50 provided in an embodiment of the present application, includes: a processor 51, a memory 52, and a bus 53. The memory 52 stores machine-readable instructions executable by the processor 51 (for example, Figure 4In the device, the execution instructions corresponding to the determining module 41, the selecting module 42, and the pushing module 43 are provided, etc. When the electronic device 50 is running, the processor 51 communicates with the memory 52 via the bus 53, and when the machine-readable instructions are executed by the processor 51, the following processing is performed:

[0219] Inputting the historical travel information of the target user into the travel prediction model to determine the first planned travel information of the target user in the target time period;

[0220] Selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources;

[0221] The target travel resource is pushed to the target user.

[0222] In a possible implementation manner, the instructions executed by the processor 51 include selecting a target travel resource from a plurality of candidate travel resources, including:

[0223] Obtain historical travel information of each reference user in the reference user group;

[0224] For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period;

[0225] A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

[0226] In a possible implementation manner, the instructions executed by the processor 51 include selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources, including:

[0227] If there is a travel resource among the multiple candidate travel resources whose resource attribute information matches the travel attribute information of the first planned travel information, the travel resource whose resource attribute information matches the travel attribute information of the first planned travel information is determined as the target travel resource.

[0228] In a possible implementation manner, the instructions executed by the processor 51 to determine the first planned travel information of the target user in the target time period include:

[0229] Based on the historical travel orders of the target user, determine a set of candidate start-end point groups corresponding to the target user;

[0230] For each candidate start-end group in the candidate start-end group set, the historical travel information of the target user and the predicted travel information corresponding to the candidate start-end group are input into the travel prediction model to obtain the selection probability of the target user selecting the candidate start-end group in the target time period;

[0231] Selecting a target start-end point pair from the candidate start-end point group set based on the selection probability corresponding to each candidate start-end point group;

[0232] According to the selected target start-end point pair, the first planned travel information of the target user in the target time period is determined.

[0233] In a possible implementation manner, the instructions executed by the processor 51 include, for each candidate start-end point group in the set of candidate start-end points, inputting the historical travel information of the target user and the predicted travel information corresponding to the candidate start-end point group into the travel prediction model, and determining the probability of the target user selecting the candidate start-end point in the target time period, including:

[0234] Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group;

[0235] For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order;

[0236] Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order;

[0237] Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate starting and ending point group;

[0238] Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order;

[0239] The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

[0240] In a possible implementation manner, in the instructions executed by the processor 51, the target time period is determined according to the following steps:

[0241] Obtain historical travel orders of the reference user group;

[0242] Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group;

[0243] The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

[0244] In a possible implementation manner, the instructions executed by the processor 51 include inputting the historical travel information of the target user into the travel prediction model to determine the planned travel information of the target user in the target time period, including:

[0245] Obtain the road congestion level during the target time period;

[0246] If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

[0247] In a possible implementation manner, in the instruction executed by the processor 51, the historical travel information includes any one of the following information:

[0248] Historical travel start and end point information, historical travel time information, historical travel weather information, historical travel start and end point area information and historical travel time difference information.

[0249] In a possible implementation manner, in the instruction executed by the processor 51, the target travel resource includes any one of the following resources:

[0250] Travel discount resources; travel mode resources.

[0251] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned information push method are executed.

[0252] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned information push method can be executed to solve the problem of low utilization rate of information push in the prior art. The present application takes into account the historical travel information of the target user and inputs the historical travel information of the target user into the travel prediction model to obtain the first planned travel information of the target user in the target time period, which improves the accuracy of the obtained planned travel information to a certain extent. Further, based on the first planned travel information and the resource attribute information of the preset candidate travel resources, the target travel resources are selected for the target user from multiple candidate travel resources, which improves the matching degree between the target travel resources and the target user, and then pushes the target travel resources to the target user, thereby improving the utilization rate of the pushed travel resources and improving the service quality of the travel platform.

[0253] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0254] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0255] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0256] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for an electronic device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0257] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An information push device, characterized in that: The device includes: A determination module, used to input the historical travel information of the target user into the travel prediction model to determine the first planned travel information of the target user in the target time period; A selection module, configured to select a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources; A push module, used to push the target travel resources to the target user; The selection module is used to select the target travel resource according to the following steps, including: After obtaining the first planned travel information, for each candidate travel resource, each type of information in the travel attribute information corresponding to the first planned travel information is compared with each type of information in the resource attribute information of the candidate travel resource, and if at least one type of information in the travel information of the first planned travel information matches the corresponding information in the resource attribute information of the candidate travel resource, the candidate travel resource is determined as a target travel resource, the resource attribute information includes: travel time information, travel distance information, travel weather information, and the travel attribute information includes: planned travel time, travel distance, travel weather, and travel road conditions; The determination module is used to determine the first planned travel information of the target user in the target time period according to the following steps: Based on the historical travel orders of the target user, determine a set of candidate start-end point groups corresponding to the target user; For each candidate start-end point group in the candidate start-end point group set, the target user's historical travel information and the predicted travel information corresponding to the candidate start-end point group are input into the travel prediction model to obtain the probability of the target user selecting the candidate start-end point group in the target time period, wherein the historical travel information includes at least one of historical travel start-end point information, historical travel time information, historical travel weather information, historical travel start-end point regional distribution information, and historical travel time difference information; the predicted travel information includes candidate start-end point group information, predicted weather information, target time information, and candidate start-end point regional distribution information; Selecting a target start-end point pair from the candidate start-end point group set based on the selection probability corresponding to each candidate start-end point group; According to the selected target start-end point pair, the first planned travel information of the target user in the target time period is determined.

2. The device according to claim 1, characterized in that The selection module is used to select the target travel resource according to the following steps: Obtain historical travel information of each reference user in the reference user group; For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period; A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

3. The device according to claim 1, characterized in that The determination module is used to determine the probability that the target user selects the candidate start and end point in the target time period according to the following steps: Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group; For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order; Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order; Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate starting and ending point group; Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order; The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

4. The device according to claim 1, characterized in that The target time period is determined according to the following steps: Obtain historical travel orders of the reference user group; Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group; The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

5. The device according to claim 1, characterized in that The determining module is used to determine the first planned travel information of the target user in the target time period according to the following steps, including: Obtain the road congestion level during the target time period; If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

6. The device according to claim 1, characterized in that The target travel resource includes any one of the following resources: Travel discount resources; travel mode resources.

7. An information push method, characterized in that: The method includes: Inputting the historical travel information of the target user into the travel prediction model to determine the first planned travel information of the target user in the target time period; Selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and resource attribute information of the candidate travel resources; Pushing the target travel resources to the target user; Selecting a target travel resource from a plurality of candidate travel resources according to the first planned travel information and the resource attribute information of the candidate travel resources includes: After obtaining the first planned travel information, for each candidate travel resource, each type of information in the travel attribute information corresponding to the first planned travel information is compared with each type of information in the resource attribute information of the candidate travel resource, and if at least one type of information in the travel information of the first planned travel information matches the corresponding information in the resource attribute information of the candidate travel resource, the candidate travel resource is determined as a target travel resource, the resource attribute information includes: travel time information, travel distance information, travel weather information, and the travel attribute information includes: planned travel time, travel distance, travel weather, and travel road conditions; Determine the first planned travel information of the target user in the target time period, including: Based on the historical travel orders of the target user, determine a set of candidate start-end point groups corresponding to the target user; For each candidate start-end point group in the candidate start-end point group set, the target user's historical travel information and the predicted travel information corresponding to the candidate start-end point group are input into the travel prediction model to obtain the probability of the target user selecting the candidate start-end point group in the target time period, wherein the historical travel information includes at least one of historical travel start-end point information, historical travel time information, historical travel weather information, historical travel start-end point regional distribution information, and historical travel time difference information; the predicted travel information includes candidate start-end point group information, predicted weather information, target time information, and candidate start-end point regional distribution information; Selecting a target start-end point pair from the candidate start-end point group set based on the selection probability corresponding to each candidate start-end point group; According to the selected target start-end point pair, the first planned travel information of the target user in the target time period is determined.

8. The method according to claim 7, characterized in that Select the target travel resource from multiple candidate travel resources, including: Obtain historical travel information of each reference user in the reference user group; For each reference user, inputting the historical travel information of the reference user into the travel prediction model to determine the second planned travel information of the reference user in the target time period; A target travel resource is selected from a plurality of candidate travel resources according to each of the second planned travel information and the first planned travel information, and resource attribute information of the candidate travel resources.

9. The method according to claim 7, characterized in that For each candidate start-end point group in the candidate start-end point group set, historical travel information of the target user and predicted travel information corresponding to the candidate start-end point group are input into the travel prediction model to determine the probability that the target user selects the candidate start-end point in the target time period, including: Determine a travel feature vector corresponding to the candidate start-end point group according to the predicted travel information corresponding to the candidate start-end point group; For each historical travel order of the target user, generating a historical travel feature vector corresponding to the historical travel order based on the historical travel information corresponding to the historical travel order; Inputting the historical travel feature vector corresponding to the historical travel order and the travel behavior feature vector corresponding to the previous historical travel order adjacent to the historical travel order into the feature vector generation layer in the travel prediction model to obtain the travel behavior feature vector corresponding to the historical travel order; Inputting the travel behavior feature vector corresponding to the historical travel order and the travel feature vector corresponding to the candidate starting and ending point group into the attention layer in the travel prediction model to obtain the influence coefficient of the historical travel order on the candidate starting and ending point group; Determine a first feature vector corresponding to the target user based on the influence coefficient of each historical travel order on the candidate start-end point group and the travel behavior feature vector corresponding to each historical travel order; The first feature vector corresponding to the target user and the travel feature vector corresponding to the candidate start and end point group are input into the probability prediction layer in the travel prediction model to obtain the probability that the target user selects the candidate start and end point in the target time period.

10. The method according to claim 7, characterized in that The target time period is determined according to the following steps: Obtain historical travel orders of the reference user group; Determine the travel frequency corresponding to each of the preset multiple time periods based on the travel time in the historical travel orders of the reference user group; The target time period is determined from multiple time periods according to the travel frequency corresponding to each time period.

11. The method according to claim 7, characterized in that Input the target user's historical travel information into the travel prediction model to determine the target user's planned travel information during the target time period, including: Obtain the road congestion level during the target time period; If the road congestion level in the target time period exceeds a preset value, the historical travel information of the target user is input into the travel prediction model to determine the first planned travel information of the target user in the target time period.

12. The method according to claim 7, characterized in that The target travel resource includes any one of the following resources: Travel discount resources; travel mode resources.

13. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the information push method as described in any one of claims 7 to 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information push method according to any one of claims 7 to 12 are executed.