CN113139123B - Resource recommendation method, device, server side and storage medium - Google Patents

Resource recommendation method, device, server side and storage medium Download PDF

Info

Publication number
CN113139123B
CN113139123B CN202110401132.5A CN202110401132A CN113139123B CN 113139123 B CN113139123 B CN 113139123B CN 202110401132 A CN202110401132 A CN 202110401132A CN 113139123 B CN113139123 B CN 113139123B
Authority
CN
China
Prior art keywords
resource
resource identifiers
client
multimedia
recommended
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
CN202110401132.5A
Other languages
Chinese (zh)
Other versions
CN113139123A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110401132.5A priority Critical patent/CN113139123B/en
Publication of CN113139123A publication Critical patent/CN113139123A/en
Application granted granted Critical
Publication of CN113139123B publication Critical patent/CN113139123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure provides a resource recommendation method, a device, a server and a storage medium, and relates to the technical field of terminals, wherein the method comprises the following steps: when an access request of a client is received, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client; according to the first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises the multimedia resources indicated by the multiple resource identifiers. The method can realize that when a user wants to browse the multimedia resource, the user only needs to call the recommended service once, and the pressure of the recommended service can be reduced.

Description

Resource recommendation method, device, server side and storage medium
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a resource recommendation method, a device, a server side and a storage medium.
Background
With the continuous development of terminal technology and mobile internet technology, various Applications (APP) appear continuously like spring bamboo shoots after raining, and users can install different types of APP, such as video APP, social APP, and the like, on terminal devices according to their own needs.
Currently, an entry cover can be displayed on a recommendation page of the APP, and a user can access the detail page by clicking the entry cover to browse corresponding multimedia resources, such as audio, video, and the like. In the related art, a recommendation service needs to be called multiple times to obtain corresponding multimedia resources.
In this way, the recommended service needs to be called for multiple times, which aggravates the pressure of the recommended service. In addition, the performance of the recommended service is limited, the recommended service is called for many times, the condition of slow page response speed can be caused, and the use experience of a user is reduced.
Disclosure of Invention
The disclosure provides a resource recommendation method, a device, a server and a storage medium, which at least solve the problems that in the related art, the recommendation service is called for a plurality of times, so that the pressure of the recommendation service is increased, the page response speed is possibly slow, and the use experience of a user is reduced.
The technical scheme of the present disclosure is as follows:
According to a first aspect of an embodiment of the present disclosure, there is provided a resource recommendation method, including:
When an access request of a client is received, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
According to a first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier;
And responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored plurality of resource identifiers, wherein the information stream comprises the multimedia resources indicated by the plurality of resource identifiers.
As a first possible scenario of an embodiment of the present disclosure, the cover map displayed in the recommendation page corresponds to the plurality of resource identifiers, and the sending, according to the stored plurality of resource identifiers, an information stream to the client includes:
reading a plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the plurality of resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
As a second possible scenario of the embodiment of the present disclosure, after the obtaining and storing the plurality of resource identifiers recommended by the recommended service, the method further includes:
And deleting the stored plurality of resource identifiers in response to the stored duration reaching a first set duration threshold.
As a third possible scenario of the embodiments of the present disclosure, after the obtaining the plurality of resource identifiers recommended by the recommended service, the method further includes:
and according to the plurality of resource identifiers, acquiring and storing the storage addresses of the multimedia resources indicated by the plurality of resource identifiers.
As a fourth possible scenario of the embodiments of the present disclosure, the cover map displayed in the recommendation page corresponds to a storage address of the multimedia resource indicated by the plurality of resource identifiers, and the sending, according to the stored plurality of resource identifiers, an information stream to the client includes:
Reading storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the resource identifiers according to the storage addresses of the multimedia resources indicated by the resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
As a fifth possible scenario of the embodiments of the present disclosure, after the obtaining and storing the storage addresses of the multimedia resources indicated by the plurality of resource identifiers, the method further includes:
And deleting the stored storage addresses of the multimedia resources indicated by the plurality of resource identifiers in response to the storage duration reaching a second set duration threshold.
According to the resource recommendation method, when a server receives an access request of a client, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client; according to the first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises the multimedia resources indicated by the multiple resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource recommendation apparatus, including:
the acquisition module is configured to acquire and store a plurality of resource identifiers recommended by the recommended service when an access request of the client is received; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
A first sending module configured to send a cover map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier;
And the second sending module is configured to execute a triggering operation on the cover map, which is monitored by the client, and send an information stream to the client according to the stored plurality of resource identifiers, wherein the information stream comprises multimedia resources indicated by the plurality of resource identifiers.
As a first possible scenario of the embodiments of the present disclosure, the cover map displayed in the recommendation page corresponds to the plurality of resource identifiers, and the second sending module is specifically configured to perform:
reading a plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the plurality of resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
As a second possible scenario of an embodiment of the present disclosure, the apparatus further comprises:
And the first deleting module is configured to execute deleting the stored plurality of resource identifiers in response to the stored duration reaching a first set duration threshold.
As a third possible scenario of an embodiment of the present disclosure, the apparatus further comprises:
and the storage module is configured to acquire and store the storage addresses of the multimedia resources indicated by the plurality of resource identifiers according to the plurality of resource identifiers.
As a fourth possible scenario of the embodiments of the present disclosure, the cover map displayed in the recommendation page corresponds to a storage address of the multimedia resource indicated by the plurality of resource identifiers, and the second sending module is specifically configured to perform:
Reading storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the resource identifiers according to the storage addresses of the multimedia resources indicated by the resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
As a fifth possible scenario of an embodiment of the present disclosure, the apparatus further comprises:
and the second deleting module is configured to execute deleting the stored storage addresses of the multimedia resources indicated by the plurality of stored resource identifiers in response to the storage duration reaching a second set duration threshold.
When the access request of the client is received through the server, the resource recommendation device of the embodiment of the disclosure acquires and stores a plurality of resource identifiers recommended by the recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client; according to the first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises the multimedia resources indicated by the multiple resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
According to a third aspect of embodiments of the present disclosure, there is provided a server, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the resource recommendation method proposed by the embodiment of the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of a server, enables the server to perform a resource recommendation method set forth in an embodiment of the first aspect of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which when executed by a processor of a server side, enables the server side to perform the resource recommendation method set forth in the embodiments of the first aspect of the present disclosure.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a flowchart of a resource recommendation method as shown in accordance with one illustrative embodiment;
FIG. 2 is a flowchart of a resource recommendation method, shown in accordance with a second exemplary embodiment;
FIG. 3 is a flowchart of a resource recommendation method according to a third exemplary embodiment;
FIG. 4 is a flowchart of a resource recommendation method according to a fourth exemplary embodiment;
FIG. 5 is a block diagram of a resource recommendation device according to a fifth exemplary embodiment;
FIG. 6 is a block diagram of a resource recommendation device according to a sixth exemplary embodiment;
fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the related art, an entry cover of a recommended page is obtained by calling a recommendation service, a resource ID corresponding to the entry cover is obtained according to the resource ID, the entry cover is displayed, and after a user clicks the entry cover, the resource ID corresponding to a multimedia resource to be displayed is obtained by calling the recommendation service again, so that the corresponding multimedia resource can be obtained according to the resource ID.
In this way, when the user wants to browse the multimedia resource, the user needs to call the recommended service multiple times, which aggravates the pressure of the recommended service. In addition, the performance of the recommended service is limited, the recommended service is called for many times, the condition of slow page response speed can be caused, and the use experience of a user is reduced.
Therefore, the resource recommendation method is mainly provided for the problems that in the related technology, the recommendation service is called for multiple times, the pressure of the recommendation service is increased, the page response speed is possibly slow, and the use experience of a user is reduced.
According to the resource recommendation method, when a server receives an access request of a client, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client; according to the first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises the multimedia resources indicated by the multiple resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
FIG. 1 is a flowchart of a resource recommendation method as shown in accordance with one illustrative embodiment.
The resource recommendation method of the embodiment of the disclosure can be applied to the server so that the server can execute the resource recommendation function.
As shown in fig. 1, the resource recommendation method may include steps S101 to S103.
In step S101, when an access request of a client is received, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
The client side is a program corresponding to the server side and providing local service for the user, and the multimedia resources can be audio, video and other resources.
In the embodiment of the disclosure, a user may open an application (such as a short video application) according to own requirements, enter a recommendation page, when a client monitors access operation of the user to an entry of the recommendation page, an access request may be sent to a server, and correspondingly, after receiving the access request of the client, the server may acquire and store a plurality of resource identifiers recommended by a recommendation service, i.e., the server may call the recommendation service to obtain and store a plurality of resource identifiers returned by the recommendation service.
The recommended page may be a recommended page of the application, or may also be a first page, a preset function page, etc., and the preset function page may be, for example, a city page, a focus page, etc.
In the embodiment of the disclosure, the recommendation service is used for executing a recommendation algorithm and returning a plurality of resource identifiers. The resource identifier is used for uniquely identifying the corresponding multimedia resource, and the resource identifier may be, for example, a resource ID corresponding to the multimedia resource.
In one possible implementation manner of the embodiment of the present disclosure, the recommendation algorithm may be an algorithm for screening out multimedia resources of interest to the user according to user preferences, and the recommendation service executes the recommendation algorithm to screen out multimedia resources of interest to the user, so as to obtain a resource identifier corresponding to the multimedia resources of interest to the user.
In another possible implementation manner of the embodiment of the present disclosure, the recommendation algorithm may be an algorithm for screening multimedia resources shared or uploaded by other users closer to the user according to the geographic location information of the user, and the recommendation service executes the recommendation algorithm and may screen multimedia resources shared or uploaded by other users closer to the user, so as to obtain a resource identifier corresponding to the multimedia resources.
For example, when the recommended page is the same city page, the recommendation algorithm may be an algorithm for screening multimedia resources shared or uploaded by other users closer to the user according to the address location information of the user, so that the recommendation service may execute the recommendation algorithm and automatically return the resource ID corresponding to the multimedia resources shared or uploaded by other users closer to the user.
In still another possible implementation manner of the embodiment of the present disclosure, the recommendation algorithm may be an algorithm for screening out multimedia resources that are interested by the user and shared or uploaded by other users that are closer to the user according to the user preference and the user geographical location information, and the recommendation service executes the recommendation algorithm to screen out multimedia resources that are interested by the user and shared or uploaded by other users that are closer to the user, so as to obtain a resource identifier corresponding to the multimedia resources.
In still another possible implementation manner of the embodiment of the present disclosure, the recommendation algorithm may be an algorithm for screening out popular multimedia resources, and the recommendation service executes the recommendation algorithm to screen out popular multimedia resources, so that a resource identifier corresponding to the popular multimedia resources may be obtained. Or the recommendation algorithm can also be an algorithm for screening out high-quality multimedia resources, and the recommendation service executes the recommendation algorithm to screen out the high-quality multimedia resources, so that the resource identification corresponding to the high-quality multimedia resources can be obtained.
It should be noted that the above recommendation algorithm is only an example, and in actual application, the corresponding recommendation algorithm may be set according to a specific application and a recommendation page, which is not limited in this disclosure.
In step S102, according to the first identifier in the plurality of resource identifiers, a cover map displayed in the recommended page is sent to the client, where the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier.
In the embodiment of the disclosure, after obtaining the plurality of resource identifiers recommended by the recommended service, the server may obtain, from the resource server, a cover map corresponding to the first identifier according to the first identifier in the plurality of resource identifiers, where the cover map is a cover of the multimedia resource indicated by the first identifier. For example, when the multimedia resource is audio, the cover chart that can be obtained from the resource server may be album cover corresponding to the audio, and when the multimedia resource is video, the cover chart that can be obtained from the resource server may be video cover.
The resource server may store a correspondence between the resource identifier, the cover, and the multimedia resource.
In a possible implementation manner of the embodiment of the present disclosure, a server may send a cover query request to a resource server, where the cover query request may carry the first identifier, and accordingly, after receiving the cover query request, the resource server may query, according to the first identifier, a cover of a multimedia resource corresponding to the first identifier, and return, to the server, the cover of the multimedia resource corresponding to the first identifier, and accordingly, the server may receive, to the client, the cover of the multimedia resource corresponding to the first identifier, and send, to the client, a cover map displayed in a recommendation page, where the cover map displayed in the recommendation page is the cover of the multimedia resource corresponding to the first identifier obtained.
In step S103, in response to the triggering operation on the cover map monitored by the client, an information stream is sent to the client according to the stored multiple resource identifiers, where the information stream includes the multimedia resources indicated by the multiple resource identifiers.
In the embodiment of the disclosure, after the server side sends the cover map displayed in the recommended page to the client side, the client side may display the cover map on the recommended page. After the client displays the cover map on the recommended page, the user can click on the cover map and enter the information stream display page to browse the multimedia resources displayed on the information stream display page. Correspondingly, if the client monitors the triggering operation of the user on the cover map, the client can acquire the information flow from the server. Specifically, the server may respond to the triggering operation of the cover map monitored by the client, obtain, according to the stored multiple resource identifiers, multimedia resources corresponding to the multiple resource identifiers from the resource server, generate an information stream according to the multimedia resources, and send the information stream to the client, and accordingly, after receiving the information stream, the client may display the information stream on an information stream display page.
As an example, when the client monitors the triggering operation of the user on the cover map, an information flow query request may be sent to the server, and correspondingly, when the server receives the information flow query request, the server may obtain, from the resource server, a multimedia resource corresponding to the plurality of resource identifiers according to the stored plurality of resource identifiers, generate an information flow according to the multimedia resource, and send the information flow to the client.
It should be understood that after the service end invokes the recommended service and stores the plurality of resource identifiers returned by the recommended service, the service end obtains the cover chart according to the first identifier and sends the cover chart to the client end, if the user clicks the cover chart, the service end does not need to invoke the recommended service again to obtain each resource identifier, and the information flow can be directly obtained according to the stored resource identifiers, so that the pressure of the recommended service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
As an application scenario, when the APP is a music APP, the home page of the APP may display different types of music portals, for each type of music portal, a recommendation service may be invoked to obtain a portal cover of a corresponding type, and a user may enter a detail page by clicking the portal cover, which is recorded as an information stream display page in the embodiment of the disclosure, so as to browse audio and video of a corresponding type.
As another scenario, when the APP is a short video APP, an entry cover may be displayed on a recommended page of the APP. When a user accesses the recommendation page, the user can acquire the full amount of resource IDs by calling the recommendation service, store the full amount of resource IDs in a cache, then select the first resource ID from the full amount of resource IDs, acquire an entry cover according to the selected first resource ID, click the entry cover to enter the information stream display page when the user wants to browse the multimedia resources, and browse the multimedia resources displayed on the information stream display page, wherein the multimedia resources displayed on the information stream display page can be directly acquired according to the stored resource IDs. Therefore, after the user clicks the entry cover, the recommendation service does not need to be called again to acquire each resource ID, corresponding multimedia resources can be acquired and displayed directly according to the resource IDs in the cache, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
When the access request of the client is received through the server, the resource recommendation device of the embodiment of the disclosure acquires and stores a plurality of resource identifiers recommended by the recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client; according to the first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises the multimedia resources indicated by the multiple resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
In a possible implementation manner of the embodiment of the present disclosure, a cover map displayed on a recommended page may correspond to a plurality of resource identifiers, and a server may obtain, from a resource server, a multimedia resource corresponding to the plurality of resource identifiers according to the plurality of resource identifiers corresponding to the cover map, and generate an information stream according to the multimedia resource corresponding to the plurality of resource identifiers. The above process will be described in detail with reference to the second embodiment.
Fig. 2 is a flowchart of a resource recommendation method according to a second exemplary embodiment.
As shown in fig. 2, the resource recommendation method may include steps S201 to S206.
In step S201, when an access request of a client is received, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
In step S202, according to the first identifier in the plurality of resource identifiers, a cover map displayed in the recommended page is sent to the client, where the cover map displayed in the recommended page corresponds to the plurality of resource identifiers and is a cover of the multimedia resource indicated by the first identifier.
The execution of steps S201 to S202 may be referred to the execution of steps S101 to S102 in the above embodiment, and will not be described herein.
In step S203, in response to the triggering operation on the cover map monitored by the client, a plurality of resource identifiers corresponding to the cover map are read.
In the embodiment of the disclosure, the cover map is a cover of a multimedia resource indicated by a first identifier in a plurality of resource identifiers stored by a server, and the cover map corresponds to the plurality of resource identifiers.
In the embodiment of the disclosure, the server may read a plurality of resource identifiers corresponding to the cover map in response to a triggering operation on the cover map, which is monitored by the client.
In step S204, a plurality of multimedia resources indicated by the resource identification are acquired.
In the embodiment of the present disclosure, the server may obtain, from the resource server, the multimedia resources indicated by the plurality of resource identifiers according to the plurality of resource identifiers.
The resource server stores the corresponding relation among the resource identifiers, the cover map and the multimedia resources.
In one possible implementation manner of the embodiment of the present disclosure, a server may send a multimedia resource query request to a resource server, where the multimedia resource query request may carry a plurality of resource identifiers, and accordingly, after receiving the multimedia resource query request, the resource server may query, according to the plurality of resource identifiers, a multimedia resource corresponding to the plurality of resource identifiers, and return, to the server, a multimedia resource corresponding to the plurality of resource identifiers, and accordingly, the server may receive the multimedia resource corresponding to the plurality of resource identifiers returned by the resource server.
In step S205, an information stream is generated according to the multimedia resources indicated by the plurality of resource identifiers, where the multimedia resource indicated by the first identifier in the information stream is the first-presented multimedia resource.
In the embodiment of the disclosure, the server may generate the information stream according to the multimedia resources indicated by the plurality of resource identifiers.
In one possible implementation manner of the embodiment of the present disclosure, the server may combine the multimedia resources indicated by the plurality of resource identifiers to obtain the information flow. For example, the corresponding multimedia resources may be combined or spliced according to the ranking of the resource identifiers to obtain the information stream.
As an example, assuming that the recommendation service returns N resource identifiers, which are respectively 1,2, … and N, to the server, after the multimedia resources (such as short videos) corresponding to the resource identifiers 1,2, … and N are obtained, the short video 1 corresponding to the resource identifier 1, the short video 2 corresponding to the resource identifier 2 and the short video N corresponding to the resource identifier N may be sequentially spliced to obtain an information stream.
It should be understood that, when the user clicks the cover chart, it may indicate that the user is attracted by the cover chart and is interested in the multimedia resource corresponding to the cover chart, so, in order to promote the immersive use experience of the user, the first displayed multimedia resource in the information flow may be the multimedia resource indicated by the first identifier, so that after the client monitors the triggering operation of the user on the cover chart, the client may display the multimedia resource indicated by the first identifier as the first multimedia resource on the information flow display page. Therefore, the first multimedia resource watched by the user is the multimedia resource corresponding to the cover map, and the use experience of the user can be improved.
In step S206, an information stream is transmitted to the client.
In the embodiment of the disclosure, after the server generates the information stream, the server may send the information stream to the client, and correspondingly, after the client receives the information stream, the client may display the information stream by using an information stream display page.
As an example, the client may split the information stream to obtain each multimedia resource, so that each multimedia resource may be sequentially displayed on the information stream display page, and thus, the user may click or switch and browse the corresponding multimedia resource according to the own requirement. For example, the client may display the multimedia resource indicated by the first identifier as the first multimedia resource, and if the user triggers a switching operation on the multimedia resource, the client may display the multimedia resources indicated by the resource identifiers other than the first identifier.
In a possible implementation manner of the embodiment of the present disclosure, in order to avoid occupying excessive resources, the server may set a storage duration of multiple resource identifiers, and after the storage duration of multiple resource identifiers reaches the set duration, delete the stored multiple resource identifiers. Specifically, after the server calls the recommended service to obtain and store a plurality of resource identifiers recommended by the recommended service, the server can determine whether the storage duration of the plurality of resource identifiers reaches a first set duration threshold, if the storage duration does not reach the first set duration threshold, the server continues to time the storage duration of the plurality of resource identifiers, and if the storage duration reaches the first set duration threshold, the server can delete the plurality of stored resource identifiers.
The first set duration threshold is preset, and it should be understood that, in order to avoid occupying more storage resources, the first set duration threshold should not be set larger, for example, the first set duration threshold may be 2 minutes.
In one possible implementation manner of the embodiment of the present disclosure, when the server side stores a plurality of resource identifiers, a time duration of storing the plurality of resource identifiers may be counted by a timer.
In another possible implementation of the disclosed embodiments, a throttle function may be employed to time the storage durations of the plurality of resource identifiers. Specifically, after the server side invokes the recommended service to obtain and store a plurality of resource identifiers recommended by the recommended service, a throttling function may be adopted to time the storage duration of the plurality of resource identifiers.
The basic idea of the throttling function is that the function is throttled by using a timer: by setting a timer, when an event is triggered, setTimout delays the event for a period of time and then executes the event, if a new event is triggered within the delay time interval, the original timer is cleared, a new timer is set by setTimeout, and the new event is executed for a period of time.
According to the resource recommendation method, a plurality of resource identifiers corresponding to the cover map are read through a server; acquiring multimedia resources indicated by a plurality of resource identifiers; generating an information stream according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the first-displayed multimedia resources; and sending the information stream to the client. Therefore, when the user triggers the cover map, the information flow is sent to the client through the server, so that the client can display a plurality of multimedia resources on the information flow display page, the user can select the multimedia resources interested by the user to play according to the self requirement, and the use experience of the user can be improved.
In a possible implementation manner of the embodiment of the present disclosure, a cover map displayed on a recommendation page may correspond to a storage address of a multimedia resource indicated by a plurality of resource identifiers, and a server may obtain, from a resource server, the multimedia resource corresponding to the plurality of resource identifiers according to the storage address of the multimedia resource indicated by the plurality of resource identifiers corresponding to the cover map, and generate an information stream according to the multimedia resource corresponding to the plurality of resource identifiers. The above process will be described in detail with reference to the third embodiment.
Fig. 3 is a flowchart of a resource recommendation method according to a third exemplary embodiment.
As shown in fig. 3, the resource recommendation method may include steps S301 to S307.
In step S301, when an access request of a client is received, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
The execution of step S301 may refer to the execution of step S101 in the above embodiment, and will not be described herein.
In step S302, according to the plurality of resource identifiers, the storage addresses of the multimedia resources indicated by the plurality of resource identifiers are acquired and stored.
In the embodiment of the disclosure, the server may obtain, from the resource server, the storage addresses of the multimedia resources indicated by the plurality of resource identifiers according to the plurality of resource identifiers, and store the storage addresses. For example, when the multimedia asset is a video, each video address may be acquired from the asset server and stored.
The resource server stores the corresponding relation among the resource identifiers, the cover map, the multimedia resources and the storage addresses.
In one possible implementation manner of the embodiment of the present disclosure, a server may send a storage address query request to a resource server, where the storage address query request may carry a plurality of resource identifiers, and accordingly, after receiving the storage address query request, the resource server may query, according to the plurality of resource identifiers, a storage address of a multimedia resource corresponding to the plurality of resource identifiers, and return, to the server, the storage address of the multimedia resource corresponding to the plurality of resource identifiers, and accordingly, the server may receive the storage address of the multimedia resource corresponding to the plurality of resource identifiers returned by the resource server.
In step S303, according to the first identifier of the plurality of resource identifiers, a cover map displayed in the recommended page is sent to the client, where the cover map displayed in the recommended page corresponds to the storage addresses of the multimedia resources indicated by the plurality of resource identifiers, and is the cover of the multimedia resources indicated by the first identifier.
The execution of step S303 may refer to the execution of step S102 in the above embodiment, and will not be described herein.
In step S304, in response to the triggering operation on the cover map monitored by the client, the storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map are read.
In the embodiment of the disclosure, the cover map is a cover of a multimedia resource indicated by a first identifier in a plurality of resource identifiers stored by a server, and the cover map corresponds to a storage address of the multimedia resource indicated by the plurality of resource identifiers.
In the embodiment of the disclosure, the server may read the storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map in response to the triggering operation on the cover map, which is monitored by the client.
In step S305, the multimedia resource indicated by the plurality of resource identifiers is acquired according to the storage address of the multimedia resource indicated by the plurality of resource identifiers.
In the embodiment of the present disclosure, the server may obtain, from the resource server, the multimedia resource indicated by the plurality of resource identifiers according to the storage addresses of the multimedia resource indicated by the plurality of resource identifiers.
The resource server stores the corresponding relation among the resource identifiers, the cover map, the multimedia resources and the storage addresses.
In one possible implementation manner of the embodiment of the present disclosure, a server may send a multimedia resource query request to a resource server, where the multimedia resource query request may carry storage addresses of multimedia resources indicated by a plurality of resource identifiers, and accordingly, after receiving the multimedia resource query request, the resource server may query, according to the storage addresses of the multimedia resources indicated by the plurality of resource identifiers, multimedia resources corresponding to the plurality of resource identifiers, and return, to the server, the multimedia resources corresponding to the plurality of resource identifiers, and accordingly, the server may receive the multimedia resources corresponding to the plurality of resource identifiers returned by the resource server.
In step S306, an information stream is generated according to the multimedia resources indicated by the plurality of resource identifiers, where the multimedia resource indicated by the first identifier in the information stream is the first-presented multimedia resource.
In step S307, the information stream is transmitted to the client.
The execution of steps S306 and S307 may be referred to the execution of steps 205 to 206 in the above embodiment, and will not be described herein.
In a possible implementation manner of the embodiment of the present disclosure, in order to avoid occupying excessive resources, the server may set a storage duration of multiple resource identifiers, and after the storage duration of multiple resource identifiers reaches the set duration, delete the stored multiple resource identifiers. Specifically, after the server calls the recommended service to obtain and store a plurality of resource identifiers recommended by the recommended service, the server can determine whether the storage duration of the plurality of resource identifiers reaches a first set duration threshold, if the storage duration does not reach the first set duration threshold, the server continues to time the storage duration of the plurality of resource identifiers, and if the storage duration reaches the first set duration threshold, the server can delete the plurality of stored resource identifiers.
In one possible implementation manner of the embodiment of the present disclosure, in order to avoid resource occupation of the server, the server may set a storage duration of a storage address of the multimedia resource indicated by the plurality of resource identifiers, and after the storage duration of the storage address of the multimedia resource indicated by the plurality of resource identifiers reaches the set duration, delete the stored storage address of the multimedia resource indicated by the plurality of resource identifiers. Specifically, the server side judges whether the storage duration of the storage addresses of the multimedia resources indicated by the plurality of resource identifiers reaches a second set duration threshold, if the storage duration does not reach the second set duration threshold, the server side continues to time the storage duration of the storage addresses of the multimedia resources indicated by the plurality of resource identifiers, and if the storage duration reaches the second set duration threshold, the stored storage addresses of the multimedia resources indicated by the plurality of resource identifiers can be deleted.
The second set duration threshold is preset, and it should be understood that, in order to avoid occupying more storage resources, the second set duration threshold should not be set larger, for example, the second set duration threshold may be 2 minutes.
It should be noted that the second set duration threshold may be the same as the first set duration threshold, or the second set duration threshold may be different from the first set duration threshold, which is not limited in this disclosure.
In one possible implementation manner of the embodiment of the present disclosure, when the server side stores the storage addresses of the multimedia resources indicated by the plurality of resource identifiers, the storage duration of the storage addresses of the multimedia resources indicated by the plurality of resource identifiers may be counted by a timer.
In another possible implementation of the embodiment of the disclosure, a throttle function may be used to time the storage duration of the storage addresses of the multimedia assets indicated by the plurality of asset identifications.
According to the resource recommendation method, a server reads storage addresses of multimedia resources indicated by a plurality of resource identifiers corresponding to a cover map; acquiring the multimedia resources indicated by the plurality of resource identifiers according to the storage addresses of the multimedia resources indicated by the plurality of resource identifiers; generating an information stream according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the first-displayed multimedia resources; and sending the information stream to the client. Therefore, when the user triggers the cover map, the information flow is sent to the client through the server, so that the client can display a plurality of multimedia resources on the information flow display page, the user can select the multimedia resources interested by the user to play according to the self requirement, and the use experience of the user can be improved.
Fig. 1 to fig. 3 are embodiments of a method performed by a server, and the disclosure further proposes an embodiment of a method performed by a client.
Fig. 4 is a flowchart of a resource recommendation method according to a fourth exemplary embodiment.
The resource recommendation method of the embodiment of the disclosure can be applied to the client so that the client can execute the resource recommendation function.
As shown in fig. 4, the resource recommendation method may include steps S401 to S403.
Step S401, monitoring access operation to the recommended page entry, and sending an access request to a server.
In the embodiment of the disclosure, a user may open an application (such as a short video application) according to own requirements, enter a recommendation page, and when a client monitors an access operation of the user to an entry of the recommendation page, may send an access request to a server.
Step S402, a cover chart sent by a server side in response to an access request is received, and the cover chart is displayed on a recommended page; the cover map displayed in the recommendation page is a cover of the multimedia resource indicated by the first identifier in a plurality of resource identifiers acquired from the recommendation service when the server receives an access request of the client.
In the embodiment of the disclosure, after receiving the access request of the client, the server may acquire and store a plurality of resource identifiers recommended by the recommended service, that is, the server may call the recommended service to obtain and store a plurality of resource identifiers returned by the recommended service. After the server side obtains the plurality of resource identifiers recommended by the recommended service, a cover map corresponding to the first identifier can be obtained from the resource server according to the first identifier in the plurality of resource identifiers, wherein the cover map is a cover of the multimedia resource indicated by the first identifier. For example, when the multimedia resource is audio, the cover chart that can be obtained from the resource server may be album cover corresponding to the audio, and when the multimedia resource is video, the cover chart that can be obtained from the resource server may be video cover.
The resource server may store a correspondence between the resource identifier, the cover, and the multimedia resource.
In a possible implementation manner of the embodiment of the present disclosure, a server may send a cover query request to a resource server, where the cover query request may carry the first identifier, and accordingly, after receiving the cover query request, the resource server may query, according to the first identifier, a cover of a multimedia resource corresponding to the first identifier, and return, to the server, the cover of the multimedia resource corresponding to the first identifier, and accordingly, the server may receive, to the client, the cover of the multimedia resource corresponding to the first identifier, and send, to the client, a cover map displayed in a recommendation page, where the cover map displayed in the recommendation page is the cover of the multimedia resource corresponding to the first identifier obtained.
In the embodiment of the disclosure, after receiving the cover map sent by the server, the client may display the cover map on the recommended page.
Step S403, the triggering operation of the cover map is monitored, the information flow is obtained from the server, and the information flow is displayed on the information flow display page, wherein the information flow comprises a plurality of multimedia resources indicated by the resource identifiers.
In the embodiment of the disclosure, after the client displays the cover map on the recommended page, the user may click on the cover map and enter the information flow display page to browse the multimedia resources displayed on the information flow display page. Correspondingly, if the client monitors the triggering operation of the user on the cover map, the client can acquire the information flow from the server. Specifically, the server may respond to the triggering operation of the cover map monitored by the client, obtain, from the resource server, the multimedia resources corresponding to the plurality of resource identifiers according to the stored plurality of resource identifiers, generate an information stream according to the multimedia resources, and send the information stream to the client. Accordingly, after receiving the information stream, the client may display the information stream on the information stream display page.
It should be understood that, when the user clicks the cover chart, it may indicate that the user is attracted by the cover chart and is interested in the multimedia resource corresponding to the cover chart, so, in order to promote the immersive use experience of the user, the first displayed multimedia resource in the information flow may be the multimedia resource indicated by the first identifier, so that after the client monitors the triggering operation of the user on the cover chart, the client may display the multimedia resource indicated by the first identifier as the first multimedia resource on the information flow display page. Therefore, the first multimedia resource watched by the user is the multimedia resource corresponding to the cover map, and the use experience of the user can be improved.
It should be noted that the explanation of the method embodiment executed by the server in fig. 1 to 3 is also applicable to the method embodiment executed by the client, and the implementation principle is similar, which is not repeated herein.
According to the resource recommendation method, the client monitors access operation to the recommended page entry and sends an access request to the server; receiving a cover map sent by a server in response to an access request, and displaying the cover map on a recommended page; the cover map displayed in the recommendation page is a cover of the multimedia resource indicated by the first identifier in a plurality of resource identifiers acquired from the recommendation service when the server receives an access request of the client; and monitoring triggering operation on the cover map, acquiring information flow from the server, and displaying the information flow on an information flow display page, wherein the information flow comprises a plurality of multimedia resources indicated by the resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
Corresponding to the resource recommendation method provided by the embodiments of fig. 1 to 3, the present disclosure further provides a resource recommendation device, and since the resource recommendation device provided by the embodiments of the present disclosure corresponds to the resource recommendation method provided by the embodiments of fig. 1 to 3, the implementation of the resource recommendation method is also applicable to the resource recommendation device provided by the embodiments of the present disclosure, and will not be described in detail in the embodiments of the present disclosure.
Fig. 5 is a block diagram of a resource recommendation device according to a fifth exemplary embodiment. The resource recommendation device can be applied to a server.
Referring to fig. 5, the resource recommendation device 500 may include: an acquisition module 510, a first transmission module 520, and a second transmission module 530.
The acquiring module 510 is configured to acquire and store a plurality of resource identifiers recommended by the recommended service when an access request of the client is received; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
The first sending module 520 is configured to send, to the client, a cover map displayed in the recommended page according to a first identifier of the plurality of resource identifiers, where the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier.
And the second sending module 530 is configured to perform a triggering operation on the cover map, which is monitored by the client, and send an information stream to the client according to the stored plurality of resource identifiers, wherein the information stream includes multimedia resources indicated by the plurality of resource identifiers.
Further, in one possible implementation manner of the embodiment of the present disclosure, the cover map displayed in the recommended page corresponds to a plurality of resource identifiers, and the second sending module 530 is specifically configured to perform: reading a plurality of resource identifiers corresponding to the cover map; acquiring multimedia resources indicated by a plurality of resource identifiers; generating an information stream according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the first-displayed multimedia resources; and sending the information stream to the client.
Further, in one possible implementation manner of the embodiment of the present disclosure, the resource recommendation device 500 may further include:
the first deleting module is configured to execute deleting the stored plurality of resource identifiers in response to the stored duration reaching a first set duration threshold.
Further, in one possible implementation manner of the embodiment of the present disclosure, the resource recommendation device 500 may further include:
And the storage module is configured to acquire and store the storage addresses of the multimedia resources indicated by the plurality of resource identifiers according to the plurality of resource identifiers.
Further, in one possible implementation manner of the embodiment of the present disclosure, the cover map displayed in the recommendation page corresponds to a storage address of the multimedia resource indicated by the plurality of resource identifiers, and the second sending module 530 is specifically configured to perform: reading storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map; acquiring the multimedia resources indicated by the plurality of resource identifiers according to the storage addresses of the multimedia resources indicated by the plurality of resource identifiers; generating an information stream according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the first-displayed multimedia resources; and sending the information stream to the client.
Further, in one possible implementation manner of the embodiment of the present disclosure, the resource recommendation device 500 may further include:
and the second deleting module is configured to execute deleting the storage addresses of the multimedia resources indicated by the stored plurality of resource identifiers in response to the storage duration reaching a second set duration threshold.
It should be noted that, regarding the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiments regarding the method, and will not be described in detail herein.
When the access request of the client is received through the server, the resource recommendation device of the embodiment of the disclosure acquires and stores a plurality of resource identifiers recommended by the recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client; according to the first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover map monitored by the client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises the multimedia resources indicated by the multiple resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
Corresponding to the resource recommendation method provided by the embodiment of fig. 4, the present disclosure further provides a resource recommendation device, and since the resource recommendation device provided by the embodiment of the present disclosure corresponds to the resource recommendation method provided by the embodiment of fig. 4, the implementation of the resource recommendation method is also applicable to the resource recommendation device provided by the embodiment of the present disclosure, which is not described in detail in the embodiment of the present disclosure.
Fig. 6 is a block diagram of a resource recommendation device according to a sixth exemplary embodiment. The resource recommendation device can be applied to a client.
Referring to fig. 6, the resource recommendation device 600 may include: a transmitting module 610, a receiving module 620, and a presentation module 630.
The sending module 610 is configured to perform an operation of monitoring access to the recommended page entry, and send an access request to the server.
The receiving module 620 is configured to execute receiving the cover map sent by the server in response to the access request, and display the cover map on the recommendation page; the cover map displayed in the recommendation page is a cover of the multimedia resource indicated by the first identifier in a plurality of resource identifiers acquired from the recommendation service when the server receives an access request of the client.
The display module 630 is configured to perform a triggering operation on the cover map, obtain an information stream from the server, and display the information stream on an information stream display page, where the information stream includes a plurality of multimedia resources indicated by the resource identifiers.
Further, in a possible implementation manner of the embodiment of the present disclosure, the first multimedia resource in the information flow is the multimedia resource indicated by the first identifier.
It should be noted that, regarding the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiments regarding the method, and will not be described in detail herein.
According to the resource recommendation device disclosed by the embodiment of the disclosure, the client monitors the access operation to the recommended page entry and sends an access request to the server; receiving a cover map sent by a server in response to an access request, and displaying the cover map on a recommended page; the cover map displayed in the recommendation page is a cover of the multimedia resource indicated by the first identifier in a plurality of resource identifiers acquired from the recommendation service when the server receives an access request of the client; and monitoring triggering operation on the cover map, acquiring information flow from the server, and displaying the information flow on an information flow display page, wherein the information flow comprises a plurality of multimedia resources indicated by the resource identifiers. Therefore, when a user wants to browse the multimedia resource, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, the recommendation service does not need to be called for many times, so that the calling time delay can be reduced, the page response speed is improved, and the use experience of a user is improved.
In order to implement the above embodiments, the embodiments of the present disclosure further provide a server.
Wherein, the server side includes:
A processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute instructions to implement the resource recommendation method as described in any of the previous figures 1 to 3.
In order to implement the above embodiments, the embodiments of the present disclosure further provide a client.
Wherein, the customer end includes:
A processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute instructions to implement the resource recommendation method as described in fig. 4.
As an example, fig. 7 is a block diagram of an electronic device 700, which may be a client or a server in the foregoing embodiment, according to an exemplary embodiment, where, as shown in fig. 7, the foregoing electronic device 700 may further include:
a memory 710 and a processor 720, a bus 730 connecting the different components (including the memory 710 and the processor 720), the memory 710 storing a computer program that when executed by the processor 720 implements the resource recommendation method described in the embodiments of the present disclosure.
Bus 730 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 700 typically includes a variety of electronic device readable media. Such media can be any available media that is accessible by electronic device 700 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 710 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 740 and/or cache memory 750. Server 700 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 760 may be used to read from or write to non-removable, non-volatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard disk drive"). Although not shown in fig. 7, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 730 through one or more data medium interfaces. Memory 710 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
A program/utility 780 having a set (at least one) of program modules 770 may be stored in, for example, memory 710, such program modules 770 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 770 typically carry out the functions and/or methods of the embodiments described in this disclosure.
The electronic device 700 may also communicate with one or more external devices 790 (e.g., keyboard, pointing device, display 791, etc.), one or more devices that enable a user to interact with the electronic device 700, and/or any device (e.g., network card, modem, etc.) that enables the electronic device 700 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 792. Also, the electronic device 700 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 793. As shown, the network adapter 793 communicates with other modules of the electronic device 700 over the bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor 720 executes various functional applications and data processing by running programs stored in the memory 710.
It should be noted that, the implementation process and the technical principle of the electronic device in this embodiment refer to the foregoing explanation of the resource recommendation method in any embodiment of the disclosure, and are not repeated herein.
In order to implement the above embodiments, the embodiments of the present disclosure also propose a storage medium.
Wherein the instructions in the storage medium, when executed by the processor of the electronic device, enable the electronic device to perform the resource recommendation method as described in any of the preceding.
To implement the above-described embodiments, the present disclosure also provides a computer program product, which, when executed by a processor of an electronic device, enables the electronic device to perform the resource recommendation method as described in any one of the preceding.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. The resource recommendation method is characterized by comprising the following steps of:
When an access request of a client is received, a plurality of resource identifiers recommended by a recommendation service are acquired and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
According to a first identifier in the plurality of resource identifiers, sending a cover map displayed in a recommended page to the client, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier;
Responding to triggering operation of the cover map monitored by a client, and sending an information stream to the client according to the stored multiple resource identifiers, wherein the information stream comprises multimedia resources indicated by the multiple resource identifiers;
When an access request of a client is received, a plurality of resource identifiers recommended by a recommended service are acquired and stored, and the method comprises the following steps:
Responding to the fact that a user opens an application according to the self demand, entering a recommended page, and sending an access request to a server when a client monitors access operation of the user to an entry of the recommended page, wherein the recommended page comprises a first page of the application or a preset function page, and the preset function page comprises a same city page and a concerned page;
and when the server receives an access request of the client, acquiring and storing a plurality of resource identifiers recommended by the recommended service.
2. The resource recommendation method according to claim 1, wherein cover charts displayed in the recommendation page correspond to the plurality of resource identifiers, and the sending an information stream to the client according to the stored plurality of resource identifiers includes:
reading a plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the plurality of resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
3. The resource recommendation method according to claim 1 or 2, wherein after the plurality of resource identifiers recommended by the recommended service are acquired and stored, further comprising:
And deleting the stored plurality of resource identifiers in response to the stored duration reaching a first set duration threshold.
4. The resource recommendation method according to claim 1, wherein after the obtaining the plurality of resource identifiers recommended by the recommended service, further comprising:
and according to the plurality of resource identifiers, acquiring and storing the storage addresses of the multimedia resources indicated by the plurality of resource identifiers.
5. The resource recommendation method according to claim 1, wherein the cover map displayed in the recommendation page corresponds to a storage address of the multimedia resource indicated by the plurality of resource identifiers, and the sending an information stream to the client according to the stored plurality of resource identifiers includes:
Reading storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the resource identifiers according to the storage addresses of the multimedia resources indicated by the resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
6. The resource recommendation method according to claim 4 or 5, further comprising, after the storage addresses of the multimedia resources indicated by the plurality of resource identifiers are obtained and stored:
And deleting the stored storage addresses of the multimedia resources indicated by the plurality of resource identifiers in response to the storage duration reaching a second set duration threshold.
7. A resource recommendation device, comprising:
the acquisition module is configured to acquire and store a plurality of resource identifiers recommended by the recommended service when an access request of the client is received; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
A first sending module configured to send a cover map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover map displayed in the recommended page is a cover of the multimedia resource indicated by the first identifier;
The second sending module is configured to execute a triggering operation on the cover map, which is monitored by the client, and send an information stream to the client according to the stored plurality of resource identifiers, wherein the information stream comprises multimedia resources indicated by the plurality of resource identifiers;
The acquisition module is specifically configured to perform:
Responding to the fact that a user opens an application according to the self demand, entering a recommended page, and sending an access request to a server when a client monitors access operation of the user to an entry of the recommended page, wherein the recommended page comprises a first page of the application or a preset function page, and the preset function page comprises a same city page and a concerned page;
and when the server receives an access request of the client, acquiring and storing a plurality of resource identifiers recommended by the recommended service.
8. The resource recommendation device of claim 7, wherein cover charts displayed in the recommendation page correspond to the plurality of resource identifications, and wherein the second sending module is specifically configured to perform:
reading a plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the plurality of resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
9. The resource recommendation device according to claim 7 or 8, wherein the device further comprises:
And the first deleting module is configured to execute deleting the stored plurality of resource identifiers in response to the stored duration reaching a first set duration threshold.
10. The resource recommendation device of claim 7, wherein the device further comprises:
and the storage module is configured to acquire and store the storage addresses of the multimedia resources indicated by the plurality of resource identifiers according to the plurality of resource identifiers.
11. The resource recommendation device of claim 7, wherein the cover map displayed in the recommendation page corresponds to a storage address of the multimedia resource indicated by the plurality of resource identifiers, and wherein the second sending module is specifically configured to perform:
Reading storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover map;
Acquiring the multimedia resources indicated by the resource identifiers according to the storage addresses of the multimedia resources indicated by the resource identifiers;
Generating the information flow according to the multimedia resources indicated by the plurality of resource identifiers, wherein the multimedia resources indicated by the first identifier in the information flow are the first-displayed multimedia resources;
and sending the information flow to the client.
12. The resource recommendation device according to claim 10 or 11, the device further comprising:
and the second deleting module is configured to execute deleting the stored storage addresses of the multimedia resources indicated by the plurality of stored resource identifiers in response to the storage duration reaching a second set duration threshold.
13. A server, comprising:
A processor;
A memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the resource recommendation method of any one of claims 1 to 6.
14. A storage medium, which when executed by a processor of a server, enables the server to perform the resource recommendation method according to any of claims 1 to 6.
CN202110401132.5A 2021-04-14 Resource recommendation method, device, server side and storage medium Active CN113139123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110401132.5A CN113139123B (en) 2021-04-14 Resource recommendation method, device, server side and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110401132.5A CN113139123B (en) 2021-04-14 Resource recommendation method, device, server side and storage medium

