Method, device, electronic device and storage medium for predicting user behavior

By generating user action graphs and obtaining time dependencies, graph neural networks and machine learning technology are used to solve the problem of insufficient user behavior prediction based on a single historical action in the existing technology, and achieve more accurate user behavior prediction and application resource scheduling. .

CN111813640BActive Publication Date: 2024-09-24BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010219740.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-25
Publication Date
2024-09-24
Estimated Expiration
2040-03-25

AI Technical Summary

Technical Problem

Existing user behavior prediction technology is only based on a single type of historical actions, cannot accurately predict the user's next action, and is difficult to reflect multiple user factors.

Method used

By generating user action graphs, we obtain temporal dependencies based on multiple types of historical actions, determine the next action the user will perform, and use graph neural networks and machine learning technology to capture the temporal characteristics and dependencies of user behavior.

Benefits of technology

It improves the accuracy of user behavior prediction, can more comprehensively reflect users' behavioral habits and potential actions, and optimizes the application's resource scheduling and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111813640B
    Figure CN111813640B
Patent Text Reader

Abstract

The present disclosure relates to methods, devices, electronic devices and storage media for predicting user behavior. In one method, in response to a first action performed by a user at a first time point, a user action graph is generated based on multiple historical actions of multiple types performed by the user, and the user action graph describes the order in which the multiple historical actions are performed by the user. Based on the user action graph, the time dependency between the multiple types is obtained. Based on the first action and the time dependency, a second action to be performed by the user at a second time point after the first time point is determined. Further, corresponding devices, electronic devices and storage media are provided. Using the above implementation method, the time dependency between multiple types can be obtained based on multiple historical actions including multiple types, thereby predicting the user's behavior in a more effective way.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Implementations of the present disclosure relate to user management, and more particularly, to methods, devices, and computer storage media for predicting user behavior. Background Art

[0002] With the development of computer technology and network technology, a large number of applications have been developed. Users can perform actions in applications to achieve the desired purpose. When users perform different actions, the application will dispatch different resources. Therefore, it is expected that user behavior can be predicted so as to manage applications in a more efficient way. Summary of the invention

[0003] It is expected that a technical solution can be developed and implemented to predict user behavior in a more effective manner. It is expected that the technical solution can be compatible with existing applications, so as to manage applications in a more effective manner.

[0004] According to a first aspect of the present disclosure, a method for predicting user behavior is provided. In the method, in response to a first action performed by a user at a first time point, a user action graph is generated based on multiple historical actions of multiple types performed by the user, and the user action graph describes the order in which the multiple historical actions are performed by the user. Based on the user action graph, a time dependency relationship between multiple types is obtained. Based on the first action and the time dependency relationship, a second action to be performed by the user at a second time point after the first time point is determined.

[0005] According to a second aspect of the present disclosure, a device for predicting user behavior is provided. The device includes: a generation module configured to generate a user action graph based on multiple historical actions of multiple types performed by the user in response to a first action performed by the user at a first time point, wherein the user action graph describes the order in which the multiple historical actions are performed by the user; an acquisition module configured to acquire a time dependency relationship between multiple types based on the user action graph; and a determination module configured to determine a second action to be performed by the user at a second time point after the first time point based on the first action and the time dependency relationship.

