CN112115341A - Content display method, device, terminal, server, system and storage medium - Google Patents

Content display method, device, terminal, server, system and storage medium Download PDF

Info

Publication number
CN112115341A
CN112115341A CN202010968239.3A CN202010968239A CN112115341A CN 112115341 A CN112115341 A CN 112115341A CN 202010968239 A CN202010968239 A CN 202010968239A CN 112115341 A CN112115341 A CN 112115341A
Authority
CN
China
Prior art keywords
content
current
recommended
recommendation
display interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010968239.3A
Other languages
Chinese (zh)
Other versions
CN112115341B (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
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 CN202010968239.3A priority Critical patent/CN112115341B/en
Publication of CN112115341A publication Critical patent/CN112115341A/en
Application granted granted Critical
Publication of CN112115341B publication Critical patent/CN112115341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • 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/9536Search customisation based on social or collaborative filtering
    • 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/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a content display method, a content display device, a content display terminal, a content display server, a content display system and a storage medium. The method comprises the following steps: receiving interactive operation implemented on a content display interface by a user; detecting that the current content displayed by the content display interface is related to a set area of the content display interface under the trigger of the interactive operation, and determining that the interactive operation is a content recommendation operation; and responding to the content recommendation operation, and acquiring and displaying recommended content corresponding to the current content. By the method, the user can implement the operation of associating the current content to the set area through the content display interface of the client, the operation is convenient and fast, and the efficiency of checking the recommended content corresponding to the current content is improved.

Description

Content display method, device, terminal, server, system and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a content display method, device, terminal, server, system, and storage medium.
Background
The current content platform contains various contents, when a user browses a certain content through a client of the content platform, if the user wants to view more contents similar to the content, the user generally needs to search by himself, and the specific process includes inputting content title information or keywords extracted by the user in a search box of the client, and clicking on the search, so that the user can view more contents similar to the content at the client; however, this method is cumbersome to operate, and the efficiency of viewing similar content of a certain content is low.
Disclosure of Invention
The present disclosure provides a content presentation method, device, terminal, server, system, and storage medium, to at least solve the problem of low efficiency in viewing similar content of a certain content in related art. The technical scheme of the disclosure is as follows:
in a first aspect, a method for content presentation is provided, the method comprising:
receiving interactive operation implemented on a content display interface by a user;
detecting that the current content displayed by the content display interface is related to a set area of the content display interface under the trigger of the interactive operation, and determining that the interactive operation is a content recommendation operation;
and responding to the content recommendation operation, and acquiring and displaying recommended content corresponding to the current content.
As one embodiment, the interactive operation includes an operation of moving a content image corresponding to the current content;
the detecting that the current content displayed by the content display interface triggered by the interactive operation is associated to a set area of the content display interface, and the determining that the interactive operation is a content recommendation operation includes:
and detecting that the interactive operation triggers the content image corresponding to the current content to move to a set area of the content display interface, and determining that the interactive operation is a content recommendation operation.
As one embodiment, the method further comprises the following steps:
and responding to the operation of selecting the current content displayed on the content display interface by a user, acquiring the current content image of the current content when the operation is received, or acquiring a cover image corresponding to the current content, and taking the current content image or the cover image as the content image corresponding to the current content.
As one embodiment, the method further comprises the following steps:
and reducing the display size of the content image in the process of moving the content image corresponding to the current content.
As one embodiment, the reducing the display size of the content image includes:
acquiring the moving distance of the content image in the process that the content image corresponding to the current content is moved;
and reducing the display size of the content image according to the moving distance, wherein the reduced display size of the content image and the moving distance form an inverse correlation relationship.
As one embodiment, the method further comprises:
and enlarging the display size of the set area in the process of moving the content image corresponding to the current content.
As one embodiment, the enlarging the display size of the setting area includes:
acquiring the spacing distance between the content image and the set area in the process that the content image corresponding to the current content is moved;
and amplifying the display size of the set area according to the spacing distance, wherein the amplified display size of the set area and the spacing distance form an inverse correlation relationship.
As one embodiment, the method further comprises the following steps:
when the content image corresponding to the current content is moved to the setting area, the display size of the content image is smaller than or equal to the display size of the setting area.
As one embodiment, the obtaining of the recommended content corresponding to the current content includes:
acquiring label information corresponding to the current content;
and acquiring the content corresponding to the current content from a content resource library according to the label information to serve as the recommended content.
As one embodiment, the method further comprises:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content;
and receiving the recommended content returned by the server.
As an embodiment, the obtaining, from a content repository, a content corresponding to the current content according to the tag information as the recommended content includes:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
screening the recommended content from the candidate content by at least one of the following methods:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
As one embodiment, the setting area includes at least two areas distributed at different positions on the content display interface, and the at least two areas respectively correspond to different recommendation modes;
the method further comprises the following steps:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
and acquiring the label information corresponding to the current content, and acquiring the recommended content corresponding to the current content from a content resource library according to the label information corresponding to the current content and the target recommendation mode corresponding to the target area.
As an embodiment, the obtaining, according to the tag information corresponding to the current content and the target recommendation mode corresponding to the target area, recommended content corresponding to the current content from a content repository includes:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
As an embodiment, the obtaining, according to the tag information corresponding to the current content and the target recommendation mode corresponding to the target area, the content corresponding to the current content from a content repository as recommended content includes:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content from a content resource library according to a target recommendation mode corresponding to the target area and label information corresponding to the current content;
and receiving the recommended content returned by the server.
As an embodiment, the obtaining of the tag information corresponding to the current content includes:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model;
the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
As one embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag;
the determining the matching degree between the tag information of each content in the content resource library and the tag information of the current content includes:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
As one embodiment, the method further comprises the following steps:
obtaining the sequencing information of the recommended content; the sequencing information represents the recommendation degree of each recommended content;
and displaying a preset content recommendation page on the content display interface, wherein the content recommendation page comprises the current content and the recommended content, and the recommended content is displayed according to the sequencing information.
In a second aspect, a method of content presentation, the method comprising:
responding to a content recommendation request, and acquiring recommended content corresponding to the current content; the content recommendation request is a request sent by a client when a client receives interactive operation implemented on a content display interface by a user and the interactive operation triggers the current content displayed by the content display interface to be associated to a set area of the content display interface;
and sending the recommended content to the client to display the recommended content on the client.
As one embodiment, the interactive operation performed by the user on the content presentation interface includes an operation of moving a content image corresponding to the current content; the triggering of the current content displayed by the content display interface to be associated with the set area of the content display interface comprises triggering of a content image corresponding to the current content to move to the set area of the content display interface;
the obtaining of the recommended content corresponding to the current content in response to the content recommendation request of the client includes:
acquiring label information corresponding to the current content;
and acquiring the content corresponding to the current content from a content resource library as recommended content according to the label information.
As an embodiment, the obtaining, according to the tag information, a content corresponding to the current content from a content repository as a recommended content includes:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
screening the recommended content from the candidate content by at least one of the following methods:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
As one embodiment, the setting area includes at least two areas distributed at different positions on the content display interface of the client, and the at least two areas respectively correspond to different recommendation modes;
the obtaining of the recommended content corresponding to the current content includes:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
acquiring label information corresponding to the current content, and acquiring a target recommendation mode corresponding to a target area;
and acquiring the content corresponding to the current content from a content resource library according to the target recommendation mode and the label information to serve as recommended content.
As one embodiment, acquiring, from a content repository, a content corresponding to the current content according to the target recommendation mode and the tag information, as a recommended content, includes:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
As an embodiment, the obtaining of the tag information corresponding to the current content includes:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model;
the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
As one embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag;
the determining the matching degree between the tag information of each content in the content resource library and the tag information of the current content includes:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
In a third aspect, a content presentation device comprises:
the operation acquisition unit is configured to execute interactive operation implemented on the content display interface by a receiving user;
the operation judging unit is configured to execute the steps of detecting that the current content displayed by the content display interface is related to a set area of the content display interface and determining that the interactive operation is a content recommendation operation;
and the recommending unit is configured to execute the operation of responding to the content recommendation, acquire and display the recommended content corresponding to the current content.
As one embodiment, the interactive operation includes an operation of moving a content image corresponding to the current content;
the operation judging unit is configured to execute the step of detecting that the interactive operation triggers the content image corresponding to the current content to move to a set area of the content display interface, and determine that the interactive operation is a content recommendation operation.
As one embodiment, the method further comprises the following steps:
the content image acquisition unit is configured to execute an operation of responding to the current content displayed by the content display interface selected by a user, acquire a current content image of the current content when the operation is received, or acquire a cover image corresponding to the current content, and take the current content image or the cover image as a content image corresponding to the current content.
As one embodiment, the method further comprises the following steps:
a content display adjustment unit configured to perform reduction of a display size of a content image corresponding to the current content in a process in which the content image is moved.
As one embodiment, the content display adjustment unit is further configured to perform:
acquiring the moving distance of the content image in the process that the content image corresponding to the current content is moved;
and reducing the display size of the content image according to the moving distance, wherein the reduced display size of the content image and the moving distance form an inverse correlation relationship.
As one embodiment, the method further comprises the following steps:
an area display adjustment unit configured to perform enlarging a display size of the setting area in a process in which a content image corresponding to the current content is moved.
As one embodiment, the area display adjusting unit is further configured to perform:
acquiring the spacing distance between the content image and the set area in the process that the content image corresponding to the current content is moved;
and amplifying the display size of the set area according to the spacing distance, wherein the amplified display size of the set area and the spacing distance form an inverse correlation relationship.
As one embodiment, the content display adjustment unit is further configured to perform:
when the content image corresponding to the current content is moved to the setting area, the display size of the content image is smaller than or equal to the display size of the setting area.
As an embodiment, the recommending unit is further configured to perform:
acquiring label information corresponding to the current content;
and acquiring the content corresponding to the current content from a content resource library according to the label information to serve as the recommended content.
As an embodiment, the recommending unit is further configured to perform:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content;
and receiving the recommended content returned by the server.
As an embodiment, the recommending unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
screening the recommended content from the candidate content by at least one of the following methods:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
As one embodiment, the setting area includes at least two areas distributed at different positions on the content display interface, and the at least two areas respectively correspond to different recommendation modes;
the recommending unit is further configured to perform:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
and acquiring the label information corresponding to the current content, and acquiring the recommended content corresponding to the current content from a content resource library according to the label information corresponding to the current content and the target recommendation mode corresponding to the target area.
As an embodiment, the recommending unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
As an embodiment, the recommending unit is further configured to perform:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content from a content resource library according to a target recommendation mode corresponding to the target area and label information corresponding to the current content;
and receiving the recommended content returned by the server.
As an embodiment, the recommendation unit includes a tag determination module configured to perform:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model;
the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
As one embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag;
the recommending unit is further configured to perform:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
As an embodiment, the recommending unit is further configured to perform:
obtaining the sequencing information of the recommended content; the sequencing information represents the recommendation degree of each recommended content;
and displaying a preset content recommendation page on the content display interface, wherein the content recommendation page comprises the current content and the recommended content, and the recommended content is displayed according to the sequencing information.
In a fourth aspect, a content presentation device comprises:
a content acquisition unit configured to perform acquisition of recommended content corresponding to the current content in response to the content recommendation request; the content recommendation request is a request sent by a client when a client receives interactive operation implemented on a content display interface by a user and the interactive operation triggers the current content displayed by the content display interface to be associated to a set area of the content display interface;
a content sending unit configured to perform sending the recommended content to the client to present the recommended content at the client.
As one embodiment, the interactive operation performed by the user on the content presentation interface includes an operation of moving a content image corresponding to the current content; the triggering of the current content displayed by the content display interface to be associated with the set area of the content display interface comprises triggering of a content image corresponding to the current content to move to the set area of the content display interface;
the content acquisition unit is further configured to perform:
acquiring label information corresponding to the current content;
and acquiring the content corresponding to the current content from a content resource library as recommended content according to the label information.
As one embodiment, the content obtaining unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
screening the recommended content from the candidate content by at least one of the following methods:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
As one embodiment, the setting area includes at least two areas distributed at different positions on the content display interface of the client, and the at least two areas respectively correspond to different recommendation modes;
the content acquisition unit is further configured to perform:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
acquiring label information corresponding to the current content, and acquiring a target recommendation mode corresponding to a target area;
and acquiring the content corresponding to the current content from a content resource library according to the target recommendation mode and the label information to serve as recommended content.
As one embodiment, the content obtaining unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
As one embodiment, the content obtaining unit includes a tag determining module configured to perform:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model;
the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
As one embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag;
the content acquisition unit is further configured to perform:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
In a fifth aspect, a terminal is provided, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the content presentation method as described in any of the method embodiments of the first aspect above.
In a sixth aspect, a server is provided, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the content presentation method of any one of the method embodiments of the second aspect described above.
In a seventh aspect, a content presentation system is provided, which includes the terminal in the fifth aspect and the server in the sixth aspect.
In an eighth aspect, a storage medium is provided, in which instructions that, when executed by a processor of an electronic device, enable the electronic device to perform a content presentation method as described in any one of the method embodiments of the first aspect above.
In a ninth aspect, there is provided a storage medium having instructions which, when executed by a processor of a server, enable the server to perform a content presentation method as described in any one of the method embodiments of the second aspect above.
In a tenth aspect, there is provided a computer program product comprising a computer program stored in a readable storage medium, from which the computer program is read and executed by at least one processor of a device, such that the device performs the content presentation method as described in any one of the embodiments of the first or second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the user can implement the operation of associating the current content to the set area through a content display interface of the client, so as to trigger a content recommendation function, and display the recommended content corresponding to the current content to the user through the client; the user can check the recommended content corresponding to the current content through the client only by performing the operation of associating the current content displayed by the client to the set area, search information does not need to be input through the client, the user operation is convenient and fast, and the efficiency of checking similar content of the current content is improved.
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 diagram illustrating an application environment of a content presentation method according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method of content presentation according to an example embodiment.
Fig. 3 is a page effect diagram illustrating a content presentation method according to an exemplary embodiment.
FIG. 4 is a diagram illustrating the effect of a page showing recommended content according to an exemplary embodiment.
Fig. 5 is a page effect diagram illustrating a content presentation method according to another exemplary embodiment.
FIG. 6 is an interaction flow diagram illustrating a method of content presentation in accordance with an exemplary embodiment.
FIG. 7 is a block diagram illustrating one type of content presentation device of a client according to an example embodiment.
Fig. 8 is a block diagram illustrating a content presentation apparatus on a server side according to an exemplary embodiment.
Fig. 9 is an internal block diagram of an electronic device shown in accordance with an example embodiment.
Fig. 10 is an internal block diagram of another electronic device shown 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.
The content presentation method provided by the present disclosure may be applied to the application environment shown in fig. 1. Wherein the electronic device 100 interacts with the server 200 through the network. The electronic device 100 is installed with a client, which may be a community-class application, through which a user may view content information contained in the platform, such as video information, image set information, audio information, live information, and the like. The server 200 may also push the corresponding recommended content to the client.
The electronic device 100 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server 200 may be, but is not limited to, implemented by an independent server or a server cluster composed of a plurality of servers.
Fig. 2 is a flow chart illustrating a content presentation method, as shown in fig. 2, for use in an electronic device, according to an exemplary embodiment, including the following steps.
Step 201, receiving the interactive operation implemented on the content display interface by the user.
And displaying one or more pieces of content information to the user through the content display interface, wherein the current content belongs to one or more pieces of content information currently displayed to the user by the client. The user's interaction with the current content may include a variety of alternative forms of interaction, including but not limited to at least one of touch, non-contact gesture, voice, and eye gaze.
Step 202, detecting that the current content displayed by the content display interface triggered by the interactive operation is associated to a set area of the content display interface, and determining that the interactive operation is a content recommendation operation.
In the present disclosure, an interactive operation that associates the current content displayed on the content display interface with the set area of the content display interface is preset as an interactive operation for triggering content recommendation, and the interactive operation needs to be different from other content interactive operations of the user, so as to effectively determine that the interactive operation performed by the user on the current content is an operation for triggering content recommendation. The above-mentioned interactive operation for triggering content recommendation may include any form of interactive operation, including but not limited to at least one of a touch operation, a non-contact gesture operation, a voice operation, and a gaze operation.
Step 203, responding to the content recommendation operation, acquiring and displaying the recommended content corresponding to the current content.
In the present disclosure, the recommended content is a content corresponding to a current content for which the user performs an interactive operation, and the number of recommended contents is not limited. Moreover, the client may display the recommended content in any feasible manner, such as a list or a grid, a single-column or multiple-column, a single-screen display or a multi-screen display, a static display or a dynamic display, and the like.
Based on the method of the embodiment of the disclosure, a user can implement an operation of associating the current content to a set area through a content display interface of a client, so as to trigger a content recommendation function, and display recommended content corresponding to the current content to the user through the client; the user can check more contents similar to the current contents through the client only by implementing a specific operation on the current contents displayed by the client, and information for searching, such as content titles or keywords, does not need to be input through the client, so that the user operation is convenient and fast, and the efficiency of checking the corresponding contents of the current contents is improved.
In an exemplary embodiment, the interactive operation includes an operation of moving a content image corresponding to the current content; correspondingly, the method further comprises:
and detecting that the interactive operation triggers the content image corresponding to the current content to move to a set area of the content display interface, and determining that the interactive operation is a content recommendation operation.
In this disclosure, the content image corresponding to the current content may be a content image being displayed when the current content is subjected to the above-mentioned interactive operation, may also be a cover image corresponding to the current content, and may also be another content image selected by the user.
According to the embodiment, the content image corresponding to the current content is moved to the set area, so that the content recommendation function of the client is triggered, compared with the traditional mode that the user inputs relevant information by himself to search the content, the operation of the user is convenient and fast, and the efficiency of checking the corresponding content of the current content is improved; and visual operation feedback can be provided for the user by moving the content image corresponding to the current content, so that misoperation of the user is prevented.
In one exemplary embodiment, the content presentation method of the present disclosure further includes: and responding to the operation of selecting the current content displayed on the content display interface by a user, acquiring the current content image of the current content when the operation is received, or acquiring a cover image corresponding to the current content, and taking the current content image or the cover image as the content image corresponding to the current content.
According to the position change information, if it is detected that the content image corresponding to the current content enters the set area from the outside of the set area, it is determined that the content image corresponding to the current content is triggered to move to the set area of the content display interface by the interaction operation, and therefore it is determined that the interaction operation belongs to interaction for triggering content recommendation.
The number of the setting regions may be one or more. The setting area may be an area within the screen display area of the client, for example, one or more corner areas above, below, left, and right within the screen display area; in some embodiments, the setting area may also be an edge of the screen display area of the client, or even an area outside the screen display area, for example, a hidden area in one or more directions of up, down, left, and right outside the screen display area. In addition, in order to prevent an erroneous operation, a setting region, such as the setting region 2 shown in fig. 3, may be explicitly displayed in the client screen display region; further, in order to prompt the user about the function corresponding to the area, a corresponding prompt message, for example, "find similar", may be displayed in the vicinity of the setting area 2.
It will be appreciated that the explicit display mode of region 2 (including shape, size, rendering effect, cues, etc.) is set, including but not limited to the display mode shown in fig. 3.
The operation information for moving the content image corresponding to the current content to the setting area may be operation information for dragging the content image corresponding to the current content to the setting area, or other multi-touch operation information for moving the content image corresponding to the current content to the setting area. The determination criterion for the content image corresponding to the current content entering the setting area from the outside of the setting area may be that the content image corresponding to the current content partially enters the setting area, or that the content image corresponding to the current content completely enters the setting area, and the determination criterion may be set based on the actual situation.
Through the embodiment, the user moves or drags the currently displayed content on the content display interface, the client detects the operation, acquires and displays the corresponding content image, and continuously displays the content image in the user operation process, so that on one hand, visual feedback is timely provided for the user to indicate that the moving or dragging operation performed by the user for the current content is effective, and misoperation of the user is prevented.
In one exemplary embodiment, the content presentation method further includes the steps of:
and in the process of moving the content image corresponding to the current content, reducing the display size of the content image corresponding to the current content on the client.
Through the embodiment, in the operation process of the current content by the user, the display size of the content image corresponding to the current content is adjusted, so that the display size can be used as a timely feedback mechanism of an operation effect, and misoperation aiming at the current content can be prevented to a certain extent.
The manner of reducing the display size of the content image corresponding to the current content at the client is, for example: acquiring the moving distance of the content image corresponding to the current content in the process that the content image corresponding to the current content is moved; and reducing the display size of the content image corresponding to the current content at the client according to the moving distance, wherein the reduced display size of the current content and the moving distance form a reverse correlation relationship.
Specifically, the display size of the content image corresponding to the current content may be reduced at a constant speed according to the original display size and the minimum display size corresponding to the content image corresponding to the current content, in combination with the current moved distance, so that the display size is reduced from the original display size to the minimum display size at a constant speed in the content image moving process corresponding to the current content, and the continuity of the change of the display size in the content image moving process corresponding to the current content is ensured.
The original display size and the minimum display size corresponding to the content image corresponding to the current content can be set according to actual conditions; for example, the original display size of the content image corresponding to the current content may be the full size of the client, or 80% or 50% of the full size of the client, etc., which may give the user more noticeable visual feedback than the full size.
As an exemplary embodiment, when the user triggers an operation on the current content, the current display size of the current content may be first used as the original display size of the content image corresponding to the current content, and in the subsequent moving process, the display size of the content image corresponding to the current content is gradually reduced from the original display size to be able to be completely displayed in the setting area 2.
As another exemplary embodiment, when the user triggers an operation on the current content, the display size of the content image corresponding to the current content may be first adjusted to a preset original display size, for example, as shown in fig. 3(a), when the current content is normally displayed through the client, the display size corresponding to the current content is full screen of the client, when the operation information that the user presses and selects the current content is detected, the content image 1 corresponding to the current content is acquired, the display size of the content image 1 corresponding to the current content is first adjusted to the original display size shown in fig. 3(b), and in the subsequent moving process, the display size of the content image 1 corresponding to the current content is gradually reduced from the original display size to a change process that can be completely displayed in the setting area 2, for example, 3(b) -3 (d). Through the embodiment, an obvious change occurs between the initial display size of the content image corresponding to the current content and the display size of the content image before operation, and the user can be timely fed back that the operation aiming at the current content is effective through the mode.
In addition, in the process of reducing the display size of the content image corresponding to the current content, the display scale of the content image corresponding to the current content can be kept unchanged, and content deformation in the process of moving the content image corresponding to the current content is avoided.
Through the embodiment, in the process of moving the content image corresponding to the current content, the display size of the content image corresponding to the current content is gradually adjusted from large to small according to the moving distance of the content image corresponding to the current content, so that the content image is used as a feedback mechanism to feed back the response condition of the current operation to a user, the interest of the user in participating in the operation is improved, and the misoperation of the user is prevented; meanwhile, the display fluency of the client is also ensured by gradually adjusting the display size.
In an exemplary embodiment, the content presentation method may further include: and enlarging the display size of the set area in the process of moving the content image corresponding to the current content.
In order not to affect the content display effect, the display size of the setting area is generally small, which may cause a difficulty in the operation of the user to move the content image corresponding to the current content to the setting area to be large.
Specific modes for enlarging the display size of the setting area include: acquiring a spacing distance between a content image corresponding to the current content and the set area in the process that the current content is moved; and amplifying the display size of the set area according to the spacing distance, wherein the amplified display size of the set area and the spacing distance form an inverse correlation relationship.
Specifically, the display size of the set area can be enlarged at a constant speed according to the original display size and the maximum display size corresponding to the set area and by combining the distance between the content image corresponding to the current content and the set area, so that the display size of the set area is enlarged from the original display size to the maximum display size at the constant speed in the moving process of the current content, and the interaction effect is improved. In addition, when the display size of the setting region is enlarged, the shape of the setting region can be kept unchanged, and deformation of the setting region can be avoided.
The original display size and the minimum display size corresponding to the content image corresponding to the current content, and the original display size and the maximum display size corresponding to the set area can be set respectively; for example, the original display size of the content image corresponding to the current content is generally large, and may be the maximum full size of the client, and the original display size of the set area is generally small, so as to prevent blocking normal content browsing.
Through the embodiment, in the process of moving the content image corresponding to the current content by the user, the mode of uniformly amplifying the display size of the set area reduces the operation difficulty of moving the content image corresponding to the current content to the set area by the user, ensures the operation efficiency and is also beneficial to ensuring the display smoothness of the client.
Further, when the content image corresponding to the current content is moved into the setting area, the display size of the content image corresponding to the current content is adapted to the display size of the setting area, that is, the display size of the content image needs to be smaller than or equal to the display size of the setting area. Such as shown in fig. 3 (d).
Through the embodiment, when the content image corresponding to the current content is completely moved to the set area, the content recommendation function of the client is triggered, so that misoperation can be further prevented.
As an exemplary embodiment, the content presentation method further includes: acquiring label information corresponding to the current content; and acquiring the content corresponding to the current content from a content resource library according to the label information to serve as the recommended content corresponding to the current content.
The tag information of the current content includes, but is not limited to, publisher information, content style information, people, animals, and landscape information included in the content, and specifically includes: fresh, lovely pet, star, grassland and other label information.
The tag information corresponding to the current content may be tag information selected by a publisher when publishing the content, or may be tag information obtained based on content analysis.
According to the embodiment, the recommended content similar to the style or tone of the current content can be acquired from the content resource library based on the label information of the current content, so that the accuracy of the recommended content is improved; and moreover, compared with the matching of the content and the content, the recommended content is determined by comparing the label information of different contents, so that the data processing amount is reduced, and the efficiency of displaying the recommended content corresponding to the current content to the user is improved.
As an exemplary embodiment, the client may obtain, by the server, recommended content corresponding to the current content, and the specific implementation may include:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content and returning the recommended content to the client; and the client receives the recommended content returned by the server.
In the embodiment, the client may send the identification information of the current content to the server, perform tag analysis at the server, and complete the process of screening the recommended content from the content repository based on the server.
As another exemplary embodiment, the client may also autonomously obtain recommended content corresponding to the current content, and the specific implementation may include: after the client acquires the tag information corresponding to the current content, determining the matching degree of the tag information of each content in a content resource library and the tag information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content; and screening the recommended content from the candidate content by adopting at least one of the following modes:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
Through the embodiment, the client autonomously obtains the recommended content corresponding to the current content, the interaction process with the server is simple, even the client does not need to depend on the server, and the influence of the network or the server is small.
As an exemplary embodiment, the client or the server may obtain the tag information of the current content by:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model; the content classification model is obtained by training based on a content sample and a classification label corresponding to the content sample, and the content classification model is used for identifying at least one classification label corresponding to input content.
The label information corresponding to the current content is obtained through the pre-trained content classification model, more objective label information can be obtained, and the problem that the recommended content displayed to the user is not similar to the current content due to the fact that the label information set by the content publisher is inaccurate can be avoided to a certain extent.
As an exemplary embodiment, the tag information corresponding to each content in the content repository may include a tag vector of at least one category tag, and the tag information of the current content may include a tag vector of at least one category tag; the determining, by the server or the client, the matching degree between the tag information of each content in the content repository and the tag information of the current content may specifically include:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
Because the current content and each content information in the content resource library can have a plurality of label information at the same time, the matching degree between the label information of two content information is difficult to calculate accurately. Through the embodiment, the tag vector corresponding to the content information is obtained according to the plurality of tag information corresponding to the content information, and the matching degree between the tag information of the two contents can be more objectively quantified by calculating the vector distance between the tag vector and the tag vector.
It can be understood that no matter the client autonomously obtains the recommended content corresponding to the current content or the client obtains the recommended content corresponding to the current content through the server, the user of the client can customize the recommendation mode. If the client side obtains the recommended content corresponding to the current content through the server, the user-defined recommendation mode is sent to the server side in advance for storage, and when the server subsequently receives the content recommendation request of the user, the user-defined recommendation mode is adopted to obtain the recommended content and return the recommended content, so that differentiated content recommendation to different users is realized.
As an exemplary embodiment, the setting area includes at least two areas distributed at different positions of the client, and the at least two areas respectively correspond to different recommendation modes; correspondingly, the content display method further comprises the following steps:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
and acquiring the content corresponding to the current content from a content resource library by adopting a target recommendation mode corresponding to the target area as recommended content.
According to the embodiment, the user associates the current content with different setting areas, and can check different recommended contents corresponding to the current content through the client, so that the user does not need to reset the recommendation mode or switch the recommendation mode, and the operation efficiency is improved.
As an implementation manner, in a case that there are multiple setting areas, the client may obtain, as the recommended content, a content corresponding to the current content from the content repository according to a target recommendation mode corresponding to the target area. The specific implementation mode can comprise the following steps: acquiring content with the matching degree of the tag information and the tag information of the current content larger than a set threshold value from a content resource library as candidate content; and then screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
The target recommendation mode can also comprise at least one of a similarity recommendation mode, a popularity recommendation mode, a consumption preference recommendation mode and a social relationship recommendation mode; for a specific manner of the client screening out a set number of contents from the candidate contents in different target recommendation modes, reference may be made to the description of the above embodiment.
Through the embodiment, under the condition that a plurality of setting areas exist, the client can acquire the candidate content from the content resource library based on the label information of the current content, only the matching of the label is needed, the matching of the content and the content is not needed, and the data processing amount of the client for acquiring the candidate content is reduced; after the candidate content is obtained, the recommended content can be further screened out from the candidate content based on the target recommendation mode, interaction with a server side is not needed in the process, and the influence of the network and the server is small.
As another implementation manner, the client may further obtain the recommended content through the server, and the corresponding process includes:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content from a content resource library according to a target recommendation mode corresponding to the target area and label information corresponding to the current content;
and receiving the recommended content returned by the server.
Specifically, a client sends a content recommendation request to a server, where the content recommendation request may carry an area identifier of a target area and a content identifier of the current content; the server receives the content recommendation request, acquires the content corresponding to the current content from a content resource library according to a target recommendation mode corresponding to the target area and the label information corresponding to the current content, and returns the content serving as the recommended content to the client; and the client receives the recommended content returned by the server.
The specific implementation manner of the server obtaining the content corresponding to the current content from the content repository according to the target recommendation mode corresponding to the target area and the tag information corresponding to the current content may include: acquiring content with the matching degree of the tag information and the tag information of the current content larger than a set threshold value from a content resource library as candidate content; and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents. The target recommendation mode and the corresponding content screening mechanism in each target recommendation mode may participate in the description of the above embodiments.
According to the embodiment, the client side obtains the recommended content corresponding to the current content and the target recommendation mode through the server, the client side can send the identification information of the current content and the identification of the target area to the server, content label obtaining and target recommendation mode determining are completed at the server side, the recommended content is screened out from the content resource library based on the content label and the target recommendation mode, and the method has low requirements on the processing performance of the client side.
As an exemplary embodiment, the content presentation method further includes: and before the content image corresponding to the current content is moved to the set area, if the fact that the user finishes the movement operation of the content image is detected, continuing to display the current content through the content display interface.
For example, if it is detected that the user ends the drag operation on the content image corresponding to the current content, and it can be determined that the content image corresponding to the current content does not completely enter the setting area at the end according to the touch point position at the end, it is determined that the current drag operation of the user is not the content recommendation operation, and the current content is returned to be continuously displayed; and only when the content image corresponding to the current content is completely moved into the set area, determining that the current dragging operation of the user is a content recommendation operation, and displaying the recommended content corresponding to the current content to the user, so that misoperation can be prevented.
As an exemplary embodiment, the current content includes at least one of video content, audio content; the content display method further comprises the following steps: and in the process of moving the content image corresponding to the current content, pausing the playing of the video content and the audio content.
In one embodiment, when it is detected that the touch time of the user to the video content or the audio content has been sung for a set duration, the playing of the video content and the audio content may be suspended, the content images corresponding to the video content and the audio content may be obtained, and the content images may be displayed to feed back the operation validation information to the user, so as to avoid a malfunction.
Further, in an embodiment, if the current content is a video content, after the video content is paused, a video frame when the video content is paused may be obtained as a content image corresponding to the video content. Specifically, as shown in fig. 3, when the current content is played, the short video content in the current content is selected and dragged by the user, the playing of the short video content is paused, and the video frame that is paused is used as the content image dragged by the user and displayed in the dragging process, such as the changing process of the content image 1 shown in fig. 3(b) to 3 (d).
In addition, in the process that the content image corresponding to the current content is moved, if the movement end operation information is detected, the current video content or audio content is restored to the state before the pause, including the restoration of the display position, the display size and the playing state, so that the video content or audio content is continuously played from the pause position, and the negative influence of the corresponding operation on the content information browsed by the user is reduced.
As an exemplary embodiment, presenting recommended content corresponding to the current content includes: and displaying a preset content recommendation page to a user, wherein the content recommendation page comprises the current content and the recommended content.
In the content recommendation page, the current content may be a currently corresponding content image or a preview image of the current content; the recommended content may be presented in a grid form, and a specific grid layout may be a single column, a double column, or multiple columns, including but not limited to the layouts shown in fig. 4(a) and 4 (b).
In addition, description information corresponding to the current content, including but not limited to publisher information and tag information, may also be presented in the content recommendation page, for example, as shown in fig. 4(a) and fig. 4(b), in this way, the association between the recommended content and the current content is presented to the user.
Further, the method further comprises: obtaining the sequencing information of the recommended content; and the sequencing information represents the recommendation degree of each recommended content, and the recommended content is displayed according to the sequencing information through the content recommendation page. The recommendation degree of the recommended content is related to the adopted recommendation mode, which is specifically described in the above embodiments.
As an implementation manner, the client may receive the recommended content and the ranking information corresponding to the recommended content sent by the server; and generating the content recommendation page, wherein the recommended content in the content recommendation page is laid out in a grid form according to the sequencing information. Certainly, the client may also sort the recommended content locally to obtain the sorting information and generate the content recommendation page, which puts higher requirements on the electronic device where the client is located.
In the embodiment, recommended content is displayed through a content recommendation page, and recommended content with higher recommendation degree is displayed at a front position in the content recommendation page, so that a user can quickly browse recommended content most similar to current content; meanwhile, the method can facilitate the user to close the content recommendation page so as to quickly return to the previous content display page.
In the present disclosure, when returning to the previous content presentation page, the current content is restored to the state before operation, including the restoration of the display position, the display size, and the play state, so as to reduce the influence of the corresponding operation on the user browsing the content information.
As shown in fig. 6, a content display method is exemplified, in which a current content displayed on a content display interface of a client is assumed to be a short video, and the content display interface includes two setting regions respectively corresponding to a popularity recommendation mode and a city recommendation mode; the method comprises the following steps:
500: and the user performs dragging operation on the currently played short video through the content display page of the client.
501: the client suspends playing the short video and acquires a current video frame as a content image; and continuously displaying the current video frame image 1 in the dragging process, and gradually reducing the display size of the current video frame image 1.
In the process of gradually reducing the display size of the current video frame image 1, the display size of the setting region 2 may be gradually enlarged. When the content display interface comprises a plurality of setting areas, the method further comprises the steps of detecting the dragging direction of the dragging operation, determining the setting area corresponding to the dragging direction, gradually enlarging the display size of the corresponding setting area, and keeping the display sizes of other setting areas unchanged. For example, as shown in fig. 5, the display size of the setting region 2 corresponding to the dragging direction is gradually enlarged.
502: and if the user finishes the dragging operation.
503: and the client determines that the current video frame image is not dragged to any set area, and restores the playing state of the short video to the state before pause.
For example, as shown in fig. 5, when it is detected that the user finishes the dragging operation and the current video frame image 1 corresponding to the short video is not dragged to any set region, the display state of the returned short video is restored to the play state shown in fig. 5(a), and the short video is continuously played from the pause position, so that the negative influence on the user for watching the short video is reduced.
504: and if the user continues dragging operation until the current video frame image 1 corresponding to the short video is dragged to any set area, determining that the dragging operation belongs to content recommendation operation, and responding to the content recommendation operation and sending a content recommendation request to a server.
As an example, the client determines that the content image corresponding to the short video moves from outside the set area to inside the set area according to the position change information of the content image corresponding to the short video, determines that the dragging operation information belongs to a content recommendation operation, and sends a content recommendation request carrying a content identifier of the short video and an area identifier of the target area to the server. The target area is an area to which a content image corresponding to the short video is dragged in a plurality of set areas. In this example, region 2 is set as the target region.
505: and the server receives the content recommendation request and acquires the content identification of the short video and the area identification of the target area from the content recommendation request.
506: the server acquires label information corresponding to the short video according to the content identification, and acquires a target recommendation mode corresponding to the target area according to the area identification;
the tag information corresponding to the short video may be tag information set when a content publisher publishes the short video, or tag information obtained by a server acquiring the short video according to the content identifier and performing content identification on the short video through a pre-trained content identification model, which may specifically refer to the description of the above embodiment.
507: and the server acquires other short videos corresponding to the short videos from the content resource library as recommended contents according to the target recommendation mode and the label information of the short video contents according to the access content resource library.
In the disclosure, the server that the content repository can be set is local, and the server can access the content repository for the distributed content repository set in the cloud.
The server may first determine a matching degree between the tag information of each content in the content resource library and the tag information of the current content, and obtain, from the content resource library, a content whose matching degree is greater than a set threshold as a candidate content; screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents; the recommended content is filtered out of the candidate embodiments.
Taking the short video shown in fig. 5 as an example, if the acquiring of the tag corresponding to the current short video includes: the method comprises the following steps that animals, a grassland, relaxing and singing are carried out, and the specific mode that the server determines that the content label obtains recommended content according to the content recommendation request of the client side can comprise the following steps:
matching the label information (animals, grasslands, soothing and singing) corresponding to the current short video with the label information of each content in the content resource library, and determining the content with the label similarity larger than a set similarity threshold value from the content resource library as candidate content; and then screening a set number of contents from the candidate contents according to a target recommendation mode to obtain the recommended contents.
And correspondingly, the server screens a plurality of contents of which the geographic positions of the publishers are in the same city from the candidate contents as the recommended contents corresponding to the current short video based on the geographic position information of the current content publisher.
508: and the server sends the recommended content to the client.
509: the client receives the recommended content returned by the server, and displays a preset content recommendation page to the user, where the content recommendation page includes a content image corresponding to the short video content and the recommended content, and the recommended content is displayed in a grid form, for example, as shown in fig. 4.
The user drags the currently played short video to the set area through the content display interface of the client, so that more recommended contents corresponding to the currently played short video can be viewed, different recommended contents can be viewed by dragging the currently played short video to different set areas, information such as keywords and the like is not required to be input by the user, the operation is convenient and fast, and the efficiency of viewing the short video similar to the currently played short video is improved; the user can perform the dragging operation on different types of short videos at different times, and different recommended contents can be viewed. In addition, in the dragging process, the display size of the content image corresponding to the dragged short video content is gradually reduced, the display size of the set area is gradually enlarged, the operation difficulty of the user is reduced, and meanwhile misoperation can be prevented.
As an exemplary embodiment, a content presentation method implemented by a server side includes the following steps.
Responding to a content recommendation request of a client, and acquiring recommended content corresponding to the current content; the content recommendation request is a request sent by a client when a client receives interactive operation implemented on a content display interface by a user and the interactive operation triggers the current content displayed by the content display interface to be associated to a set area of the content display interface;
and sending the recommended content to the client to display the recommended content on the client.
The operation performed by the user on the current content displayed by the client may be described with reference to the above embodiment.
According to the embodiment, the user performs operation associated with the current content to the set area through the client, so that the client can be triggered to send the content recommendation request to the server, the server obtains the recommendation content corresponding to the current content and returns the recommendation content to the client, the user does not need to input information such as keywords and the like, the operation is convenient and fast, and the efficiency of checking the short videos similar to the current short videos is improved.
As an exemplary embodiment, the interactive operation performed by the user on the content presentation interface includes an operation of moving a content image corresponding to the current content; the triggering of the current content displayed by the content display interface to be associated with the set area of the content display interface includes triggering of a content image corresponding to the current content to move to the set area of the content display interface.
According to the embodiment, a user carries out moving or dragging operation on the content display interface aiming at the currently displayed content, and moves the content image corresponding to the current content to the set area, so that the content recommendation function of the client is triggered, and compared with the traditional mode that the user inputs information such as keywords and pictures to search the content, the user operation is convenient; and visual operation feedback can be provided for the user by moving the content image corresponding to the current content, so that misoperation of the user is prevented.
As an exemplary embodiment, the obtaining of the recommended content corresponding to the current content in response to the content recommendation request of the client includes:
acquiring label information corresponding to the current content; acquiring content corresponding to the current content from a content resource library according to the label information to serve as recommended content;
the server can obtain the content identifier of the current content from the content recommendation request, and obtain the tag information corresponding to the current content according to the content identifier; the tag information of the current content may be tag information set when a content publisher publishes the current content, or tag information obtained by a server acquiring the current content according to the content identifier and performing content analysis on the current content.
According to the method and the device, the recommended content similar to the style or tone of the current content can be obtained from the content resource library based on the label information of the current content, the recommended content is determined by comparing the label information of different contents, and compared with the matching between the content and the content, the data processing amount is reduced, and the efficiency of obtaining the recommended content is improved.
As an exemplary embodiment, the server may obtain, from a content repository, a content whose matching degree between the tag information and the tag information of the current content is greater than a set threshold, as a candidate content; then, a preset number of contents are screened out from the candidate contents by adopting any preset recommendation mode, and the recommended contents are obtained, for example:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents. The number of recommended contents screened out in various ways may be the same or different.
Through the embodiment, when the server acquires the recommended content corresponding to the current content, the server can acquire the candidate content similar to the style of the current content according to the label information of the current content; the candidate content can be further screened by further referring to factors such as content popularity, user consumption preference, user social relationship and the like, so that different recommended content corresponding to the current content can be recommended to the user.
As an exemplary embodiment, the setting area includes at least two areas distributed at different positions of the client, and the at least two areas respectively correspond to different recommendation modes; the obtaining of the recommended content corresponding to the current content includes:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
acquiring label information corresponding to the current content, and acquiring a target recommendation mode corresponding to a target area;
and acquiring the content corresponding to the current content from a content resource library according to the target recommendation mode and the label information to serve as recommended content.
The content recommendation request may carry a content identifier of the current content and an area identifier corresponding to the target area; as an exemplary embodiment, the specific implementation manner of the server responding to the content recommendation request of the client and acquiring the recommended content corresponding to the current content includes:
acquiring the content identification and the area identification of a target area from the content recommendation request, acquiring the label information corresponding to the current content according to the content identification, and acquiring the target recommendation mode corresponding to the target area according to the area identification; and acquiring the content corresponding to the current content from a content resource library according to the target recommendation mode and the label information to serve as recommended content.
Through the embodiment, the user associates the current content with different areas, so that different recommended contents corresponding to the current content can be browsed through the client, the requirement for diversity of the user can be met, the user does not need to reset the recommendation mode or switch the recommendation mode, and the operation efficiency is improved.
The server obtains the content corresponding to the current content from a content repository according to the target recommendation mode and the tag information, and the specific implementation of the recommended content may include:
acquiring content with the matching degree of the tag information and the tag information of the current content larger than a set threshold value from a content resource library as candidate content; the contents in the content resource library are respectively corresponding to tag information;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
Through the embodiment, the server can acquire the candidate content from the content resource library based on the label information of the current content operated by the user, only the label matching is needed, the matching between the content and the content is not needed, and the data processing amount is reduced; after the candidate content is obtained, the recommended content can be further screened out from the candidate content based on the recommendation mode corresponding to the setting area to which the current content is associated, the user can check different recommended contents corresponding to the current content by associating the current content to different setting areas, the user does not need to perform recommendation mode switching operation, and the operation is convenient and fast.
In the disclosure, the target recommendation mode may be at least one of a similarity recommendation mode, a popularity recommendation mode, a consumption preference recommendation mode, and a social relationship recommendation mode; the server may obtain a description of the recommended content part by referring to the specific implementation manner of obtaining the recommended content by screening the set number of contents from the candidate contents according to the preset recommendation mode.
As an exemplary embodiment, the server may input the current content into a pre-trained content classification model, and obtain, according to an output result of the content classification model, tag information corresponding to the current content; the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
The label information corresponding to the current content is obtained through the pre-trained content classification model, more objective label information can be obtained, and the problem that the obtained recommended content is not the content corresponding to the current content due to the fact that the label information set by a content publisher is inaccurate can be avoided to a certain extent.
As an exemplary embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag. Correspondingly, the step of determining, by the server, a matching degree between the tag information of each content in the content repository and the tag information of the current content may include:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
Because the current content and each content information in the content resource library can have a plurality of label information at the same time, the matching degree between the label information of two content information is difficult to calculate accurately. Through the embodiment, the tag vector corresponding to the content information is obtained according to the plurality of tag information corresponding to the content information, and the matching degree between the tag information of the two contents can be more objectively quantified by calculating the vector distance between the tag vector and the tag vector.
As an exemplary embodiment, the server performs the steps further comprising: obtaining the sequencing information of the recommended contents, wherein the sequencing information represents the recommendation degree of each recommended content; the recommendation level is related to the recommendation mode, and is specifically described with reference to the foregoing embodiments. And sending the recommended content and the sequencing information to the client so as to display the recommended content at the client according to the sequencing information.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps of the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
Fig. 7 is a block diagram illustrating a content presentation apparatus 600 according to an exemplary embodiment, which may be applied to a client, and referring to fig. 7, the apparatus 600 includes:
an operation acquisition unit 601 configured to perform an interactive operation performed by a receiving user on a content presentation interface;
an operation determining unit 602, configured to perform detection that the current content displayed by the content display interface is triggered by the interactive operation and is associated with a set area of the content display interface, and determine that the interactive operation is a content recommendation operation;
and a recommending unit 603 configured to perform, in response to the content recommending operation, acquiring and presenting recommended content corresponding to the current content.
As an exemplary embodiment, the interactive operation includes an operation of moving a content image corresponding to the current content;
the operation judging unit is configured to execute the step of detecting that the interactive operation triggers the content image corresponding to the current content to move to a set area of the content display interface, and determine that the interactive operation is a content recommendation operation.
As an example embodiment, the apparatus 600 further comprises:
the content image acquisition unit is configured to execute an operation of responding to the current content displayed by the content display interface selected by a user, acquire a current content image of the current content when the operation is received, or acquire a cover image corresponding to the current content, and take the current content image or the cover image as a content image corresponding to the current content.
As an example embodiment, the apparatus 600 further comprises:
a content display adjustment unit configured to perform reduction of a display size of a content image corresponding to the current content in a process in which the content image is moved.
As an exemplary embodiment, the content display adjustment unit is further configured to perform:
acquiring the moving distance of the content image in the process that the content image corresponding to the current content is moved;
and reducing the display size of the content image according to the moving distance, wherein the reduced display size of the content image and the moving distance form an inverse correlation relationship.
As an example embodiment, the apparatus 600 further comprises:
an area display adjustment unit configured to perform enlarging a display size of the setting area in a process in which a content image corresponding to the current content is moved.
As an exemplary embodiment, the area display adjusting unit is further configured to perform:
acquiring the spacing distance between the content image and the set area in the process that the content image corresponding to the current content is moved;
and amplifying the display size of the set area according to the spacing distance, wherein the amplified display size of the set area and the spacing distance form an inverse correlation relationship.
As an exemplary embodiment, the content display adjustment unit is further configured to perform:
when the content image corresponding to the current content is moved to the setting area, the display size of the content image is smaller than or equal to the display size of the setting area.
As an exemplary embodiment, the recommending unit is further configured to perform:
acquiring label information corresponding to the current content;
and acquiring the content corresponding to the current content from a content resource library according to the label information to serve as the recommended content.
As an exemplary embodiment, the recommending unit is further configured to perform:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content;
and receiving the recommended content returned by the server.
As an exemplary embodiment, the recommending unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
screening the recommended content from the candidate content by at least one of the following methods:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
As an exemplary embodiment, the setting area includes at least two areas distributed at different positions on the content presentation interface, and the at least two areas respectively correspond to different recommendation modes;
the recommending unit is further configured to perform:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
and acquiring the label information corresponding to the current content, and acquiring the recommended content corresponding to the current content from a content resource library according to the label information corresponding to the current content and the target recommendation mode corresponding to the target area.
As an exemplary embodiment, the recommending unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
As an exemplary embodiment, the recommending unit is further configured to perform:
sending a content recommendation request to a server; the content recommendation request is used for triggering the server to acquire recommended content corresponding to the current content from a content resource library according to a target recommendation mode corresponding to the target area and label information corresponding to the current content;
and receiving the recommended content returned by the server.
As an exemplary embodiment, the recommendation unit includes a tag determination module configured to perform:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model;
the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
As an exemplary embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag;
the recommending unit is further configured to perform:
and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
As an exemplary embodiment, the recommending unit is further configured to perform:
obtaining the sequencing information of the recommended content; the sequencing information represents the recommendation degree of each recommended content;
and displaying a preset content recommendation page on the content display interface, wherein the content recommendation page comprises the current content and the recommended content, and the recommended content is displayed according to the sequencing information.
Fig. 8 is a block diagram illustrating a content presentation apparatus 700 applied to a server according to an exemplary embodiment. Referring to fig. 8, the apparatus 700 includes:
a content obtaining unit 701 configured to perform obtaining of recommended content corresponding to current content in response to a content recommendation request of a client; the content recommendation request is a request sent by a client when a client receives interactive operation implemented on a content display interface by a user and the interactive operation triggers the current content displayed by the content display interface to be associated to a set area of the content display interface;
and a content transmitting unit 702 configured to perform transmitting the recommended content to the client to present the recommended content at the client.
As an exemplary embodiment, the interactive operation performed by the user on the content presentation interface includes an operation of moving a content image corresponding to the current content; the triggering of the current content displayed by the content display interface to be associated with the set area of the content display interface comprises triggering of a content image corresponding to the current content to move to the set area of the content display interface;
the content acquisition unit is further configured to perform:
acquiring label information corresponding to the current content;
and acquiring the content corresponding to the current content from a content resource library as recommended content according to the label information.
As an exemplary embodiment, the content obtaining unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
screening the recommended content from the candidate content by at least one of the following methods:
acquiring a set number of contents with the matching degrees ranked in the top from the candidate contents to obtain the recommended contents;
acquiring content heat corresponding to each candidate content, and screening a set number of contents with the content heat ranked in the front from the candidate contents to obtain the recommended content; the content popularity of the candidate content is in positive correlation with the consumption frequency of the candidate content;
acquiring consumption preference labels corresponding to the users, determining matching degrees between label information corresponding to each candidate content and the consumption preference labels as preference matching degrees corresponding to each candidate content, and screening a set number of contents with the preference matching degrees ranked in the top from the candidate contents to obtain the recommended contents; the consumption preference label of the user is determined according to the historical content consumption information of the user;
and obtaining publisher accounts corresponding to the candidate contents and social relationship information between the publisher accounts and the accounts corresponding to the users, and screening a set number of contents with preset social relationships between the publisher accounts and the accounts corresponding to the users from the candidate contents according to the social relationship information to obtain the recommended contents.
As an exemplary embodiment, the setting area includes at least two areas distributed at different positions on the content display interface of the client, and the at least two areas respectively correspond to different recommendation modes;
the content acquisition unit is further configured to perform:
determining a target area; the target area is an area to which the current content is associated, the target area being one of the at least two areas;
acquiring label information corresponding to the current content, and acquiring a target recommendation mode corresponding to a target area;
and acquiring the content corresponding to the current content from a content resource library according to the target recommendation mode and the label information to serve as recommended content.
As an exemplary embodiment, the content obtaining unit is further configured to perform:
determining the matching degree of the label information of each content in a content resource library and the label information of the current content, and acquiring the content with the matching degree larger than a set threshold value from the content resource library as candidate content;
and screening a set number of contents from the candidate contents according to the target recommendation mode to obtain the recommended contents.
As an exemplary embodiment, the content obtaining unit includes a tag determining module configured to perform:
inputting the current content into a pre-trained content classification model, and obtaining label information corresponding to the current content according to an output result of the content classification model;
the content classification model is obtained based on content samples and classification labels corresponding to the content samples through training, and the content classification model is used for identifying at least one classification label corresponding to input content.
As an exemplary embodiment, the tag information corresponding to each content in the content repository is a tag vector including at least one classification tag, and the tag information of the current content is a tag vector including at least one classification tag;
the content acquisition unit is further configured to perform: and acquiring the vector distance between the label vector corresponding to the current content and the label vector corresponding to each content in the content resource library, and obtaining the matching degree between the label information of each content in the content resource library and the label information of the current content according to the vector distance.
With regard to the apparatus in the above-described 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 here.
Fig. 9 is a block diagram illustrating an apparatus 800 for data processing in accordance with an example embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 9, device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communications component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communications component 816 is configured to facilitate communications between device 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), field programmable gate arrays (FP7A), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 10 is a block diagram illustrating an apparatus 900 for data processing in accordance with an example embodiment. For example, device 900 may be a server. Referring to FIG. 10, device 900 includes a processing component 920 that further includes one or more processors and memory resources, represented by memory 922, for storing instructions, such as applications, that are executable by processing component 920. The application programs stored in memory 922 may include one or more modules that each correspond to a set of instructions. Further, the processing component 920 is configured to execute instructions to perform the above-described methods.
The device 900 may also include a power component 924 configured to perform power management of the device 900, a wired or wireless network interface 926 configured to connect the device 900 to a network, and an input/output (I/O) interface 928. The device 900 may operate based on an operating system stored in memory 922, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 922 comprising instructions, executable by a processor of the device 900 to perform the above-described method is also provided. The storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
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 application 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 method for presenting content, the method comprising:
receiving interactive operation implemented on a content display interface by a user;
detecting that the current content displayed by the content display interface is related to a set area of the content display interface under the trigger of the interactive operation, and determining that the interactive operation is a content recommendation operation;
and responding to the content recommendation operation, and acquiring and displaying recommended content corresponding to the current content.
2. The method according to claim 1, wherein the interactive operation includes an operation of moving a content image corresponding to the current content;
the detecting that the current content displayed by the content display interface triggered by the interactive operation is associated to a set area of the content display interface, and the determining that the interactive operation is a content recommendation operation includes:
and detecting that the interactive operation triggers the content image corresponding to the current content to move to a set area of the content display interface, and determining that the interactive operation is a content recommendation operation.
3. A method for presenting content, the method comprising:
responding to a content recommendation request, and acquiring recommended content corresponding to the current content; the content recommendation request is a request sent by a client when a client receives interactive operation implemented on a content display interface by a user and the interactive operation triggers the current content displayed by the content display interface to be associated to a set area of the content display interface;
and sending the recommended content to the client to display the recommended content on the client.
4. A content presentation device, comprising:
the operation acquisition unit is configured to execute interactive operation implemented on the content display interface by a receiving user;
the operation judging unit is configured to execute the steps of detecting that the current content displayed by the content display interface is related to a set area of the content display interface and determining that the interactive operation is a content recommendation operation;
and the recommending unit is configured to execute the operation of responding to the content recommendation, acquire and display the recommended content corresponding to the current content.
5. A content presentation device, comprising:
a content acquisition unit configured to perform acquisition of recommended content corresponding to the current content in response to the content recommendation request; the content recommendation request is a request sent by a client when a client receives interactive operation implemented on a content display interface by a user and the interactive operation triggers the current content displayed by the content display interface to be associated to a set area of the content display interface;
a content sending unit configured to perform sending the recommended content to the client to present the recommended content at the client.
6. A terminal, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the content presentation method of claim 1 or 2.
7. 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 content presentation method of claim 3.
8. A content presentation system comprising a terminal according to claim 6 and a server according to claim 7.
9. A storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the content presentation method of claim 1 or 2.
10. A storage medium in which instructions, when executed by a processor of a server, enable the server to perform the content presentation method of claim 3.
CN202010968239.3A 2020-09-15 2020-09-15 Content display method, device, terminal, server, system and storage medium Active CN112115341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010968239.3A CN112115341B (en) 2020-09-15 2020-09-15 Content display method, device, terminal, server, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010968239.3A CN112115341B (en) 2020-09-15 2020-09-15 Content display method, device, terminal, server, system and storage medium

