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

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

Info

Publication number
CN113139123A
CN113139123A CN202110401132.5A CN202110401132A CN113139123A CN 113139123 A CN113139123 A CN 113139123A CN 202110401132 A CN202110401132 A CN 202110401132A CN 113139123 A CN113139123 A CN 113139123A
Authority
CN
China
Prior art keywords
resource
multimedia
client
recommendation
page
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.)
Pending
Application number
CN202110401132.5A
Other languages
Chinese (zh)
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
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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110401132.5A priority Critical patent/CN113139123A/en
Publication of CN113139123A publication Critical patent/CN113139123A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Abstract

The disclosure provides a resource recommendation method, a resource recommendation 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, acquiring and storing a plurality of resource identifiers recommended by a recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client; sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover page graph monitored by the client, and sending an information stream to the client according to the stored resource identifiers, wherein the information stream comprises the multimedia resources indicated by the resource identifiers. The method can realize that when the user wants to browse the multimedia resources, only one-time recommendation service is needed to be called, and the pressure of the recommendation service can be reduced.

Description

Resource recommendation method, device, server and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a resource recommendation method, an apparatus, a server, and a storage medium.
Background
With the continuous development of terminal technology and mobile internet technology, various applications (APP for short) appear continuously like bamboo shoots in the spring after rain, and a user can install different types of APPs, such as video APPs, social APPs and the like, on terminal equipment according to the user's needs.
Currently, an entry cover can be displayed on a recommended page of an APP, and a user can enter a detail page by clicking the entry cover to browse corresponding multimedia resources, such as audio, video, and the like. In the related art, the recommendation service needs to be called for many times to obtain the corresponding multimedia resource.
In this way, the recommendation service needs to be called for many times, which puts more stress on the recommendation service. Moreover, the performance of the recommendation service is limited, and the situation of low page response speed may be caused by calling the recommendation service for multiple times, so that the use experience of the user is reduced.
Disclosure of Invention
The disclosure provides a resource recommendation method, a resource recommendation device, a server and a storage medium, which are used for solving the problems that in the related art, the recommendation service is called for many times, the pressure of the recommendation service is increased, the page response speed is low, and the use experience of a user is reduced.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a resource recommendation method, including:
when an access request of a client is received, acquiring and storing a plurality of resource identifiers recommended by a recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier;
and responding to the triggering operation of the cover picture monitored by the client, and sending an information stream to the client according to the stored resource identifications, wherein the information stream comprises the multimedia resources indicated by the resource identifications.
As a first possible situation of the embodiment of the present disclosure, the sending, to the client, an information stream according to the stored multiple resource identifiers includes:
reading a plurality of resource identifications corresponding to the cover drawings;
acquiring multimedia resources indicated by the plurality of resource identifications;
generating the information flow according to the multimedia resources indicated by the resource identifications, wherein the multimedia resource indicated by the first identification in the information flow is the multimedia resource displayed firstly;
and sending the information flow to the client.
As a second possible situation of the embodiment of the present disclosure, after obtaining and storing a plurality of resource identifiers recommended by a recommendation service, the method further includes:
and deleting the stored resource identifiers in response to the storage duration reaching a first set duration threshold.
As a third possible situation of the embodiment of the present disclosure, after obtaining the plurality of resource identifiers recommended by the recommendation service, the method further includes:
and acquiring and storing 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 case of the embodiment of the present disclosure, the sending, to the client, an information stream according to the stored multiple resource identifiers includes:
reading the storage addresses of the multimedia resources indicated by the plurality of resource identifications corresponding to the cover page graph;
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 the information flow according to the multimedia resources indicated by the resource identifications, wherein the multimedia resource indicated by the first identification in the information flow is the multimedia resource displayed firstly;
and sending the information flow to the client.
As a fifth possible case of the embodiment of the present disclosure, after the obtaining and storing the storage addresses of the multimedia resources indicated by the multiple resource identifiers, the method further includes:
and deleting the storage addresses of the stored 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 the access request of the client is received through the server, a plurality of resource identifications recommended by the recommendation service are obtained and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client; sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover page graph monitored by the client, and sending an information stream to the client according to the stored resource identifiers, wherein the information stream comprises the multimedia resources indicated by the resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, 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 recommendation service when receiving an access request of a client; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
a first sending module configured to execute sending, to the client, a cover page map displayed in a recommended page according to a head identifier in the plurality of resource identifiers, where the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the head identifier;
and the second sending module is configured to execute a triggering operation on the cover page graph in response to monitoring by a client, and send an information stream to the client according to the stored resource identifications, wherein the information stream comprises multimedia resources indicated by the resource identifications.
As a first possible situation of the embodiment of the present disclosure, the front cover view displayed in the recommendation page corresponds to the plurality of resource identifiers, and the second sending module is specifically configured to execute:
reading a plurality of resource identifications corresponding to the cover drawings;
acquiring multimedia resources indicated by the plurality of resource identifications;
generating the information flow according to the multimedia resources indicated by the resource identifications, wherein the multimedia resource indicated by the first identification in the information flow is the multimedia resource displayed firstly;
and sending the information flow to the client.
As a second possible case of the embodiment of the present disclosure, the apparatus further includes:
the first deleting module is configured to delete the stored resource identifications in response to the storage duration reaching a first set duration threshold.
As a third possible case of the embodiment of the present disclosure, the apparatus further includes:
and the storage module is configured to acquire and store the storage addresses of the multimedia resources indicated by the plurality of resource identifications according to the plurality of resource identifications.
As a fourth possible case of the embodiment of the present disclosure, the cover page image 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 execute:
reading the storage addresses of the multimedia resources indicated by the plurality of resource identifications corresponding to the cover page graph;
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 the information flow according to the multimedia resources indicated by the resource identifications, wherein the multimedia resource indicated by the first identification in the information flow is the multimedia resource displayed firstly;
and sending the information flow to the client.
As a fifth possible case of the embodiment of the present disclosure, the apparatus further includes:
and the second deleting module is configured to delete the storage addresses of the stored multimedia resources indicated by the plurality of resource identifications in response to the storage duration reaching a second set duration threshold.
The resource recommendation device of the embodiment of the disclosure acquires and stores a plurality of resource identifiers recommended by a recommendation service when receiving an access request of a client through a server; the resource identifier is used for indicating the multimedia resource to be displayed by the client; sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover page graph monitored by the client, and sending an information stream to the client according to the stored resource identifiers, wherein the information stream comprises the multimedia resources indicated by the resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
According to a third aspect of the 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 provided in the embodiment of the first aspect of the disclosure.
According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, where instructions in the storage medium, when executed by a processor of a server, enable the server to perform the resource recommendation method provided in the first aspect of the present disclosure.
According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, where the computer program is executed by a processor of a server, so that the server can execute the resource recommendation method provided in 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 present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a method for resource recommendation in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a resource recommendation method in accordance with an exemplary embodiment two;
FIG. 3 is a flowchart illustrating a resource recommendation method in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a resource recommendation method according to an example embodiment four;
FIG. 5 is a block diagram of a resource recommendation device shown in accordance with an example embodiment;
FIG. 6 is a block diagram of a resource recommendation device shown in accordance with an example embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in 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 above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, the access cover of the recommended page acquires the resource ID corresponding to the access cover by calling the recommendation service, acquires the access cover according to the resource ID and displays the access cover, and acquires the resource ID corresponding to the multimedia resource to be displayed by calling the recommendation service again after the user clicks the access cover, so that the corresponding multimedia resource can be acquired according to the resource ID.
In this way, when the user wants to browse the multimedia resource, the recommendation service needs to be called for many times, which aggravates the pressure of the recommendation service. Moreover, the performance of the recommendation service is limited, and the situation of low page response speed may be caused by calling the recommendation service for multiple times, so that the use experience of the user is reduced.
Therefore, the resource recommendation method is provided mainly for the problems that in the related art, the recommendation service is called for many times, the pressure of the recommendation service is increased, the page response speed is low, and the use experience of a user is reduced.
According to the resource recommendation method, when the access request of the client is received through the server, a plurality of resource identifications recommended by the recommendation service are obtained and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client; sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover page graph monitored by the client, and sending an information stream to the client according to the stored resource identifiers, wherein the information stream comprises the multimedia resources indicated by the resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
FIG. 1 is a flow diagram illustrating a method for resource recommendation, according to an example embodiment.
The resource recommendation method of the embodiment of the disclosure can be applied to a server, so that the server can execute a 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 obtained and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
The client is a program corresponding to the server and providing local service for the user, and the multimedia resource can be audio, video and other resources.
In the embodiment of the disclosure, a user may open a certain application (for example, a short video application) according to a self-requirement, enter a recommendation page, and send an access request to a server when a client monitors an access operation of the user to an entry of the recommendation page, and correspondingly, after receiving the access request of the client, the server may obtain and store a plurality of resource identifiers recommended by a recommendation service, that is, the server may invoke the recommendation service to obtain and store a plurality of resource identifiers returned by the recommendation service.
The recommendation page may be a recommendation page of an application, or may also be a home page, a preset function page, and the like, where the preset function page may be, for example, a city page, a focus page, and the like.
In an embodiment of the present disclosure, the recommendation service is configured to execute a recommendation algorithm and return a plurality of resource identifiers. The resource identifier is used to uniquely identify the corresponding multimedia resource, and the resource identifier may be, for example, a resource ID corresponding to the multimedia resource.
In a 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 according to user preferences, and the recommendation service executes the recommendation algorithm to screen out the multimedia resources that are interested by the user, so that a resource identifier corresponding to the multimedia resources that are interested by the user may be obtained.
In another possible implementation manner of the embodiment of the present disclosure, the recommendation algorithm may be an algorithm for screening out multimedia resources shared or uploaded by other users close to the user according to the geographic location information of the user, and the recommendation service executes the recommendation algorithm to screen out multimedia resources shared or uploaded by other users close to the user, so as to obtain a resource identifier corresponding to the multimedia resource.
For example, when the recommendation page is a city page, the recommendation algorithm may be an algorithm for screening out multimedia resources shared or uploaded by other users close to the user according to the address and location information of the user, so that the recommendation service may execute the recommendation algorithm and automatically return a resource ID corresponding to the multimedia resources shared or uploaded by other users close to the user.
In 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 shared or uploaded by other users that are interested in the user and are close to the user according to the user preference and the user geographic location information, and the recommendation service executes the recommendation algorithm to screen out multimedia resources that are shared or uploaded by other users that are interested in the user and are close to the user, so that a resource identifier corresponding to the multimedia resources may be obtained.
In 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 resource identifiers corresponding to the popular multimedia resources may be obtained. Or, the recommendation algorithm may 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 identifier corresponding to the high-quality multimedia resources can be obtained.
It should be noted that the recommendation algorithm is only an example, and when the recommendation algorithm is actually applied, a 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, a cover page map displayed in a recommended page is sent to the client according to a first identifier in the plurality of resource identifiers, where the cover page map displayed in the recommended page is a cover page 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 recommendation service, the server may obtain, from the resource server, a cover page map corresponding to a first identifier in the plurality of resource identifiers, where the cover page map is a cover page of the multimedia resource indicated by the first identifier. For example, when the multimedia resource is audio, the cover art that can be obtained from the resource server may be album art corresponding to the audio, and when the multimedia resource is video, the cover art that can be obtained from the resource server may be video art.
The resource server may store a corresponding relationship between the resource identifier, the cover, and the multimedia resource.
In a possible implementation manner of the embodiment of the present disclosure, the server may send a cover query request to the 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 the multimedia resource corresponding to the first identifier, and return, to the server, the cover of the multimedia resource corresponding to the first identifier.
In step S103, in response to the triggering operation of the cover page 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 resource indicated by the multiple resource identifiers.
In the embodiment of the present disclosure, after the server sends the front cover map displayed in the recommendation page to the client, the client may display the front cover map on the recommendation page. After the client displays the cover page map on the recommended page, the user can click the cover page 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 page, the client can acquire the information stream from the server. Specifically, the server may respond to the triggering operation of the cover page map monitored by the client, obtain, according to the stored multiple resource identifiers, the 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 monitoring a triggering operation of a user on a cover page, a client may send an information stream query request to a server, and correspondingly, when receiving the information stream query request, the server may obtain, according to a plurality of stored resource identifiers, multimedia resources corresponding to the plurality of resource identifiers from a resource server, generate an information stream according to the multimedia resources, and send the information stream to the client.
It should be understood that, after the server calls the recommendation service and stores the plurality of resource identifiers returned by the recommendation service, the server obtains the cover page image according to the first identifier and sends the cover page image to the client, if the user clicks the cover page image, the server does not need to call the recommendation service again to obtain each resource identifier, and can directly obtain the information flow according to the stored resource identifiers, so that the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
As an application scenario, when the APP is a music type APP, different types of music entries can be displayed on a home page of the APP, for each type of music entry, a recommendation service can be called to obtain an entry cover of a corresponding type, and a user can enter a detail page by clicking the entry cover.
As another scenario, when the APP is a short video APP, a portal cover may be displayed on a recommended page of the APP. When a user accesses the recommended page, the full amount of resource IDs can be obtained by calling the recommendation service, the full amount of resource IDs are stored in the cache, then the first resource ID is selected from the full amount of resource IDs, the entry cover is obtained according to the selected first resource ID, when the user wants to browse the multimedia resources, the entry cover can be clicked to enter the information flow display page, the multimedia resources displayed on the information flow display page are browsed, and the multimedia resources displayed on the information flow display page can be directly obtained 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 obtain each resource ID, the corresponding multimedia resource can be directly obtained and displayed according to the resource ID in the cache, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
The resource recommendation device of the embodiment of the disclosure acquires and stores a plurality of resource identifiers recommended by a recommendation service when receiving an access request of a client through a server; the resource identifier is used for indicating the multimedia resource to be displayed by the client; sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover page graph monitored by the client, and sending an information stream to the client according to the stored resource identifiers, wherein the information stream comprises the multimedia resources indicated by the resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, 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 recommendation page may correspond to a plurality of resource identifiers, and a server may obtain, from a resource server, multimedia resources 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 resources corresponding to the plurality of resource identifiers. The above process is described in detail with reference to example two.
FIG. 2 is a flowchart illustrating a resource recommendation method according to an example embodiment two.
As shown in fig. 2, the resource recommendation method may include steps S201 to S206.
In step S201, when receiving an access request from a client, obtaining and storing a plurality of resource identifiers recommended by a recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
In step S202, a cover page map displayed in the recommendation page is sent to the client according to a first identifier in the plurality of resource identifiers, where the cover page map displayed in the recommendation page corresponds to the plurality of resource identifiers and is a cover page of the multimedia resource indicated by the first identifier.
The execution process of steps S201 to S202 may refer to the execution process of steps S101 to S102 in the above embodiment, which is not described herein again.
In step S203, in response to the triggering operation on the cover sheet monitored by the client, a plurality of resource identifiers corresponding to the cover sheet are read.
In the embodiment of the present disclosure, a 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 page in response to the triggering operation of the cover page monitored by the client.
In step S204, a multimedia resource indicated by a plurality of resource identifications is acquired.
In this disclosure, the server may obtain, from the resource server, the multimedia resource 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 drawings and the multimedia resources.
In a 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 multiple resource identifiers, and accordingly, after receiving the multimedia resource query request, the resource server may query, according to the multiple resource identifiers, multimedia resources corresponding to the multiple resource identifiers, and return, to the server, the multimedia resources corresponding to the multiple resource identifiers, and accordingly, the server may receive the multimedia resources corresponding to the multiple 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, wherein the multimedia resource indicated by the first identifier in the information stream is the multimedia resource that is first shown.
In the embodiment of the present disclosure, the server may generate an information stream according to the multimedia resource indicated by the plurality of resource identifiers.
In a possible implementation manner of the embodiment of the present disclosure, the server may combine multimedia resources indicated by multiple resource identifiers to obtain an information stream. For example, the corresponding multimedia resources may be combined or spliced according to the ordering of the resource identifiers to obtain the information stream.
As an example, assuming that the recommendation service returns N resource identifiers, which are resource identifiers 1, 2, …, and N, to the server, after acquiring multimedia resources (such as short videos) corresponding to the resource identifiers 1, 2, …, and N, respectively, 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 a user clicks the cover map, it may indicate that the user is attracted by the cover map, and is interested in the multimedia resource corresponding to the cover map, therefore, in order to improve the immersive use experience of the user, the multimedia resource that is first shown in the information stream may be the multimedia resource that is indicated by the first identifier, so that after the client monitors the triggering operation of the user on the cover map, the client may show the multimedia resource that is indicated by the first identifier as the first multimedia resource on the information stream display page. Therefore, the first multimedia resource watched by the user is the multimedia resource corresponding to the cover picture, and the use experience of the user can be improved.
In step S206, the information stream is sent to the client.
In the embodiment of the present 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 the 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 the user may click or switch and browse the corresponding multimedia resource according to the user's own needs. For example, the client may display the multimedia resource indicated by the first identifier as the first multimedia resource, and may display the multimedia resource indicated by other resource identifiers except the first identifier in the plurality of resource identifiers if the user triggers the switching operation of the multimedia resource.
In a possible implementation manner of the embodiment of the present disclosure, in order to avoid occupying too many resources, the server may set the storage durations of the plurality of resource identifiers, and when the storage durations of the plurality of resource identifiers reach the set duration, the plurality of stored resource identifiers may be deleted. Specifically, after the server calls the recommendation service to obtain and store the plurality of resource identifiers recommended by the recommendation service, it may be determined whether the storage time lengths of the plurality of resource identifiers reach a first set time length threshold, if the storage time length does not reach the first set time length threshold, the storage time lengths of the plurality of resource identifiers continue to be timed, and if the storage time length reaches the first set time length threshold, the stored plurality of resource identifiers may be deleted.
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 to be larger, for example, the first set duration threshold may be 2 minutes.
In a possible implementation manner of the embodiment of the present disclosure, when the server stores a plurality of resource identifiers, the storage duration of the plurality of resource identifiers may be timed by a timer.
In another possible implementation manner of the embodiment of the present disclosure, a throttling function may be used to time the storage duration of multiple resource identifiers. Specifically, after the server calls the recommendation service to obtain and store the plurality of resource identifiers recommended by the recommendation service, a throttling function may be used to time the storage durations of the plurality of resource identifiers.
The throttling function throttles the function by using a timer, and the basic idea is as follows: by setting a timer, when an event is triggered, setTimeot is first delayed for a period of time before the event is executed, if a new event is triggered within the delayed time interval, the original timer is cleared, and then setTimeout is used to set a new timer to delay the execution of the new event for a period of time.
According to the resource recommendation method, a plurality of resource identifications corresponding to the cover page image are read through the server; acquiring multimedia resources indicated by a plurality of resource identifiers; generating an information stream according to the multimedia resources indicated by the resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the multimedia resources displayed firstly; and sending the information flow to the client. Therefore, when a user triggers a cover page, 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 which are interested by the user to play according to the requirement of the user, and the use experience of the user can be improved.
In a possible implementation manner of the embodiment of the present disclosure, a cover page image displayed on the recommendation page may correspond to storage addresses of multimedia resources indicated by a plurality of resource identifiers, and the server may obtain, from the resource server, the multimedia resources corresponding to the plurality of resource identifiers according to the storage addresses of the multimedia resources indicated by the plurality of resource identifiers corresponding to the cover page image, and generate an information stream according to the multimedia resources corresponding to the plurality of resource identifiers. The above process is described in detail with reference to example three.
FIG. 3 is a flowchart illustrating a resource recommendation method according to an example 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 obtained and stored; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
The execution process of step S301 may refer to the execution process of step S101 in the above embodiment, which is not described herein again.
In step S302, according to the resource identifiers, the storage addresses of the multimedia resources indicated by the resource identifiers are obtained and stored.
In the embodiment of the present disclosure, the server may obtain, from the resource server, and store, according to the plurality of resource identifiers, the storage addresses of the multimedia resources indicated by the plurality of resource identifiers. For example, when the multimedia asset is a video, each video address may be obtained from the asset server and stored.
The resource server stores the corresponding relation among the resource identifiers, the cover page images, the multimedia resources and the storage addresses.
In a possible implementation manner of the embodiment of the present disclosure, the server may send a storage address query request to the resource server, where the storage address query request may carry multiple resource identifiers, and accordingly, after receiving the storage address query request, the resource server may query, according to the multiple resource identifiers, storage addresses of multimedia resources corresponding to the multiple resource identifiers, and return, to the server, the storage addresses of the multimedia resources corresponding to the multiple resource identifiers, and accordingly, the server may receive the storage addresses of the multimedia resources corresponding to the multiple resource identifiers returned by the resource server.
In step S303, a cover page map displayed in the recommendation page is sent to the client according to the first identifier of the plurality of resource identifiers, where the cover page map displayed in the recommendation page corresponds to the storage address of the multimedia resource indicated by the plurality of resource identifiers and is a cover page of the multimedia resource indicated by the first identifier.
The execution process of step S303 may refer to the execution process of step S102 in the above embodiment, which is not described herein again.
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 present disclosure, a cover map is a cover of a multimedia resource indicated by a first identifier in a plurality of resource identifiers stored by a server, where 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, in response to the triggering operation on the cover map monitored by the client, the storage address of the multimedia resource indicated by the plurality of resource identifiers corresponding to the cover map.
In step S305, the multimedia resource indicated by the plurality of resource identifiers is obtained according to the storage address of the multimedia resource indicated by the plurality of resource identifiers.
In this disclosure, the server may obtain, from the resource server, the multimedia resource indicated by the plurality of resource identifiers according to the storage address of the multimedia resource indicated by the plurality of resource identifiers.
The resource server stores the corresponding relation among the resource identifiers, the cover page images, the multimedia resources and the storage addresses.
In a 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 multiple resource identifiers, and accordingly, after receiving the multimedia resource query request, the resource server may query multimedia resources corresponding to the multiple resource identifiers according to the storage addresses of the multimedia resources indicated by the multiple resource identifiers, and return the multimedia resources corresponding to the multiple resource identifiers to the server, and accordingly, the server may receive the multimedia resources corresponding to the multiple 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, wherein the multimedia resource indicated by the first identifier in the information stream is the multimedia resource that is first shown.
In step S307, the information stream is transmitted to the client.
The execution processes of steps S306 and S307 may refer to the execution processes of steps 205 to 206 in the above embodiments, which are not described herein again.
In a possible implementation manner of the embodiment of the present disclosure, in order to avoid occupying too many resources, the server may set the storage durations of the plurality of resource identifiers, and when the storage durations of the plurality of resource identifiers reach the set duration, the plurality of stored resource identifiers may be deleted. Specifically, after the server calls the recommendation service to obtain and store the plurality of resource identifiers recommended by the recommendation service, it may be determined whether the storage time lengths of the plurality of resource identifiers reach a first set time length threshold, if the storage time length does not reach the first set time length threshold, the storage time lengths of the plurality of resource identifiers continue to be timed, and if the storage time length reaches the first set time length threshold, the stored plurality of resource identifiers may be deleted.
In a 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 multiple resource identifiers, and when the storage duration of the storage address of the multimedia resource indicated by the multiple resource identifiers reaches the set duration, the storage address of the multimedia resource indicated by the stored multiple resource identifiers may be deleted. Specifically, the server determines whether the storage duration of the storage address of the multimedia resource indicated by the multiple resource identifiers reaches a second set duration threshold, if the storage duration does not reach the second set duration threshold, the server continues to time the storage duration of the storage address of the multimedia resource indicated by the multiple resource identifiers, and if the storage duration reaches the second set duration threshold, the server may delete the storage address of the multimedia resource indicated by the stored multiple resource identifiers.
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 to be 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 also be different from the first set duration threshold, which is not limited in this disclosure.
In a possible implementation manner of the embodiment of the present disclosure, when the server stores the storage addresses of the multimedia resources indicated by the multiple resource identifiers, the storage duration of the storage addresses of the multimedia resources indicated by the multiple resource identifiers may be timed by the timer.
In another possible implementation manner of the embodiment of the present disclosure, a throttling function may be used to time the storage duration of the storage address of the multimedia resource indicated by the multiple resource identifiers.
The resource recommendation method of the embodiment of the disclosure reads the storage addresses of the multimedia resources indicated by the multiple resource identifiers corresponding to the cover page image through the server; 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 resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the multimedia resources displayed firstly; and sending the information flow to the client. Therefore, when a user triggers a cover page, 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 which are interested by the user to play according to the requirement of the user, and the use experience of the user can be improved.
Fig. 1 to fig. 3 are embodiments of methods executed by a server, and the present disclosure further provides an embodiment of a method executed by a client.
FIG. 4 is a flowchart illustrating a resource recommendation method according to an example embodiment four.
The resource recommendation method of the embodiment of the disclosure can be applied to a client, so that the client can execute a resource recommendation function.
As shown in fig. 4, the resource recommendation method may include steps S401 to S403.
Step S401, monitoring the access operation to the recommended page entrance, and sending an access request to the server.
In the embodiment of the disclosure, a user can open a certain application (such as a short video application) according to own requirements, enter a recommended page, and when a client monitors an access operation of the user to an entrance of the recommended page, an access request can be sent to a server.
Step S402, receiving a cover page image sent by the server end in response to the access request, and displaying the cover page image on a recommendation page; the cover page image shown in the recommendation page is a cover page of the multimedia resource indicated by the first identifier in the plurality of resource identifiers acquired from the recommendation service when the server receives the access request of the client.
In the embodiment of the disclosure, after receiving an access request from a client, a server may obtain and store a plurality of resource identifiers recommended by a recommendation service, that is, the server may call the recommendation service to obtain and store a plurality of resource identifiers returned by the recommendation service. After obtaining the plurality of resource identifiers recommended by the recommendation service, the server may obtain, from the resource server, a cover page map corresponding to the first identifier according to the first identifier in the plurality of resource identifiers, where the cover page map is a cover page of the multimedia resource indicated by the first identifier. For example, when the multimedia resource is audio, the cover art that can be obtained from the resource server may be album art corresponding to the audio, and when the multimedia resource is video, the cover art that can be obtained from the resource server may be video art.
The resource server may store a corresponding relationship between the resource identifier, the cover, and the multimedia resource.
In a possible implementation manner of the embodiment of the present disclosure, the server may send a cover query request to the 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 the multimedia resource corresponding to the first identifier, and return, to the server, the cover of the multimedia resource corresponding to the first identifier.
In the embodiment of the disclosure, after receiving the front cover picture sent by the server, the client may display the front cover picture on the recommendation page.
Step S403, monitoring a triggering operation on the cover page, obtaining an information stream from the server, and displaying the information stream on an information stream display page, where the information stream includes multimedia resources indicated by multiple resource identifiers.
In the embodiment of the present disclosure, after the client displays the cover page on the recommended page, the user may click the cover page 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 page, the client can acquire the information stream from the server. Specifically, the server may respond to the triggering operation of the cover page map monitored by the client, obtain, according to the stored multiple resource identifiers, the 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. 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 a user clicks the cover map, it may indicate that the user is attracted by the cover map, and is interested in the multimedia resource corresponding to the cover map, therefore, in order to improve the immersive use experience of the user, the multimedia resource that is first shown in the information stream may be the multimedia resource that is indicated by the first identifier, so that after the client monitors the triggering operation of the user on the cover map, the client may show the multimedia resource that is indicated by the first identifier as the first multimedia resource on the information stream display page. Therefore, the first multimedia resource watched by the user is the multimedia resource corresponding to the cover picture, 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 side in fig. 1 to fig. 3 is also applicable to the method embodiment executed by the client side, and the implementation principle is similar, which is not described herein again.
According to the resource recommendation method, the client monitors the access operation to the recommended page entrance, and sends an access request to the server; receiving a cover page image sent by the server end in response to the access request, and displaying the cover page image on a recommended page; the cover page graph displayed in the recommendation page is a cover page of the multimedia resource indicated by a first identifier in a plurality of resource identifiers acquired from the recommendation service when the server receives an access request of a client; monitoring triggering operation of a cover page, acquiring an information flow from a server, and displaying the information flow on an information flow display page, wherein the information flow comprises multimedia resources indicated by a plurality of resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
Corresponding to the resource recommendation method provided in the embodiments of fig. 1 to 3, the present disclosure also provides a resource recommendation device, and since the resource recommendation device provided in the embodiments of the present disclosure corresponds to the resource recommendation method provided in the embodiments of fig. 1 to 3, the implementation manner of the resource recommendation method is also applicable to the resource recommendation device provided in the embodiments of the present disclosure, and is not described in detail in the embodiments of the present disclosure.
FIG. 5 is a block diagram of a resource recommendation device shown in accordance with an example embodiment. The resource recommendation device can be applied to a server.
Referring to fig. 5, the resource recommendation apparatus 500 may include: an obtaining module 510, a first sending module 520, and a second sending module 530.
The obtaining module 510 is configured to, when receiving an access request of a client, obtain and store a plurality of resource identifiers recommended by a recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client.
And a first sending module 520 configured to execute sending, to the client, a cover page map displayed in the recommendation page according to a first identifier of the plurality of resource identifiers, where the cover page map displayed in the recommendation page is a cover page of the multimedia resource indicated by the first identifier.
And a second sending module 530 configured to execute a triggering operation on the cover page map in response to the monitoring of the client, and send an information stream to the client according to the stored plurality of resource identifiers, wherein the information stream includes the multimedia resource indicated by the plurality of resource identifiers.
Further, in a possible implementation manner of the embodiment of the present disclosure, the cover page image displayed in the recommendation page corresponds to a plurality of resource identifiers, and the second sending module 530 is specifically configured to execute: reading a plurality of resource identifications corresponding to the cover drawings; acquiring multimedia resources indicated by a plurality of resource identifiers; generating an information stream according to the multimedia resources indicated by the resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the multimedia resources displayed firstly; and sending the information flow to the client.
Further, in a possible implementation manner of the embodiment of the present disclosure, the resource recommendation apparatus 500 may further include:
and the first deleting module is configured to delete the stored resource identifiers in response to the storage duration reaching a first set duration threshold.
Further, in a possible implementation manner of the embodiment of the present disclosure, the resource recommendation apparatus 500 may further include:
and the storage module is configured to acquire and store the storage address of the multimedia resource indicated by the plurality of resource identifications according to the plurality of resource identifications.
Further, in a possible implementation manner of the embodiment of the present disclosure, the cover page 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 execute: reading storage addresses of multimedia resources indicated by a plurality of resource identifications corresponding to the cover page graph; 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 resource identifiers, wherein the multimedia resources indicated by the first identifier in the information stream are the multimedia resources displayed firstly; and sending the information flow to the client.
Further, in a possible implementation manner of the embodiment of the present disclosure, the resource recommendation apparatus 500 may further include:
and the second deleting module is configured to delete the storage addresses of the multimedia resources indicated by the stored multiple resource identifications in response to the storage duration reaching a second set duration threshold.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
The resource recommendation device of the embodiment of the disclosure acquires and stores a plurality of resource identifiers recommended by a recommendation service when receiving an access request of a client through a server; the resource identifier is used for indicating the multimedia resource to be displayed by the client; sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier; and responding to the triggering operation of the cover page graph monitored by the client, and sending an information stream to the client according to the stored resource identifiers, wherein the information stream comprises the multimedia resources indicated by the resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
Corresponding to the resource recommendation method provided in the embodiment of fig. 4, the present disclosure also provides a resource recommendation device, and since the resource recommendation device provided in the embodiment of the present disclosure corresponds to the resource recommendation method provided in the embodiment of fig. 4, the implementation manner of the resource recommendation method is also applicable to the resource recommendation device provided in the embodiment of the present disclosure, and is not described in detail in the embodiment of the present disclosure.
FIG. 6 is a block diagram illustrating a resource recommendation device according to an example embodiment. The resource recommendation device can be applied to a client.
Referring to fig. 6, the resource recommendation apparatus 600 may include: a sending module 610, a receiving module 620 and a presentation module 630.
The sending module 610 is configured to monitor an access operation to a recommended page entry and send an access request to a server.
The receiving module 620 is configured to execute receiving of the cover page map sent by the server in response to the access request, and display the cover page map on the recommendation page; the cover page image shown in the recommendation page is a cover page of the multimedia resource indicated by the first identifier in the plurality of resource identifiers acquired from the recommendation service when the server receives the access request of the client.
And the presentation module 630 is configured to monitor the trigger operation on the cover page, acquire an information stream from the server, and present the information stream on an information stream presentation page, where the information stream includes a multimedia resource indicated by a plurality of resource identifiers.
Further, in a possible implementation manner of the embodiment of the present disclosure, the first multimedia resource in the information stream is a multimedia resource indicated by the first identifier.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
The resource recommendation device of the embodiment of the disclosure monitors access operation to a recommended page entry through a client, and sends an access request to a server; receiving a cover page image sent by the server end in response to the access request, and displaying the cover page image on a recommended page; the cover page graph displayed in the recommendation page is a cover page of the multimedia resource indicated by a first identifier in a plurality of resource identifiers acquired from the recommendation service when the server receives an access request of a client; monitoring triggering operation of a cover page, acquiring an information flow from a server, and displaying the information flow on an information flow display page, wherein the information flow comprises multimedia resources indicated by a plurality of resource identifiers. Therefore, when the user wants to browse the multimedia resources, the user only needs to call the recommendation service once, and the pressure of the recommendation service can be reduced. In addition, as the recommendation service does not need to be called for many times, the calling time delay can be reduced, the page response speed is increased, and the use experience of a user is improved.
In order to implement the above embodiments, the embodiment of the present disclosure further provides a server.
Wherein, the server side includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource recommendation method as described in any of the previous fig. 1 to 3.
In order to implement the above embodiments, the embodiment of the present disclosure further provides a client.
Wherein, the client includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource recommendation method as described in the foregoing fig. 4.
As an example, fig. 7 is a block diagram of an electronic device 700 shown according to an exemplary embodiment, where the electronic device may be a client or a server in the foregoing embodiments, and as shown in fig. 7, the electronic device 700 may further include:
a memory 710 and a processor 720, a bus 730 connecting different components (including the memory 710 and the processor 720), wherein the memory 710 stores a computer program, and when the processor 720 executes the program, the resource recommendation method according to the embodiment of the disclosure is implemented.
Bus 730 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, 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 may 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. The 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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 730 by one or more data media interfaces. Memory 710 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 780 having a set (at least one) of program modules 770 may be stored, for example, in 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 770 typically perform 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.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur over input/output (I/O) interfaces 792. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 793. As shown, the network adapter 793 communicates with the other modules of the electronic device 700 over a bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 720 executes various functional applications and data processing by executing programs stored in the memory 710.
It should be noted that, for the implementation process and the technical principle of the electronic device of this embodiment, reference is made to the foregoing explanation of the resource recommendation method according to any embodiment of the present disclosure, and details are not described here again.
In order to implement the above embodiments, the embodiments of the present disclosure further provide a storage medium.
Wherein the instructions in the storage medium, when executed by a processor of the electronic device, enable the electronic device to perform the resource recommendation method as in any of the preceding.
To implement the above 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 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 variations, uses, or adaptations of the disclosure following, in general, the 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A resource recommendation method is characterized by comprising the following steps:
when an access request of a client is received, acquiring and storing a plurality of resource identifiers recommended by a recommendation service; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
sending a cover page map displayed in a recommended page to the client according to a first identifier in the plurality of resource identifiers, wherein the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the first identifier;
and responding to the triggering operation of the cover picture monitored by the client, and sending an information stream to the client according to the stored resource identifications, wherein the information stream comprises the multimedia resources indicated by the resource identifications.
2. The resource recommendation method according to claim 1, wherein the cover page map displayed in the recommendation page corresponds to the plurality of resource identifiers, and the sending of the information stream to the client according to the stored plurality of resource identifiers comprises:
reading a plurality of resource identifications corresponding to the cover drawings;
acquiring multimedia resources indicated by the plurality of resource identifications;
generating the information flow according to the multimedia resources indicated by the resource identifications, wherein the multimedia resource indicated by the first identification in the information flow is the multimedia resource displayed firstly;
and sending the information flow to the client.
3. The resource recommendation method according to claim 1 or 2, wherein after obtaining and storing the plurality of resource identifications recommended by the recommendation service, the method further comprises:
and deleting the stored resource identifiers in response to the storage duration reaching a first set duration threshold.
4. The resource recommendation method according to claim 1, wherein after obtaining the plurality of resource identifiers recommended by the recommendation service, the method further comprises:
and acquiring and storing the storage addresses of the multimedia resources indicated by the plurality of resource identifiers according to the plurality of resource identifiers.
5. The resource recommendation method according to claim 1, wherein the cover page 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 of the information stream to the client according to the stored plurality of resource identifiers comprises:
reading the storage addresses of the multimedia resources indicated by the plurality of resource identifications corresponding to the cover page graph;
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 the information flow according to the multimedia resources indicated by the resource identifications, wherein the multimedia resource indicated by the first identification in the information flow is the multimedia resource displayed firstly;
and sending the information flow to the client.
6. The resource recommendation method according to claim 4 or 5, further comprising, after obtaining and storing the storage addresses of the multimedia resources indicated by the plurality of resource identifiers:
and deleting the storage addresses of the stored 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 recommendation service when receiving an access request of a client; the resource identifier is used for indicating the multimedia resource to be displayed by the client;
a first sending module configured to execute sending, to the client, a cover page map displayed in a recommended page according to a head identifier in the plurality of resource identifiers, where the cover page map displayed in the recommended page is a cover page of the multimedia resource indicated by the head identifier;
and the second sending module is configured to execute a triggering operation on the cover page graph in response to monitoring by a client, and send an information stream to the client according to the stored resource identifications, wherein the information stream comprises multimedia resources indicated by the resource identifications.
8. 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.
9. A storage medium, wherein instructions when executed by a processor of a server enable the server to perform the resource recommendation method of any one of claims 1 to 6.
10. A computer program product, comprising a computer program which, when executed by a processor, implements the resource recommendation method of any one of claims 1-6.
CN202110401132.5A 2021-04-14 2021-04-14 Resource recommendation method, device, server and storage medium Pending CN113139123A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN113139123A true CN113139123A (en) 2021-07-20