[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect of the present disclosure.

[0007] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The features, advantages and other aspects of various implementations of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings, which illustrate several implementations of the present disclosure in an exemplary and non-limiting manner. In the accompanying drawings:

[0009] Figure 1 A block diagram schematically illustrates an interface of an application program according to an exemplary implementation of the present disclosure in which the application program can be used;

[0010] Figure 2 A block diagram schematically illustrates a process for determining user behavior based on multiple types of historical actions according to an exemplary implementation of the present disclosure;

[0011] Figure 3 A flowchart of a method for determining user behavior according to an exemplary implementation of the present disclosure is schematically shown;

[0012] Figure 4 A block diagram schematically illustrates a process for processing multiple historical actions according to an exemplary implementation of the present disclosure;

[0013] Figure 5 A block diagram schematically illustrates an operation process of generating a time dependency relationship according to an exemplary implementation of the present disclosure;

[0014] Figure 6 A block diagram schematically illustrates a process of collecting data from other users located around a departure point designated by a user according to an exemplary implementation of the present disclosure;

[0015] Figure 7 A block diagram schematically illustrates a process of collecting data from other users whose destination is a departure place specified by a user according to an exemplary implementation of the present disclosure;

[0016] Figure 8 A block diagram schematically illustrates a process for training time dependencies according to an exemplary implementation of the present disclosure;

[0017] Fig. 9A and Fig. 9B Schematically showing a block diagram of a preview interface displayed to a user according to an exemplary implementation of the present disclosure; and

[0018] Fig.10 A block diagram of a device for determining user behavior according to an exemplary implementation of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0019] The preferred implementations of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred implementations of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the implementations set forth herein. On the contrary, these implementations are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0020] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example implementation" and "an implementation" mean "at least one example implementation". The term "another implementation" means "at least one additional implementation". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0021] See first Figure 1 The application environment of the exemplary implementation of the present disclosure is described. Figure 1 A block diagram 100 schematically shows a user interface of an application program according to an exemplary implementation of the present disclosure in which an application program can be used. Currently, applications such as online vehicle services have been developed. Figure 1 As shown in the user interface 110 in FIG. 1 , the box 120 shows the current time, and the user can specify the departure point of the vehicle at the box 130 and the destination of the vehicle at the box 132. The user can press the button 140 to preview the relevant information of the trip from the departure point to the destination. After that, the user can decide to continue to call the car or cancel the call. It will be understood that since it takes a certain amount of time to dispatch vehicle resources, in order to improve the response speed and reduce the waiting time of the user, it is expected that the user's behavior can be predicted so as to dispatch the vehicle more efficiently.

[0022] Currently, a technical solution for predicting user behavior based on the user's past cancellation actions has been proposed. This technical solution only determines the probability of the user canceling the current trip based on the user's past cancellation actions, but cannot accurately predict the user's next action.

[0023] In order to at least partially solve one or more of the above problems and other potential problems, the exemplary implementation of the present disclosure proposes a technical solution for predicting user behavior. Specifically, it is proposed to establish a user action graph based on multiple historical actions of multiple types performed by the user to determine the user's future actions. Compared with the technical solution in the prior art that performs prediction based on a single type of action, multiple historical actions of multiple types can reflect various factors when the user makes the next action, thus helping to perform prediction in a more accurate manner.

[0024] See first Figure 2 Describes an overview of an exemplary implementation of the present disclosure, which schematically shows a block diagram of a process for determining user behavior based on multiple types of historical actions according to an exemplary implementation of the present disclosure. The actions performed by the user can be detected. For example, after determining that the user performs a first action 210, multiple historical actions 220 of multiple types performed by the user can be collected to generate a user action graph 230. Here, the user action graph 230 can describe the order in which multiple historical actions are performed by the user. Based on the user action graph 230, a time dependency relationship 240 between multiple types can be obtained so as to determine a second action 250 that the user is about to perform based on the first action 210 and the time dependency relationship 240.

[0025] In the following, we will refer to Figure 3 More details of exemplary implementations of the present disclosure are described. Figure 3 A flow chart of a method 300 for determining user behavior according to an exemplary implementation of the present disclosure is schematically shown. At box 310, in response to a first action 210 performed by a user at a first time point, a user action graph 230 is generated based on a plurality of historical actions 220 of a plurality of types performed by the user. More details of an exemplary implementation of the present disclosure will be described below in the context of an online vehicle service application.

[0026] The user action may include multiple types, for example, at least one of the following: preview type, submission type, cancellation type, and completion type. The preview type indicates an action in which the user specifies the departure and destination of the trip so that the online vehicle service application displays information related to the trip from the departure to the destination; the submission type indicates an action in which the user submits a ride request after viewing the trip-related information; the cancellation type indicates an action in which the vehicle cancels the ride request; and the completion action indicates an action in which the user's ride request has been responded to and the vehicle has arrived at the destination specified by the user as required. It will be understood that the purpose of the present disclosure is to predict the user's action after the preview action, and thus the first action 210 here indicates an action of the preview type.

[0027] According to an exemplary implementation of the present disclosure, if a user performs a preview action at 13:00:00 on January 20, 2020 (referred to as the first time point), multiple historical actions 220 of multiple types performed by the user before the first time point can be obtained. The number of multiple historical actions can be pre-specified. If the number of historical actions of the user is insufficient, all existing historical actions can be selected. Alternatively and / or additionally, multiple historical actions within a predetermined time range can be pre-specified.

