CN111177548B - Information recommendation method and device, electronic equipment and storage medium - Google Patents

Information recommendation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111177548B
CN111177548B CN201911349733.5A CN201911349733A CN111177548B CN 111177548 B CN111177548 B CN 111177548B CN 201911349733 A CN201911349733 A CN 201911349733A CN 111177548 B CN111177548 B CN 111177548B
Authority
CN
China
Prior art keywords
information
display
displayed
display interface
recommendation
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
CN201911349733.5A
Other languages
Chinese (zh)
Other versions
CN111177548A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology 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 Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN201911349733.5A priority Critical patent/CN111177548B/en
Publication of CN111177548A publication Critical patent/CN111177548A/en
Application granted granted Critical
Publication of CN111177548B publication Critical patent/CN111177548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles

Abstract

The application discloses an information recommendation method, an information recommendation device, electronic equipment and a storage medium. The method comprises the following steps: acquiring display attributes of a current information display interface; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. By acquiring the display attribute of the current information display interface, determining a recommendation algorithm to be called according to the display attribute when recommending information, wherein the information display interface with different display attributes calls different recommendation algorithms to recommend information, so that different recommendation modes can be fused to realize recommendation diversification, various information acquisition requirements of users are met, and the use experience of the users is improved.

Description

Information recommendation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of the internet, and in particular, to an information recommendation method, an apparatus, an electronic device, and a storage medium.
Background
With the continuous development of internet technology, more and more information is disclosed on the internet, for example, video, pictures, news information and the like, and people can actively acquire the information through the internet, specifically, an application program can be installed on an electronic device, and different types of information can be acquired in different application programs.
The information can be recommended by the application program before the application program is actively utilized to acquire the corresponding information, so that people can acquire various information conveniently, however, most of information recommendation is difficult to adapt to various demands of people.
Disclosure of Invention
The application provides an information recommendation method, an information recommendation device, electronic equipment and a storage medium, so as to solve the problems.
In a first aspect, an embodiment of the present application provides an information recommendation method, where the method includes: acquiring display attributes of a current information display interface; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information.
In a second aspect, an embodiment of the present application provides an information recommendation apparatus, including: the acquisition module is used for acquiring the display attribute of the current information display interface; the recommending module is used for calling a recommending algorithm matched with the display attribute to acquire target information to be displayed; and the output module is used for outputting the target information.
In a third aspect, embodiments of the present application provide an electronic device including one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method as described above as applied to an electronic device.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, wherein the method described above is performed when the program code is run.
The information recommending method, the information recommending device, the electronic equipment and the storage medium provided by the embodiment of the application acquire the display attribute of the current information display interface; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. By acquiring the display attribute of the current information display interface, determining a recommendation algorithm to be called according to the display attribute when recommending information, wherein the information display interface with different display attributes calls different recommendation algorithms to recommend information, so that different recommendation modes can be fused to realize recommendation diversification, various information acquisition requirements of users are met, and the use experience of the users is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows an application environment schematic diagram suitable for an information recommendation method provided in an embodiment of the present application.
Fig. 2 shows a flowchart of an information recommendation method according to an embodiment of the present application.
Fig. 3 shows a flowchart of an information recommendation method according to another embodiment of the present application.
Fig. 4 shows a flow chart of part of the steps of the information recommendation method provided on the basis of the embodiment provided in fig. 3.
Fig. 5 shows a flowchart of an information recommendation method according to another embodiment of the present application.
Fig. 6 shows a flowchart of step S320 in the information recommendation method provided on the basis of the embodiment provided in fig. 5.
Fig. 7 shows a schematic diagram of a display interface of a waterfall flow layout.
Fig. 8 shows a flowchart of step S330 in the information recommendation method provided on the basis of the embodiment provided in fig. 5.
Fig. 9 shows a schematic diagram of a display interface of an immersive layout.
Fig. 10 shows a functional block diagram of an information recommendation device according to an embodiment of the present application.
Fig. 11 shows a block diagram of an electronic device for executing the information recommendation method according to the embodiment of the present application.
Fig. 12 illustrates a storage medium for storing or carrying program codes for implementing an information recommendation method according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
With the popularization of the internet, the way in which people acquire information changes from traditional reading, reading and reporting into utilizing the internet to acquire various information. In acquiring information using the internet, it is often necessary for people to install different applications on an electronic device, where the different applications correspond to different types of information. For example, the video application may be acquiring video information, the live application may be acquiring live video, the news application may be acquiring news information, and the music application may be acquiring music information. Different types of information correspond to different applications.
Various application programs can provide corresponding information services and can also conduct information recommendation so as to meet the requirement of people for acquiring information. For example, in a live broadcast application program, different live broadcast videos of a host can be seen, the application program can directly recommend a part of live broadcast videos to be displayed to a user, the user is reduced to acquire the live broadcast videos through searching, and the user can acquire the live broadcast videos more conveniently.
The inventor finds that most application programs can directly display the information recommendation interface after being started, so that the user can browse the information recommendation interface conveniently. However, there may be various forms of information display interfaces in the application program, and when information recommendation is performed, a recommendation manner is generally adopted to implement information recommendation. When the display interface forms are provided, the effect of the recommended information obtained by adopting one recommending mode is not good enough, and the information is difficult to adapt to different information acquisition requirements of users.
Therefore, the inventor proposes the information recommendation method provided by the embodiment of the application, and the display attribute of the current information display interface is obtained; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. By acquiring the display attribute of the current information display interface, determining a recommendation algorithm to be called according to the display attribute when recommending information, wherein the information display interface with different display attributes calls different recommendation algorithms to recommend information, so that different recommendation modes can be fused to realize recommendation diversification, various information acquisition requirements of users are met, and the use experience of the users is improved.
Referring to fig. 1, an application environment 10 of an information recommendation method provided in an embodiment of the present application is shown, where the application environment 10 includes: terminal equipment 11, server 12, and network 13. The terminal device 11 may be a mobile phone, a tablet computer, a notebook computer, an intelligent television, or other devices capable of supporting application programs. The server 12 may be a local server or a cloud server. The network 13 may be a wide area network or a local area network, or a combination of both, using wireless links to effect data transmission.
The terminal device 11 and the server 12 are connected through a network 13 to achieve information recommendation.
In some embodiments, the server 12 may obtain the display attribute of the current information display interface when making the recommendation; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. The server 12 may send the target information to the terminal device 11 for display via the network 13.
In some embodiments, when recommending, the terminal device 11 may acquire a display attribute of the current information display interface, and call a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and finally, outputting the target information for display. When the terminal device invokes a recommendation algorithm matched with the display attribute, the server 12 may send the required information to the terminal device 11, so that the terminal device 11 may determine target information from the information sent by the server 12 through the recommendation algorithm.
In some embodiments, when information recommendation is performed, after the terminal device 11 obtains the display attribute of the current information display interface, the display attribute is sent to the server 12 through the network 13, and the server 12 invokes a recommendation algorithm matched with the display attribute according to the display attribute to obtain target information to be displayed; the target information is output by the server 12 and transmitted to the terminal device 11 for display via the network 13. As shown in fig. 1, different interfaces 14 and 16 of information display are shown, wherein in display interface 14, target information may be displayed at the location shown at 15, and in display interface 16, target information may be displayed at the location shown at 17.
Referring to fig. 2, an embodiment of the present application provides an information recommendation method, which implements information recommendation based on the above application environment. The specific flow of the present embodiment will be described below by taking an electronic device as an example. The electronic device applied in the embodiment may be a server or a terminal device, which is not limited herein specifically. The method specifically comprises the following steps:
step S110, obtaining the display attribute of the current information display interface.
Various application programs can be installed on the terminal equipment, the application programs are utilized for displaying information, and different display attributes can be provided when the information is displayed, wherein page layouts of display interfaces displayed by the different display attributes are different. In the same application, there may be multiple different display interfaces, and then the different display interfaces may have different display properties. In order to achieve more flexible recommendation, different recommendation algorithms can be adopted for information display interfaces with different display attributes. Therefore, the display attribute of the display interface of the current information can be acquired to determine the recommendation algorithm to be called.
When the display attribute of the current information display interface is acquired, the configuration information of the current information display interface can be used for determining the display attribute of the current information display interface according to the configuration information. As another implementation mode, the method can be used for acquiring the page layout of the current information display interface and determining the display attribute of the current information display interface according to the page layout.
And step S120, calling a recommendation algorithm matched with the display attribute to acquire target information to be displayed.
And when the display attribute of the current information display interface is determined, a recommendation algorithm matched with the display attribute can be called according to the display attribute to acquire target information to be displayed. Therefore, after the display attribute of the current information display interface is acquired, a recommendation algorithm matched with the display attribute needs to be determined.
As an implementation manner, an algorithm comparison table may be stored in advance, where the algorithm comparison table includes a correspondence between display attributes and recommendation algorithms, so that when the display attributes of the current information display interface are obtained, the recommendation algorithm corresponding to the display attributes of the current information display interface may be obtained by querying the algorithm comparison table, and the target information to be displayed may be obtained by using the recommendation algorithm found in the algorithm comparison table.
When information recommendation is carried out, a plurality of different recommendation algorithms exist, wherein the target information to be displayed acquired by the different recommendation algorithms is different. For example, the recommendation algorithm may be classified into a first recommendation algorithm that selects target information from information different from the last recommended information and a second recommendation algorithm that selects target information from the information that was recovered but not displayed after the information that was recommended is recovered and the information different from the last recommended information. In addition, the second recommendation algorithm may also select the target information according to the behavior habit of the user browsing the information.
When the target information is acquired by using the recommendation algorithm, the number of the acquired target information can be preset or determined according to the number of the information required to be displayed on the information display interface. The number of the acquired target information may be specifically selected according to actual needs, which is not specifically limited herein.
In some embodiments, the amount of the target information acquired may be determined according to the amount of information that the information display interface is required to display. For example, the number of pieces of information to be displayed in one information display interface is one, and the number of pieces of acquired target information may be 1; the number of information to be displayed in the other information display interface is 10, and the number of acquired target information may be 10.
In other embodiments, the number of the acquired target information may be preset in different algorithms, and when the recommendation algorithm is invoked to acquire the target information, the set number of the target information may be acquired correspondingly. For example, the number of acquired target information is set to 10 in the first recommendation algorithm, and the number of acquired target information is set to 5 in the second recommendation algorithm. When the first recommendation algorithm is called to acquire the target information, the number of the acquired target information is 10, and when the second recommendation algorithm is called to acquire the target information, the number of the acquired target information is 5.
When the recommendation algorithm is called to acquire the target information to be displayed, after determining the recommendation algorithm and the number of the acquired target information, a corresponding information request instruction is generated, wherein the information request instruction can comprise recommendation algorithm information to be called, and the number of the acquired target information and the like trigger the corresponding recommendation algorithm to be called so as to acquire the target information to be displayed.
Step S130, outputting the target information.
When the recommendation algorithm matched with the display attribute corresponding to the display attribute of the current display interface is called to acquire the target information, the target information can be output to be displayed for the user to browse. If the step is executed by the server, the server can send the output target information to an application program of the terminal equipment, and the application program displays the target information for browsing by a user; if the step is executed by the terminal device, the target information can be directly output for display. The target information may be picture information, video information, text information, or the like.
Specifically, when the target information is output for display, the target information may be displayed in a form matching with the current information display interface, for example, the current information display interface may only display one target information, and when the user slides down, display the next target information, so that the obtained target information may be displayed one by one according to the operation of the user. If the current information display interface can display a plurality of target information, the current information display interface can adaptively display the plurality of target information.
According to the information recommendation method, display attributes of a current information display interface are obtained; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. By acquiring the display attribute of the current information display interface, determining a recommendation algorithm to be called according to the display attribute when recommending information, wherein the information display interface with different display attributes calls different recommendation algorithms to recommend information, so that different recommendation modes can be fused to realize recommendation diversification, various information acquisition requirements of users are met, and the use experience of the users is improved.
Referring to fig. 3, another embodiment of the present application provides an information recommendation method, and a process of obtaining a display attribute of a current information display interface is described with emphasis on the above embodiment. Specifically, the method may include:
Step S210, obtaining the page layout of the current information display interface.
Different display interfaces can correspond to different page layouts, wherein the display effects of information display under the different page layouts are different. For example, in a waterfall flow layout, a plurality of different information may be displayed, with each display interface displaying only one information in an immersive layout. When the page layout of the display interface of the current information is acquired, the page layout parameters of the display interface of the current information can be acquired. Specifically, the page layout code may be an acquired page layout code, and the corresponding page layout parameter is extracted from the page layout code to determine the page layout of the current information display interface.
In some embodiments, the page layout may be changed according to the user setting, and when the page layout of the current information display interface is acquired, the page layout of the current information display interface may be determined by acquiring the setting information of the user. For example, two ways of page layout are provided for user selection, a waterfall flow layout and an immersive layout. Therefore, the page setting information of the current information display interface can be obtained, and the page layout mode selected by the user is obtained to determine the page layout of the current information display interface.
Step S220, determining the display attribute of the current information display interface according to the page layout.
When the page layout is acquired, the display attribute of the current information display interface can be determined according to the acquired page layout. As shown in fig. 4, the following steps may be included:
step S221, determining the display quantity of the target information to be displayed in the current information display interface according to the page layout.
And acquiring the display quantity of the target information to be displayed according to the parameter information of the page layout while determining the page layout. For example, when the page layout of the current information display interface is a stream layout, a plurality of pieces of information can be displayed generally, and then the maximum amount of information that can be displayed by the current information display interface can be obtained according to the parameters of the page layout, and the maximum amount of information that can be displayed is used as the amount of target information that needs to be displayed by the current information display interface.
Step S222, judging whether the display quantity of the target information to be displayed is larger than a preset quantity; if yes, go to step S223; if not, go to step S224.
The method comprises the steps that the preset number of the current information display interfaces is preset, and after the display number of target information to be displayed in the current information display interfaces is determined according to the page layout, the size relation between the display number and the preset number can be compared. Wherein the preset number may be for distinguishing between different display attributes. When the number of the target information to be displayed is greater than the preset number, indicating that the current information display interface needs to display more target information, step S223 may be executed; if the number of the target information to be displayed is less than or equal to the preset number, it indicates that the current information display interface needs to display less target information, and step S224 may be executed.
Step S223, determining that the current information display interface has a first attribute.
When comparing the display quantity of the target information to be displayed with the preset quantity, if the display quantity of the target information to be displayed is larger than the preset quantity, the current information display interface is considered to be required to display more target information, and the current information display interface can be determined to have a first attribute, namely, when the information display interface has the first attribute, more target information is required to be displayed.
Step S224, determining that the current information display interface has the second attribute.
When comparing the magnitude relation between the display quantity of the target information to be displayed and the preset quantity, if the display quantity of the target information to be displayed is smaller than or equal to the preset quantity, the current information display interface is considered to be required to display less target information, and the current information display interface can be determined to have a second attribute, namely, when the information display interface has the second attribute, less target information is required to be displayed.
Step S223 and step S224 are alternatively performed, that is, step S224 is not performed when it is determined that the current information display interface has the first attribute, and step S223 is not performed when it is determined that the current information display interface has the second attribute.
And step S230, calling a recommendation algorithm matched with the display attribute to acquire target information to be displayed.
After determining the display attribute of the current information display interface, a matched recommendation algorithm can be determined according to the display attribute. After the recommendation algorithm is determined, the target information to be displayed is acquired by using the determined recommendation algorithm.
Specifically, an algorithm comparison table is pre-stored, the algorithm comparison table includes a corresponding relation between display attributes and recommendation algorithms, when the display attributes of the current information display interface are obtained, the recommendation algorithms corresponding to the display attributes of the current information display interface can be obtained by querying the algorithm comparison table, and target information to be displayed is obtained by using the recommendation algorithms found in the algorithm comparison table. Wherein, the algorithm comparison table can refer to table 1.
TABLE 1
Display attributes First attribute Second attribute
Recommendation algorithm First recommendation algorithm Second recommendation algorithm
In table 1, the display attributes may include first and second attributes, and the recommendation algorithm may include first and second recommendation algorithms. The recommendation algorithm corresponding to the first attribute is a first recommendation algorithm, and the recommendation algorithm corresponding to the second attribute is a second recommendation algorithm. If the display attribute of the current information display interface is determined to be a first attribute, inquiring the algorithm comparison table to obtain that a recommendation algorithm corresponding to the first attribute is a first recommendation algorithm, and obtaining target information to be displayed by using the first recommendation algorithm; if the display attribute of the current information display interface is determined to be the second attribute, inquiring the algorithm comparison table can acquire that the recommendation algorithm corresponding to the second attribute is the second recommendation algorithm, and acquiring target information to be displayed by using the second recommendation algorithm.
Therefore, after the display attribute of the current information display interface is obtained, a recommendation algorithm matched with the display attribute can be called to obtain the target information to be displayed.
Step S240, outputting the target information.
Step S240 may refer to the corresponding parts of the foregoing embodiments, and is not described herein.
According to the information recommendation method, the page layout of the current information display interface is obtained, and the display attribute of the current information display interface is determined according to the page layout; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. The display attribute is determined by acquiring the page layout of the current information display interface, and when information recommendation is carried out, a recommendation algorithm to be called is determined according to the display attribute, wherein the information display interface with different display attributes calls different recommendation algorithms to carry out information recommendation, so that different recommendation modes can be fused to realize recommendation diversification, various information acquisition requirements of users are met, and the use experience of the users is improved.
Referring to fig. 5, a further embodiment of the present application provides an information recommendation method, and this embodiment, on the basis of the foregoing embodiment, focuses on a process of calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed. As shown in fig. 5, the method may include:
Step S310, obtaining the display attribute of the current display interface.
Step S310 may refer to the corresponding description of the foregoing embodiments, and will not be described herein.
Step S320, when the information display interface has a first attribute, a first recommendation algorithm is called to acquire target information to be displayed, and the first recommendation algorithm selects target information from the information which is not recommended.
When the information display interface is determined to have the first attribute, indicating that the current information display interface needs to display more target information, and calling a first recommendation algorithm to acquire the target information to be displayed. The first recommendation algorithm may be to select target information from non-recommended information. Specifically, referring to fig. 6, the obtaining, by the first recommendation algorithm, the target information to be displayed may include the following steps:
step S321, information different from the last recommended information is acquired and stored in the first information base.
When information recommendation is carried out, the current information display interface displays information, and when a user performs sliding or pulling-down operation on the current information display interface to refresh the information displayed on the current information display interface, the acquired target information can be displayed. The information displayed in the current information display interface can be understood as target information obtained by calling the first recommendation algorithm last time, namely last recommendation information. When the information displayed on the current information display interface is refreshed along with the operation of a user, information different from the last recommended information can be acquired and stored in the first information base, namely, information different from the information displayed on the current information display interface is stored in the first information base.
For example, the recommended information is live video, the last recommended live video is video a, video B, video C, and video D, and the obtained information different from the last recommended information may be all live video except for video a, video B, video C, and video D.
In one embodiment, the last recommended information may be acquired first, and then information different from the last recommended information is acquired according to the last recommended information and stored in the first information base, so that the information in the first information base is different from the last recommended information.
As another embodiment, the first information base may store all the information first, obtain the last recommended information, and then find the information same as the last recommended information from the first information base, and delete the information from the first information base, so that the information in the first information base is different from the last recommended information.
Step S322, the display quantity of the target information required to be displayed on the current information display interface is obtained.
The display quantity of the target information required to be displayed on the current information display interface is obtained, specifically, as described in the foregoing embodiment, the page layout of the current information display interface may be obtained, and the display quantity of the target information required to be displayed on the current information display interface is determined according to the page layout, which may be specifically referred to the corresponding description in the foregoing embodiment and will not be repeated herein.
Step S323, selecting the display number information from the first information base as the target information.
After the display quantity of the target information required to be displayed on the current information display interface is obtained, the display quantity of the target information can be selected from the first information base according to the recommendation rule of the first recommendation algorithm.
When the page layout of the current information display interface is a waterfall stream layout, it can be determined that the current information display situation has the first attribute, that is, when more target information needs to be displayed, a first recommendation algorithm can be invoked to obtain the target information to be displayed. Referring specifically to fig. 7, a schematic diagram of a display interface for a waterfall flow layout is shown. The waterfall flow layout 20 may display a plurality of target information, where the display position of the target information may be the position shown in 21, and the information displayed in 21 may be updated continuously as the user's refresh operation, such as sliding down.
And step S330, when the information display interface has the second attribute, a second recommendation algorithm is called to acquire target information to be displayed, and the second recommendation algorithm selects target information from the information which is not recommended and the information which is recommended but not displayed.
And when the information display interface is determined to have the second attribute, indicating that the current information display interface needs to display less target information, and calling a second recommendation algorithm to acquire the target information to be displayed. The second recommendation algorithm may be to select target information from non-recommended information. Specifically, referring to fig. 8, the obtaining, by the second recommendation algorithm, the target information to be displayed may include the following steps:
step S331, information which is recommended last time but not displayed and information which is different from the information recommended last time are acquired and stored in a second information base.
When information recommendation is carried out, the current information display interface displays information, and when a user performs sliding or pulling-down operation on the current information display interface to refresh the information displayed on the current information display interface, the acquired target information can be displayed. The information displayed in the current information display interface can be understood as target information obtained by calling the second recommendation algorithm last time, namely last recommendation information. And when the information displayed on the current information display interface is refreshed along with the operation of the user, information which is different from the last recommended information can be acquired and stored in the second information base, namely, information which is different from the information displayed on the current information display interface is stored in the second information base.
Specifically, since the current information display interface invoking the second recommendation algorithm has the second attribute that less target information needs to be displayed, the current page layout may be an immersive layout, and referring specifically to fig. 9, a schematic diagram of the display interface of the immersive layout is shown. In fig. 9, in the immersive layout 30, only one piece of information may be displayed at the position shown at 31. Therefore, the information displayed on the current information display interface calling the second recommendation algorithm last time is not the whole content of the target information recommended last time, and part of the target information is not displayed, so that the information which is recommended last time but not displayed can be recovered and stored in the second information base. For example, the last recommended information is five pieces of target information in total, only one piece of target information is displayed on the current information display interface, and when the user performs the refresh operation, 4 pieces of target information which are not displayed can be obtained and stored in the second information base.
As an embodiment, the last recommended information may be acquired first, then the recommended information that has been displayed in the last recommended information is determined, and information that is different from the recommended information that has been displayed is acquired and stored in the second information base, so that the information in the second information base is different from the last recommended information and the information that has been recommended but not displayed last.
As another embodiment, the second information base may store all the information first, acquire the information already displayed in the last recommended information, and then find the same information as the information already displayed in the last recommended information from the first information base, and delete the same information from the second information base, so that the information in the second information base is different from the information of the last recommended information and the information already recommended but not displayed last.
Step S332, the display quantity of the target information required to be displayed on the current information display interface is obtained.
The display quantity of the target information required to be displayed on the current information display interface is obtained, specifically, as described in the foregoing embodiment, the page layout of the current information display interface may be obtained, and the display quantity of the target information required to be displayed on the current information display interface is determined according to the page layout, which may be specifically referred to the corresponding description in the foregoing embodiment and will not be repeated herein.
Step S333, selecting the display quantity information from the second information base as the target information.
After the display quantity of the target information required to be displayed on the current information display interface is obtained, the display quantity of the target information can be selected from the second information base to serve as the target information according to the recommendation rule of the second recommendation algorithm.
If the number of the target information acquired by the second recommendation algorithm is a preset number and is different from the display number of the target information required to be displayed on the current information display interface, the recommended target information which is not displayed is acquired, and the recommended target information which is not displayed is stored in the second information base, so that the recommended target information which is not displayed can be recovered, and the waste of the information is avoided. If the number of the target information acquired by the second recommendation algorithm is the same as the display number of the target information required to be displayed on the current information display interface, the recommended target information which is not displayed is not existed, and the acquisition of the recommended target information which is not displayed is not executed and is stored in the second information base.
In addition, in the second recommendation algorithm, a satisfaction index of the user on the last recommendation information can be obtained; when the satisfaction index is larger than or equal to a preset index, selecting information with the same type as the information recommended last time from the second information base as the target information; and when the satisfaction index is smaller than a preset index, selecting information with a type different from that of the information recommended last time from the second information base as the target information.
Specifically, the satisfaction index of the user on the last recommended information may be obtained according to the viewing behavior of the user. For example, when the user browses the last recommended information, the information may be praised, and the praise action of the user may correspond to a satisfaction value. Or the time length of the user watching the information is obtained, and when the watching time length is longer than the preset time length, a satisfaction value can be corresponding. The sum of all satisfaction values is the satisfaction index of the user on the last recommended information. When the satisfaction index is larger than or equal to a preset index, the user is shown to like the last recommended information, and the information with the same type as the last recommended information can be continuously recommended to the user, namely, the information with the same type as the last recommended information is selected from a second information base to serve as the target information; and when the satisfaction index is smaller than a preset index, indicating that the user does not like the last recommended information, recommending information with a type different from that of the last recommended information to the user, namely selecting the information with the type different from that of the last recommended information from the second information base as the target information.
For example, the last recommended information is a live video of a singing type, and if the satisfaction index of the user on the live video is greater than the preset index, the live video of the same type, such as the live video of the singing type, can be selected from the second information base as the target information. Therefore, information recommendation which is more matched with the user can be realized according to the information browsing behavior of the user.
Step S340, outputting the target information.
Step S340 may refer to the corresponding parts of the foregoing embodiments, and will not be described herein.
According to the information recommendation method, display attributes of a current information display interface are obtained; when the information display interface has a first attribute, a first recommendation algorithm is called to acquire target information to be displayed; when the information display interface has the second attribute, a second recommendation algorithm is called to acquire target information to be displayed; and outputting the target information. The first recommendation algorithm can adapt to a display interface adopting a waterfall flow type layout, the second recommendation algorithm can adapt to a display interface adopting an immersion type layout, and real-time recommendation can be realized according to the behavior of browsing information of a user. Therefore, different recommendation modes can be fused to realize the diversification of recommendation, so that the requirement of multiple information acquisition of a user is met, and the use experience of the user is improved.
Referring to fig. 10, an information recommendation device 500 provided in an embodiment of the present application is shown, where the information recommendation device 400 includes an obtaining module 410, a recommendation module 420, and an output module 430. The acquiring module 410 is configured to acquire a display attribute of a current information display interface; the recommendation module 420 is configured to call a recommendation algorithm that matches the display attribute to obtain target information to be displayed; the output module 430 is configured to output the target information.
Further, the obtaining module 410 is further configured to obtain a page layout of the current information display interface; and determining the display attribute of the current information display interface according to the page layout.
Further, the obtaining module 410 is further configured to determine, according to the page layout, a display quantity of target information to be displayed in a current information display interface; judging whether the display quantity of the target information to be displayed is larger than a preset quantity or not; if yes, determining that the current information display interface has a first attribute; if not, determining that the current information display interface has the second attribute.
Further, when the information display interface has the first attribute, the recommendation module 420 is further configured to invoke a first recommendation algorithm to obtain target information to be displayed, where the first recommendation algorithm selects target information from the non-recommended information; and when the information display interface has the second attribute, calling a second recommendation algorithm to acquire target information to be displayed, wherein the second recommendation algorithm selects target information from the information which is not recommended and the information which is recommended but not displayed.
Further, the recommendation module 420 is further configured to obtain information different from the last recommended information and store the information in the first information base; acquiring the display quantity of target information required to be displayed on a current information display interface; and selecting the display quantity information from the first information base as the target information.
Further, the recommending module 420 is further configured to obtain information that has been recommended but not displayed last time and information that is different from the information recommended last time, and store the information in the second information base; acquiring the display quantity of target information required to be displayed on a current information display interface; and selecting the display quantity information from the second information base as the target information.
Further, the recommendation module 420 is further configured to obtain a satisfaction index of the user with respect to the last recommended information; when the satisfaction index is larger than or equal to a preset index, selecting information with the same type as the information recommended last time from the second information base as the target information; and when the satisfaction index is smaller than a preset index, selecting information with a type different from that of the information recommended last time from the second information base as the target information.
It should be noted that, for convenience and brevity of description, specific working processes of the apparatus and modules described above may refer to corresponding processes in the foregoing method embodiments, which are not described herein again.
In summary, according to the information recommendation method provided by the application, the display attribute of the current information display interface is obtained; invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed; and outputting the target information. By acquiring the display attribute of the current information display interface, determining a recommendation algorithm to be called according to the display attribute when recommending information, wherein the information display interface with different display attributes calls different recommendation algorithms to recommend information, so that different recommendation modes can be fused to realize recommendation diversification, various information acquisition requirements of users are met, and the use experience of the users is improved.
In the several embodiments provided herein, the illustrated or discussed coupling or direct coupling or communication connection of the modules to each other may be through some interfaces, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other forms.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 11, a block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 500 may be a terminal device capable of running an application program, such as a smart phone, a tablet computer, an electronic book, or a server. The electronic device 500 in this application may include one or more of the following components: a processor 510, a memory 520, and one or more application programs, wherein the one or more application programs may be stored in the memory 520 and configured to be executed by the one or more processors 510, the one or more program(s) configured to perform the method as described in the foregoing method embodiments.
Processor 510 may include one or more processing cores. The processor 510 utilizes various interfaces and lines to connect various portions of the overall electronic device 500, perform various functions of the electronic device 500, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 520, and invoking data stored in the memory 520. Alternatively, the processor 510 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 510 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 510 and may be implemented solely by a single communication chip.
The Memory 520 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 520 may be used to store instructions, programs, code sets, or instruction sets. The memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the electronic device 500 in use (e.g., phonebook, audiovisual data, chat log data), and the like.
Referring to fig. 12, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable storage medium 600 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 600 comprises a non-transitory computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 600 has storage space for program code 610 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 610 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. An information recommendation method, applied to a server, comprising:
acquiring the display attribute of the current information display interface, wherein different information display interfaces in the same application program have different display attributes, and the acquiring the display attribute of the current information display interface comprises the following steps: acquiring configuration information of a current display interface, and determining display attributes of the current information display interface according to the configuration information;
invoking a recommendation algorithm matched with the display attribute to acquire target information to be displayed, wherein different recommendation algorithms corresponding to different display attributes are different, different recommendation algorithms acquire different target information to be displayed, and invoking the recommendation algorithm matched with the display attribute to acquire the target information to be displayed comprises the following steps: when the information display interface has a first attribute, a first recommendation algorithm is called to acquire target information to be displayed, and the first recommendation algorithm selects target information from the information which is not recommended; when the information display interface has a second attribute, a second recommendation algorithm is called to acquire target information to be displayed, the second recommendation algorithm selects target information from unremoved information and information which is recommended but not displayed, and when the information display interface has a first attribute, a first recommendation algorithm is called to acquire target information to be displayed, wherein the method comprises the following steps: acquiring information different from the last recommended information and storing the information into a first information base; acquiring the display quantity of target information required to be displayed on a current information display interface; selecting the display quantity information from the first information base as the target information;
And outputting the target information.
2. The method of claim 1, wherein the obtaining the display attribute of the current information display interface comprises:
acquiring the page layout of a current information display interface;
and determining the display attribute of the current information display interface according to the page layout.
3. The method of claim 2, wherein determining display attributes of a current information display interface from the page layout comprises:
determining the display quantity of target information to be displayed in a current information display interface according to the page layout;
judging whether the display quantity of the target information to be displayed is larger than a preset quantity or not;
if yes, determining that the current information display interface has a first attribute;
if not, determining that the current information display interface has the second attribute.
4. The method of claim 1, wherein when the information display interface has the second attribute, invoking a second recommendation algorithm to obtain the target information to be displayed comprises:
acquiring information which is recommended but not displayed last time and storing information which is different from the information recommended last time into a second information base;
acquiring the display quantity of target information required to be displayed on a current information display interface;
And selecting the display quantity information from the second information base as the target information.
5. The method of claim 4, wherein selecting the display quantity information from the second information base as the target information further comprises:
acquiring a satisfaction index of a user on last recommended information;
when the satisfaction index is larger than or equal to a preset index, selecting information with the same type as the information recommended last time from the second information base as the target information;
and when the satisfaction index is smaller than a preset index, selecting information with a type different from that of the information recommended last time from the second information base as the target information.
6. An information recommendation device, operable on a server, the device comprising:
the obtaining module is configured to obtain a display attribute of a current information display interface, where different information display interfaces in the same application program have different display attributes, and the obtaining the display attribute of the current information display interface includes: acquiring configuration information of a current display interface, and determining display attributes of the current information display interface according to the configuration information;
The recommendation module is used for calling a recommendation algorithm matched with the display attribute to acquire target information to be displayed, the recommendation algorithms corresponding to different display attributes are different, and the target information to be displayed acquired by different recommendation algorithms is different;
the recommending module is further used for calling a first recommending algorithm to acquire target information to be displayed when the information display interface has a first attribute, and the first recommending algorithm selects the target information from the information which is not recommended; when the information display interface has a second attribute, a second recommendation algorithm is called to acquire target information to be displayed, and the second recommendation algorithm selects target information from the information which is not recommended and the information which is recommended but not displayed;
the recommending module is also used for acquiring information different from the last recommending information and storing the information into the first information base; acquiring the display quantity of target information required to be displayed on a current information display interface; selecting the display quantity information from the first information base as the target information;
and the output module is used for outputting the target information.
7. An electronic device, the electronic device comprising:
One or more processors;
a memory electrically connected to the one or more processors;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-5.
8. A computer readable storage medium having stored therein program code which is callable by a processor to perform the method of any one of claims 1 to 5.
CN201911349733.5A 2019-12-24 2019-12-24 Information recommendation method and device, electronic equipment and storage medium Active CN111177548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911349733.5A CN111177548B (en) 2019-12-24 2019-12-24 Information recommendation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911349733.5A CN111177548B (en) 2019-12-24 2019-12-24 Information recommendation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111177548A CN111177548A (en) 2020-05-19
CN111177548B true CN111177548B (en) 2024-04-16

