CN110457610B - Information recommendation method, device, terminal, server and storage medium - Google Patents

Information recommendation method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN110457610B
CN110457610B CN201910570483.1A CN201910570483A CN110457610B CN 110457610 B CN110457610 B CN 110457610B CN 201910570483 A CN201910570483 A CN 201910570483A CN 110457610 B CN110457610 B CN 110457610B
Authority
CN
China
Prior art keywords
terminal
uuid
target
page
url address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910570483.1A
Other languages
Chinese (zh)
Other versions
CN110457610A (en
Inventor
郭方清
吕庆春
彭飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuba Co Ltd
Original Assignee
Wuba Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201910570483.1A priority Critical patent/CN110457610B/en
Publication of CN110457610A publication Critical patent/CN110457610A/en
Application granted granted Critical
Publication of CN110457610B publication Critical patent/CN110457610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Abstract

The invention discloses an information recommendation method, an information recommendation device, a terminal, a server and a storage medium, wherein the method comprises the following steps: the first terminal receives a target URL address sent by the second terminal; when an access request triggered by a target URL address is received, determining whether a first UUID is stored in a first terminal, if so, generating a page content acquisition request carrying the first UUID, sending the page content acquisition request to a server, receiving target page content sent by the server, and displaying a page based on the target page content; the access request is used for requesting access to a page corresponding to a target URL address, the first UUID is generated by adopting a preset rule aiming at the first terminal, the page content obtaining request is used for requesting obtaining of target page content corresponding to a target ULR address, the target page content comprises main content and recommended content, and the recommended content is generated by the server based on a first user portrait corresponding to the first UUID.

Description

Information recommendation method, device, terminal, server and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information recommendation method, an information recommendation apparatus, a terminal, a server, and a storage medium.
Background
At present, people often share pages browsed by themselves with friends, such as shopping pages, renting pages, video pages or information pages, and a common sharing method at present is to send a URL (Uniform Resource Locator) address of a page to a friend, and the friend opens a page corresponding to the URL address by clicking the URL address to browse contents in the page, wherein the page may include some recommended contents in addition to main content.
In the prior art, recommended content is obtained based on page titles or keyword matching in main content, so that the same page is shared by multiple users, the recommended content seen by each user is the same, the recommended content is seriously homogenized, and the accuracy of information recommendation is low.
Disclosure of Invention
The embodiment of the invention provides an information recommendation method, an information recommendation device, a terminal, a server and a storage medium, and aims to solve the technical problem of low information recommendation accuracy in the prior art.
According to a first aspect of the present invention, an information recommendation method is disclosed, which is applied to a first terminal, and the method includes:
receiving a target Uniform Resource Locator (URL) address sent by a second terminal;
when an access request triggered by a target URL (uniform resource locator) address is received, determining whether a first universal identification code UUID (universal identifier UUID) is stored in the first terminal, wherein the access request is used for requesting to access a page corresponding to the target URL address, and the first UUID is generated aiming at the first terminal by adopting a preset rule;
if the first UUID is stored in the first terminal, generating a page content acquisition request carrying the first UUID, and sending the page content acquisition request to a server, wherein the page content acquisition request is used for requesting to acquire target page content corresponding to the target ULR address, the target page content comprises main content and recommended content, and the recommended content is generated by the server based on a first user portrait corresponding to the first UUID;
receiving the target page content sent by the server;
and displaying the page based on the target page content.
Optionally, as an embodiment, the target URL address carries a second UUID, where the second UUID is generated for the second terminal by using the preset rule; the method further comprises the following steps:
and when an access request triggered by the target URL address is received, sending the second UUID and page related information corresponding to the target URL address to the server, wherein the server is used for generating a second user portrait corresponding to the second UUID based on the page related information.
Optionally, as an embodiment, the method further includes:
if the first UUID is not stored in the first terminal, generating the first UUID by adopting the preset rule;
and storing the first UUID, and sending the first UUID to the server.
Optionally, as an embodiment, the receiving a URL address of a target, sent by the second terminal, includes:
and receiving a target URL address sent by the second terminal through a chat tool or an email or a short message.
According to a second aspect of the present invention, an information recommendation method is disclosed, which is applied to a server, and the method includes:
receiving a page content acquisition request which is sent by a first terminal and carries a first UUID, wherein the first UUID is generated by adopting a preset rule aiming at the first terminal, the page content acquisition request is used for requesting to acquire target page content corresponding to a target ULR address, the target URL address is sent to the first terminal by a second terminal, the page content acquisition request is generated after the first terminal receives an access request triggered aiming at the target URL address and determines that the first terminal stores the first UUID, and the access request is used for requesting to access a page corresponding to the target URL address;
acquiring a first user portrait corresponding to the first UUID;
generating recommended content based on the first user representation;
and generating target page content comprising the main content and the recommended content, and sending the target page content to the first terminal.
Optionally, as an embodiment, the target URL address carries a second UUID, where the second UUID is generated for the second terminal by using the preset rule; the method further comprises the following steps:
receiving the second UUID sent by the first terminal after receiving an access request triggered by the target URL address and page related information corresponding to the target URL address;
and generating a second user portrait corresponding to the second UUID based on the page related information.
According to a third aspect of the present invention, an information recommendation apparatus is disclosed, which is applied to a first terminal, the apparatus comprising:
the first receiving module is used for receiving a target URL address sent by the second terminal;
the determining module is used for determining whether a first UUID is stored in the first terminal or not when an access request triggered by the target URL address is received, wherein the access request is used for requesting to access a page corresponding to the target URL address, and the first UUID is generated by adopting a preset rule aiming at the first terminal;
a first generating module, configured to generate a page content obtaining request carrying the first UUID when the first UUID is stored in the first terminal, where the page content obtaining request is used to request to obtain a target page content corresponding to the target ULR address, where the target page content includes a main content and a recommended content, and the recommended content is generated by the server based on a first user portrait corresponding to the first UUID;
the first sending module is used for sending the page content obtaining request to the server;
the second receiving module is used for receiving the target page content sent by the server;
and the display module is used for displaying the page based on the target page content.
Optionally, as an embodiment, the target URL address carries a second UUID, where the second UUID is generated for the second terminal by using the preset rule; the device further comprises:
and the second sending module is used for sending the second UUID and the page related information corresponding to the target URL address to the server when receiving an access request triggered by the target URL address, wherein the server is used for generating a second user portrait corresponding to the second UUID based on the page related information.
Optionally, as an embodiment, the apparatus further includes:
the second generation module is used for generating the first UUID by adopting the preset rule under the condition that the first UUID is not stored in the first terminal;
the storage module is used for storing the first UUID;
and the third sending module is used for sending the first UUID to the server.
Optionally, as an embodiment, the first receiving module includes:
and the URL address receiving submodule is used for receiving a target URL address sent by the second terminal through a chat tool or an email or a short message.
According to a fourth aspect of the present invention, an information recommendation apparatus applied to a server is disclosed, the apparatus comprising:
a third receiving module, configured to receive a page content obtaining request sent by a first terminal and carrying a first UUID, where the first UUID is generated for the first terminal by using a preset rule, the page content obtaining request is used to request to obtain a target page content corresponding to a target ULR address, the target URL address is sent to the first terminal by a second terminal, the page content obtaining request is generated after the first terminal receives an access request triggered for the target URL address and determines that the first UUID is stored in the first terminal, and the access request is used to request to access a page corresponding to the target URL address;
the acquisition module is used for acquiring a first user portrait corresponding to the first UUID;
a third generation module to generate a recommended content based on the first user representation;
a fourth generation module, configured to generate target page content including the subject content and the recommended content;
and the fourth sending module is used for sending the target page content to the first terminal.
Optionally, as an embodiment, the target URL address carries a second UUID, where the second UUID is generated for the second terminal by using the preset rule; the device further comprises:
a fourth receiving module, configured to receive the second UUID and the page related information corresponding to the target URL address, where the page related information is sent by the first terminal after receiving an access request triggered by the target URL address;
and the fifth generating module is used for generating a second user portrait corresponding to the second UUID based on the page related information.
According to a fifth aspect of the present invention, there is disclosed a terminal comprising: the information recommendation method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the information recommendation method applied to the terminal when being executed by the processor.
According to a sixth aspect of the present invention, there is disclosed a server comprising: the information recommendation method comprises the following steps of a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the information recommendation method applied to the server when being executed by the processor.
According to a seventh aspect of the present invention, a computer-readable storage medium is disclosed, having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described information recommendation method applied to a terminal.
According to an eighth aspect of the present invention, a computer-readable storage medium is disclosed, having stored thereon a computer program, which when executed by a processor, performs the steps of the above-described information recommendation method applied to a server.
In the embodiment of the invention, the terminal and the user portrait of the terminal can be associated through the UUID of the terminal, when the condition that the user of the first terminal requests to open the URL address shared by the second terminal is detected, the first terminal obtains the UUID of the first terminal from the local and reports the UUID to the server, the server obtains the user portrait of the first terminal according to the UUID of the first terminal, generates the recommended content according to the user portrait of the first terminal, and then displays the recommended content and the main content corresponding to the URL address to the user of the first terminal. Compared with the prior art, in the embodiment of the invention, because the user figures of different terminals are not identical, the same page is shared by different users, the recommended content seen by each user is not identical, the homogenization degree of the recommended content is reduced, and the accuracy of information recommendation is improved.
Drawings
FIG. 1 is a flow diagram of an information recommendation method of one embodiment of the invention;
FIG. 2 is a diagram of an application scenario of an information recommendation method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an information recommendation method of another embodiment of the present invention;
FIG. 4 is a signaling interaction diagram of an information recommendation method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information recommendation apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information recommendation apparatus according to another embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
In a page sharing scene, when a user opens and browses pages shared by other users, the page contains some recommended contents besides main contents. Currently, the recommended content in the page is mainly generated by the following method: extracting keywords in the page title or the main content, performing association or fuzzy query on the keywords in the page title or the main content in the database, and determining the content obtained through the association or fuzzy query as recommended content. This results in that the same page is shared by multiple users, the recommended content seen by each user is the same, the recommended content is seriously homogenized, and the accuracy of information recommendation is low.
In order to solve the technical problem, embodiments of the present invention provide an information recommendation method, apparatus, terminal, server, and storage medium.
For ease of understanding, some concepts involved in embodiments of the present invention will be described first below.
UUID (universal Unique Identifier) is a standard for software construction and is also part of the open software foundation organization in the field of distributed computing environments. The aim is to enable all elements in the distributed system to have unique identification information without specifying the identification information through a central control end.
Homogenization: the individual things representing different characteristics gradually change in their intrinsic essential characteristics in the development process.
A URL (Uniform Resource Location) is a compact representation of the Location and access method of a Resource available from the internet, and is the address of a standard Resource on the internet. Each file on the internet has a unique URL that contains information indicating the location of the file and how the browser should handle it.
The user portrayal (also called as user information tagging) refers to a basic mode that an enterprise perfectly abstracts a business overall view of a user as an enterprise applies a big data technology after collecting and analyzing data of main information such as social attributes, living habits, consumption behaviors and the like of consumers. The user portrait provides enough information foundation for enterprises, and can help the enterprises to quickly find more extensive feedback information such as accurate user groups and user requirements.
Next, an information recommendation method provided by an embodiment of the present invention is described.
Fig. 1 is a flowchart of an information recommendation method according to an embodiment of the present invention, where the method is executed by a first terminal, and in practical applications, the terminal may be a smart phone, a tablet computer, a personal digital assistant, and the like, and as shown in fig. 1, the method may include the following steps: step 101, step 102, step 103, step 104 and step 105, wherein,
in step 101, a destination URL address sent by the second terminal is received.
In the embodiment of the invention, in a page sharing scene, the second terminal is a page sharing party terminal, and the first terminal is a page receiving party terminal. The second terminal sends the target URL address to the first terminal, and therefore the page corresponding to the target URL address is shared with the first terminal.
In this embodiment of the present invention, the second terminal may send the target URL address to the first terminal through a chat tool, an email, or a short message, and at this time, the step 101 may include the following steps:
and receiving a target URL address sent by the second terminal through a chat tool or an email or a short message.
In one example, a user a browses house renting information in a house renting APP, and when seeing a piece of interested house renting information, the user B can share the URL address of the page where the house renting information is located with a chat tool, and when sharing the URL address with the chat tool, two sharing scenarios can be included: one scenario is that a page of the renting room information contains a sharing button, a user A clicks the sharing button, and a friend user B sharing the chatting tool is selected; and the other scenario is that the user A copies the URL address of the page where the house renting information is located, opens the chat tool, selects the conversation window of the user B and sends the copied URL address to the user B.
In step 102, when an access request triggered by a target URL address is received, determining whether a first UUID is stored in a first terminal, and if so, executing step 103; otherwise, generating a first UUID by adopting a preset rule, storing the first UUID, and sending the first UUID to the server; the access request is used for requesting access to a page corresponding to the target URL address, and the first UUID is generated aiming at the first terminal by adopting a preset rule.
In the embodiment of the invention, in an application scene, a user of a first terminal can trigger an access request by clicking a target URL address; in another scenario, the user of the first terminal may trigger the access request by entering the target URL address into the address bar of the browser and then knocking back the enter key.
Considering that some operating systems or some versions of operating systems (e.g., iOS7 and above) prohibit reading of the hardware identifier (UDID or MAC address) of the terminal, and the hardware identifier of the terminal cannot be used to characterize whether the terminal has accessed the remote server, in the embodiment of the present invention, when the terminal accesses the remote server for the first time (for convenience of description, a "server" is used to replace the server later), a software identifier (i.e., UUID) for uniquely identifying the terminal may be generated on the terminal side and stored to the local and server of the terminal as a unique identifier of the user profile.
In the embodiment of the invention, whether the first terminal accesses the server can be judged by judging whether the first terminal has the first UUID, if the first terminal has the UUID of the first terminal, the server is indicated to be accessed by the first terminal, and the server possibly stores the user portrait of the first terminal; if the first UUID is not present in the first terminal, it indicates that the first terminal has not accessed the server, which is likely to not have stored therein a representation of the user of the first terminal.
In the embodiment of the present invention, the preset rule may include: open source framework, self-developed algorithm, or other UUID generation methods in the related art.
Different from the method that the user browses the page in the APP, all browsing behaviors of the user are recorded and uploaded to the server, and then data statistics is carried out to generate the user portrait, one of the main improvement points in the embodiment of the invention is as follows: how to collect the user's browsing behavior and generate a user representation after the page is shared (i.e., the user browses the page outside the APP).
Specifically, when sharing a URL address, the UUID of the page sharing party terminal is added to the URL address shared by the page sharing party terminal, that is, the URL address shared by the page sharing party terminal includes: when the URL address shared by the page sharing party terminal is opened by the page receiver terminal, the page receiver terminal uploads the UUID in the URL address (namely the UUID of the page sharing party terminal) and page related information of the page to be shared to a server, so that the server generates a user portrait of the page sharing party terminal according to the page related information or performs statistical completion on the user portrait.
It should be noted that, if the page corresponding to the URL address shared by the page sharing party terminal is not opened by the page recipient terminal, the page recipient terminal does not upload the UUID in the URL address shared by the page sharing party terminal and the related information of the page to be shared to the server.
Correspondingly, in an embodiment provided by the present invention, when the page sharing party terminal is a second terminal, the target URL address carries a second UUID, and the second UUID is generated for the second terminal by using a preset rule, and the information recommendation method shown in fig. 1 may further include the following steps:
and when an access request triggered by the target URL address is received, sending the second UUID and the page related information corresponding to the target URL address to the server, wherein the server is used for generating a second user portrait corresponding to the second UUID based on the page related information.
In the embodiment of the present invention, the target URL address shared by the second terminal to the first terminal includes, in addition to the URL address of the page to be shared, a second UUID (i.e., a UUID of the second terminal), that is, the target URL address is: and when the page corresponding to the target URL address is opened by the first terminal, the first terminal uploads the second UUID in the target URL address and the related information of the page to be shared to the server, so that the server can generate a user portrait of the second terminal according to the related information of the page or perform statistical completion on the user portrait.
In step 103, a page content obtaining request carrying the first UUID is generated, and the page content obtaining request is sent to the server, where the page content obtaining request is used to request to obtain a target page content corresponding to the target ULR address, the target page content includes a main content and a recommended content, and the recommended content is generated by the server based on the first user portrait corresponding to the first UUID.
In the embodiment of the invention, after a first terminal determines that a first UUID is locally stored, a page content acquisition request is generated based on the first UUID and is sent to a server so as to request a target page content from the server; correspondingly, the server receives the page content acquisition request, acquires a user portrait (namely a first user portrait) of the first terminal according to a first UUID carried in the page content acquisition request, generates recommended content based on the user portrait of the first terminal, then generates target page content comprising main content and the recommended content, and sends the target page content to the first terminal.
In the embodiment of the present invention, the server may generate the user portrait of the first terminal in advance, and specifically, the browsing behavior of the first terminal may be collected by adopting the manner of collecting the browsing behavior of the user described in the above step 102, and the user portrait of the first terminal may be generated based on the collected browsing behavior.
In step 104, the target page content sent by the server is received.
In step 105, a page presentation is performed based on the target page content.
In the embodiment of the invention, based on the target page content, the page display can be carried out in the chat tool, and the page display can also be carried out on the browser.
In order to facilitate understanding of the technical solution of the present invention, the description is made with reference to the application scenario shown in fig. 2, and as shown in fig. 2, the application scenario includes: the method comprises a first terminal 20 and a server 21, wherein a URL address sent by a user B through a chat tool is displayed on a chat interface of the first terminal 20, a user A (namely, a user of the first terminal 20) clicks the URL address in the chat tool to trigger an access request, correspondingly, the first terminal 20 receives the access request, the chat interface jumps to a page loading interface, meanwhile, the first terminal 20 determines whether a first UUID exists locally, and if the first UUID exists, a page content acquisition request carrying the first UUID is generated and sent to the server 21; after receiving a page content acquisition request carrying a first UUID, a server 21 generates target page content according to the first UUID and sends the target page content to a first terminal 20, the first terminal 20 receives and displays the target page content, a page loading interface jumps to a page display interface, and the page display interface displays main content and recommended content, wherein the recommended content is personalized recommended content generated by the server 21 based on a user portrait corresponding to the first UUID.
The embodiment can be seen in that the terminal and the user portrait of the terminal are associated through the UUID of the terminal, when it is detected that the user of the first terminal requests to open the URL address shared by the second terminal, the first terminal obtains the UUID of the first terminal from the local and reports the UUID to the server, the server obtains the user portrait of the first terminal according to the UUID of the first terminal, generates recommended content according to the user portrait of the first terminal, and then displays the recommended content and the main content corresponding to the URL address to the user of the first terminal. Compared with the prior art, in the embodiment of the invention, because the user figures of different terminals are not identical, the same page is shared by different users, the recommended content seen by each user is not identical, the homogenization degree of the recommended content is reduced, and the accuracy of information recommendation is improved.
Fig. 3 is a flowchart of an information recommendation method according to another embodiment of the present invention, which is executed by a server, as shown in fig. 3, and the method may include the following steps: step 301, step 302, step 303 and step 304, wherein,
in step 301, a page content obtaining request carrying a first UUID sent by a first terminal is received, where the first UUID is generated for the first terminal by using a preset rule, the page content obtaining request is used to request to obtain a target page content corresponding to a target ULR address, the target URL address is sent to the first terminal by a second terminal, the page content obtaining request is generated after the first terminal receives an access request triggered for the target URL address and determines that the first UUID is stored in the first terminal, and the access request is used to request to access a page corresponding to the target URL address.
In the embodiment of the invention, the browsing behavior of the user can be collected and the user portrait can be generated by the following method: specifically, when sharing a URL address, the UUID of the page sharing party terminal is added to the URL address shared by the page sharing party terminal, that is, the URL address shared by the page sharing party terminal includes: the method comprises the steps that the URL address of a page to be shared + the UUID of a page sharing party terminal, when the URL address shared by the page sharing party terminal is opened by a page receiving party terminal, the page receiving party terminal uploads the UUID in the URL address (namely the UUID of the page sharing party terminal) and page related information of the page to be shared to a server; the server receives the UUID of the page sharing party terminal and the page related information (namely user browsing information needing to be collected) of the page to be shared, which are sent by the page receiver terminal, and generates the user portrait of the page sharing party terminal according to the page related information or performs statistical completion on the user portrait.
When the page sharing party terminal is the second terminal, correspondingly, in an embodiment provided by the present invention, the target URL address carries a second UUID, and the second UUID is generated for the second terminal by using a preset rule, and the information recommendation method shown in fig. 3 may further include the following steps:
receiving a second UUID sent by a first terminal after receiving an access request triggered by a target URL address and page related information corresponding to the target URL address; and generating a second user portrait corresponding to the second UUID based on the page related information.
In an embodiment of the invention, the second user representation is a user representation of the second terminal.
In the embodiment of the present invention, the target URL address shared by the second terminal to the first terminal includes, in addition to the URL address of the page to be shared, a second UUID (i.e., a UUID of the second terminal), that is, the target URL address is: the URL address of the page to be shared and the second UUID are added, when the page corresponding to the target URL address is opened by the first terminal, the first terminal uploads the second UUID in the target URL address and related information of the page to be shared to the server; and the server receives the second UUID sent by the first terminal and the related information of the page to be shared, and generates a user portrait of the second terminal or performs statistical completion on the user portrait based on the related information of the page.
Similarly, when the first terminal serves as the page sharing terminal, the similar ideas can be adopted to collect the browsing behavior of the first terminal, and the first user portrait is generated based on the browsing behavior of the first terminal.
In step 302, a first user representation corresponding to a first UUID is obtained.
In an embodiment of the present invention, the first user representation is a user representation of the first terminal.
In step 303, a recommendation is generated based on the first user representation.
In step 304, a target page content including the main content and the recommended content is generated, and the target page content is transmitted to the first terminal.
The embodiment can be seen in that the terminal and the user portrait of the terminal are associated through the UUID of the terminal, when it is detected that the user of the first terminal requests to open the URL address shared by the second terminal, the first terminal obtains the UUID of the first terminal from the local and reports the UUID to the server, the server obtains the user portrait of the first terminal according to the UUID of the first terminal, generates recommended content according to the user portrait of the first terminal, and then displays the recommended content and the main content corresponding to the URL address to the user of the first terminal. Compared with the prior art, in the embodiment of the invention, because the user figures of different terminals are not identical, the same page is shared by different users, the recommended content seen by each user is not identical, the homogenization degree of the recommended content is reduced, and the accuracy of information recommendation is improved.
In order to facilitate the overall understanding of the technical solution of the present invention, the description is made with reference to the signaling interaction diagram of the multi-port device shown in fig. 4. Fig. 4 is a signaling interaction diagram of an information recommendation method according to an embodiment of the present invention, as shown in fig. 4, the signaling interaction diagram includes: the second terminal, the first terminal and the server are used for realizing accurate recommendation of information in the page sharing scene through the interaction and cooperation of the three terminals,
in step 401, the second terminal sends a target URL address to the first terminal;
in step 402, the first terminal receives a target URL address sent by the second terminal;
in step 403, when an access request triggered by a target URL address is received, determining whether a first UUID is stored in the first terminal;
in step 404, it is determined that the first UUID is stored, and a page content acquisition request carrying the first UUID is generated;
in step 405, the first terminal sends a page content acquisition request carrying a first UUID to the server;
in step 406, the server receives a page content acquisition request carrying a first UUID sent by the first terminal;
in step 407, the server obtains a first user portrait corresponding to the first UUID, and generates recommended content based on the first user portrait;
in step 408, generating target page content including the subject content and the recommended content;
in step 409, the server sends the target page content to the first terminal;
in step 410, the first terminal receives the target page content sent by the server;
in step 411, a page presentation is performed based on the target page content.
Fig. 5 is a schematic structural diagram of an information recommendation apparatus according to an embodiment of the present invention, which is applied to a first terminal, and as shown in fig. 5, the information recommendation apparatus 500 may include: a first receiving module 501, a determining module 502, a first generating module 503, a first sending module 504, a second receiving module 505, and a presenting module 506, wherein,
a first receiving module 501, configured to receive a target URL address sent by a second terminal;
a determining module 502, configured to determine, when an access request triggered for the target URL address is received, whether a first UUID is stored in the first terminal, where the access request is used to request to access a page corresponding to the target URL address, and the first UUID is generated for the first terminal by using a preset rule;
a first generating module 503, configured to generate a page content obtaining request carrying the first UUID when the first UUID is stored in the first terminal, where the page content obtaining request is used to request to obtain a target page content corresponding to the target ULR address, where the target page content includes a main content and a recommended content, and the recommended content is generated by the server based on a first user portrait corresponding to the first UUID;
a first sending module 504, configured to send the page content obtaining request to the server;
a second receiving module 505, configured to receive the target page content sent by the server;
a display module 506, configured to perform page display based on the target page content.
The embodiment can be seen in that the terminal and the user portrait of the terminal are associated through the UUID of the terminal, when it is detected that the user of the first terminal requests to open the URL address shared by the second terminal, the first terminal obtains the UUID of the first terminal from the local and reports the UUID to the server, the server obtains the user portrait of the first terminal according to the UUID of the first terminal, generates recommended content according to the user portrait of the first terminal, and then displays the recommended content and the main content corresponding to the URL address to the user of the first terminal. Compared with the prior art, in the embodiment of the invention, because the user figures of different terminals are not identical, the same page is shared by different users, the recommended content seen by each user is not identical, the homogenization degree of the recommended content is reduced, and the accuracy of information recommendation is improved.
Optionally, as an embodiment, the target URL address carries a second UUID, where the second UUID is generated for the second terminal by using the preset rule; the information recommendation apparatus 500 may further include:
and the second sending module is used for sending the second UUID and the page related information corresponding to the target URL address to the server when receiving an access request triggered by the target URL address, wherein the server is used for generating a second user portrait corresponding to the second UUID based on the page related information.
Optionally, as an embodiment, the information recommendation apparatus 500 may further include:
the second generation module is used for generating the first UUID by adopting the preset rule under the condition that the first UUID is not stored in the first terminal;
the storage module is used for storing the first UUID;
and the third sending module is used for sending the first UUID to the server.
Optionally, as an embodiment, the first receiving module 501 may include:
and the URL address receiving submodule is used for receiving a target URL address sent by the second terminal through a chat tool or an email or a short message.
Fig. 6 is a schematic structural diagram of an information recommendation apparatus according to another embodiment of the present invention, which is applied to a server, and as shown in fig. 6, the information recommendation apparatus 600 may include: a third receiving module 601, an obtaining module 602, a third generating module 603, a fourth generating module 604 and a fourth sending module 605, wherein,
a third receiving module 601, configured to receive a page content obtaining request sent by a first terminal and carrying a first UUID, where the first UUID is generated by using a preset rule for the first terminal, the page content obtaining request is used to request to obtain a target page content corresponding to a target ULR address, the target URL address is sent to the first terminal by a second terminal, the page content obtaining request is generated after the first terminal receives an access request triggered by the target URL address and determines that the first UUID is stored in the first terminal, and the access request is used to request to access a page corresponding to the target URL address;
an obtaining module 602, configured to obtain a first user portrait corresponding to the first UUID;
a third generating module 603 configured to generate a recommended content based on the first user representation;
a fourth generating module 604, configured to generate target page content including the subject content and the recommended content;
a fourth sending module 605, configured to send the target page content to the first terminal.
The embodiment can be seen in that the terminal and the user portrait of the terminal are associated through the UUID of the terminal, when it is detected that the user of the first terminal requests to open the URL address shared by the second terminal, the first terminal obtains the UUID of the first terminal from the local and reports the UUID to the server, the server obtains the user portrait of the first terminal according to the UUID of the first terminal, generates recommended content according to the user portrait of the first terminal, and then displays the recommended content and the main content corresponding to the URL address to the user of the first terminal. Compared with the prior art, in the embodiment of the invention, because the user figures of different terminals are not identical, the same page is shared by different users, the recommended content seen by each user is not identical, the homogenization degree of the recommended content is reduced, and the accuracy of information recommendation is improved.
Optionally, as an embodiment, the target URL address carries a second UUID, where the second UUID is generated for the second terminal by using the preset rule; the information recommendation apparatus 600 may further include:
a fourth receiving module, configured to receive the second UUID and the page related information corresponding to the target URL address, where the page related information is sent by the first terminal after receiving an access request triggered by the target URL address;
and the fifth generating module is used for generating a second user portrait corresponding to the second UUID based on the page related information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
According to an embodiment of the present invention, there is also provided a terminal including: the information recommendation method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program when executed by the processor realizes the steps of the information recommendation method applied to the first terminal according to any one of the embodiments.
According to an embodiment of the present invention, there is also provided a server including: the information recommendation method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program when executed by the processor realizes the steps of the information recommendation method applied to the server according to any one of the embodiments.
The present invention also provides a computer-readable storage medium, which stores thereon a computer program that, when executed by a processor, implements the steps of the information recommendation method applied to the first terminal as described in any one of the above embodiments.
The present invention also provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the information recommendation method applied to a server according to any one of the above embodiments.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The information recommendation method, device, terminal, server and storage medium provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. An information recommendation method is applied to a first terminal, and is characterized by comprising the following steps:
receiving a target Uniform Resource Locator (URL) address sent by a second terminal;
when an access request triggered by a target URL (uniform resource locator) address is received, determining whether a first universal identification code UUID (universal identifier UUID) is stored in the first terminal, wherein the access request is used for requesting to access a page corresponding to the target URL address, and the first UUID is generated aiming at the first terminal by adopting a preset rule;
if the first UUID is stored in the first terminal, generating a page content acquisition request carrying the first UUID, and sending the page content acquisition request to a server, wherein the page content acquisition request is used for requesting to acquire target page content corresponding to the target ULR address, the target page content comprises main content and recommended content, and the recommended content is generated by the server based on a first user portrait corresponding to the first UUID;
receiving the target page content sent by the server;
performing page display based on the target page content;
the target URL address carries a second UUID, and the second UUID is generated aiming at the second terminal by adopting the preset rule; the method further comprises the following steps:
and when an access request triggered by the target URL address is received, sending the second UUID and page related information corresponding to the target URL address to the server, wherein the server is used for generating a second user portrait corresponding to the second UUID based on the page related information.
2. The method of claim 1, further comprising:
if the first UUID is not stored in the first terminal, generating the first UUID by adopting the preset rule;
and storing the first UUID, and sending the first UUID to the server.
3. The method according to any one of claims 1 to 2, wherein the receiving the target uniform resource locator URL address sent by the second terminal comprises:
and receiving a target URL address sent by the second terminal through a chat tool or an email or a short message.
4. An information recommendation method applied to a server is characterized by comprising the following steps:
receiving a page content acquisition request which is sent by a first terminal and carries a first UUID, wherein the first UUID is generated by adopting a preset rule aiming at the first terminal, the page content acquisition request is used for requesting to acquire target page content corresponding to a target ULR address, the target URL address is sent to the first terminal by a second terminal, the page content acquisition request is generated after the first terminal receives an access request triggered aiming at the target URL address and determines that the first terminal stores the first UUID, and the access request is used for requesting to access a page corresponding to the target URL address;
acquiring a first user portrait corresponding to the first UUID;
generating recommended content based on the first user representation;
generating target page content comprising main content and the recommended content, and sending the target page content to the first terminal;
the target URL address carries a second UUID, and the second UUID is generated aiming at the second terminal by adopting the preset rule; the method further comprises the following steps:
receiving the second UUID sent by the first terminal after receiving an access request triggered by the target URL address and page related information corresponding to the target URL address;
and generating a second user portrait corresponding to the second UUID based on the page related information.
5. An information recommendation device applied to a first terminal is characterized by comprising:
the first receiving module is used for receiving a target URL address sent by the second terminal;
the determining module is used for determining whether a first UUID is stored in the first terminal or not when an access request triggered by the target URL address is received, wherein the access request is used for requesting to access a page corresponding to the target URL address, and the first UUID is generated by adopting a preset rule aiming at the first terminal;
a first generating module, configured to generate a page content obtaining request carrying the first UUID when the first UUID is stored in the first terminal, where the page content obtaining request is used to request to obtain a target page content corresponding to the target ULR address, where the target page content includes a main content and a recommended content, and the recommended content is generated by the server based on a first user portrait corresponding to the first UUID;
the first sending module is used for sending the page content obtaining request to the server;
the second receiving module is used for receiving the target page content sent by the server;
the display module is used for displaying pages based on the target page content;
the target URL address carries a second UUID, and the second UUID is generated aiming at the second terminal by adopting the preset rule; the device further comprises:
and the second sending module is used for sending the second UUID and the page related information corresponding to the target URL address to the server when receiving an access request triggered by the target URL address, wherein the server is used for generating a second user portrait corresponding to the second UUID based on the page related information.
6. The apparatus of claim 5, further comprising:
the second generation module is used for generating the first UUID by adopting the preset rule under the condition that the first UUID is not stored in the first terminal;
the storage module is used for storing the first UUID;
and the third sending module is used for sending the first UUID to the server.
7. The apparatus of any of claims 5 to 6, wherein the first receiving module comprises:
and the URL address receiving submodule is used for receiving a target URL address sent by the second terminal through a chat tool or an email or a short message.
8. An information recommendation device applied to a server is characterized by comprising:
a third receiving module, configured to receive a page content obtaining request sent by a first terminal and carrying a first UUID, where the first UUID is generated for the first terminal by using a preset rule, the page content obtaining request is used to request to obtain a target page content corresponding to a target ULR address, the target URL address is sent to the first terminal by a second terminal, the page content obtaining request is generated after the first terminal receives an access request triggered for the target URL address and determines that the first UUID is stored in the first terminal, and the access request is used to request to access a page corresponding to the target URL address;
the acquisition module is used for acquiring a first user portrait corresponding to the first UUID;
a third generation module to generate a recommended content based on the first user representation;
a fourth generation module, configured to generate target page content including the subject content and the recommended content;
a fourth sending module, configured to send the target page content to the first terminal;
the target URL address carries a second UUID, and the second UUID is generated aiming at the second terminal by adopting the preset rule; the device further comprises:
a fourth receiving module, configured to receive the second UUID and the page related information corresponding to the target URL address, where the page related information is sent by the first terminal after receiving an access request triggered by the target URL address;
and the fifth generating module is used for generating a second user portrait corresponding to the second UUID based on the page related information.
9. A terminal, comprising: the information recommendation method comprises the following steps of a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the steps of the information recommendation method applied to the first terminal are realized when the computer program is executed by the processor.
10. A server, comprising: the information recommendation method comprises the following steps of a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the information recommendation method applied to the server when being executed by the processor.
11. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the information recommendation method applied to a terminal.
12. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the information recommendation method applied to a server.
CN201910570483.1A 2019-06-27 2019-06-27 Information recommendation method, device, terminal, server and storage medium Active CN110457610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570483.1A CN110457610B (en) 2019-06-27 2019-06-27 Information recommendation method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570483.1A CN110457610B (en) 2019-06-27 2019-06-27 Information recommendation method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN110457610A CN110457610A (en) 2019-11-15
CN110457610B true CN110457610B (en) 2022-04-19

Family

ID=68481788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570483.1A Active CN110457610B (en) 2019-06-27 2019-06-27 Information recommendation method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN110457610B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111523068A (en) * 2020-03-30 2020-08-11 五八有限公司 Page configuration method, device, server and storage medium
CN114860557B (en) * 2022-04-08 2023-05-26 广东联想懂的通信有限公司 User behavior information generation method, device, equipment and readable storage medium
CN115794634B (en) * 2022-11-29 2023-12-01 北京五八信息技术有限公司 Communication method and device of application program, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541931A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Application sharing method and application sharing equipment
WO2016088920A1 (en) * 2014-12-05 2016-06-09 (주)위셔리 System and method for recommending social commerce-based product
CN106874471A (en) * 2017-02-16 2017-06-20 北京百度网讯科技有限公司 Information-pushing method and device
CN107862553A (en) * 2017-11-15 2018-03-30 平安科技(深圳)有限公司 Advertisement real-time recommendation method, device, terminal device and storage medium
CN108306814A (en) * 2017-08-11 2018-07-20 腾讯科技(深圳)有限公司 Information-pushing method, device, terminal based on instant messaging and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541931A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Application sharing method and application sharing equipment
WO2016088920A1 (en) * 2014-12-05 2016-06-09 (주)위셔리 System and method for recommending social commerce-based product
CN106874471A (en) * 2017-02-16 2017-06-20 北京百度网讯科技有限公司 Information-pushing method and device
CN108306814A (en) * 2017-08-11 2018-07-20 腾讯科技(深圳)有限公司 Information-pushing method, device, terminal based on instant messaging and storage medium
CN107862553A (en) * 2017-11-15 2018-03-30 平安科技(深圳)有限公司 Advertisement real-time recommendation method, device, terminal device and storage medium

Also Published As

Publication number Publication date
CN110457610A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
US20200274885A1 (en) Facilitating cross-platform content access
US11102156B2 (en) Presentation of organized personal and public data using communication mediums
US11533356B2 (en) Establishing a trust association
US10311365B2 (en) Methods and systems for recommending a context based on content interaction
US9519408B2 (en) Systems and methods for guided user actions
US9961162B2 (en) Disambiguating online identities
US20170308614A1 (en) Customizable, Real Time Intelligence Channel
US20230359690A1 (en) Systems and methods for generating a resource preview in a communication session
US20140344707A1 (en) Information Distribution Method and Device
US11356498B2 (en) Method and a device for sharing a hosted application
US20090292762A1 (en) Method, Apparatus, and Computer Program Product for Publishing Content
CN110457610B (en) Information recommendation method, device, terminal, server and storage medium
KR20120087972A (en) Mechanism for adding content from a search to a document or message
TW201523307A (en) System and method for providing knowledge sharing service based on user relationship information of social network service
JP2015036856A (en) Information providing apparatus, program, and information providing system
Akbal et al. Forensic analysis of BiP Messenger on android smartphones
US20140222865A1 (en) Method, System and Program for Interactive Information Services
CN112352401A (en) Generating intelligent replies involving image files
JP5537398B2 (en) Access analysis system, access analysis method, and computer program
US20150026266A1 (en) Share to stream
US20150205870A1 (en) Method, system and program product for interactive information services
CN109962945B (en) Information acquisition method
JP2014215796A (en) Information processing apparatus, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant