Method and device for pushing information
By acquiring and analyzing user portraits and search information, it generates and pushes behavior trajectory maps, solving the problem of insufficient information push in the existing technology and improving the richness and accuracy of shopping references.
Patent Information
- Application Number
- CN201911181152.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-11-27
AI Technical Summary
The existing technology is difficult to effectively provide users with a way to refer to other people's shopping behaviors, and lacks rich information push methods, which affects users' shopping decisions.
By obtaining the target user's portrait information and search information, input the pre-trained recommendation model, generate a behavior trajectory map, and select and push the target behavior trajectory map from it for user reference.
It improves the richness of information push, allows users to refer to other users' behavior trajectory maps, and enhances the richness and accuracy of shopping reference information.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and more particularly to a method and device for pushing information. Background Art
[0002] With the development of the Internet and big data, more and more people like to shop online. Users usually want to refer to other people's browsing history and purchase behavior trajectories to better guide their own shopping. Therefore, it is of great significance to provide users with more ways to refer to other people's shopping behaviors. Summary of the invention
[0003] The embodiments of the present application provide a method and device for pushing information.
[0004] In a first aspect, an embodiment of the present application provides a method for pushing information, comprising: obtaining portrait information of a target user; inputting the search information and portrait information of the target user into a pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing objects targeted by the behavior and edges for representing the relationship between objects targeted by the behavior; selecting a target behavior trajectory graph from the behavior trajectory graph; and pushing the target behavior trajectory graph.
[0005] In some embodiments, selecting a target behavior trajectory map from the behavior trajectory map includes: obtaining a behavior trajectory map of an associated user of the target user; and selecting a behavior trajectory map that matches the behavior trajectory map of the associated user from the obtained behavior trajectory map as the target behavior trajectory map.
[0006] In some embodiments, before inputting the target user's search information and portrait information into a pre-trained recommendation model to obtain a behavior trajectory map, the method includes: receiving the target user's initial search information and scoring the initial search information; determining whether the score of the initial search information is greater than a preset first score threshold; in response to determining that the score of the initial search information is greater than the first score threshold, determining the initial search information as search information.
[0007] In some embodiments, after determining whether the score of the initial search information is greater than a preset first score threshold, the method further includes: in response to determining that the score of the initial search information is less than or equal to the first score threshold, determining whether the score of the initial search information is greater than a preset second score threshold; in response to determining that the score of the initial search information is greater than the second score threshold, obtaining object information of the object targeted by the operation performed by the target user within a preset time period, and determining the search information of the target user based on the object information and the initial search information.
[0008] In some embodiments, the method further includes: in response to the target user performing a preset operation on the target behavior trajectory graph, generating user behavior information corresponding to the target behavior trajectory graph.
[0009] In some embodiments, the nodes in the behavior trajectory graph are also used to represent the behavior; and the nodes in the behavior trajectory graph that are used to represent the same behavior are presented in the same preset presentation manner.
[0010] In the second aspect, an embodiment of the present application provides a device for pushing information, comprising: an acquisition unit, configured to acquire portrait information of a target user; an input unit, configured to input the search information and portrait information of the target user into a pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing objects targeted by the behavior and edges for representing the relationship between objects targeted by the behavior; a selection unit, configured to select a target behavior trajectory graph from the behavior trajectory graph; and a pushing unit, configured to push the target behavior trajectory graph.
[0011] In some embodiments, the selection unit is configured to select a target behavior trajectory map from the behavior trajectory map in the following manner: obtaining a behavior trajectory map of an associated user of the target user; and selecting a behavior trajectory map that matches the behavior trajectory map of the associated user from the obtained behavior trajectory map as the target behavior trajectory map.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation method in the first aspect.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any implementation manner in the first aspect.
[0014] The above-mentioned embodiments of the present application provide a method and device for pushing information, by first obtaining the portrait information of the target user; then, inputting the search information of the target user and the portrait information into a pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing the objects targeted by the behavior and edges for representing the relationship between the objects targeted by the behavior; then, selecting a target behavior trajectory graph from the behavior trajectory graph; finally, pushing the target behavior trajectory graph. In this way, users can refer to the behavior trajectory graphs of other users, which improves the richness of information push. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0016] Figure 1 is an exemplary system architecture diagram to which various embodiments of the present application may be applied;
[0017] Figure 2 is a flow chart of an embodiment of a method for pushing information according to the present application;
[0018] Figure 3 is a schematic diagram of an application scenario of the method for pushing information according to the present application;
[0019] Figure 4 is a schematic diagram of a behavior trajectory diagram in a method for pushing information according to the present application;
[0020] Figure 5 is a flowchart of another embodiment of a method for pushing information according to the present application;
[0021] Figure 6 is a structural diagram of an embodiment of a device for pushing information according to the present application;
[0022] Figure 7 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0023] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] Figure 1 An exemplary system architecture 100 to which the method for pushing information or the apparatus for pushing information of the present application can be applied is shown.
[0026] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0027] The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages (for example, the terminal devices 101, 102, 103 receive the target behavior trajectory map sent by the server 105), etc. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as shopping applications, payment applications, instant messaging software, etc.
[0028] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices that support information interaction, including but not limited to smart phones, tablet computers, laptops, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0029] The server 105 may be a server that provides various services. For example, the search information and portrait information of the target user may be analyzed to determine the server of the target behavior trajectory map to be pushed. The server 105 may first obtain the portrait information of the target user; then, the search information and portrait information of the target user may be input into a pre-trained recommendation model to obtain a behavior trajectory map; then, a target behavior trajectory map may be selected from the behavior trajectory map; finally, the target behavior trajectory map may be pushed to the terminal devices 101, 102, and 103.
[0030] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server 105 is software, it can be implemented as multiple software or software modules (for example, software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0031] It should be noted that the method for pushing information provided in the embodiment of the present application is usually executed by the server 105.
[0032] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0033] Continue to refer Figure 2, shows a process 200 of an embodiment of a method for pushing information according to the present application. The method for pushing information includes the following steps:
[0034] Step 201, obtaining the target user's portrait information.
[0035] In this embodiment, the execution subject of the method for pushing information (for example Figure 1 The server shown in the figure) can obtain the portrait information of the target user. The above-mentioned target user is usually the user who is performing the search operation at the current moment. The above-mentioned execution entity can determine the user from which the received search information comes as the target user. The above-mentioned portrait information is labeled portrait information abstracted based on information such as user demographic information, social relationships, preference habits and consumption behavior, and the portrait information may include at least one user tag. Portrait information usually includes basic information of the user, such as age, gender and city of residence. Portrait information may also include user preference information, such as brand preference information and category preference information. As an example, the portrait information of the target user may include: age 28, female, living in Beijing, preference to buy cosmetics and snacks, high consumption level, with children, and love sports.
[0036] Here, the execution subject usually obtains the portrait information of the target user after receiving the search information of the target user.
[0037] Step 202: input the target user's search information and portrait information into a pre-trained recommendation model to obtain a behavior trajectory graph.
[0038] In this embodiment, the execution entity may input the search information of the target user and the portrait information obtained in step 201 into a pre-trained recommendation model to obtain a behavior trajectory graph. The search information of the target user is usually the search information searched by the target user at the current moment. The behavior trajectory graph may include nodes for representing the objects targeted by the behavior and edges for representing the relationship between the objects targeted by the behavior. For example, the nodes for representing the objects targeted by each behavior may be connected in chronological order of the behavior to form an edge. The direction of the edge may be from the node with an earlier behavior time to the node with a later behavior time. The above-mentioned behaviors may include, but are not limited to, at least one of the following: browsing, clicking, purchasing, adding to a "shopping cart", collecting, sharing, and searching.
[0039] It should be noted that the behavior trajectory diagram may also include the duration of the operation performed on each object.
[0040] Here, the recommendation model can be used to characterize the correspondence between the user's search information and portrait information and the behavior trajectory map. The execution subject can obtain the recommendation model from an electronic device storing a trained recommendation model. Here, the electronic device storing a trained recommendation model can train a recommendation model that characterizes the correspondence between the user's search information and portrait information and the behavior trajectory map in a variety of ways.
[0041] As an example, the recommendation model can be a correspondence table that is pre-prepared by technicians based on statistics of a large number of users' search information, portrait information and behavior trajectory graphs, and stores the correspondence between multiple users' search information and portrait information and their behavior trajectory graphs.
[0042] As another example, the recommendation model can also be trained in the following way: first, a training sample set can be obtained, wherein the training sample can include the search information and portrait information of the sample user and the sample behavior trajectory diagram; then, the search information and portrait information of the sample user in the training sample in the training sample set can be used as the input of the preset initial model, and the sample behavior trajectory diagram in the training sample can be used as the expected output of the initial model, and the initial model can be trained using a machine learning method to obtain a recommendation model. Here, the initial model can include a convolutional neural network, a deep neural network, a logistic regression (Logistics Regression, LR), a gradient boosting tree (GradientBoostingDecision Tree, GBDT), a factorization machine (Factorization Machine, FM), and the like.
[0043] Step 203: Select a target behavior trajectory graph from the behavior trajectory graphs.
[0044] In the present embodiment, the above-mentioned execution subject may select a target behavior trajectory map from the behavior trajectory map obtained in step 202. The above-mentioned execution subject may determine whether there is a behavior trajectory map of a preset user in the obtained behavior trajectory map. The above-mentioned preset user may be a user whose number of fans in a preset application (for example, a shopping application) is greater than a preset number threshold. The above-mentioned preset user may also be a user with a corresponding target tag in the preset application, wherein the above-mentioned target tag is usually a tag related to the search information of the above-mentioned target user. As an example, if the user's search information is a computer, the above-mentioned preset user may be a user who is authenticated as an "electronic expert" in the preset application. If it is determined that there is a behavior trajectory map of the above-mentioned preset user in the obtained behavior trajectory map, the behavior trajectory map of the above-mentioned preset user may be selected from the above-mentioned behavior trajectory map as the target behavior trajectory map.
[0045] Step 204: Push the target behavior trajectory map.
[0046] In this embodiment, the execution subject may push the target behavior trajectory map to the terminal device of the target user. Afterwards, the terminal device of the target user may present the target behavior trajectory map, for example, after the target user clicks an icon for presenting the behavior trajectory map, the target behavior trajectory map may be presented.
[0047] In some optional implementations of the present embodiment, the above-mentioned execution subject may select the target behavior trajectory graph from the above-mentioned behavior trajectory graph in the following manner: the above-mentioned execution subject may obtain the behavior trajectory graph of the associated users of the above-mentioned target user. Here, the associated users of the above-mentioned target user may include but are not limited to at least one of the following: friends of the above-mentioned target user and users followed by the above-mentioned target user. Afterwards, a behavior trajectory graph that matches the behavior trajectory graph of the above-mentioned associated user may be selected from the obtained behavior trajectory graph as the target behavior trajectory graph. The matching of the behavior trajectory graphs may be that the matching degree of the objects represented by the nodes in the two behavior trajectory graphs is greater than a preset object matching degree threshold. The matching of the behavior trajectory graphs may also be that the first node and the last node in the two behavior trajectory graphs are the same.
[0048] It should be noted that the above-mentioned execution subject may identify the user identification of the associated user corresponding to the node, for example, identify the user name of the source user on the left or right side of the behavior trajectory graph.
[0049] As an example, if there are five nodes in the first behavior trajectory graph, they represent object A, object B, object C, object D, and object E respectively. There are four nodes in the second behavior trajectory graph, which represent object B, object D, object C, and object E respectively. The execution subject can determine the matching degree of the objects represented by the nodes in the first behavior trajectory graph and the second behavior trajectory graph in the following way: First, the objects represented by the nodes in the first behavior trajectory graph and the second behavior trajectory graph that are the same can be counted as object B, object C, object D, and object E, that is, the number of the same objects is 4. Afterwards, the execution subject can determine that the total number of nodes in the first behavior trajectory graph and the second behavior trajectory graph is 9. Then, the execution subject can determine the ratio of twice the number of the same objects (8) to the total number of the nodes (9) as 0.89 as the matching degree of the objects represented by the nodes.
[0050] In some optional implementations of this embodiment, the target user may perform preset operations on the target behavior trajectory map, and the operations may include but are not limited to at least one of the following: comment operation, like operation and share operation. If the target user performs the above operation on the target behavior trajectory map, the execution subject may generate user behavior information corresponding to the target behavior trajectory map. As an example, if the target user performs a like operation on the target behavior trajectory map, the execution subject may generate user like information corresponding to the target behavior trajectory map, and the user like information may include the user ID of the like user and the time when the user likes.
[0051] In some optional implementations of the present embodiment, the nodes in the above-mentioned behavior trajectory diagram can also be used to characterize behavior. Here, the above-mentioned behavior may include but is not limited to at least one of the following: browsing, clicking, purchasing, adding to a "shopping cart", collecting, sharing and searching. The nodes used to characterize the same behavior in the above-mentioned behavior trajectory diagram are usually presented in the same preset presentation method. As an example, the same behavior can be identified with the same color. For example, a "search" behavior can be identified with a red node, and a "purchase" behavior can be identified with a blue node. The same behavior can also be identified with the same node shape. For example, a "search" behavior can be identified with a circular node, and a "purchase" behavior can be identified with a square node.
[0052] Continue to see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an application scenario of the method for pushing information according to this embodiment. Figure 3 In the application scenario, after the user uses the terminal device 302 to perform a search operation, the terminal device 302 can send the search information 303 of the above user to the server 301. The server 301 can obtain the portrait information 304 of the above user. Here, the search information 303 can be "computer", and the portrait information 304 can include: 28 years old, female, high consumption level, preference for brand A. Afterwards, the server 301 can input the search information 303 and the portrait information 304 into the pre-trained recommendation model 305 to obtain the behavior trajectory diagram 306. Figure 4 As shown, Figure 4 is a schematic diagram of the behavior trajectory diagram. Figure 4In the example, node 401 is used to represent the object A targeted by the behavior; node 402 is used to represent the object B targeted by the behavior; node 403 is used to represent the object C targeted by the behavior; node 404 is used to represent the object D targeted by the behavior; and node 405 is used to represent the object E targeted by the behavior. Edge 406 from node 401 to node 402 is used to represent that the time of the behavior for object A is earlier than the time of the behavior for object B; edge 407 from node 402 to node 403 is used to represent that the time of the behavior for object B is earlier than the time of the behavior for object C; edge 408 from node 403 to node 404 is used to represent that the time of the behavior for object C is earlier than the time of the behavior for object D; and edge 409 from node 404 to node 405 is used to represent that the time of the behavior for object D is earlier than the time of the behavior for object E. Then, server 301 can select target behavior trajectory graph 307 from behavior trajectory graph 306. Here, it can be determined whether there is a behavior trajectory map of a user with more than 100,000 fans in the behavior trajectory map 306. If so, the behavior trajectory map of the user with more than 100,000 fans can be selected from the behavior trajectory map 306 as the target behavior trajectory map 307. Finally, the server 301 can push the target behavior trajectory map 307 to the terminal device 302.
[0053] The method provided in the above embodiment of the present application pushes other users' behavior trajectory maps to users based on the user's search information and portrait information. In this way, the richness of information push is improved, and users can refer to other users' behavior trajectory maps to enrich shopping reference information.
[0054] Further references Figure 5 , which shows a process 500 of another embodiment of a method for pushing information. The process 500 of the method for pushing information includes the following steps:
[0055] Step 501: receiving the initial search information of the target user and scoring the initial search information.
[0056] In this embodiment, the execution subject of the method for pushing information (for example Figure 1 The server shown in FIG. 1 can receive the initial search information of the target user and score the initial search information. Here, the search information is usually a word or a phrase.
[0057] Here, the execution subject can use the term frequency-inverse document frequency method (TF-IDF) to determine the importance of the initial search information, and use the determined importance as the score of the initial search information. The main idea of the term frequency-inverse document frequency method is that if a certain word or phrase has a high frequency (TF) in an article (which can be a collection of search information of the target user within a period of one month or one week) and rarely appears in other articles (which can be a collection of search information of other users within a period of one month or one week), it is considered that this word or phrase has a good ability to distinguish categories and is suitable for classification. The inverse document frequency (IDF) mainly means that if there are fewer documents containing a certain word or phrase, the greater the IDF, it means that the word or phrase has a good ability to distinguish categories. Therefore, using the term frequency-inverse document frequency method, the importance of a certain word or phrase in a certain article can be calculated.
[0058] Here, the execution subject may also score the initial search information using a rule-based scoring method. The execution subject may determine the part of speech of each word in the initial search information. The corresponding score may be set in advance for each part of speech, and then the sum of the scores may be determined as the score of the initial search information. For example, if the search information is "yellow sweater", the execution subject may determine that "yellow" is an adjective and "sweater" is a noun, the score corresponding to the adjective is 0.2, and the score corresponding to the noun is 0.5, then the execution subject may determine that the score of the search information "yellow sweater" is 0.7. Here, the total score is usually set to 1.
[0059] Here, the execution subject may also score the initial search information using a statistical learning-based method. The execution subject may input the initial search information into a pre-trained scoring model to obtain a score for the initial search information.
[0060] Step 502: Determine whether the score of the initial search information is greater than a preset first score threshold.
[0061] In this embodiment, the execution subject may determine whether the score of the initial search information is greater than a preset first score threshold. It should be noted that the first score threshold is generally a first preset ratio (e.g., 0.5) of the score of the initial search information. If it is determined that the score of the initial search information is greater than the first score threshold, the execution subject may execute step 503. If it is determined that the score of the initial search information is less than or equal to the first score threshold, the execution subject may execute step 504.
[0062] Step 503: In response to determining that the score of the initial search information is greater than a first score threshold, the initial search information is determined as the search information.
[0063] In this embodiment, if it is determined in step 502 that the score of the initial search information is greater than the first score threshold, the execution entity may determine the initial search information as the search information. Thereafter, step 506 may be executed.
[0064] Step 504: In response to determining that the score of the initial search information is less than or equal to the first score threshold, determine whether the score of the initial search information is greater than a preset second score threshold.
[0065] In this embodiment, if it is determined in step 502 that the score of the initial search information is less than or equal to the first score threshold, the execution entity may determine whether the score of the initial search information is greater than a preset second score threshold. It should be noted that the second score threshold is generally a second preset ratio (for example, 0.3) of the score of the initial search information. If it is determined that the score of the initial search information is greater than the second score threshold, the execution entity may execute step 505.
[0066] Step 505, in response to determining that the score of the initial search information is greater than the second score threshold, obtaining object information of the object targeted by the operation performed by the target user within a preset time period, and determining the search information of the target user based on the object information and the initial search information.
[0067] In this embodiment, if it is determined in step 504 that the score of the initial search information is greater than the second score threshold, the execution subject may obtain the object information of the object targeted by the operation (e.g., search, browse, add to cart, favorite, etc.) performed by the target user within a preset time period (e.g., one month or one week). Here, the object information generally includes but is not limited to at least one of the following: object name, category to which the object belongs, and brand of the object. Afterwards, the execution subject may determine the search information of the target user based on the object information and the initial search information. Here, a corresponding relationship table between search information and associated information may be stored in the execution subject. The execution subject may search the associated information corresponding to the initial search information in the corresponding relationship table, and then determine whether there is object information matching the associated information in the object information. If so, the matching object information may be determined as the search information of the target user. Here, the object information matching the associated information may be object information of the same type as the associated information, or may be object information of the same brand as the associated information.
[0068] As an example, if the initial search information is "small household appliances", the execution subject can find in the corresponding relationship table that the associated information corresponding to the initial search information "small household appliances" includes: washing machines, refrigerators, rice cookers, fans, water dispensers and vacuum cleaners. If the target user's search information within a week includes: computers, mobile phones, laundry detergent, chocolate and refrigerators, the search information "refrigerator" in the associated information can be determined as the search information of the target user.
[0069] Step 506, obtaining the target user's portrait information.
[0070] Step 507: input the target user's search information and portrait information into the pre-trained recommendation model to obtain a behavior trajectory graph.
[0071] Step 508, selecting a target behavior trajectory graph from the behavior trajectory graphs.
[0072] Step 509: Push the target behavior trajectory map.
[0073] In this embodiment, steps 506-509 may be performed in a manner similar to steps 201-204, and will not be described in detail herein.
[0074] from Figure 5 It can be seen that Figure 2Compared with the corresponding embodiment, the process 500 of the method for pushing information in this embodiment embodies the step of determining the search information of the target user. Therefore, the solution described in this embodiment can determine the search information input into the recommendation model based on the initial search information, so that the target behavior trajectory map can be pushed more accurately.
[0075] Further references Figure 6 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for pushing information, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0076] like Figure 6 As shown, the device 600 for pushing information in this embodiment includes: an acquisition unit 601, an input unit 602, a selection unit 603 and a push unit 604. The acquisition unit 601 is configured to acquire the portrait information of the target user; the input unit 602 is configured to input the search information and the portrait information of the target user into the pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing the objects targeted by the behavior and edges for representing the relationship between the objects targeted by the behavior; the selection unit 603 is configured to select a target behavior trajectory graph from the behavior trajectory graph; and the push unit 604 is configured to push the target behavior trajectory graph.
[0077] In this embodiment, the specific processing of the acquisition unit 601, the input unit 602, the selection unit 603 and the push unit 604 of the device 600 for pushing information can be referred to. Figure 2 This corresponds to step 201, step 202, step 203 and step 204 in the embodiment.
[0078] In some optional implementations of the present embodiment, the selection unit 603 may select a target behavior trajectory graph from the behavior trajectory graph in the following manner: the selection unit 603 may obtain a behavior trajectory graph of an associated user of the target user. Here, the associated users of the target user may include but are not limited to at least one of the following: friends of the target user and users followed by the target user. Afterwards, a behavior trajectory graph that matches the behavior trajectory graph of the associated user may be selected from the obtained behavior trajectory graph as the target behavior trajectory graph. The matching of the behavior trajectory graphs may be that the matching degree of the objects represented by the nodes in the two behavior trajectory graphs is greater than a preset object matching degree threshold. The matching of the behavior trajectory graphs may also be that the first node and the last node in the two behavior trajectory graphs are the same.
[0079] In some optional implementations of this embodiment, the device 600 for pushing information may further include a receiving unit (not shown in the figure), a first determining unit (not shown in the figure) and a second determining unit (not shown in the figure). The receiving unit may receive the initial search information of the target user and score the initial search information. Here, the search information is usually a word or a phrase. Here, the receiving unit may use the word frequency-inverse file frequency method to determine the importance of the initial search information, and use the determined importance as the score of the initial search information. The receiving unit may also use a rule-based scoring method to score the initial search information. The receiving unit may also use a statistical learning-based method to score the initial search information. The first determining unit may determine whether the score of the initial search information is greater than a preset first score threshold. It should be noted that the first score threshold is usually a first preset ratio of the score of the initial search information. If it is determined that the score of the initial search information is greater than the first score threshold, the second determining unit may determine the initial search information as the search information.
[0080] In some optional implementations of this embodiment, the device 600 for pushing information may further include a third determination unit (not shown in the figure) and a fourth determination unit (not shown in the figure). If it is determined that the score of the initial search information is less than or equal to the first score threshold, the third determination unit may determine whether the score of the initial search information is greater than a preset second score threshold. It should be noted that the second score threshold is generally a second preset ratio of the score of the initial search information. If it is determined that the score of the initial search information is greater than the second score threshold, the fourth determination unit may obtain the object information of the object targeted by the operation performed by the target user within the preset time period. Here, the object information generally includes but is not limited to at least one of the following: object name, category to which the object belongs, and brand of the object. Afterwards, the fourth determination unit may determine the search information of the target user based on the object information and the initial search information. Here, a correspondence table between search information and associated information may be stored in the fourth determination unit. The fourth determination unit may search for the associated information corresponding to the initial search information in the correspondence table, and then determine whether there is object information matching the associated information in the object information, and if so, the matching object information may be determined as the search information of the target user. Here, the object information matching the above-mentioned associated information may be object information of the same type as the above-mentioned associated information, or may be object information of the same brand as the above-mentioned associated information.
[0081] In some optional implementations of the present embodiment, the above-mentioned device 600 for pushing information may further include a generation unit (not shown in the figure). The above-mentioned target user may perform preset operations on the above-mentioned target behavior trajectory map, and the above-mentioned operations may include but are not limited to at least one of the following: comment operation, like operation and share operation. If the above-mentioned target user performs the above-mentioned operation on the above-mentioned target behavior trajectory map, the above-mentioned generation unit may generate user behavior information corresponding to the above-mentioned target behavior trajectory map. As an example, if the above-mentioned target user performs a like operation on the above-mentioned target behavior trajectory map, the above-mentioned generation unit may generate user like information corresponding to the above-mentioned target behavior trajectory map, and the above-mentioned user like information may include the user ID of the like user and the user's like time, etc.
[0082] In some optional implementations of the present embodiment, the nodes in the above-mentioned behavior trajectory diagram can also be used to characterize behavior. Here, the above-mentioned behavior may include but is not limited to at least one of the following: browsing, clicking, purchasing, adding to a "shopping cart", collecting, sharing and searching. The nodes used to characterize the same behavior in the above-mentioned behavior trajectory diagram are usually presented in the same preset presentation method. As an example, the same behavior can be identified with the same color. For example, a "search" behavior can be identified with a red node, and a "purchase" behavior can be identified with a blue node. The same behavior can also be identified with the same node shape. For example, a "search" behavior can be identified with a circular node, and a "purchase" behavior can be identified with a square node.
[0083] Reference below Figure 7 , which shows an electronic device (eg, Figure 1 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0084] like Figure 7As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0085] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 7 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0086] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium described in the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
[0087] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the portrait information of the target user; inputs the search information and portrait information of the target user into a pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing the objects targeted by the behavior and edges for representing the relationship between the objects targeted by the behavior; selects a target behavior trajectory graph from the behavior trajectory graph; and pushes the target behavior trajectory graph.
[0088] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0089] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite 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 implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0090] The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including an acquisition unit, an input unit, a selection unit, and a push unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the acquisition unit may also be described as a "unit for acquiring the portrait information of the target user".
[0091] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.
Claims
1. A method for pushing information, comprising: Obtain target user profile information; receiving initial search information of a target user, determining the importance of the initial search information by using a word frequency-inverse document frequency method, and using the determined importance as a score of the initial search information; determining whether the score of the initial search information is greater than a preset first score threshold; in response to determining that the score of the initial search information is greater than the first score threshold, determining the initial search information as the search information of the target user; Inputting the search information and the portrait information of the target user into a pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing objects targeted by the behavior and edges for representing the relationship between the objects targeted by the behavior; Selecting a target behavior trajectory map from the behavior trajectory map includes: determining whether there is a behavior trajectory map of a preset user in the behavior trajectory map; if so, selecting a behavior trajectory map of a preset user from the behavior trajectory map as the target behavior trajectory map, the preset user being a user with a corresponding target tag in a preset application, wherein the target tag is a tag related to the search information of the target user; Push the target behavior trajectory map.
2. The method according to claim 1, wherein: The step of selecting a target behavior trajectory map from the behavior trajectory map comprises: Obtaining a behavior trajectory graph of users associated with the target user; A behavior trajectory map that matches the behavior trajectory map of the associated user is selected from the obtained behavior trajectory map as the target behavior trajectory map.
3. The method according to claim 1, wherein: After determining whether the score of the initial search information is greater than a preset first score threshold, the method further includes: In response to determining that the score of the initial search information is less than or equal to the first score threshold, determining whether the score of the initial search information is greater than a preset second score threshold; In response to determining that the score of the initial search information is greater than the second score threshold, object information of the object targeted by the operation performed by the target user within a preset time period is obtained, and search information of the target user is determined based on the object information and the initial search information.
4. The method according to claim 1, wherein: The method further comprises: In response to the target user performing a preset operation on the target behavior trajectory graph, user behavior information corresponding to the target behavior trajectory graph is generated.
5. The method according to any one of claims 1 to 4, wherein: The nodes in the behavior trajectory graph are also used to represent behaviors; and The nodes in the behavior trajectory graph that are used to represent the same behavior are presented in the same preset presentation manner.
6. A device for pushing information, comprising: An acquisition unit, configured to acquire the portrait information of the target user; a determination module configured to receive initial search information of a target user, determine the importance of the initial search information using a word frequency-inverse document frequency method, and use the determined importance as a score of the initial search information; determine whether the score of the initial search information is greater than a preset first score threshold; and in response to determining that the score of the initial search information is greater than the first score threshold, determine the initial search information as the search information of the target user; An input unit, configured to input the search information and the portrait information of the target user into a pre-trained recommendation model to obtain a behavior trajectory graph, wherein the behavior trajectory graph includes nodes for representing objects targeted by behaviors and edges for representing relationships between the objects targeted by behaviors; The selection unit is configured to select a target behavior trajectory map from the behavior trajectory map, and is further configured to: determine whether there is a behavior trajectory map of a preset user in the behavior trajectory map; if so, select the behavior trajectory map of the preset user from the behavior trajectory map as the target behavior trajectory map, the preset user is a user with a corresponding target tag in a preset application, wherein the target tag is a tag related to the search information of the target user; The push unit is configured to push the target behavior trajectory map.
7. The device according to claim 6, wherein: The selection unit is configured to select a target behavior trajectory graph from the behavior trajectory graph in the following manner: Obtaining a behavior trajectory graph of users associated with the target user; A behavior trajectory map that matches the behavior trajectory map of the associated user is selected from the obtained behavior trajectory map as the target behavior trajectory map.
8. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
9. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