[0028] In the case where a plurality of historical actions 220 have been acquired, a user action graph 230 may be generated based on the plurality of historical actions 220. Figure 4 , which schematically shows a block diagram 400 of a process for processing multiple historical actions 220 according to an exemplary implementation of the present disclosure. As shown in the figure, in the multiple historical actions 220, the first column represents the sequence number of the action, the second column represents the timestamp of the action, and the third column represents the action type. It will be understood that the ride-hailing process is triggered by the preview action, and thus the action sequence triggered by the preview action of the preview type can be determined in the multiple historical actions.

[0029] like Figure 4 As shown, the first action in the multiple actions 220 is a preview action, and the submission action and the completion action are triggered respectively after the action. At this time, the action sequence (preview-submit-complete) including the first to third actions indicates that the user submitted the taxi request after the preview, and the vehicle arrived at the destination from the departure point according to the user's requirements. For another example, the fourth action is a preview action, and the cancellation action is triggered after the action. At this time, the action sequence (preview-cancel) including the fourth to fifth actions indicates that the user canceled the taxi request after the preview. Similarly, one or more other action sequences can be obtained from the multiple actions 220.

[0030] According to an exemplary implementation of the present disclosure, the user action graph 230 describes the order in which multiple historical actions 220 are executed by the user. At this time, each action sequence can be processed one by one to gradually generate the user action graph. Specifically, two nodes in the user action graph 230 can be generated based on the types of two actions in the action sequence, respectively. The first to third actions in the multiple historical actions 220 can be processed first. At this time, a preview node 420 (represented by an ellipse) can be generated based on the first action, a submission node 422 (represented by a rectangle) can be generated based on the second action, and a completion node 424 can be generated based on the third action. Further, an edge between two nodes can be generated based on the order in which the two actions are executed by the user. Since the first to third actions are executed in sequence, the direction of the edge between nodes 420, 422 and 424 will be as follows: Figure 4 as shown in .

[0031] Similarly, other action sequences can be processed one by one. For the action sequence including the 4th to 5th actions, a preview node 430 (represented by an ellipse) can be generated based on the 4th action, a cancel node 432 (represented by a pentagon) can be generated based on the 5th action, and the time sequence in which the two nodes 430 and 432 are executed by the user can be obtained to generate an edge between the nodes 430 and 432. Other action sequences can be processed in a similar manner to form a complete user action graph 230.

[0032] When the user action graph 230 has been generated, the time dependency relationship 240 may be further obtained. Figure 3 At block 320, based on the user action graph 230, a time dependency relationship 240 between multiple types is obtained. According to an exemplary implementation of the present disclosure, the time dependency relationship 240 may be determined based on machine learning technology or other technology. Figure 4 For example, based on a graph neural network 440 , an embedding of the user action graph 230 can be determined as a temporal feature 450 , and the time dependency 240 can be determined based on the temporal feature 450 .

[0033] Graph neural network is a neural network learning technology that has emerged in recent years, mainly including Graph Attention Network (GAT), Graph Convolution Network (GCN) and Graph Sample and AGgregatE (GraphSAGE). Graph neural network technology learns and propagates node information and graph structure information in the graph through multiple layers of graph operators, which can effectively capture the rich information of graph nodes and the dependencies between nodes. According to the exemplary implementation of the present disclosure, for example, the time sequence between each node can be captured from the user action graph 230 based on the GAT technology to form a time series feature 450.

[0034] According to an exemplary implementation of the present disclosure, the timing feature 450 can be determined based on the dynamic graph embedding method. The action sequence including multiple actions of different types in the user action graph 230 can be used as a heterogeneous session. According to an exemplary implementation of the present disclosure, a GAT operation within the heterogeneous session can be performed to obtain a corresponding embedding. For example, in some implementations, it can be performed based on the following formulas 1 and 2.

[0035]

[0036]

[0037] in Indicates series connection, O V represents the set of different types of events (corresponding to actions performed by the user) in the user action graph, K represents the number of heads involved in the multi-head attention technique, represents the hidden state of the heterogeneous session after the GAT operation is performed, Represents the initial state of a heterogeneous session, represents the attention weight of the kth head calculated by the attention mechanism, and denote the relevant transition matrices of heterogeneous sessions and action i respectively.

[0038] It will be understood that the above only schematically illustrates examples of formulas used in GAT operation. In the context of the present disclosure, the specific formula of GAT operation is not limited, but can be implemented based on a variety of technologies currently developed and / or to be developed in the future.