Publications (2)

Publication Number Publication Date
CN112115341A true CN112115341A (en) 2020-12-22
CN112115341B CN112115341B (en) 2023-10-17

Family

ID=73802737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010968239.3A Active CN112115341B (en) 2020-09-15 2020-09-15 Content display method, device, terminal, server, system and storage medium

Country Status (1)

Country Link
CN (1) CN112115341B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382272A (en) * 2021-05-31 2021-09-10 北京达佳互联信息技术有限公司 Data playing method and device, electronic equipment and storage medium
CN115225916A (en) * 2021-04-15 2022-10-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302428A (en) * 2014-07-29 2016-02-03 腾讯科技(深圳)有限公司 Social network-based dynamic information display method and device
CN109656667A (en) * 2018-12-25 2019-04-19 北京微播视界科技有限公司 Implementation method, device, equipment and the medium of suspended window in a kind of client
CN109725866A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Application interface display methods, terminal and computer readable storage medium
CN110266879A (en) * 2019-06-11 2019-09-20 王佳一 Broadcast interface display methods, device, terminal and storage medium
CN110515519A (en) * 2019-08-08 2019-11-29 上海掌门科技有限公司 Show method, equipment and the computer storage medium of reading content
CN111104544A (en) * 2018-10-29 2020-05-05 阿里巴巴集团控股有限公司 Background music recommendation method and equipment, client device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302428A (en) * 2014-07-29 2016-02-03 腾讯科技(深圳)有限公司 Social network-based dynamic information display method and device
CN111104544A (en) * 2018-10-29 2020-05-05 阿里巴巴集团控股有限公司 Background music recommendation method and equipment, client device and electronic equipment
CN109656667A (en) * 2018-12-25 2019-04-19 北京微播视界科技有限公司 Implementation method, device, equipment and the medium of suspended window in a kind of client
CN109725866A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Application interface display methods, terminal and computer readable storage medium
CN110266879A (en) * 2019-06-11 2019-09-20 王佳一 Broadcast interface display methods, device, terminal and storage medium
CN110515519A (en) * 2019-08-08 2019-11-29 上海掌门科技有限公司 Show method, equipment and the computer storage medium of reading content

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225916A (en) * 2021-04-15 2022-10-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN115225916B (en) * 2021-04-15 2024-04-23 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN113382272A (en) * 2021-05-31 2021-09-10 北京达佳互联信息技术有限公司 Data playing method and device, electronic equipment and storage medium
CN113382272B (en) * 2021-05-31 2022-08-26 北京达佳互联信息技术有限公司 Data playing method and device, electronic equipment and storage medium
US11819761B2 (en) 2021-05-31 2023-11-21 Beijing Dajia Internet Information Technology Co., Ltd. Data play method and terminal

