Method, device and system for recommending information
By receiving and processing the identifiers sent by the second terminal on the first server, obtaining user historical behavior information and processing it, the problem of user privacy protection is solved, and the effect of expanding the scope of application of information recommendation is achieved.
Patent Information
- Application Number
- CN201910906525.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-24
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2039-09-24
AI Technical Summary
Users pay more and more attention to their privacy protection, resulting in a decrease in authorized users and the inability to recommend information to users, resulting in limited information recommendation.
The first server receives the first identifier and the second identifier sent by the second terminal, creates a mapping relationship, obtains the user's historical behavior information, uses a collaborative filtering algorithm to process the information, obtains the target information and sends it to the first terminal.
This reduces the problem of not being able to recommend information due to user privacy protection, expands the scope of application of information recommendation, and does not require the mobile phone number in the user's address book to recommend information.
Smart Images

Figure CN112632367B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a method, device and system for recommending information. Background Art
[0002] The user needs to authorize the first server to read the mobile phone number in the address book. The first server obtains the mobile phone number from the terminal used by the user, obtains the historical behavior information of the owner of the mobile phone number from the second server based on the mobile phone number, and recommends the historical behavior information of the owner of the mobile phone number to the user.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0004] Users are paying more and more attention to their privacy (i.e., the mobile phone numbers in the user's address book), so fewer and fewer users choose to authorize. Without the user's authorization, information cannot be recommended to the user, resulting in limited information recommendation. Summary of the invention
[0005] In view of this, embodiments of the present invention provide a method, device and system for recommending information, which can reduce the problem of being unable to recommend information due to user privacy protection and expand the scope of application of information recommendation.
[0006] To achieve the above objective, according to a first aspect of an embodiment of the present invention, a method for recommending information is provided.
[0007] The method for recommending information according to an embodiment of the present invention is applied to a first server and includes:
[0008] receiving a first identifier and a second identifier sent by at least one second terminal, and creating a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier;
[0009] Acquire historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, and process the acquired historical behavior information to obtain target information;
[0010] The target information is sent to the first terminal.
[0011] In one embodiment, the first identifier sent by the second terminal is obtained by parsing the shared information sent by the first terminal when the second terminal detects an instruction to browse the shared information;
[0012] The second identifier sent by the second terminal is generated by the second terminal according to information input by the user of the second terminal on the sharing page, and the sharing page is obtained according to sharing page information, and the sharing page information is obtained by parsing the sharing information.
[0013] In one embodiment, creating a mapping relationship between the first identifier and at least one of the second identifiers according to the first identifier and the second identifier includes:
[0014] According to the first identifier and the second identifier, obtaining information on the degree of interaction between a user corresponding to the first identifier and a user corresponding to the second identifier, and creating a mapping relationship between the first identifier and at least one of the second identifiers based on the interaction degree information;
[0015] Alternatively, a mapping relationship between the first identifier and at least one of the second identifiers is created using a six-degree-of-space algorithm based on the first identifier and the second identifier.
[0016] In one embodiment, acquiring historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, and processing the acquired historical behavior information to obtain target information includes:
[0017] According to the first identifier in the mapping relationship, the historical behavior information of the user corresponding to the first identifier is obtained, and according to each of the second identifiers in the mapping relationship, the historical behavior information of the user corresponding to each of the second identifiers is obtained;
[0018] Using a collaborative filtering algorithm to calculate the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each of the second identifiers, respectively, to obtain the preference of the user corresponding to the first identifier and the preference of the users corresponding to each of the second identifiers;
[0019] The historical behavior information of the user corresponding to the second identifier having the same preference as the user corresponding to the first identifier is used as the target information.
[0020] To achieve the above objective, according to a second aspect of an embodiment of the present invention, a method for recommending information is provided.
[0021] The method for recommending information according to an embodiment of the present invention is applied to a second terminal, and includes:
[0022] Receiving sharing information sent by the first terminal;
[0023] Obtaining a first identifier and a second identifier according to the sharing information;
[0024] Sending the first identifier and the second identifier to a first server;
[0025] The first server obtains historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal.
[0026] In one embodiment, obtaining the first identifier and the second identifier according to the sharing information includes:
[0027] If an instruction to browse the shared information is detected, the shared information is parsed to obtain a first identifier and shared page information;
[0028] Displaying the sharing page to the second terminal user according to the sharing page information;
[0029] A second identifier is generated according to the information input by the second terminal user on the sharing page.
[0030] In one embodiment, the information input by the second terminal user on the sharing page includes an ID assigned to the second terminal user by the second server;
[0031] The sharing information includes a sharing link or a calling app protocol.
[0032] To achieve the above objective, according to a third aspect of an embodiment of the present invention, a method for recommending information is provided.
[0033] The method for recommending information according to an embodiment of the present invention includes:
[0034] The second terminal receives the sharing information sent by the first terminal; obtains a first identifier and a second identifier according to the sharing information; sends the first identifier and the second identifier to the first server; so that the first server obtains the historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal;
[0035] The first server receives the first identifier and the second identifier sent by at least one second terminal, and creates a mapping relationship between the first identifier and at least one second identifier based on the first identifier and the second identifier; obtains historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers based on the mapping relationship, processes the obtained historical behavior information to obtain target information; and sends the target information to the first terminal.
[0036] To achieve the above objective, according to a fourth aspect of an embodiment of the present invention, a device for recommending information is provided.
[0037] The device for recommending information according to an embodiment of the present invention is applied to a first server and includes:
[0038] A first receiving unit, configured to receive a first identifier and a second identifier sent by at least one second terminal, and to create a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier;
[0039] A first processing unit, configured to obtain historical behavior information of a user corresponding to the first identifier and historical behavior information of users corresponding to each of the second identifiers according to the mapping relationship, and process the obtained historical behavior information to obtain target information;
[0040] The first sending unit is configured to send the target information to a first terminal.
[0041] In one embodiment, the first identifier sent by the second terminal is obtained by parsing the shared information sent by the first terminal when the second terminal detects an instruction to browse the shared information;
[0042] The second identifier sent by the second terminal is generated by the second terminal according to information input by the user of the second terminal on the sharing page, and the sharing page is obtained according to sharing page information, and the sharing page information is obtained by parsing the sharing information.
[0043] In one embodiment, the first receiving unit is used to:
[0044] According to the first identifier and the second identifier, obtaining information on the degree of interaction between a user corresponding to the first identifier and a user corresponding to the second identifier, and creating a mapping relationship between the first identifier and at least one of the second identifiers based on the interaction degree information;
[0045] Alternatively, a mapping relationship between the first identifier and at least one of the second identifiers is created using a six-degree-of-space algorithm based on the first identifier and the second identifier.
[0046] In one embodiment, the first processing unit is configured to:
[0047] According to the first identifier in the mapping relationship, the historical behavior information of the user corresponding to the first identifier is obtained, and according to each of the second identifiers in the mapping relationship, the historical behavior information of the user corresponding to each of the second identifiers is obtained;
[0048] Using a collaborative filtering algorithm to calculate the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each of the second identifiers, respectively, to obtain the preference of the user corresponding to the first identifier and the preference of the users corresponding to each of the second identifiers;
[0049] The historical behavior information of the user corresponding to the second identifier having the same preference as the user corresponding to the first identifier is used as the target information.
[0050] To achieve the above objective, according to a fifth aspect of an embodiment of the present invention, a device for recommending information is provided.
[0051] The device for recommending information according to the embodiment of the present invention is applied to a second terminal, and includes:
[0052] A second receiving unit, configured to receive sharing information sent by the first terminal;
[0053] A second processing unit, configured to obtain a first identifier and a second identifier according to the sharing information;
[0054] A second sending unit, configured to send the first identifier and the second identifier to a first server;
[0055] The first server obtains historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal.
[0056] In one embodiment, the second processing unit is configured to:
[0057] If an instruction to browse the shared information is detected, the shared information is parsed to obtain a first identifier and shared page information;
[0058] Displaying the sharing page to the second terminal user according to the sharing page information;
[0059] A second identifier is generated according to the information input by the second terminal user on the sharing page.
[0060] In one embodiment, the information input by the second terminal user on the sharing page includes an ID assigned to the second terminal user by the second server;
[0061] The sharing information includes a sharing link or a calling app protocol.
[0062] To achieve the above objective, according to a sixth aspect of an embodiment of the present invention, a system for recommending information is provided.
[0063] The system for recommending information according to an embodiment of the present invention includes:
[0064] The second terminal is used to receive the sharing information sent by the first terminal; obtain a first identifier and a second identifier according to the sharing information; send the first identifier and the second identifier to the first server; so that the first server obtains the historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal;
[0065] A first server is used to receive the first identifier and the second identifier sent by at least one second terminal, and create a mapping relationship between the first identifier and at least one second identifier based on the first identifier and the second identifier; obtain historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers based on the mapping relationship, process the obtained historical behavior information to obtain target information; and send the target information to the first terminal.
[0066] To achieve the above objective, according to a seventh aspect of an embodiment of the present invention, an electronic device is provided.
[0067] An electronic device according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method for recommending information provided by the embodiment of the present invention.
[0068] To achieve the above objective, according to an eighth aspect of an embodiment of the present invention, a computer-readable medium is provided.
[0069] A computer-readable medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, the method for recommending information provided by the embodiment of the present invention is implemented.
[0070] One embodiment of the above invention has the following advantages or beneficial effects: the second terminal receives the sharing information sent by the first terminal, obtains the first identifier and the second identifier according to the sharing information, and sends the first identifier and the second identifier to the first server. The first server receives the first identifier and the second identifier sent by at least one second terminal, creates a mapping relationship based thereon, thereby obtaining the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each second identifier, processes the historical behavior information using a collaborative filtering algorithm, obtains the target information, and sends the target information to the first terminal. The target information is obtained using the first identifier and the second identifier, and the target information is not obtained using the mobile phone number. The recommended information does not need to obtain the mobile phone number in the user's address book, which reduces the problem of being unable to recommend information due to user privacy protection and expands the scope of application of information recommendation.
[0071] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0073] Figure 1 is a schematic diagram of the main process of a method for recommending information according to an embodiment of the present invention;
[0074] Figure 2 is a schematic diagram of the main process of a method for recommending information according to another embodiment of the present invention;
[0075] Figure 3 is a schematic diagram of an application scenario of a method for recommending information according to another embodiment of the present invention;
[0076] Figure 4 is a schematic diagram of the main process of a method for recommending information according to yet another embodiment of the present invention;
[0077] Figure 5 is a schematic diagram of an application scenario of a method for recommending information according to yet another embodiment of the present invention;
[0078] Figure 6 is a schematic diagram of main units of an apparatus for recommending information according to an embodiment of the present invention;
[0079] Figure 7 is a schematic diagram of main units of an apparatus for recommending information according to another embodiment of the present invention;
[0080] Figure 8 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0081] Fig. 9It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0082] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0083] It should be pointed out that the embodiments of the present invention and the features in the embodiments may be combined with each other if there is no conflict.
[0084] The prior art not only has the problems mentioned in the background technology, but also has the following problems:
[0085] The relationship between the owner of the mobile phone number and the user is not necessarily very close. For example, the owner of the mobile phone number is a real estate salesperson. The user takes a flyer for the real estate and learns the mobile phone number of the real estate salesperson through the flyer and stores it, but the owner of the mobile phone number does not know the user. There are many similar situations, which are not listed here. Due to the loose relationship, the appreciation level and taste of the owner of the mobile phone number and the user are different, resulting in a low success rate of information recommendation.
[0086] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a method for recommending information, which is applied to a first server, such as Figure 1 As shown, the method includes:
[0087] Step S101: Receive a first identifier and a second identifier sent by at least one second terminal, and create a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier.
[0088] In this step, it should be noted that the first terminal is the terminal that sends the shared information, and the second terminal is the terminal used by the user to browse the shared information. Since the user browsing the shared information may be one or more, the first server can receive the first identifier and the second identifier sent by at least one second terminal.
[0089] Step S102: acquiring historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, and processing the acquired historical behavior information to obtain target information.
[0090] In this step, it should be noted that the user's historical behavior information may include news information viewed by the user, video information viewed by the user, picture information viewed by the user, or product information purchased by the user.
[0091] Step S103: Send the target information to the first terminal.
[0092] In this step, when implemented specifically, the target information may be sent to the first terminal via a web page, email, or text message.
[0093] In this embodiment, the first server obtains the target information using the first identifier and the second identifier instead of the mobile phone number. The recommended information does not require obtaining the mobile phone number in the user's address book, thereby reducing the problem of being unable to recommend information due to user privacy protection and expanding the scope of application of information recommendation.
[0094] In the embodiment of the present invention, the first identifier sent by the second terminal is obtained by parsing the shared information sent by the first terminal when the second terminal detects an instruction to browse the shared information;
[0095] The second identifier sent by the second terminal is generated by the second terminal according to information input by the user of the second terminal on the sharing page, and the sharing page is obtained according to sharing page information, and the sharing page information is obtained by parsing the sharing information.
[0096] It should be noted that this embodiment Figure 2 The embodiment shown has been described in detail and will not be described in detail here.
[0097] In this embodiment, the shared information is parsed to obtain a first identifier, and the information entered by the second terminal user on the sharing page generates a second identifier. The method for obtaining the first identifier and the second identifier is simple, so that the first server obtains the target information using the first identifier and the second identifier instead of the mobile phone number. The recommended information does not require the mobile phone number in the user's address book, which further reduces the problem of being unable to recommend information due to user privacy protection and further expands the scope of application of information recommendation.
[0098] In the embodiment of the present invention, creating a mapping relationship between the first identifier and at least one of the second identifiers according to the first identifier and the second identifier includes:
[0099] According to the first identifier and the second identifier, obtaining information on the degree of interaction between a user corresponding to the first identifier and a user corresponding to the second identifier, and creating a mapping relationship between the first identifier and at least one of the second identifiers based on the interaction degree information;
[0100] Alternatively, a mapping relationship between the first identifier and at least one of the second identifiers is created using a six-degree-of-space algorithm based on the first identifier and the second identifier.
[0101] In this embodiment, a specific example is used below to illustrate how to obtain the interaction degree information between the user corresponding to the first identifier and the user corresponding to the second identifier according to the first identifier and the second identifier, and create a mapping relationship between the first identifier and at least one of the second identifiers based on the interaction degree information: obtain the interaction degree relationship between the user corresponding to the first identifier and the user corresponding to the second identifier from the second server according to the first identifier and the second identifier, create a first-layer mapping relationship according to the first identifier and the second identifier of the two-party interaction, create a second-layer mapping relationship according to the first identifier and the second identifier of the one-party interaction at least twice, and create a third-layer mapping relationship according to the first identifier and the second identifier of the one-party interaction once. Give an example to illustrate the two-party interaction and the one-party interaction: the first terminal sends sharing information, and the second terminal user browses the sharing information; the second terminal sends sharing information, and the first terminal user browses the sharing information, which is the two-party interaction. The first terminal sends sharing information, and the second terminal user browses the sharing information; the second terminal sends sharing information, and the first terminal user does not browse the sharing information, which is the one-party interaction.
[0102] It should be understood that the creation of a mapping relationship is not limited to the examples given in the present invention. Without affecting the embodiments of the present invention, those skilled in the art can flexibly create a mapping relationship (including setting the number of layers of the mapping relationship and the method of creating each layer, etc.). For example, a mapping relationship between a first identifier and at least one second identifier is created based on the first identifier and the second identifier using the existing six-degree-of-space algorithm.
[0103] In this embodiment, a mapping relationship is created based on the interaction degree information. In the mapping relationship, the relationship between the user corresponding to the first identifier and the user corresponding to the second identifier is closer. The target information is obtained through the mapping relationship. The target information is more in line with the appreciation level and taste of the user corresponding to the first identifier, thereby improving the success rate of information recommendation.
[0104] In the embodiment of the present invention, step S102 may include:
[0105] According to the first identifier in the mapping relationship, the historical behavior information of the user corresponding to the first identifier is obtained, and according to each of the second identifiers in the mapping relationship, the historical behavior information of the user corresponding to each of the second identifiers is obtained;
[0106] Using a collaborative filtering algorithm to calculate the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each of the second identifiers, respectively, to obtain the preference of the user corresponding to the first identifier and the preference of the users corresponding to each of the second identifiers;
[0107] The historical behavior information of the user corresponding to the second identifier having the same preference as the user corresponding to the first identifier is used as the target information.
[0108] It should be noted that the specific implementation of this embodiment is different from Figure 4 The implementation methods of the illustrated embodiments are the same and will not be described again herein.
[0109] In this embodiment, compared with the prior art, the present invention uses the historical behavior information of the user corresponding to the second identifier who has the same preference as the user corresponding to the first identifier as the target information, rather than using the historical behavior information of the owners of all mobile phone numbers as the target information. The target information is more in line with the appreciation level and taste of the user corresponding to the first identifier, further improving the success rate of information recommendation.
[0110] In order to solve the problems existing in the prior art, another embodiment of the present invention provides a method for recommending information, which is applied to a second terminal, such as Figure 2 As shown, the method includes:
[0111] Step S201: receiving sharing information sent by a first terminal.
[0112] In this step, during specific implementation, the shared information is assembled by the first terminal using existing assembly technology to assemble the shared page information and the first identifier.
[0113] Step S202: Obtain a first identifier and a second identifier according to the sharing information.
[0114] Step S203: Send the first identifier and the second identifier to the first server;
[0115] The first server obtains historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal.
[0116] In this embodiment, during specific implementation, the user corresponding to the first identifier includes the first terminal user, and the user corresponding to the second identifier includes the second terminal user. The first identifier is different from the second identifier, and thus, the user corresponding to the first identifier is different from the user corresponding to the second identifier. The first terminal and the second terminal may be the same or different.
[0117] like Figure 3As shown, terminal one sends a sharing link (i.e., sharing information) to terminal two, terminal three, terminal four, and terminal five. Since only terminal two and terminal three users browse the sharing link, terminal two obtains the identifier of terminal one user and the identifier of terminal two user according to the sharing link, and sends them to the first server; terminal three obtains the identifier of terminal one user and the identifier of terminal three user according to the sharing link, and sends them to the first server. The first server matches the identifier of terminal one user, the identifier of terminal two user, and the identifier of terminal three user and saves them in the terminal one user relationship pool, which is set on the first server. The identifier of terminal one user is the first identifier, the identifier of terminal two user and the identifier of terminal three user are both the second identifier, and the identifier of terminal one user, the identifier of terminal two user, and the identifier of terminal three user are the mapping relationship between the first identifier and at least one second identifier.
[0118] In this embodiment, sharing information sent by the first terminal is received, a first identifier and a second identifier are obtained based on the sharing information, and the first identifier and the second identifier are sent to the first server, so that the first server obtains the target information using the first identifier and the second identifier instead of the mobile phone number. The recommended information does not require obtaining the mobile phone number in the user's address book, which reduces the problem of being unable to recommend information due to user privacy protection and expands the scope of application of information recommendation.
[0119] In the embodiment of the present invention, step S202 may include:
[0120] If an instruction to browse the shared information is detected, the shared information is parsed to obtain a first identifier and shared page information;
[0121] Displaying the sharing page to the second terminal user according to the sharing page information;
[0122] A second identifier is generated according to the information input by the second terminal user on the sharing page.
[0123] In this embodiment, the following may be performed first: if an instruction to browse the shared information is detected, the shared information is parsed to obtain a first identifier and shared page information; then the following may be performed: displaying the shared page to the second terminal user according to the shared page information; then the following may be performed: generating a second identifier according to the information input by the second terminal user on the shared page; and finally the following may be performed: sending the first identifier and the second identifier to the first server. It should be understood that the object performing the above operations may be the browser of the second terminal.
[0124] In this embodiment, the method of obtaining the first identifier and the second identifier is simple, so that the first server obtains the target information using the first identifier and the second identifier instead of the mobile phone number. The recommended information does not need to obtain the mobile phone number in the user's address book, further reducing the problem of being unable to recommend information due to user privacy protection, and further expanding the scope of application of information recommendation.
[0125] In the embodiment of the present invention, the information input by the second terminal user on the sharing page includes an ID assigned to the second terminal user by the second server;
[0126] The sharing information includes a sharing link or a calling app protocol.
[0127] In this embodiment, the types of shared information are diverse, which increases the probability of obtaining the first identification and the second identification, and further expands the scope of application of information recommendation.
[0128] In order to solve the problems existing in the prior art, another embodiment of the present invention provides a method for recommending information, such as Figure 4 As shown, the method includes:
[0129] Step S401: The first terminal generates sharing information and sends the sharing information to the second terminal.
[0130] In this step, during the specific implementation, the first terminal obtains the corresponding sharing page information from the second server according to the news information, video information or picture information browsed by the first terminal user, assembles the corresponding sharing page information and the identifier of the first terminal user (the identifier of the first terminal user is the first identifier) into sharing information, and sends the sharing information to the second terminal. In addition, the identifier of the first terminal user includes: the ID assigned to the first terminal user by the second server. When the first terminal user visits the second server for the first time, it is necessary to send registration information to the second server, and the second server assigns the ID of the first terminal user (unique) to the first terminal user according to the registration information; when the first terminal user visits the second server in the future, it is necessary to provide the ID of the first terminal user to the second server. Furthermore, the sharing information can be a sharing link or a call app protocol (also known as a schema protocol).
[0131] The following is a specific example to illustrate this step: when there are special promotions, likes collection or group purchase activities, the first terminal generates sharing information based on the relevant goods or promotion information. The first terminal publishes the sharing information in the circle of friends through social software or directly sends it to the second terminal. The first terminal generates sharing information based on the relevant goods or promotion information, which may include: the first terminal obtains the corresponding sharing page information from the second server (the second server may be an e-commerce server) based on the relevant goods or promotion information, and assembles the corresponding sharing page information and the identifier of the first terminal user into sharing information using the existing assembly method.
[0132] Step S402: The second terminal receives the sharing information, and if an instruction to browse the sharing information is detected, the sharing information is parsed to obtain the first identifier and sharing page information.
[0133] In this step, when the second terminal user is interested in the shared information or has a close relationship with the first terminal user and is willing to help the first terminal user achieve the goal, he will want to browse the shared information, so the second terminal can monitor the instruction to browse the shared information. It should be noted that since the second terminal user is a user who is interested in the shared information or has a close relationship with the first terminal user, the appreciation level and taste of the second terminal user and the first terminal user are the same or similar, and the success rate of recommendation will be improved.
[0134] like Figure 5 As shown, the following is a specific example to illustrate this step: the shared information includes xxxx.com / ? a=xxx&b=xxx&userid=00001, and it is agreed in advance that userid is the first identifier (i.e., the identifier of user f). If the second terminal (user a terminal) detects an instruction to browse the shared information, the shared information is parsed using the parsing method of the prior art to obtain the shared page information (i.e., xxxx.com / ? a=xxx&b=xxx) and the first identifier (the identifier of user f is 00001), and 00001 is saved to the local cache of the second terminal. The method of saving 00001 to the local cache of the user a terminal can be the WebStorage method or the cookies method. The difference between the Web Storage method and the cookies method is that the visited party of the cookies method can definitely obtain the information in the cookies of the visiting party, but the visited party of the Web Storage method may not be able to obtain the information in the Storage of the visiting party. Both methods can be used on the browser.
[0135] Web Storage method: Web Storage actually consists of two parts: sessionStorage and localStorage. SessionStorage is used to locally store data in a session. These data can only be accessed by pages in the same session and are destroyed when the session ends. Therefore, sessionStorage is not a persistent local storage, but only session-level storage. LocalStorage is used for persistent local storage. Unless the data is actively deleted, it will never expire.
[0136] Cookies method: Sometimes also used in its plural form Cookies, refers to data (usually encrypted) stored on the user's local terminal by certain websites in order to identify the user and conduct session tracking.
[0137] Step S403: The second terminal obtains display data from the second server according to the shared page information, and displays the shared page to the second terminal user according to the display data.
[0138] In this step, during specific implementation, the second terminal establishes a connection with the second server according to the shared page information, and obtains display data from the second server through the connection. The display data may be a login page.
[0139] Step S404: The second terminal generates a second identifier according to the information input by the second terminal user on the sharing page.
[0140] In this step, when implemented, the information entered by the second terminal user on the sharing page includes the ID assigned to the second terminal user by the second server. The ID assigned to the second terminal user by the second server is used as the identification of the second terminal user, and the identification of the second terminal user is the second identification. When the second terminal user visits the second server for the first time, it is necessary to send registration information to the second server, and the second server assigns the ID of the second terminal user (with uniqueness) to the second terminal user according to the registration information; when the second terminal user visits the second server in the future, it is necessary to provide the second terminal user's ID to the second server.
[0141] like Figure 5 As shown, based on the example given in step S402, this step is explained with a specific example: the information input by the second terminal user on the sharing page is the identifier of user a, the identifier of user a is used as the second identifier, and the identifier of user a is saved in the local cache of the second terminal.
[0142] If the information input by the second terminal user on the sharing page changes, the second identifier is generated according to the changed information input by the second terminal user on the sharing page, thus ensuring the real-time and validity of the second identifier in the mapping relationship.
[0143] Step S405: The second terminal sends the first identifier and the second identifier to the first server.
[0144] In this step, during specific implementation, the second terminal reads the first identifier and the second identifier from the local cache and sends them to the first server.
[0145] Step S406: The first server receives the first identifier and the second identifier sent by the at least one second terminal, and creates a mapping relationship between the first identifier and the at least one second identifier according to the first identifier and the second identifier.
[0146] In this step, it should be understood that the second identifiers sent by each second terminal can be the same or different. If the second identifiers sent are the same, deduplication processing is required to create a mapping relationship. For any first identifier, a mapping relationship between the first identifier and at least one second identifier can be created. It should be noted that the role of the first identifier in the mapping relationship is to determine the recipient of the target information-the first terminal.
[0147] The following is a specific example to illustrate this step: the second terminal includes terminal a, terminal b and terminal c; the first identifier sent by terminal a is identifier one, and the second identifier sent by terminal a is identifier two; the first identifier sent by terminal b is identifier three, and the second identifier sent by terminal b is identifier four; the first identifier sent by terminal c is identifier five, and the second identifier sent by terminal c is identifier six. Among them, identifier one and identifier three are the same, and identifier one and identifier five are different. Therefore, the first server creates a mapping relationship between the first identifier and at least one second identifier according to identifier one, identifier two and identifier four, but the first server cannot create a mapping relationship according to identifier one, identifier two, identifier five and identifier six.
[0148] Step S407: The first server obtains historical behavior information of the user corresponding to the first identifier from the second server according to the first identifier, and obtains historical behavior information of the users corresponding to each second identifier from the second server according to each second identifier.
[0149] In this step, the following Figure 1 Based on the examples given in the illustrated embodiment, this step is illustrated by a specific example: in the three-layer mapping relationship, only the user corresponding to the second identifier in the second layer mapping relationship has a close relationship with the user corresponding to the first identifier. Therefore, according to the first identifier and the second identifier in the second layer mapping relationship, the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the user corresponding to the second identifier are respectively obtained from the second server.
[0150] It should be understood that the first identifier and the historical behavior information of the user corresponding to the first identifier are matched and stored in the second server, and similarly, the second identifier and the historical behavior information of the user corresponding to the second identifier are also matched and stored in the second server.
[0151] Step S408: The first server uses a collaborative filtering algorithm to calculate the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each of the second identifiers, to obtain the preference of the user corresponding to the first identifier and the preference of the users corresponding to each of the second identifiers.
[0152] Step S409: The first server uses the historical behavior information of the user corresponding to the second identifier having the same preference as the user corresponding to the first identifier as target information.
[0153] Step S410: The first server sends target information to the first terminal.
[0154] It should be understood that the first server can be the same server as the second server, or the first server can be a separately set server. In addition, the user corresponding to the first identifier and the user corresponding to the second identifier are both registered users of the second server, the first identifier is different from the second identifier, and the user corresponding to the first identifier is different from the user corresponding to the second identifier, but the first identifier and the second identifier do not contain the user's mobile phone number, so the method for recommending information provided in the embodiment of the present invention does not involve user privacy.
[0155] The embodiments of the present invention can be applicable to the current e-commerce model. When applied to the current marketing scenarios, it can ensure the user experience without involving user privacy (i.e., the mobile phone number in the user's address book), achieve imperceptible association with user relationships, and do not rely on user authorization, thereby reducing the problem of being unable to recommend information due to user privacy protection, and expanding the scope of application of information recommendation. The information of the goods purchased by the user corresponding to the second identifier who has the same preference as the user corresponding to the first identifier is used as the target information. The target information is more in line with the appreciation level and taste of the user corresponding to the first identifier, thereby improving the success rate of product recommendations and increasing the sales volume of recommended products.
[0156] In order to solve the problems existing in the prior art, another embodiment of the present invention provides a method for recommending information, the method comprising:
[0157] The second terminal receives the sharing information sent by the first terminal; obtains a first identifier and a second identifier according to the sharing information; sends the first identifier and the second identifier to the first server; so that the first server obtains the historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal;
[0158] The first server receives the first identifier and the second identifier sent by at least one second terminal, and creates a mapping relationship between the first identifier and at least one second identifier based on the first identifier and the second identifier; obtains historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers based on the mapping relationship, processes the obtained historical behavior information to obtain target information; and sends the target information to the first terminal.
[0159] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a device for recommending information, which is applied to a first server, such as Figure 6 As shown, the device comprises:
[0160] The first receiving unit 601 is configured to receive a first identifier and a second identifier sent by at least one second terminal, and to create a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier.
[0161] The first processing unit 602 is used to obtain historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, and process the obtained historical behavior information to obtain target information.
[0162] The first sending unit 603 is configured to send the target information to the first terminal.
[0163] In the embodiment of the present invention, the first identifier sent by the second terminal is obtained by parsing the shared information sent by the first terminal when the second terminal detects an instruction to browse the shared information;
[0164] The second identifier sent by the second terminal is generated by the second terminal according to information input by the user of the second terminal on the sharing page, and the sharing page is obtained according to sharing page information, and the sharing page information is obtained by parsing the sharing information.
[0165] In this embodiment of the present invention, the first receiving unit 601 is used to:
[0166] According to the first identifier and the second identifier, obtaining information on the degree of interaction between a user corresponding to the first identifier and a user corresponding to the second identifier, and creating a mapping relationship between the first identifier and at least one of the second identifiers based on the interaction degree information;
[0167] Alternatively, a mapping relationship between the first identifier and at least one of the second identifiers is created using a six-degree-of-space algorithm based on the first identifier and the second identifier.
[0168] In the embodiment of the present invention, the first processing unit 602 is used to:
[0169] According to the first identifier in the mapping relationship, the historical behavior information of the user corresponding to the first identifier is obtained, and according to each of the second identifiers in the mapping relationship, the historical behavior information of the user corresponding to each of the second identifiers is obtained;
[0170] Using a collaborative filtering algorithm to calculate the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each of the second identifiers, respectively, to obtain the preference of the user corresponding to the first identifier and the preference of the users corresponding to each of the second identifiers;
[0171] The historical behavior information of the user corresponding to the second identifier having the same preference as the user corresponding to the first identifier is used as the target information.
[0172] It should be understood that the functions performed by the various components of the device for recommending information provided by the embodiment of the present invention have been Figure 1 A detailed introduction has been made in the illustrated embodiment and will not be repeated here.
[0173] In order to solve the problems existing in the prior art, another embodiment of the present invention provides a device for recommending information, which is applied to a second terminal, such as Figure 7 As shown, the device comprises:
[0174] The second receiving unit 701 is used to receive sharing information sent by the first terminal;
[0175] The second processing unit 702 is configured to obtain a first identifier and a second identifier according to the sharing information;
[0176] A second sending unit 703, configured to send the first identifier and the second identifier to a first server;
[0177] The first server obtains historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal.
[0178] In this embodiment of the present invention, the second processing unit 702 is used to:
[0179] If an instruction to browse the shared information is detected, the shared information is parsed to obtain a first identifier and shared page information;
[0180] Displaying the sharing page to the second terminal user according to the sharing page information;
[0181] A second identifier is generated according to the information input by the second terminal user on the sharing page.
[0182] In the embodiment of the present invention, the information input by the second terminal user on the sharing page includes an ID assigned to the second terminal user by the second server;
[0183] The sharing information includes a sharing link or a calling app protocol.
[0184] It should be understood that the functions performed by the various components of the device for recommending information provided by the embodiment of the present invention have been Figure 2 A detailed introduction has been made in the illustrated embodiment and will not be repeated here.
[0185] In order to solve the problems existing in the prior art, another embodiment of the present invention provides a system for recommending information, the system comprising:
[0186] The second terminal is used to receive the sharing information sent by the first terminal; obtain a first identifier and a second identifier according to the sharing information; send the first identifier and the second identifier to the first server; so that the first server obtains the historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal;
[0187] A first server is used to receive the first identifier and the second identifier sent by at least one second terminal, and create a mapping relationship between the first identifier and at least one second identifier based on the first identifier and the second identifier; obtain historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers based on the mapping relationship, process the obtained historical behavior information to obtain target information; and send the target information to the first terminal.
[0188] Figure 8 An exemplary system architecture 800 is shown to which the method for recommending information or the apparatus for recommending information according to an embodiment of the present invention may be applied.
[0189] like Figure 8As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0190] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0191] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0192] The server 805 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 801, 802, and 803. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0193] It should be noted that the method for recommending information provided in the embodiment of the present invention is generally executed by the server 805 , and accordingly, the device for recommending information is generally disposed in the server 805 .
[0194] It should be understood that Figure 8 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.
[0195] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0196] like Fig. 9As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0197] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
[0198] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include 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 the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.
[0199] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may 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 wires, 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 the present invention, 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, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0200] 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 invention. In this regard, each box in the flow chart or block diagram can represent a unit, a program segment, or a part of a code, and the above-mentioned unit, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram or flow chart, and the combination of the boxes in the block diagram 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.
[0201] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be set in a processor. For example, they may be described as: a processor includes a first receiving unit, a first processing unit, and a first sending unit. The names of these units do not, in some cases, limit the units themselves. For example, the first sending unit may also be described as "a unit that sends the target information to the first terminal".
[0202] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving a first identifier and a second identifier sent by at least one second terminal, and creating a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier; obtaining historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, processing the obtained historical behavior information to obtain target information; and sending the target information to the first terminal.
[0203] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be set in a processor. For example, they may be described as: a processor includes a second receiving unit, a second processing unit, and a second sending unit. The names of these units do not, in some cases, constitute limitations on the units themselves. For example, the second receiving unit may also be described as a "unit for receiving sharing information sent by the first terminal."
[0204] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving sharing information sent by a first terminal; obtaining a first identifier and a second identifier according to the sharing information; sending the first identifier and the second identifier to a first server; so that the first server obtains the historical behavior information of the user corresponding to the first identifier according to the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier according to the second identifier, thereby obtaining target information, and sending the target information to the first terminal.
[0205] According to the technical solution of the embodiment of the present invention, the second terminal receives the sharing information sent by the first terminal, obtains the first identifier and the second identifier according to the sharing information, and sends the first identifier and the second identifier to the first server. The first server receives the first identifier and the second identifier sent by at least one second terminal, creates a mapping relationship based thereon, thereby obtaining the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each second identifier, processes the historical behavior information using a collaborative filtering algorithm, obtains the target information, and sends the target information to the first terminal. The target information is obtained using the first identifier and the second identifier, and the target information is not obtained using the mobile phone number. The recommended information does not need to obtain the mobile phone number in the user's address book, which reduces the problem of being unable to recommend information due to user privacy protection and expands the scope of application of information recommendation.
[0206] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for recommending information, characterized in that: Applied to the first server, comprising: receiving a first identifier and a second identifier sent by at least one second terminal, and creating a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier; the first identifier is obtained by parsing the sharing information; the second identifier is generated according to information input by a user of the second terminal on a sharing page corresponding to the sharing information; According to the mapping relationship, historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers are acquired, and the acquired historical behavior information is processed to obtain target information; wherein the target information is historical behavior information of the users corresponding to the second identifiers whose preferences are the same as those of the users corresponding to the first identifier; The target information is sent to the first terminal.
2. The method according to claim 1, characterized in that The first identifier sent by the second terminal is obtained by parsing the shared information sent by the first terminal when the second terminal detects an instruction to browse the shared information; The second identifier sent by the second terminal is generated by the second terminal according to information input by the user of the second terminal on the sharing page, and the sharing page is obtained according to sharing page information, and the sharing page information is obtained by parsing the sharing information.
3. The method according to claim 1, characterized in that Creating a mapping relationship between the first identifier and at least one of the second identifiers according to the first identifier and the second identifier includes: According to the first identifier and the second identifier, obtaining information on the degree of interaction between a user corresponding to the first identifier and a user corresponding to the second identifier, and creating a mapping relationship between the first identifier and at least one of the second identifiers based on the interaction degree information; Alternatively, a mapping relationship between the first identifier and at least one of the second identifiers is created using a six-degree-of-space algorithm based on the first identifier and the second identifier.
4. The method according to claim 3, characterized in that Acquiring historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, and processing the acquired historical behavior information to obtain target information, including: According to the first identifier in the mapping relationship, the historical behavior information of the user corresponding to the first identifier is obtained, and according to each of the second identifiers in the mapping relationship, the historical behavior information of the user corresponding to each of the second identifiers is obtained; Using a collaborative filtering algorithm to calculate the historical behavior information of the user corresponding to the first identifier and the historical behavior information of the users corresponding to each of the second identifiers, respectively, to obtain the preference of the user corresponding to the first identifier and the preference of the users corresponding to each of the second identifiers; The historical behavior information of the user corresponding to the second identifier having the same preference as the user corresponding to the first identifier is used as the target information.
5. A method for recommending information, characterized in that: Applied to the second terminal, including: Receiving sharing information sent by the first terminal; Obtaining a first identifier and a second identifier according to the sharing information; the first identifier is obtained by parsing the sharing information; and the second identifier is generated according to information input by a second terminal user on a sharing page corresponding to the sharing information; Sending the first identifier and the second identifier to a first server; So that the first server obtains the historical behavior information of the user corresponding to the first identifier based on the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier based on the second identifier, thereby obtaining target information, and sending the target information to the first terminal; wherein the target information is the historical behavior information of the user corresponding to the second identifier whose preference is the same as the user corresponding to the first identifier.
6. The method according to claim 5, characterized in that Obtaining the first identifier and the second identifier according to the sharing information includes: If an instruction to browse the shared information is detected, the shared information is parsed to obtain a first identifier and shared page information; Displaying the sharing page to the second terminal user according to the sharing page information; A second identifier is generated according to the information input by the second terminal user on the sharing page.
7. The method according to claim 6, characterized in that The information input by the second terminal user on the sharing page includes an ID assigned to the second terminal user by the second server; The sharing information includes a sharing link or a calling app protocol.
8. A device for recommending information, characterized in that: Applied to the first server, comprising: A first receiving unit, configured to receive a first identifier and a second identifier sent by at least one second terminal, and to create a mapping relationship between the first identifier and at least one second identifier according to the first identifier and the second identifier; the first identifier is obtained by parsing the sharing information; the second identifier is generated according to information input by a user of the second terminal on a sharing page corresponding to the sharing information; A first processing unit is used to obtain historical behavior information of the user corresponding to the first identifier and historical behavior information of the users corresponding to each of the second identifiers according to the mapping relationship, and process the obtained historical behavior information to obtain target information; wherein the target information is the historical behavior information of the users corresponding to the second identifiers whose preferences are the same as those of the users corresponding to the first identifier; The first sending unit is configured to send the target information to a first terminal.
9. A device for recommending information, characterized in that: Applied to the second terminal, including: A second receiving unit, configured to receive sharing information sent by the first terminal; A second processing unit is used to obtain a first identifier and a second identifier according to the sharing information; the first identifier is obtained by parsing the sharing information; the second identifier is generated according to information input by the second terminal user on a sharing page corresponding to the sharing information; A second sending unit, configured to send the first identifier and the second identifier to a first server; So that the first server obtains the historical behavior information of the user corresponding to the first identifier based on the first identifier, and obtains the historical behavior information of the user corresponding to the second identifier based on the second identifier, thereby obtaining target information, and sending the target information to the first terminal; wherein the target information is the historical behavior information of the user corresponding to the second identifier whose preference is the same as the user corresponding to the first identifier.
10. A system for recommending information, characterized in that: It comprises a first server and a second terminal; the first server comprises the device for recommending information as claimed in claim 8, and the second terminal comprises the device for recommending information as claimed in claim 9.
11. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, 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 7.
12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and device for processing character messages
CN105095366A
Information push method and device
CN106874471A
Electronic book recommendation method, electronic equipment and computer storage medium
CN107766547A