[0039] Further, the time dependency relationship 240 may be trained based on the time series features 450, so that the time dependency relationship 240 obtained after training may describe the time dependency relationship between the preview type action performed by the user and another type of action performed subsequently. Figure 5 Give a description. Figure 5 A block diagram 500 schematically illustrates an operation process of generating a temporal dependency 240 according to an exemplary implementation of the present disclosure. A model of the temporal dependency 240 may be constructed based on machine learning techniques, and the model may include, for example, a gated recurrent unit (GRU) 512, a full connection 514, and a sigmoid function 516. The specific structure of the machine learning model is not limited in the context of the present disclosure, and the model may be constructed based on a variety of techniques that have been currently developed and / or will be developed in the future.

[0040] The time series features 450 obtained in the manner described above can be used to train the time dependency 240, that is, the time series features 450 here will be used as training samples. Since the training sample includes the execution order between multiple types of actions, the time dependency 240 obtained based on the training sample can accurately reflect the time order between multiple types. At this time, after a certain action is input into the time dependency 240, another action that may be executed after the action can be obtained.

[0041] return Figure 3 , in box 330, based on the first action 210 and the time dependency 240, determine the second action 250 that the user will perform at the second time point after the first time point. It will be understood that since the time dependency 240 is obtained based on the user's historical behavior, this allows the time dependency 240 to accurately understand the user's behavioral habits over the past period of time. In this way, the predicted second action 250 can be made to be as consistent as possible with the user's past behavioral habits, thereby improving the accuracy of the prediction. According to an exemplary implementation of the present disclosure, the probability of the second action 250 being executed after the first action 210 can also be output. For example, it can be output that the probability of an action of the improvement type being executed is 80%, the probability of an action of the cancellation type being executed is 20%, and so on.

[0042] See above Figures 2 to 5 Specific steps for determining the time dependency 240 based on historical actions from the user and making predictions are described. According to the exemplary implementation of the present disclosure, the time dependency 240 can also be determined based on actions from other users. It will be understood that the preview action can specify the departure and destination of the trip, and the user who calls a car for himself is currently near the departure point. At this time, information about other users who are calling a car near the departure point and / or other users who have called a car and whose vehicles have arrived (or are about to arrive) at the departure point can also be considered. Utilizing the exemplary implementation of the present disclosure, by using the actions of multiple types of users, changes in vehicle resources near the departure point can be more accurately reflected, thereby predicting the user's potential behavior in a more accurate manner.

[0043] According to an exemplary implementation of the present disclosure, relevant actions of other users near the departure point can be obtained. A time range (e.g., 10 minutes) and a location range (e.g., 100 meters) can be pre-specified, and users can be selected based on the time range and location range. Continuing with the above example, the user performs a preview action at the departure point "train station" at 13:00:00 on January 20, 2020. At this time, other users (referred to as a group of departure users) who departed within 100 meters from the train station between 12:50:00 and 13:00:00 can be selected.

[0044] Further, a set of starting action sequences of action sequences performed by a set of starting users can be obtained, which will be referred to below. Figure 6 Describe in more detail. Figure 6 A block diagram 600 schematically shows a process of collecting data from other users located around a departure point specified by a user according to an exemplary implementation of the present disclosure. Figure 6 As shown, assuming that a group of starting users includes user X1, user X2, etc., the action sequence 610 of user X1 and the action sequence 620 of user X2 can be obtained respectively, and so on. Figure 4 The method described above is used to generate the departure user action graph 630. The number of users expected to be selected may be predefined, for example, 10 users or other number of users may be selected. If the number of departure users near the departure place is less than the predetermined number, only data related to existing users near the departure place may be selected.

[0045] It will be understood that the more users who call for a ride at the departure location, the more crowded the vehicles near the departure location will be. By considering the behavior of the departure users near the departure location, a time dependency relationship can be generated in a more realistic manner based on the vehicle dispatching conditions near the departure location, thereby providing a more accurate prediction.

[0046] According to an exemplary implementation of the present disclosure, an aggregated action graph may be generated based on the user action graph 230 and the starting user action graph 630. For example, a connected action graph may be generated in the following manner.

[0047]

[0048] in An action graph representing a connection, HetG p,T represents the user action graph 230, and HetG o,T The starting user action graph 630 is represented. The symbol "+" represents a connection operation. The connection operation G=G1+G2 represents the connection of the graph G1 (represented as G1=(V1, E1)) and the graph G2 (represented as G2=(V2, E2)), where V represents a node in each graph and E represents an edge.

[0049] In the generated graph G, the nodes include nodes in the set V1∪V2, and the edges include edges in the set E1∪E2. The action graph of the connection can be generated based on the definition of the connection operation described above. Further, Figure 4 In the described manner, the GAT technique is applied to the connected action graph to determine the corresponding embedding, thereby obtaining the time dependency 240.

[0050] According to an exemplary implementation of the present disclosure, information of other users who have called a car and whose car has arrived (or is about to arrive) at the departure place can be obtained. A time range (e.g., 10 minutes) and a location range (e.g., 100 meters) can be pre-specified, and users can be selected based on the time range and location range. Continuing with the above example, the user performs a preview action at 13:00:00 on January 20, 2020 and at the departure place "train station". At this time, it can be determined that the users who have arrived or are about to arrive within 100 meters near the train station between 12:50:00 and 13:00:00 (referred to as a group of arriving users) have arrived.

[0051] It will be understood that the time ranges for the departing user and the arriving user may have the same or different values. According to an exemplary implementation of the present disclosure, since the arriving vehicle may receive the next order and leave immediately, the time range for the arriving vehicle may be smaller than the time range for the departing vehicle. Further, the location ranges for the departing user and the arriving user may have the same or different values. According to an exemplary implementation of the present disclosure, there is usually a distance between the destination and the departure point of two consecutive orders of the vehicle, and the driver of the vehicle does not mind traveling a distance to reach the departure point of the next order. At this time, the location range for the arriving vehicle may be larger than the location range for the departing vehicle.

[0052] In the case where a group of arrival users has been determined, a group of arrival action sequences of action sequences performed by the group of arrival users can be obtained, which will be referred to below. Figure 7 Describe in more detail. Figure 7 Schematically shows a block diagram of a process of collecting data from other users whose destination is a departure place specified by a user according to an exemplary implementation of the present disclosure. Figure 7 As shown, assuming that a group of arriving users includes user Y1, user Y2, etc., the action sequence 710 of user Y1 and the action sequence 720 of user Y2 can be obtained respectively. Figure 4 The method described above is used to generate nodes 712, 714, 716, 722, and 724 and edges in the arrival user action graph 730. The number of users expected to be selected can be predefined, for example, 10 users or other numbers of users can be selected. If the number of arrival users near the departure point is less than the predetermined number, only data related to the existing arrival users can be selected.

[0053] It will be understood that the more vehicles that arrive or are about to arrive at the departure point, the more sufficient the vehicle resources near the departure point will be. By considering the behavior of arriving users near the departure point, a time dependency relationship can be generated in a more realistic manner based on the vehicle scheduling status near the departure point, thereby providing a more accurate prediction.

[0054] According to an exemplary implementation of the present disclosure, an aggregated action graph may be generated based on the user action graph 230 and the reaching user action graph 730. For example, a connected action graph may be generated in the following manner.

[0055]

[0056] in, An action graph representing a connection, HetG p,T represents the user action graph 230, and HetG d,T The representation reaches the user action graph 730. The corresponding embedding can be determined based on the connected action graph in the manner described above.

[0057] According to an exemplary implementation of the present disclosure, the time dependency relationship 240 may also be determined based on actions of a user, a group of departing users, and a group of arriving users. Figure 8 Schematically shows a block diagram of a process for training the time dependency 240 according to an exemplary implementation of the present disclosure. Figure 8 As shown, a connected action graph 810 may be generated based on the user action graph 230, the departure user action graph 630, and the arrival user action graph 730. For example, in some implementations, the connected action graph may be generated as follows:

[0058]

[0059] in, An action graph representing a connection, HetG p,T Represents the user action graph 230, HetG o,T The starting user action graph 630 and HetG d,T Indicates the arrival user action graph 730. According to an exemplary implementation of the present disclosure, a GAT operation across heterogeneous sessions may be performed, for example, in the following manner:

[0060]

[0061] Among them, N p 、N o and N d denote the number of timestamps in the user action graph 230 , the departure user action graph 630 , and the arrival user action graph 730 , respectively. as well as They represent the states after the GAT operation in the heterogeneous session at time Tt in the above three action graphs. The attention mechanism of each action graph can be determined based on the GAT technology. and Specific formula.

[0062] Furthermore, a GAT operation across multiple action graphs may be performed. For example, a GAT operation across the user action graph 230, the departure user action graph 630, and the arrival user action graph 730 may be performed based on the following formula 7.