Family

ID=76812582

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113139123A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535274A (en) * 2021-07-30 2021-10-22 北京字跳网络技术有限公司 Head resource display method and device, electronic equipment and storage medium
CN114024931A (en) * 2021-09-30 2022-02-08 北京达佳互联信息技术有限公司 Information display method, device, terminal, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100185671A1 (en) * 2009-01-19 2010-07-22 Microsoft Corporation Personalized media recommendation
CN110046263A (en) * 2019-04-23 2019-07-23 腾讯音乐娱乐科技(深圳)有限公司 Multimedia recommendation method, device, server and storage medium
CN110519621A (en) * 2019-09-20 2019-11-29 北京字节跳动网络技术有限公司 Video recommendation method, device, electronic equipment and computer-readable medium
CN110932963A (en) * 2019-11-21 2020-03-27 北京达佳互联信息技术有限公司 Multimedia resource sharing method, system, device, terminal, server and medium
CN112087652A (en) * 2020-08-03 2020-12-15 北京达佳互联信息技术有限公司 Video production method, video sharing device, electronic equipment and storage medium
CN112272302A (en) * 2020-09-17 2021-01-26 北京达佳互联信息技术有限公司 Multimedia resource display method, device, system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100185671A1 (en) * 2009-01-19 2010-07-22 Microsoft Corporation Personalized media recommendation
CN110046263A (en) * 2019-04-23 2019-07-23 腾讯音乐娱乐科技(深圳)有限公司 Multimedia recommendation method, device, server and storage medium
CN110519621A (en) * 2019-09-20 2019-11-29 北京字节跳动网络技术有限公司 Video recommendation method, device, electronic equipment and computer-readable medium
CN110932963A (en) * 2019-11-21 2020-03-27 北京达佳互联信息技术有限公司 Multimedia resource sharing method, system, device, terminal, server and medium
CN112087652A (en) * 2020-08-03 2020-12-15 北京达佳互联信息技术有限公司 Video production method, video sharing device, electronic equipment and storage medium
CN112272302A (en) * 2020-09-17 2021-01-26 北京达佳互联信息技术有限公司 Multimedia resource display method, device, system and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535274A (en) * 2021-07-30 2021-10-22 北京字跳网络技术有限公司 Head resource display method and device, electronic equipment and storage medium
CN114024931A (en) * 2021-09-30 2022-02-08 北京达佳互联信息技术有限公司 Information display method, device, terminal, server and storage medium
CN114024931B (en) * 2021-09-30 2024-02-13 北京达佳互联信息技术有限公司 Information display method, device, terminal, server and storage medium