Also Published As

Publication number Publication date
CN112115341B (en) 2023-10-17

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
US11520824B2 (en) Method for displaying information, electronic device and system
US20210099751A1 (en) Method for displaying videos, and storage medium and electronic device thereof
US20220013026A1 (en) Method for video interaction and electronic device
TW201826805A (en) Providing related objects during playback of video data
CN112069358B (en) Information recommendation method and device and electronic equipment
WO2022252514A1 (en) Information display method and apparatus
WO2021164652A1 (en) Method for displaying and method for providing multimedia resource
US11281363B2 (en) Method and device for setting identity image
CN111783001A (en) Page display method and device, electronic equipment and storage medium
CN106896991B (en) Method and device for updating information
CN107463643B (en) Barrage data display method and device and storage medium
CN111556366A (en) Multimedia resource display method, device, terminal, server and system
CN111753135B (en) Video display method, device, terminal, server, system and storage medium
CN107229403B (en) Information content selection method and device
CN109918001B (en) Interface display method, device and storage medium
CN113065008A (en) Information recommendation method and device, electronic equipment and storage medium
CN106055707A (en) Bullet screen display method and device
CN112115341B (en) Content display method, device, terminal, server, system and storage medium
CN108733397B (en) Update state determination method, apparatus, and storage medium
CN112464031A (en) Interaction method, interaction device, electronic equipment and storage medium
CN111427504A (en) Content acquisition method and device, electronic equipment and storage medium
CN112672208A (en) Video playing method, device, electronic equipment, server and system
CN109521938B (en) Method and device for determining data evaluation information, electronic device and storage medium
CN111127053B (en) Page content recommendation method and device and electronic equipment

Legal Events

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