[0063]

[0064] in, represents the final event embedding for the heterogeneous session at time T and is associated with the preview action performed at the first time point Updated to The GAT technique can be used to determine the global attention GAT g The specific formula of the attention mechanism.

[0065] By using the exemplary implementation of the present disclosure, the user's own behavior habits, the number of vehicles about to depart from the vicinity of the departure point, the vehicles that have arrived or are about to arrive at the destination, and the behavior habits of the relevant users can be fully considered to determine the time dependency 240 in a more comprehensive and accurate manner. Further, the prediction performed based on the time dependency 240 can be made more accurate.

[0066] It has been described above how to determine the action that the user is about to perform. Further, at a second time point after the first time point, one or more actions actually performed by the user can be collected. The action and the one or more actions subsequently performed can be previewed to update a set of historical action sequences. Using the exemplary implementation of the present disclosure, the content in a set of historical action sequences can be scrolled and updated, and the latest action sequence can be used to continuously update the earlier action sequence.

[0067] Specifically, multiple action sequences can be sorted in chronological order, and the maximum number of action sequences can be specified (for example, the maximum number is 30). When the number of historical action sequences is less than 30, the newly collected action sequences can be continuously added to the existing multiple historical action sequences. When the number of historical action sequences is equal to 30, the newly collected action sequences can be added and the earliest action sequences can be removed. In this way, a time dependency relationship can be generated based on the most recent data so that the time dependency relationship can better reflect the user's latest behavioral habits.

[0068] According to an exemplary implementation of the present disclosure, a preview interface may be provided to the user based on the determined second action. Fig. 9A and Fig. 9B Describe in more detail. Fig. 9A A block diagram 900A schematically shows a preview interface displayed to a user according to an exemplary implementation of the present disclosure. At the time point shown in box 910A, preview information 920A can be displayed to the user based on the predicted result. If the predicted result obtained based on the time dependency 240 is that the user is about to perform a cancellation action, a higher discount (e.g., 15% off) can be provided to the user to encourage the user to submit the order. Alternatively and / or additionally, a higher priority can also be set for the user in order to provide vehicle resources to the user. The user can press the submit button 930A or the cancel button 932A based on the preview information 920A and his own judgment.

[0069] Fig. 9B A block diagram 900B of a preview interface displayed to a user according to an exemplary implementation of the present disclosure is schematically shown. At the time point shown in box 910B, preview information 920B can be displayed to the user based on the predicted result. If the predicted result obtained based on the time dependency 240 is that the user is about to perform a submission action, a general discount (e.g., 95% off) can be provided to the user. Alternatively and / or additionally, a normal priority can also be set for the user. The user can press the submit button 930A or the cancel button 932A based on the preview information 920A and his own judgment.

[0070] By using the exemplary implementation of the present disclosure, different preview information can be provided to users based on different prediction results, thereby meeting the different needs of different users. Furthermore, vehicle resources related to the predicted action can be pre-scheduled. Assuming that the probability of the user submitting an order is predicted to be 90%, a vehicle can be pre-scheduled near the departure point. In this way, the allocation speed of vehicle resources can be further improved and the waiting time of users can be reduced.

[0071] See above for Figures 2 to 9B An example of a method according to the present disclosure is described in detail, and the implementation of the corresponding device will be described below. According to an exemplary implementation of the present disclosure, a device for predicting user behavior is provided, including: a generation module, configured to generate a user action graph based on multiple historical actions of multiple types performed by the user in response to a first action performed by the user at a first time point, the user action graph describing the order in which the multiple historical actions are performed by the user; an acquisition module, configured to acquire the time dependency between multiple types based on the user action graph; and a determination module, configured to determine a second action to be performed by the user at a second time point after the first time point based on the first action and the time dependency.

[0072] According to an exemplary implementation of the present disclosure, the types among the multiple types include at least one of the following: a preview type, a submission type, a cancellation type, and a completion type, and the first action includes an action of the preview type, which is used to display information about the vehicle's journey from a departure point to a destination.

[0073] According to an exemplary implementation of the present disclosure, the generation module includes: a sequence determination module, configured to determine an action sequence triggered by a preview action of a preview type among multiple historical actions; and a graph generation module, configured to generate a part of a user action graph based on the action sequence.

[0074] According to an exemplary implementation of the present disclosure, the graph generation module includes: a node generation module, configured to generate two nodes in the user action graph based on the types of two actions in the action sequence, respectively; and an edge generation module, configured to generate an edge between the two nodes based on the order in which the two actions are performed by the user.

[0075] According to an exemplary implementation of the present disclosure, the acquisition module includes: an extraction module configured to extract timing features of a user action graph; and a training module configured to train time dependencies based on the timing features, so that the time dependencies describe the time dependencies between a preview type of action performed by the user and another type of action performed subsequently.

[0076] According to an exemplary implementation of the present disclosure, the device further includes: a departure user determination module, configured to determine a group of departure users who depart from around a departure place within a predetermined time range near a first time point; a departure action determination module, configured to obtain a set of departure action sequences performed by a group of departure users; the generation module is further configured to generate a departure user action graph based on a set of departure action sequences; and the acquisition module is further configured to obtain time dependencies based on the user action graph and the departure user action graph.

[0077] According to an exemplary implementation of the present disclosure, the acquisition module includes: a connection module configured to connect a user action graph and a triggering user action graph to generate a connected action graph; and a training module further configured to train time dependencies based on the connected action graph.

[0078] According to an exemplary implementation of the present disclosure, the device further includes: an arrival user determination module, configured to determine a group of arrival users who arrive around a departure place within a predetermined time range near a first time point; an arrival action determination module, configured to obtain a set of arrival action sequences performed by a group of arrival users; the generation module is further configured to generate an arrival user action graph based on a set of arrival action sequences; and the acquisition module is further configured to obtain time dependencies based on the user action graph and the arrival user action graph.

[0079] According to an exemplary implementation of the present disclosure, the device further includes: a providing module configured to provide a preview interface to the user based on the second action.

[0080] According to an exemplary implementation of the present disclosure, the device further includes: an action acquisition module, configured to acquire at least one action performed by the user at a second time point and after the second time point; and an update module, configured to update a set of historical action sequences based on the first action and at least one action.

[0081] According to an exemplary implementation of the present disclosure, an electronic device is provided, including: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method described above.

[0082] Fig.10 1 shows a block diagram of a computing device / server 1000 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.10 The computing device / server 1000 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.

[0083] like Fig.10As shown, computing device / server 1000 is in the form of a general-purpose computing device. Components of computing device / server 1000 may include, but are not limited to, one or more processors or processing units 1010, memory 1020, storage device 1030, one or more communication units 1040, one or more input devices 1050, and one or more output devices 1060. Processing unit 1010 may be an actual or virtual processor and is capable of performing various processes according to a program stored in memory 1020. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to increase the parallel processing capabilities of computing device / server 1000.

[0084] The computing device / server 1000 typically includes a plurality of computer storage media. Such media may be any available media accessible to the computing device / server 1000, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1020 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1030 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the computing device / server 1000.

[0085] The computing device / server 1000 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.10 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 1020 may include a computer program product 1025 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0086] The communication unit 1040 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device / server 1000 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the computing device / server 1000 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0087] Input device 1050 may be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 1060 may be one or more output devices, such as a display, speaker, printer, etc. Computing device / server 1000 may also communicate with one or more external devices (not shown) as needed, such as storage devices, display devices, etc., with one or more devices that enable users to interact with computing device / server 1000, or with any device that enables computing device / server 1000 to communicate with one or more other computing devices (e.g., network card, modem, etc.) through communication unit 1040. Such communication may be performed via an input / output (I / O) interface (not shown).

[0088] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above.

[0089] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0090] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0091] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0092] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0093] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.

Claims

1. A method for predicting user behavior, comprising: In response to a first action performed by the user at a first time point, generating a user action graph based on a plurality of historical actions of a plurality of types performed by the user, the user action graph describing an order in which the plurality of historical actions were performed by the user; Based on the user action graph, obtaining a time dependency relationship between the multiple types; as well as Determining, based on the first action and the time dependency, a second action to be performed by the user at a second time point after the first time point; Wherein, based on the user action graph, obtaining the time dependency relationship between the multiple types includes: extracting the time series features of the user action graph; and training the time dependency relationship based on the time series features, so that the time dependency relationship describes the time dependency relationship between the preview type action performed by the user and another type of action performed subsequently; The method further comprises: determining a group of departure users who depart from the vicinity of a departure place within a predetermined time range near the first time point; obtaining a group of departure action sequences performed by the group of departure users; generating a departure user action graph based on the group of departure action sequences; and obtaining the time dependency relationship based on the user action graph and the departure user action graph; Wherein, based on the user action graph and the starting user action graph, obtaining the time dependency relationship includes: connecting the user action graph and the starting user action graph to generate a connected action graph; and training the time dependency relationship based on the connected action graph.