Family

ID=70655695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911349733.5A Active CN111177548B (en) 2019-12-24 2019-12-24 Information recommendation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111177548B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577821A (en) * 2017-09-21 2018-01-12 星潮闪耀移动网络科技(中国)有限公司 The method, apparatus and equipment of a kind of information recommendation
CN107609198A (en) * 2017-10-20 2018-01-19 咪咕互动娱乐有限公司 One kind recommends method, apparatus and computer-readable recording medium
CN109543099A (en) * 2018-10-29 2019-03-29 维沃移动通信有限公司 A kind of content recommendation method and terminal device
TW201935217A (en) * 2018-02-13 2019-09-01 香港商阿里巴巴集團服務有限公司 Interface display method and apparatus, device, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720723B2 (en) * 1998-09-18 2010-05-18 Amazon Technologies, Inc. User interface and methods for recommending items to users
US8260787B2 (en) * 2007-06-29 2012-09-04 Amazon Technologies, Inc. Recommendation system with multiple integrated recommenders

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577821A (en) * 2017-09-21 2018-01-12 星潮闪耀移动网络科技(中国)有限公司 The method, apparatus and equipment of a kind of information recommendation
CN107609198A (en) * 2017-10-20 2018-01-19 咪咕互动娱乐有限公司 One kind recommends method, apparatus and computer-readable recording medium
TW201935217A (en) * 2018-02-13 2019-09-01 香港商阿里巴巴集團服務有限公司 Interface display method and apparatus, device, and storage medium
CN109543099A (en) * 2018-10-29 2019-03-29 维沃移动通信有限公司 A kind of content recommendation method and terminal device