Similar Documents

Publication Publication Date Title
EP4087258A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
US20200396496A1 (en) Method, apparatus for processing video, electronic device and computer-readable storage medium
US10326715B2 (en) System and method for updating information in an instant messaging application
CN112929678B (en) Live broadcast method, live broadcast device, server side and computer readable storage medium
US20100268694A1 (en) System and method for sharing web applications
CN104539977A (en) Live broadcast previewing method and device
WO2020063101A1 (en) Method and apparatus for pushing video content object, and electronic device
CN110740339A (en) Live content preview method and device
CN113139123A (en) Resource recommendation method, device, server and storage medium
CN112000911B (en) Page management method, device, electronic equipment and storage medium
WO2022134555A1 (en) Video processing method and terminal
CN113225607B (en) Method and system for displaying gift in live broadcast room
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
US20240028189A1 (en) Interaction method and apparatus, electronic device and computer readable medium
CN110740088A (en) Method, device, terminal and medium for recommending and adding social resources
CN113556568B (en) Cloud application running method, system, device and storage medium
US11689757B2 (en) Method and apparatus for providing video streams
CN110351581B (en) Data request processing method and device, terminal equipment and storage medium
EP4318197A1 (en) Virtual live broadcast room display method and apparatus, client, server, and medium
CN112135199B (en) Video playing method based on multiple types of video sources and related equipment
CN103313131A (en) Request equipment, provision equipment, historical record operation system and method
CN110300321B (en) Banner display method and device
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
CN109561352B (en) Media object playing method and device, storage medium and electronic device

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