2. The method according to claim 1, wherein the multiple types include at least one of the following: a preview type, a submission type, a cancellation type, and a completion type, the first action includes an action of the preview type, and the action of the preview type is used to display information about the vehicle's trip from a departure point to a destination.

3. The method of claim 2, wherein generating the user action graph based on the plurality of historical actions of the plurality of types performed by the user comprises: Determine, among the plurality of historical actions, an action sequence triggered by the preview action of the preview type; as well as Based on the action sequence, a portion of the user action graph is generated.

4. The method according to claim 3, wherein generating the portion of the user action graph based on the action sequence comprises: generating two nodes in the user action graph based on types of two actions in the action sequence respectively; as well as An edge between the two nodes is generated based on the order in which the two actions are performed by the user.

5. The method according to claim 1, further comprising: Determine a group of arriving users who arrive around the departure place within a predetermined time range around the first time point; Obtaining a set of arrival action sequences performed by the set of arrival users; generating a reaching user action graph based on the set of reaching action sequences; and The time dependency is acquired based on the user action graph and the arrival user action graph.

6. The method according to claim 1, further comprising: Based on the second action, a preview interface is provided to the user.

7. The method according to claim 1, further comprising: Acquire at least one action performed by the user at the second time point and after the second time point; as well as Based on the first action and the at least one action, the sequence of historical actions is updated.

8. A device for predicting user behavior, comprising: a generating module configured to generate, in response to a first action performed by the user at a first time point, a user action graph based on a plurality of historical actions of a plurality of types performed by the user, the user action graph describing an order in which the plurality of historical actions are performed by the user; An acquisition module configured to acquire a time dependency relationship between the multiple types based on the user action graph; as well as a determination module configured to determine, based on the first action and the time dependency, a second action to be performed by the user at a second time point after the first time point; The acquisition module includes: an extraction module configured to extract the temporal features of the user action graph; and a training module configured to train the temporal dependency relationship based on the temporal features, so that the temporal dependency relationship describes the temporal dependency relationship between the preview type action performed by the user and another type of action performed subsequently; Further comprising: a departure user determination module configured to determine a group of departure users departing from the vicinity of the departure place within a predetermined time range near the first time point; a departure action determination module configured to obtain a group of departure action sequences performed by the group of departure users; the generation module further configured to generate a departure user action graph based on the group of departure action sequences; and the acquisition module further configured to obtain the time dependency relationship based on the user action graph and the departure user action graph; The acquisition module includes: a connection module configured to connect the user action graph and the starting user action graph to generate a connected action graph; and the training module is further configured to train the time dependency based on the connected action graph.

9. The device according to claim 8, wherein the multiple types include at least one of the following: a preview type, a submission type, a cancellation type, and a completion type, and the first action includes an action of the preview type, and the action of the preview type is used to display information about the vehicle's journey from a departure point to a destination.

10. The apparatus according to claim 9, wherein the generating module comprises: a sequence determination module, configured to determine, among the plurality of historical actions, an action sequence triggered by the preview action of the preview type; as well as A graph generation module is configured to generate a portion of the user action graph based on the action sequence.

11. The apparatus according to claim 10, wherein the graph generation module comprises: A node generation module configured to generate two nodes in the user action graph based on the types of two actions in the action sequence respectively; as well as The edge generation module is configured to generate an edge between the two nodes based on the order in which the two actions are performed by the user.

12. The apparatus according to claim 8, further comprising: an arrival user determination module, configured to determine a group of arrival users who arrive at the departure place within a predetermined time range near the first time point; an arrival action determination module configured to obtain a set of arrival action sequences performed by the set of arrival users; The generating module is further configured to generate a reaching user action graph based on the set of reaching action sequences; and The acquisition module is further configured to acquire the time dependency based on the user action graph and the arrival user action graph.

13. The apparatus according to claim 8, further comprising: A module is provided, configured to provide a preview interface to the user based on the second action.

14. The apparatus according to claim 8, further comprising: an action acquisition module, configured to acquire at least one action performed by the user at the second time point and after the second time point; as well as An updating module is configured to update the sequence of historical actions based on the first action and the at least one action.

15. An electronic device, comprising: Memory and processor; The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 7.

16. A computer-readable storage medium having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of claims 1 to 7.