Also Published As

Publication number Publication date
CN111177548A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN113157906B (en) Recommendation information display method, device, equipment and storage medium
CN109388367B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN110071938B (en) Virtual image interaction method and device, electronic equipment and readable storage medium
CN111079529B (en) Information prompting method and device, electronic equipment and storage medium
US20140379328A1 (en) Apparatus and method for outputting image according to text input in real time
CN110609965A (en) Page display method and device and storage medium
US20210319500A1 (en) Method and apparatus for entering review interface
WO2020232616A1 (en) Information recommendation method and apparatus, and electronic device and storage medium
US20120054598A1 (en) Method and system for viewing web page and computer Program product thereof
CN111182332B (en) Video processing method, device, server and storage medium
CN105814565A (en) Web page rendering on wireless devices
CN108600780A (en) Method for pushed information
CN115004180A (en) Information pushing method and device, electronic equipment and storage medium
CN112988021B (en) Display method, display device, electronic equipment and computer-readable storage medium
CN111177548B (en) Information recommendation method and device, electronic equipment and storage medium
CN111182317B (en) Live broadcast information prompting method and device, electronic equipment and storage medium
CN111931708A (en) Form generation method and device
CN116962848A (en) Video generation method, device, terminal, storage medium and product
CN107704536B (en) Software content display method and system
CN115311046A (en) Commodity information flow display method and electronic equipment
CN113051235A (en) Document loading method and device, terminal and storage medium
CN113821484A (en) File processing method and device, electronic equipment and readable storage medium
CN107765956B (en) User interface editing method, device, terminal and computer readable storage medium
CN110223367B (en) Animation display method, device, terminal and storage medium
CN108898081B (en) Picture processing method and device, mobile terminal and computer readable storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210119

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511400 24th floor, building B-1, North District, Wanda Commercial Plaza, Wanbo business district, No.79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou, Guangdong Province

Applicant before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200519

Assignee: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000054

Denomination of invention: Information recommendation method, device, electronic equipment and storage medium

License type: Common License

Record date: 20210208

GR01 Patent grant
GR01 Patent grant