[go: up one dir, main page]

CN111177548A - 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
CN111177548A
CN111177548A CN201911349733.5A CN201911349733A CN111177548A CN 111177548 A CN111177548 A CN 111177548A CN 201911349733 A CN201911349733 A CN 201911349733A CN 111177548 A CN111177548 A CN 111177548A
Authority
CN
China
Prior art keywords
information
display
displayed
recommendation
display interface
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.)
Granted
Application number
CN201911349733.5A
Other languages
Chinese (zh)
Other versions
CN111177548B (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 Huaduo Network 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 Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network 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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an information recommendation method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring the display attribute of the current information display interface; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The method comprises the steps of obtaining the display attribute of the current information display interface, determining the recommendation algorithm to be called according to the display attribute when information recommendation is carried out, wherein different display attribute information display interfaces call different recommendation algorithms to carry out information recommendation, so that the recommendation diversification can be realized by combining different recommendation modes, various information obtaining 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 internet, and in particular, to an information recommendation method and 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, videos, pictures, news information and the like, and people can actively acquire the information through the internet, specifically, an application program can be installed on electronic equipment, and information of different types can be acquired in different application programs.
In addition to the way of acquiring information by people, the application program can recommend information before actively acquiring corresponding information by using the application program, so that people can conveniently acquire various information.
Disclosure of Invention
The application provides an information recommendation method, an information recommendation device, an electronic device and a storage medium, which are used for solving the problems.
In a first aspect, an embodiment of the present application provides an information recommendation method, where the method includes: acquiring the display attribute of the current information display interface; calling a recommendation algorithm matched with the display attribute to obtain 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 recommendation module is used for calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and the output module is used for outputting the target information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes 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 methods as applied to the electronic device.
In a fourth aspect, the present application provides a computer-readable storage medium having a program code stored therein, wherein the program code performs the above method when running.
The information recommendation method, the information recommendation 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; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The method comprises the steps of obtaining the display attribute of the current information display interface, determining the recommendation algorithm to be called according to the display attribute when information recommendation is carried out, wherein different display attribute information display interfaces call different recommendation algorithms to carry out information recommendation, so that the recommendation diversification can be realized by combining different recommendation modes, various information obtaining 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 in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows an application environment diagram suitable for the information recommendation method provided in the 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 a part of the steps of the information recommendation method provided on the basis of the embodiment provided in fig. 3.
Fig. 5 is a flowchart illustrating 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 illustrates a display interface diagram 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 for an immersive layout.
Fig. 10 is a functional block diagram of an information recommendation apparatus according to an embodiment of the present application.
Fig. 11 shows a block diagram of an electronic device for executing an information recommendation method according to an embodiment of the present application.
Fig. 12 illustrates a storage medium provided in an embodiment of the present application and used 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 make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
With the popularization of the internet, the way of acquiring information is changed from traditional reading to reading and newspaper reading to acquiring various information by using the internet. When information is obtained through the internet, people are generally required to install different application programs on electronic equipment, wherein the different application programs correspond to different types of information. For example, a video application may be acquiring video information, a live application may be acquiring live video, a news application may be acquiring news information, and a 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 recommend information so as to meet the requirements of people on information acquisition. For example, in a live application program, live videos of different anchor broadcasts can be seen, the application program can directly recommend a part of the live videos to be displayed to a user, the situation that the user obtains the live videos through searching is reduced, and the user can obtain the live videos more conveniently.
The inventor finds that most application programs directly display an interface for information recommendation after being started so as to be convenient for a user to browse. However, there may be multiple forms of information display interfaces in the application programs, and when information recommendation is performed, information recommendation is usually performed in a recommendation manner. When the information recommendation system has various display interface forms, the recommendation information obtained by adopting one recommendation mode is not good enough in effect, and different information acquisition requirements of users are difficult to adapt.
Therefore, the inventor provides the information recommendation method provided by the embodiment of the application, and obtains the display attribute of the current information display interface; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The method comprises the steps of obtaining the display attribute of the current information display interface, determining the recommendation algorithm to be called according to the display attribute when information recommendation is carried out, wherein different display attribute information display interfaces call different recommendation algorithms to carry out information recommendation, so that the recommendation diversification can be realized by combining different recommendation modes, various information obtaining requirements of users are met, and the use experience of the users is improved.
Referring to fig. 1, an application environment 10 of the information recommendation method provided in the embodiment of the present application is shown, where the application environment 10 includes: terminal device 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 an application program. 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, and uses wireless links for data transmission.
The terminal device 11 and the server 12 are connected through a network 13 to realize information recommendation.
In some embodiments, when making a recommendation, the server 12 may obtain the display attribute of the current information display interface; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The server 12 may send the target information to the terminal device 11 through the network 13 for display.
In some embodiments, when performing recommendation, the terminal device 11 may obtain a display attribute of a current information display interface, and call a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and finally, outputting the target information for display. When the terminal device calls the 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 the target information from the information through the recommendation algorithm based on the information sent by the server 12.
In some embodiments, when information recommendation is performed, the terminal device 11 may further obtain a display attribute of a current information display interface, and send the display attribute to the server 12 through the network 13, and the server 12 calls 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 sent to the terminal device 11 through the network 13 for display. As shown in fig. 1, different interfaces 14 and 16 for information display are shown, wherein in display interface 14, the target information may be displayed at the location shown at 15, and in display interface 16, the 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 application environment. The following will describe a specific flow of the present embodiment by taking an electronic device as an example. The electronic device applied in this embodiment may be a server or a terminal device, and is not limited specifically herein. The method comprises the following steps:
step S110, acquiring the display attribute of the current information display interface.
Various application programs can be installed on the terminal equipment, the application programs are utilized to display information, and different display attributes can be provided when the information is displayed, wherein the page layouts of display interfaces displayed by the different display attributes are different. There may be multiple different display interfaces in the same application, and then different display interfaces may have different display properties. In order to realize 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.
As an implementation manner, when the display attribute of the current information display interface is acquired, the display attribute of the current information display interface may be determined according to the configuration information of the current display interface. As another implementation, the page layout of the current information display interface may be obtained, and the display attribute of the current information display interface may be determined 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, calling a recommendation algorithm matched with the display attribute according to the display attribute to obtain 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 corresponding relationship between a display attribute and a recommendation algorithm, so that when the display attribute of the current information display interface is obtained, the recommendation algorithm corresponding to the display attribute of the current information display interface may be obtained by querying the algorithm comparison table, and the target information to be displayed is obtained by using the recommendation algorithm found in the algorithm comparison table.
When information recommendation is performed, 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 divided into a first recommendation algorithm and a second recommendation algorithm, the first recommendation algorithm may select target information from information different from the last recommended information, and the second recommendation algorithm may select target information from information that is recovered and information different from the last recommended information after the information that is recommended but not displayed is recovered. In addition, the second recommendation algorithm can also select target information according to the behavior habit of the user for browsing information.
When the target information is acquired by using the recommendation algorithm, the number of the acquired target information may be preset or may be determined according to the number of the information to be displayed on the information display interface. Specifically, the number of the acquired target information may be selected according to actual needs, and is not specifically limited herein.
In some embodiments, the number of the acquired target information may be determined according to the number of the information required to be displayed by the information display interface. For example, the number of information to be displayed in one information display interface is one, and the number of acquired target information may be 1; the number of information to be displayed in another 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. Then, when the first recommendation algorithm is invoked to obtain the target information, the number of the obtained target information is 10, and when the second recommendation algorithm is invoked to obtain the target information, the number of the obtained target information is 5.
When the recommendation algorithm is called to obtain the target information to be displayed, the called process may be to generate a corresponding information request instruction after determining the recommendation algorithm and the number of the obtained target information, where the information request instruction may include the recommendation algorithm information to be called, and the number of the obtained target information, and the like, to trigger calling of the corresponding recommendation algorithm to obtain the target information to be displayed.
And step S130, outputting the target information.
And when a recommendation algorithm matched with the display attribute corresponding to the display attribute of the current display interface is called to obtain target information, the target information can be output to be displayed for a 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 a user to browse; 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, or text information.
Specifically, when the target information is output to be displayed, the target information may be displayed in a form of being matched with a current information display interface, for example, only one piece of target information may be displayed on the current information display interface, and when the user slides down, the next piece of target information is displayed, so that the acquired pieces of 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 plurality of target information can be adaptively displayed.
The information recommendation method provided by the application acquires the display attribute of the current information display interface; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The method comprises the steps of obtaining the display attribute of the current information display interface, determining the recommendation algorithm to be called according to the display attribute when information recommendation is carried out, wherein different display attribute information display interfaces call different recommendation algorithms to carry out information recommendation, so that the recommendation diversification can be realized by combining different recommendation modes, various information obtaining 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, which focuses on the process of obtaining the display attribute of the current information display interface on the basis of the previous embodiment. Specifically, the method may include:
step S210, obtaining a 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 different page layouts are different. For example, in a waterfall-like layout, a number of different pieces of information may be displayed, and in an immersive layout, only one piece of information is displayed per display interface. When the page layout of the display interface of the current information is obtained, the page layout parameters of the display interface of the current information may be obtained. Specifically, the page layout may be obtained by extracting corresponding page layout parameters 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 user settings, and when the page layout of the current information display interface is obtained, setting information of the user may be obtained to determine the page layout of the current information display interface. For example, two ways of page layout are provided for user selection, waterfall flow layout and 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.
And 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:
and step S221, determining the display quantity of the target information required 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 streaming layout, a plurality of pieces of information may be generally displayed, and then the maximum number of pieces of information that can be displayed on the current information display interface may be obtained according to parameters of the page layout, and the maximum number of pieces of information that can be displayed is used as the number of pieces of target information that needs to be displayed on the current information display interface.
Step S222, judging whether the display quantity of the target information to be displayed is greater than a preset quantity; if yes, go to step S223; if not, go to step S224.
The preset number of the current information display interfaces is preset, and after the display number of the target information to be displayed in the current information display interfaces is determined according to the page layout, the size relationship between the display number and the preset number can be compared. Wherein the preset number may be for distinguishing different display attributes. When the display quantity of the target information to be displayed is greater than the preset quantity, indicating that more target information needs to be displayed on the current information display interface, executing step S223; if the display quantity of the target information to be displayed is less than or equal to the preset quantity, which indicates that the target information to be displayed on the current information display interface is less, step S224 may be executed.
Step S223, determining that the current information display interface has the first attribute.
When the display quantity of the target information to be displayed is compared 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 need to display more target information, and the fact that the current information display interface has the first attribute can be determined, namely when the information display interface has the first attribute, more target information needs to be displayed.
Step S224, determining that the current information display interface has the second attribute.
When the display quantity of the target information to be displayed is compared with 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 need to display less target information, and the fact that the current information display interface has the second attribute can be determined, namely when the information display interface has the second attribute, less target information needs to be displayed.
Alternatively, step S223 and step S224 are performed, that is, when it is determined that the current information display interface has the first attribute, step S224 is not performed, and when it is determined that the current information display interface has the second attribute, step S223 is not performed.
And step S230, calling a recommendation algorithm matched with the display attribute to acquire target information to be displayed.
After the display attribute of the current information display interface is determined, a matched recommendation algorithm can be determined according to the display attribute. And after the recommendation algorithm is determined, acquiring target information to be displayed by using the determined recommendation algorithm.
Specifically, an algorithm comparison table is stored in advance, the algorithm comparison table comprises a corresponding relation between a display attribute and a recommended algorithm, when the display attribute of the current information display interface is obtained, the recommended algorithm corresponding to the display attribute of the current information display interface can be obtained by inquiring the algorithm comparison table, and the target information to be displayed is obtained by using the recommended algorithm searched 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 a first attribute and a second attribute, and the recommendation algorithm may include a first recommendation algorithm and a second recommendation algorithm. 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 the 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; and if the display attribute of the current information display interface is determined to be the second attribute, inquiring the algorithm comparison table to obtain that the recommendation algorithm corresponding to the second attribute is the second recommendation algorithm, and obtaining the target information to be displayed by using the second recommendation algorithm.
Therefore, after the display attribute of the current information display interface is obtained, the recommendation algorithm matched with the display attribute can be called to obtain the target information to be displayed.
And step S240, outputting the target information.
Step S240 may refer to corresponding parts of the foregoing embodiments, which are not described herein.
The information recommendation method obtains the page layout of the current information display interface, and determines the display attribute of the current information display interface according to the page layout; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The display attribute is determined by obtaining the page layout of the current information display interface, and the recommendation algorithm to be called is determined according to the display attribute when information recommendation is carried out, wherein different display attribute information display interfaces call different recommendation algorithms to carry out information recommendation, so that the recommendation diversification can be realized by combining different recommendation modes, the various information acquisition requirements of users are met, and the use experience of the users is improved.
Referring to fig. 5, another embodiment of the present application provides an information recommendation method, and this embodiment focuses on describing a process of obtaining target information to be displayed by invoking a recommendation algorithm matched with the display attribute on the basis of the foregoing embodiment. As shown in fig. 5, the method may include:
step S310, acquiring the display attribute of the current display interface.
Step S310 may refer to the corresponding description of the foregoing embodiments, and is not repeated herein.
Step S320, when the information display interface has the first attribute, calling a first recommendation algorithm to obtain target information to be displayed, wherein the first recommendation algorithm selects the target information from the non-recommended information.
When the information display interface is determined to have the first attribute, the fact that the current information display interface needs to display more target information is indicated, and a first recommendation algorithm can be called to obtain the target information to be displayed. The first recommendation algorithm may be to select target information from the unrenominated information. Specifically, referring to fig. 6, obtaining target information to be displayed through a first recommendation algorithm may include the following steps:
in step S321, information different from the last recommended information is obtained and stored in the first information base.
When information recommendation is performed, the current information display interface already displays information, and when a user performs sliding or pull-down operation on the current information display interface to refresh the information displayed on the current information display interface, the obtained 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 the user, the information different from the last recommended information can be acquired and stored in the first information base, namely, the 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 videos except for video a, video B, video C, and video D.
As an implementation manner, last recommended information may be obtained first, and then information different from the last recommended information is obtained according to the last recommended information and stored in the first information base, so that the information in the first information base is information different from the last recommended information.
As another embodiment, the first information base may store all information, obtain last recommended information, search for the same information as the last recommended information from the first information base, and delete the same information from the first information base, so that the information in the first information base is different from the last recommended information.
Step S322, acquiring the display quantity of the target information required to be displayed on the current information display interface.
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 that needs to be displayed in the current information display interface is determined according to the page layout, which specifically refers to the corresponding description in the foregoing embodiment and is not described herein again.
Step S323, selecting the display quantity 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 acquired, the display quantity information can be selected from the first information base as the target information according to the recommendation rule of the first recommendation algorithm.
When the page layout of the current information display interface is a waterfall flow type layout, the first recommendation algorithm can be called to obtain the target information to be displayed when the current information display situation has the first attribute, namely more target information needs to be displayed. Referring specifically to fig. 7, a display interface diagram of a waterfall flow type layout is shown. A plurality of target information may be displayed in the waterfall flow type layout 20, the display position of the target information may be the position shown at 21, and the information displayed at 21 may be continuously updated as the user performs a refresh operation, such as sliding down.
Step S330, when the information display interface has a second attribute, a second recommendation algorithm is called to obtain target information to be displayed, and the second recommendation algorithm selects the target information from the non-recommended information and the recommended but non-displayed information.
When the information display interface is determined to have the second attribute, the fact that the current information display interface needs to display less target information is indicated, and a second recommendation algorithm can be called to obtain the target information to be displayed. The second recommendation algorithm may be to select target information from the unrenominated information. Specifically, referring to fig. 8, obtaining target information to be displayed through the second recommendation algorithm may include the following steps:
in step S331, information that has been recommended last time but is not displayed and information that is different from the information recommended last time are acquired and stored in the second information base.
When information recommendation is performed, the current information display interface already displays information, and when a user performs sliding or pull-down operation on the current information display interface to refresh the information displayed on the current information display interface, the obtained target information can be displayed. The information displayed in the current information display interface can be understood as the target information acquired by calling the second recommendation algorithm last time, namely the last recommendation information. When the information displayed on the current information display interface is refreshed along with the operation of the user, the information different from the last recommended information can be acquired and stored in the second information base, namely, the information 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 is, less target information needs to be displayed, the current page layout may be an immersive layout, and referring to fig. 9 in particular, a schematic diagram of the display interface of the immersive layout is shown. In fig. 9, only one piece of information may be displayed at the position shown at 31 in the immersive layout 30. Therefore, the information displayed on the current information display interface calling the second recommendation algorithm last time is not all the content of the target information recommended last time, and a part of the target information is not displayed, so that the information recommended last time but not displayed can be recycled 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 a refresh operation, 4 pieces of target information which are not displayed can be acquired and stored in the second information base.
As an implementation manner, the last recommended information may be obtained, then the recommended information already displayed in the last recommended information is determined, and information different from the already displayed recommended information is obtained and stored in the second information base, so that the information in the second information base is information different from the last recommended information and information which has been recommended last time but is not displayed last time.
As another embodiment, the second information base may store all information, obtain information already displayed in the last recommended information, search for information that is the same as information already displayed in the last recommendation from the first information base, and delete the information from the second information base, so that the information in the second information base is information that is different from the last recommended information and information that has been recommended last time but is not displayed.
Step S332, acquiring the display quantity of the target information required to be displayed on the current information display interface.
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 that needs to be displayed in the current information display interface is determined according to the page layout, which specifically refers to the corresponding description in the foregoing embodiment and is not described herein again.
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 acquired, the display quantity information can be selected from the second information base as the target information according to the recommendation rule of a second recommendation algorithm.
If the quantity of the target information acquired by the second recommendation algorithm is a preset quantity and is different from the display quantity of the target information required to be displayed on the current information display interface, the recommended target information is not displayed, and the recommended target information which is not displayed is acquired and stored in the second information base, so that the recommended information which is not displayed can be recycled, and the waste of information is avoided. And if the quantity of the target information acquired by adopting the second recommendation algorithm is the same as the display quantity of the target information required to be displayed on the current information display interface, no recommended target information which is not displayed exists, and the recommended target information which is not displayed is not acquired and stored in the second information base.
In addition, in the second recommendation algorithm, a satisfaction index of the user to 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 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 watching behavior of the user. For example, when browsing the last recommended information, the user may like the information, and the like behavior of the user may correspond to a satisfactory value. Or the time length for the user to watch the information is obtained, and when the watching time length is longer than the preset time length, a satisfactory value can be corresponded. The sum of all the satisfaction values is the satisfaction index of the user to the last recommended information. When the satisfaction index is larger than or equal to a preset index, the user likes the last recommended information, and 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, the user does not like the last recommended information, information with the type different from that of the last recommended information is recommended to the user, namely, the information with the type different from that of the last recommended information is selected from the second information base to serve as the target information.
For example, if the last recommended information is a live video of a singing category, and the satisfaction index of the user on the live video is greater than the preset index, the live videos of the same type, such as the live video of the singing category, can be selected from the second information base as the target information. Therefore, information recommendation more in accordance with the user can be realized according to the information browsing behavior of the user.
And step S340, outputting the target information.
Step S340 may refer to corresponding parts of the foregoing embodiments, and will not be described herein.
The information recommendation method provided by the application acquires the display attribute of the current information display interface; when the information display interface has a first attribute, calling a first recommendation algorithm to obtain target information to be displayed; when the information display interface has a second attribute, calling a second recommendation algorithm to obtain target information to be displayed; and then the target information is output. 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 immersive layout, and real-time recommendation can be performed according to the behavior of the user browsing information and adapting to the preference of the user. Therefore, the recommendation method and the system can be integrated with different recommendation modes to realize the recommendation diversification, meet the various information acquisition requirements of users, and improve the use experience of the users.
Referring to fig. 10, an information recommendation apparatus 500 according to an embodiment of the present application is shown, where the information recommendation apparatus 400 includes an obtaining module 410, a recommending module 420, and an outputting module 430. The obtaining module 410 is configured to obtain a display attribute of a current information display interface; the recommending module 420 is configured to call a recommending algorithm matched with 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 greater 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, the recommending module 420 is further configured to, when the information display interface has a first attribute, invoke a first recommending algorithm to obtain target information to be displayed, where the first recommending algorithm selects the target information from the non-recommended information; and when the information display interface has a second attribute, calling a second recommendation algorithm to acquire target information to be displayed, wherein the second recommendation algorithm selects the target information from the non-recommended information and the recommended but non-displayed information.
Further, the recommending 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 information with the display quantity from the first information base as the target information.
Further, the recommending module 420 is further configured to obtain information that has been recommended last time but is not displayed, and store information that 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 information with the display quantity from the second information base as the target information.
Further, the recommending module 420 is further configured to obtain a satisfaction index of the user on 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 recommended last time from the second information base as the target information.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In summary, the information recommendation method provided by the application obtains the display attribute of the current information display interface; calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed; and outputting the target information. The method comprises the steps of obtaining the display attribute of the current information display interface, determining the recommendation algorithm to be called according to the display attribute when information recommendation is carried out, wherein different display attribute information display interfaces call different recommendation algorithms to carry out information recommendation, so that the recommendation diversification can be realized by combining different recommendation modes, various information obtaining requirements of users are met, and the use experience of the users is improved.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
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, such as a smart phone, a tablet computer, an electronic book, or may be a server. The electronic device 500 in the present application may include one or more of the following components: a processor 510, a memory 520, and one or more applications, wherein the one or more applications may be stored in the memory 520 and configured to be executed by the one or more processors 510, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 510 may include one or more processing cores. The processor 510 interfaces with various components throughout the electronic device 500 using various interfaces and circuitry to 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 using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 510 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 510, but may be implemented by a communication chip.
The Memory 520 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The 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 various method embodiments described below, and the like. The data storage area may also store data created during use by the electronic device 500 (e.g., phone books, audio-visual data, chat log data), and so forth.
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 called by a processor to execute the method described in the above-described method embodiments.
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. Alternatively, the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 610 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. An information recommendation method, characterized in that the method comprises:
acquiring the display attribute of the current information display interface;
calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed;
and outputting the target information.
2. The method according to claim 1, wherein the obtaining of the display property of the current information display interface comprises:
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.
3. The method of claim 2, wherein determining display attributes of a current information display interface based on the page layout comprises:
determining the display quantity of target information to be displayed in the current information display interface according to the page layout;
judging whether the display quantity of the target information to be displayed is greater 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 according to any one of claims 1 to 3, wherein the calling of the recommendation algorithm matched with the display attribute to obtain the target information to be displayed comprises:
when the information display interface has a first attribute, calling a first recommendation algorithm to obtain target information to be displayed, wherein the first recommendation algorithm selects the target information from the non-recommended information;
and when the information display interface has a second attribute, calling a second recommendation algorithm to acquire target information to be displayed, wherein the second recommendation algorithm selects the target information from the non-recommended information and the recommended but non-displayed information.
5. The method of claim 4, wherein when the information display interface has the first attribute, calling a first recommendation algorithm to obtain target information to be displayed comprises:
acquiring information different from the last recommended information and storing the information in a first information base;
acquiring the display quantity of target information required to be displayed on a current information display interface;
and selecting the information with the display quantity from the first information base as the target information.
6. The method according to claim 4, wherein when the information display interface has the second attribute, invoking a second recommendation algorithm to obtain target information to be displayed comprises:
obtaining information which is recommended last time but not displayed and information different from the information recommended last time and storing the information 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 information with the display quantity from the second information base as the target information.
7. The method according to claim 6, wherein the selecting the display quantity information from the second information base as the target information further comprises:
obtaining a satisfaction index of a user to 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 recommended last time from the second information base as the target information.
8. An information recommendation apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring the display attribute of the current information display interface;
the recommendation module is used for calling a recommendation algorithm matched with the display attribute to obtain target information to be displayed;
and the output module is used for outputting the target information.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory electrically connected with 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-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
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 true CN111177548A (en) 2020-05-19
CN111177548B 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030105682A1 (en) * 1998-09-18 2003-06-05 Dicker Russell A. User interface and methods for recommending items to users
US20090006398A1 (en) * 2007-06-29 2009-01-01 Shing Yan Lam Recommendation system with multiple integrated recommenders
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030105682A1 (en) * 1998-09-18 2003-06-05 Dicker Russell A. User interface and methods for recommending items to users
US20090006398A1 (en) * 2007-06-29 2009-01-01 Shing Yan Lam Recommendation system with multiple integrated recommenders
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
CN111177548B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN113366524B (en) Information recommendation method, device, electronic device and storage medium
CN113330475B (en) Information recommendation method, device, electronic equipment and storage medium
CN109388367B (en) Sound effect adjustment method, device, electronic device and storage medium
CN108090208A (en) Fused data processing method and processing device
CN110071938B (en) Virtual image interaction method and device, electronic equipment and readable storage medium
CN104980773B (en) streaming media processing method and device, terminal and server
CN114938458B (en) Object information display method and device, electronic equipment and storage medium
CN115271891B (en) Product recommendation method based on interactive novel and related device
CN110007829B (en) Content display method, device, terminal and storage medium
CN112016023B (en) Service processing method, device, terminal and storage medium
WO2015062388A1 (en) Picture loading method and device and video playback method and device
CN111079529B (en) Information prompting method and device, electronic equipment and storage medium
CN110609965A (en) Page display method and device and storage medium
CN103076955B (en) Method, device and terminal for adjusting characters of application
CN112487223A (en) Image processing method and device and electronic equipment
US20120054598A1 (en) Method and system for viewing web page and computer Program product thereof
CN115004180B (en) Information pushing method and device, electronic equipment and storage medium
CN113051235A (en) Document loading method and device, terminal and storage medium
CN105094574A (en) Method and device for updating configuration of navigation menu
CN107563851A (en) Application recommended method, device, terminal and storage medium
CN111182332B (en) Video processing method, device, server and storage medium
CN111931708A (en) Form generation method and device
CN112988021B (en) Display method, display device, electronic equipment and computer-readable storage medium
CN110929196A (en) Display method and device of mobile terminal Web page
CN111177548B (en) Information recommendation method and device, electronic equipment and 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

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.

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

EE01 Entry into force of recordation of patent licensing contract
GR01 Patent grant
GR01 Patent grant