Publications (2)

Publication Number Publication Date
CN113139123A CN113139123A (en) 2021-07-20
CN113139123B true CN113139123B (en) 2024-06-21

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519621A (en) * 2019-09-20 2019-11-29 北京字节跳动网络技术有限公司 Video recommendation method, device, electronic equipment and computer-readable medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519621A (en) * 2019-09-20 2019-11-29 北京字节跳动网络技术有限公司 Video recommendation method, device, electronic equipment and computer-readable medium

Similar Documents

Publication Publication Date Title
US10719837B2 (en) Integrated tracking systems, engagement scoring, and third party interfaces for interactive presentations
US20100268694A1 (en) System and method for sharing web applications
CN112929678B (en) Live broadcast method, live broadcast device, server side and computer readable storage medium
CN104539977A (en) Live broadcast previewing method and device
CN112000911B (en) Page management method, device, electronic equipment and storage medium
CN105611422B (en) Online live broadcasting method and device based on multimedia list
CN108574618B (en) Pushed information display method and device based on social relation chain
KR20110137784A (en) Platform or user sensitive advertising
CN112714329B (en) Display control method and device for live broadcasting room, storage medium and electronic equipment
WO2021227785A1 (en) Indicator collection processing method and apparatus for streaming media, computer and storage medium
CN110781149A (en) Method, device, equipment and storage medium for managing live broadcast room information
CN110351581B (en) Data request processing method and device, terminal equipment and storage medium
CN110740088A (en) Method, device, terminal and medium for recommending and adding social resources
US11689757B2 (en) Method and apparatus for providing video streams
CN113139123B (en) Resource recommendation method, device, server side and storage medium
CN111353455B (en) Video content determining method and device, storage medium and electronic equipment
CN112135199B (en) Video playing method based on multiple types of video sources and related equipment
CN108289056B (en) Method and device for sharing dynamic chart and computing equipment
CN116028696A (en) Resource information acquisition method and device, electronic equipment and storage medium
US20140351009A1 (en) Anonymizing facial expression data with a smart-cam
CN113139123A (en) Resource recommendation method, device, server and storage medium
CN110266813B (en) Data request processing method and device, terminal equipment and storage medium
CN113569089A (en) Information processing method, device, server, equipment, system and storage medium
CN110300321B (en) Banner display method and device
CN114117195A (en) Content recommendation method, device, equipment and storage medium

Legal Events

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