Disclosure of Invention
The embodiment of the disclosure at least provides a method and a device for displaying encyclopedic information and a computer storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for displaying encyclopedic information, including:
displaying dimension information of a plurality of attribute dimensions corresponding to an entity and videos under the attribute dimensions on a video encyclopedia page of the entity; wherein the attribute dimension corresponds to a feature of a knowledge module that introduces the entity;
responding to a trigger operation aiming at a first target video in the displayed videos, and displaying a video playing page; the video playing page comprises a first area and a second area, wherein the first area is used for displaying dimension information of each attribute dimension, and the second area is used for displaying a video queue formed by videos under each attribute dimension;
and highlighting dimension information of a target attribute dimension to which the first target video belongs in a first area of the video playing page, and displaying the first target video and videos behind the first target video in the video queue in a second area of the video playing page.
In an optional implementation manner, before the displaying, on a video encyclopedia page of an entity, dimension information of a plurality of attribute dimensions corresponding to the entity, and a video under each of the attribute dimensions, the method further includes:
displaying video encyclopedia identification and video preview information under at least one attribute dimension in a preset area of an encyclopedia page of the entity;
and displaying the video encyclopedia pages of the entity in response to the triggering operation aiming at the video encyclopedia identification.
In an optional implementation manner, before a video encyclopedia page of an entity shows dimension information of a plurality of attribute dimensions corresponding to the entity, and a video under each attribute dimension, the method further includes:
displaying a video label and a picture and text label on an encyclopedia page of the entity;
and displaying the video encyclopedia page of the entity in response to the triggering operation of the video tag.
In an optional embodiment, the method further comprises:
responding to a trigger operation aiming at any target video preview information in the video preview information, and determining the video quantity of a second target video corresponding to the target video preview information;
if the number of videos corresponding to the video preview information is 1, highlighting dimension information of a target attribute dimension to which the second target video belongs in the first area of the video playing page, and displaying the second target video and a video behind the second target video in the video queue in the second area;
if the number of videos corresponding to the video preview information is greater than 1, highlighting dimension information of a target attribute dimension to which the second target video belongs in the first region of the video playing page, and displaying a first second target video under the target attribute dimension and videos behind the first second target video in the video queue in the second region.
In an optional implementation manner, displaying, on a video encyclopedia page of an entity, dimension information of a plurality of attribute dimensions corresponding to the entity, and a video under each of the attribute dimensions includes:
displaying dimension information of any attribute dimension and video preview information under the attribute dimension in a first area of the video encyclopedia page;
and displaying dimension information of each attribute dimension and video preview information under each attribute dimension in a second area of the video encyclopedia page respectively.
In an optional embodiment, the method further comprises:
and displaying the text description information corresponding to any attribute dimension in a third area of the video encyclopedia page.
In an optional implementation manner, displaying, on a video encyclopedia page of an entity, dimension information of a plurality of attribute dimensions corresponding to the entity, and a video under each of the attribute dimensions includes:
respectively displaying dimension information corresponding to each attribute dimension in a dimension information display area of the video encyclopedia page of the entity;
sequentially displaying a video collection corresponding to each attribute dimension below the dimension information display area, wherein a plurality of videos in the video collection are transversely arranged;
and responding to the triggering operation of the dimension information of any attribute dimension, and sliding the video collection under the attribute dimension to an area adjacent to the dimension information display area for displaying.
In a possible implementation manner, displaying, on a video encyclopedia page of an entity, dimension information of a plurality of attribute dimensions corresponding to the entity, and a video under each of the attribute dimensions includes:
dimension information corresponding to each attribute dimension is displayed in a dimension information display area of the video encyclopedia page of the entity;
responding to the triggering operation of the dimension information aiming at any attribute dimension, sequentially arranging a plurality of videos under the attribute dimension in a vertical arrangement mode below the dimension information display area, and playing the videos at a preset position below the dimension information display area.
In an optional embodiment, the method further comprises:
responding to a triggering operation aiming at any video displayed in a second area of the video playing page, and switching to a full-screen playing state; the any video is the first target video or any video behind the first target video in the video queue;
and in a full-screen playing state, starting from any video, sequentially playing the videos under the target attribute dimension.
In a second aspect, an embodiment of the present disclosure further provides an encyclopedic information display device, including:
the first display module is used for displaying dimension information of a plurality of attribute dimensions corresponding to an entity and videos under the attribute dimensions on a video encyclopedia page of the entity; wherein the attribute dimension corresponds to a feature of a knowledge module that introduces the entity;
the second display module is used for responding to the triggering operation aiming at the first target video in the displayed videos and displaying the video playing page; the video playing page comprises a first area and a second area, wherein the first area is used for displaying dimension information of each attribute dimension, and the second area is used for displaying a video queue formed by videos under each attribute dimension;
and the third display module is used for highlighting the dimension information of the target attribute dimension to which the first target video belongs in the first area of the video playing page, and displaying the first target video and the video behind the first target video in the video queue in the second area of the video playing page.
In an optional implementation manner, before a video encyclopedia page of an entity displays dimension information of a plurality of attribute dimensions corresponding to the entity and a video in each of the attribute dimensions, the first display module is further configured to:
and highlighting dimension information of a target attribute dimension to which the first target video belongs in a first area of the video playing page, and displaying the first target video and videos behind the first target video in the video queue in a second area of the video playing page.
In an optional implementation manner, before a video encyclopedia page of an entity displays dimension information of a plurality of attribute dimensions corresponding to the entity and a video in each of the attribute dimensions, the first display module is further configured to:
displaying a video label and a picture and text label on an encyclopedia page of the entity;
and displaying the video encyclopedia page of the entity in response to the triggering operation of the video tag.
In an alternative embodiment, the apparatus further comprises: a determination module specifically configured to: responding to a trigger operation aiming at any target video preview information in the video preview information, and determining the video quantity of a second target video corresponding to the target video preview information;
if the number of videos corresponding to the video preview information is 1, highlighting dimension information of a target attribute dimension to which the second target video belongs in the first area of the video playing page, and displaying the second target video and a video behind the second target video in the video queue in the second area;
if the number of videos corresponding to the video preview information is greater than 1, highlighting dimension information of a target attribute dimension to which the second target video belongs in the first region of the video playing page, and displaying a first second target video under the target attribute dimension and videos behind the first second target video in the video queue in the second region.
In an optional implementation manner, the first presentation module is specifically configured to present, in a first area of the video encyclopedia page, dimension information of any one attribute dimension and video preview information in the attribute dimension; and displaying dimension information of each attribute dimension and video preview information under each attribute dimension in a second area of the video encyclopedia page respectively.
In an alternative embodiment, the apparatus further comprises: and the fourth display module is used for displaying the text description information corresponding to any attribute dimension in a third area of the video encyclopedia page.
In an optional implementation manner, the first display module is specifically configured to respectively display, in a dimension information display area of a video encyclopedia page of the entity, dimension information corresponding to each attribute dimension; sequentially displaying a video collection corresponding to each attribute dimension below the dimension information display area, wherein a plurality of videos in the video collection are transversely arranged; and responding to the triggering operation of the dimension information of any attribute dimension, and sliding the video collection under the attribute dimension to an area adjacent to the dimension information display area for displaying.
In an optional implementation manner, the first display module is specifically configured to respectively display, in a dimension information display area of a video encyclopedia page of the entity, dimension information corresponding to each attribute dimension; responding to the triggering operation of the dimension information aiming at any attribute dimension, sequentially displaying a plurality of videos under the attribute dimension in a vertical arrangement mode below the dimension information display area, and playing the videos at a preset position below the dimension information display area.
In an optional implementation manner, the apparatus further includes a fifth presentation module, configured to switch to a full-screen playing state in response to a trigger operation for any video displayed in the second area of the video playing page; the any video is the first target video or any video behind the first target video in the video queue; and in a full-screen playing state, starting from any video, sequentially playing the videos under the target attribute dimension.
In a third aspect, this disclosure also provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the machine-readable instructions are executed by the processor to perform the steps in the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, this disclosure also provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The method, the device and the computer storage medium for displaying encyclopedia information provided by the embodiment of the disclosure display dimension information of a plurality of attribute dimensions corresponding to an entity and videos under all attribute dimensions on a video encyclopedia page of the entity; responding to a trigger operation aiming at a first target video in the displayed videos, and displaying a video playing page; highlighting dimension information of a target attribute dimension to which a first target video belongs in a first area of a video playing page, and displaying the first target video and a video behind the first target video in a video queue in a second area of the video playing page; therefore, the encyclopedia content of the entity can be displayed to users in a video mode, and some users can conveniently acquire encyclopedia information through a video platform; in addition, in the embodiment of the disclosure, a user can browse videos in various attribute dimensions on a video encyclopedia page, and can play each video in a corresponding attribute dimension on a video playing page after triggering any video, so that the browsing of encyclopedia information by the user is greatly facilitated.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of embodiments of the present disclosure, as generally described and illustrated herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Research shows that the general encyclopedic knowledge content comprises a plurality of sections of text and picture contents associated with an entity, the information amount is large, the occupied space is long, the key information can be found in a long time, and the information searching efficiency is low; therefore, in order to solve the problems of long search time and low information search efficiency, the embodiment of the present disclosure provides a method for displaying encyclopedia information in a video format, where a user can browse videos in various attribute dimensions on a video encyclopedia page, and can play each video in a corresponding attribute dimension on a video playing page after triggering any video, so as to greatly facilitate browsing of the encyclopedia information by the user.
The defects existing in the above solutions and the proposed solutions are the results of the inventor after practice and careful study, therefore, the discovery process of the above problems and the proposed solutions of the present disclosure to the above problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a detailed description is given to an encyclopedic information display method disclosed in the embodiments of the present disclosure, where an execution subject of the encyclopedic information display method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: a client, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like, or a server or other processing device. In some possible implementations, the encyclopedic information presentation method can be implemented by a processor calling computer readable instructions stored in a memory.
The encyclopedic information display method provided by the embodiment of the disclosure is described below by taking an execution subject as a terminal device as an example.
Referring to fig. 1, which is a flowchart of a method for displaying encyclopedic information provided in the embodiment of the present disclosure, the method may include steps S101 to S103, where:
s101, displaying dimension information of a plurality of attribute dimensions corresponding to an entity and videos under the attribute dimensions on a video encyclopedia page of the entity; wherein the attribute dimension corresponds to a characteristic of a knowledge module that introduces the entity.
Dimension information of the attribute dimension can include, but is not limited to, at least one of text, patterns and symbols; the attribute dimension of the entity is related to the entity type of the entity, and the entity type can comprise any one of various types such as people, animals, plants and the like; for example, when the entity type of the entity is a person, the attribute dimension may include a person profile, related persons, a person experience, a personal life, a personal work, a winning record, and the like, and the dimension information corresponding to the attribute dimension may include a person with your knowledge of him/her, related persons, a person experience, a personal life, a personal work, a winning record; for another example, when the entity type of the entity is an animal, the attribute dimension may include a feeding guide, a selection guide, a living environment habit, and the like, and the dimension information corresponding to the attribute dimension may include a little-know-you-it, its habit, a small science knowledge, its look, more knowledge points, and the like.
Dimension information of a plurality of attribute dimensions and videos under each attribute dimension (specifically, displayed video preview information) are displayed in the video encyclopedia page, and here, the video preview information can be generally determined according to the video content of at least one video included under each attribute dimension; the video preview information may include, but is not limited to, at least one of the following: identification information indicating a video collection, a video cover picture, video description information, and the number of videos contained, and the total number of plays. Wherein, in the case that only one video is included in the attribute dimension, the video cover picture may include a key frame image of the video; in addition, in the case that the attribute dimension includes a plurality of videos, the video cover picture is used to represent the cover of the video album, and specifically, key frame images in the plurality of videos in the attribute dimension may be used.
In particular implementations, the encyclopedia pages of the entity may be presented based on a push card of the entity that is triggered by the user in the information stream, or based on a search operation of the user at a search interface. There may be a video encyclopedia related identifier in an entity encyclopedia page, and by triggering the identifier, the video encyclopedia page may be displayed, as described in detail in the following description.
Specifically, the user may obtain the encyclopedia page of the entity by triggering the push card of the entity displayed in the information flow, which is specifically described as follows: and the terminal equipment responds to the triggering operation of the user on the push card of the entity displayed in the information flow, receives the encyclopedia content of the entity fed back by the server and displays the encyclopedia page of the entity.
For example, as shown in fig. 2, a display page of a push card of an entity may be taken as a mobile phone, where the display page includes textual description information of the entity.
In an optional implementation manner, the user may obtain the encyclopedia page of the entity through searching, which is specifically described as follows: when a user inputs search content aiming at an entity and clicks a search button, a terminal device can generate a user search request according to the search content input by the user and sends the user search request to a server, the server feeds a push card of encyclopedic content of the entity matched with the user search request back to the terminal device as a search result after receiving the search request of the user, the terminal device displays the push card of the entity to the user, and the terminal device displays a received encyclopedic page of the entity to the user after the user clicks the push card of the entity.
Specific display styles of encyclopedia pages of the entity can be various, for example, as shown in any one of fig. 3 to 6, a terminal device is taken as a mobile phone as an example, where fig. 3 includes video encyclopedia identifiers displayed in a preset area and video preview information arranged horizontally in at least one attribute dimension; fig. 4 shows video encyclopedia identifiers displayed in a preset area, and video preview information arranged vertically in at least one attribute dimension; fig. 5 includes video labels, image-text labels, and video preview information in each attribute dimension under the default displayed video label, where the video preview information in each attribute dimension in fig. 5 is arranged vertically; fig. 6 includes video tags, graphics context tags, and video preview information in each attribute dimension under the default displayed video tags, where the video preview information in each attribute dimension in fig. 6 is arranged horizontally.
In one implementation, if the entity's encyclopedia page is as shown in FIG. 3 or FIG. 4, the entity's video encyclopedia page may be presented in response to a trigger operation directed to the video encyclopedia identification.
In another implementation, if the entity's encyclopedia is as shown in FIG. 5 or FIG. 6, the entity's video encyclopedia may be presented in response to a trigger operation directed to a video tag in the entity's encyclopedia.
The video encyclopedia page may include, but is not limited to, a dimension information display area for displaying dimension information corresponding to each attribute dimension.
Specifically, dimension information corresponding to each attribute dimension is respectively displayed in a dimension information display area of a video encyclopedia page of an entity; sequentially displaying a plurality of videos corresponding to each attribute dimension in a transverse arrangement mode below the dimension information display area; a specific video encyclopedia page may be as shown in fig. 7; and if the user triggers the dimension information of any attribute dimension, responding to the triggering operation aiming at the dimension information of the attribute dimension, and sliding the video collection under the attribute dimension to an area adjacent to the dimension information display area for displaying.
In addition, dimension information corresponding to each attribute dimension can be displayed in a dimension information display area of the video encyclopedia page of the entity; sequentially displaying a plurality of videos in a default attribute dimension in a vertical arrangement mode below the dimension information display area, and playing the videos at a preset position below the dimension information display area, wherein a specific display interface can be shown in fig. 8; and if the user triggers dimension information of other attribute dimensions except the default attribute dimension, responding to the triggering operation aiming at the dimension information of the attribute dimension, sequentially displaying a plurality of videos under the attribute dimension in a vertical arrangement mode below a dimension information display area, and playing the videos at a preset position below the dimension information display area.
The preset position below the dimension information display area may include, but is not limited to, a middle area of a graphical user interface of the terminal device, where the preset position below the dimension information display area may be set according to actual needs, and a position in the graphical user interface of the terminal device, which is suitable for a user to watch a video, is not specifically limited herein.
In one possible implementation, a specific video encyclopedia page can also be shown in fig. 9: displaying dimension information of any attribute dimension and video preview information under the attribute dimension in a first area of a video encyclopedia page; dimension information of each attribute dimension and video preview information under each attribute dimension are respectively displayed in a second area of the video encyclopedia page.
Here, text description information corresponding to any attribute dimension may also be presented in a third area of the video encyclopedia page; the text description information is used for describing text contents corresponding to the videos contained in the attribute dimension.
Receiving the above S101, the encyclopedic information display method provided by the present disclosure further includes:
s102, responding to the trigger operation aiming at the first target video in the displayed videos, and displaying a video playing page.
The video playing page comprises a first area and a second area, wherein the first area is used for displaying dimension information of each attribute dimension, and the second area is used for displaying a video queue formed by videos under each attribute dimension.
S103, highlighting dimension information of a target attribute dimension to which the first target video belongs in a first area of the video playing page, and displaying the first target video and a video behind the first target video in the video queue in a second area of the video playing page.
The number of videos in the video queue is greater than or equal to the number of videos displayed in the video encyclopedia page; here, the plurality of videos in each attribute dimension may be sequentially presented in the second region in a horizontal arrangement manner, or the plurality of videos in each attribute dimension may be sequentially presented in the second region in a vertical arrangement manner.
The first target video is any one of a plurality of videos shown in the video encyclopedia page.
In a possible implementation manner, the number of videos of a second target video corresponding to the target video preview information can be determined in response to a trigger operation for any target video preview information in the video preview information; if the video number corresponding to the video preview information is 1, highlighting dimension information of a target attribute dimension to which a second target video belongs in a first area of a video playing page, and displaying the second target video and a video behind the second target video in a video queue in a second area; a specific video playback page may be as shown in fig. 10; if the number of videos corresponding to the video preview information is larger than 1, highlighting dimension information of a target attribute dimension to which a second target video belongs in a first area of a video playing page, and displaying a first second target video under the target attribute dimension and a video behind the first second target video in a video queue in a second area; a specific video playback page may be as shown in fig. 11.
In a possible implementation manner, in order to enable a user to watch a video more clearly, the video may be displayed in a full screen mode in a graphical user interface of the terminal device, that is, the terminal device may respond to a trigger operation for any video displayed in the second area of the video playing page and switch to a full screen playing state; and in a full-screen playing state, starting from any video, sequentially playing a plurality of videos under the target attribute dimensionality.
Any video is a first target video or any video behind the first target video in the video queue; here, in a case where any video includes a first target video, the target attribute dimension may include an attribute dimension to which the first target video belongs; when any video includes any video located behind the first target video in the video queue, the target attribute dimension may include an attribute dimension to which any video located behind the first target video in the video queue belongs, and the attribute dimension to which any video located behind the first target video in the video queue belongs may be the same as or different from the attribute dimension to which the first target video belongs.
As shown in fig. 12, when a target attribute dimension to which a video displayed in full screen belongs includes a plurality of videos, a video collection identifier and a function entry for switching videos are displayed in fig. 12; if the user triggers the function entry for switching the videos, the dimension information of each attribute dimension corresponding to the entity and the introduction pictures including each video in each attribute dimension are displayed to the user, and a specific display interface may be as shown in fig. 13.
In specific implementation, in response to a triggering operation of a user on dimension information of any attribute dimension, showing an introduction picture of each video contained in the attribute dimension in a page; and responding to the triggering operation of the user for any introduction picture, replacing the video corresponding to the introduction picture with the video displayed in full screen currently, namely displaying the video corresponding to the introduction picture in full screen.
In the embodiment of the disclosure, encyclopedia content of an entity is displayed to users in a video form, so that convenience is brought to some users to acquire encyclopedia information through a video platform, the users can browse videos under various attribute dimensions on video encyclopedia pages, and the users can play the videos under the corresponding attribute dimensions on video playing pages after triggering any video, so that the users can browse the encyclopedia information conveniently.
The method for generating encyclopedia information provided by the embodiment of the present disclosure is described below by taking an execution subject as a server.
Referring to fig. 14, a flowchart of a method for generating encyclopedic information provided by the embodiment of the present disclosure is shown, where the method includes steps S1401 to S1404, where:
s1401, determining a plurality of attribute dimensions corresponding to the target entity according to the entity type of the target entity.
Here, the attribute dimensions corresponding to the target entities of different entity types are different, wherein the entity types include at least one of multiple types such as people, animals, plants and the like; for example, the plurality of attribute dimensions corresponding to the target entity of the person class may include a person profile, related persons, a person experience, a personal life, a personal work, a winning record, and the like; the plurality of attribute dimensions corresponding to the target entity of the animal class may include an animal profile, a shape characteristic, a habitat environment, a life habit, a distribution range, a reproduction mode, a protection level, and the like.
The general server stores attribute dimensions corresponding to each type of entity in advance.
In specific implementation, the entity type of the target entity may be determined, and a plurality of attribute dimensions corresponding to the target entity are determined according to the attribute dimensions corresponding to each type of entity stored in the server.
In a specific implementation, after determining a plurality of attribute dimensions corresponding to the target entity, a video matched with the attribute dimensions may be obtained based on each attribute dimension, and for a specific description, refer to step S1402 below.
S1402, aiming at each attribute dimension, at least one video matched with the attribute dimension is obtained, and the at least one video forms a video collection corresponding to the attribute dimension.
In specific implementation, each video associated with a target entity can be acquired according to the target entity; and then, determining videos matched with the attribute dimensions from the videos based on the attribute dimensions corresponding to the target entity.
Specifically, the name of the target entity may be used as a search statement to search for each video associated with the target entity in the multimedia content library; and taking the name of each attribute dimension corresponding to the target entity as a search statement, and acquiring videos matched with the name of each attribute dimension from each video associated with the target entity so as to determine the videos matched with each attribute dimension.
In an optional implementation manner, if the video content matched with the name of the target entity is not obtained in the multimedia content library, a video matched with each attribute dimension corresponding to the target entity may be generated by using a text-to-video technology, which is specifically described as follows: taking the name of the target entity as a search statement, and acquiring each multimedia content matched with the search statement in a multimedia content library; determining multimedia contents matched with the attribute dimensions from the multimedia contents based on the attribute dimensions corresponding to the target entity; and generating a video matched with each attribute dimension based on the multimedia content matched with the attribute dimension.
The multimedia content may include at least one of picture content and text content.
Here, when the video associated with the target entity is not acquired based on the name of the target entity, the multimedia content associated with the target entity may be acquired in the multimedia content library; then, the name of each attribute dimension corresponding to the target entity is used as a search statement, and multimedia content matched with each attribute dimension is obtained from the multimedia content associated with the target entity; and then, converting the multimedia content matched with each attribute dimension into a video through a picture-text-to-video technology, thereby determining the video matched with each attribute dimension.
Through the technology of converting image-text into video, the specific description of converting the multimedia content matched with each attribute dimension into video can be as follows: semantic recognition can be carried out on the multimedia content through a semantic recognition model, and a category label of the multimedia content is determined; then, determining a target video template corresponding to the multimedia content based on the category label of the multimedia content; after the target video template is determined, image algorithm processing can be performed on the picture content contained in the multimedia content, and a plurality of picture contents with image information greater than a preset image information threshold value contained in the picture content are selected as target picture contents based on the image algorithm processing result; semantic analysis is carried out on the target picture content, and target text content matched with the target picture content is determined in the multimedia content based on a semantic analysis result; then, semantic analysis can be carried out on the text content in the multimedia content based on the number of the title characters which can be displayed by the title display module and are contained in the target video template, and the title of the target video is determined; performing semantic analysis on target text contents through a natural semantic processing technology, extracting summary contents such as event causes, event passes and the like representing the target text contents from the target text contents, taking the summary contents as subtitle contents, and splitting the subtitle contents according to the number of subtitle characters which can be displayed by a subtitle display module and are contained in a target video template to obtain a plurality of target subtitle contents matched with the target picture contents; the method comprises the steps of determining target title content, target picture content and target subtitle content corresponding to the target picture content contained in each frame of video frame in a video based on a plurality of pieces of target picture content, the target title content and a plurality of pieces of target subtitle content, inserting the target title content in each frame of video frame into a corresponding title display module in a target video template, inserting the target picture content in each frame of video frame into a corresponding video display module in the target video template, and inserting the target subtitle content corresponding to the target picture content in each frame of video frame into a corresponding video display module in the target video template.
Wherein, the category label can comprise international category, social category, financial category, scientific category, legal category, entertainment category, etc.; generally, a plurality of types of video templates are preset, and may include an international type video template, a social type video template, a financial type video template, a scientific type video template, a legal type video template, an entertainment type video template, and the like.
Here, after determining the category label of the target multimedia content, a target video template corresponding to the target multimedia content may be determined according to the category label of the multimedia content, for example, when the category label of the target multimedia content is an entertainment class, the target video template corresponding to the target multimedia content is: entertainment-like video templates.
Here, the corresponding presentation module in the target video template may include: the system comprises a title display module, a video display module and a subtitle display module; here, the title display module is configured to display title content of the target video, the video display module is configured to display picture content of the target video, and the subtitle display module is configured to display subtitle content of the target video.
After a plurality of target video frames are obtained by respectively inserting one target picture content and the corresponding target text content in each determined frame of video frame into the corresponding display module position in the target video template, the audio of each target video frame can be generated according to the audio element corresponding to the target video template and the target text content in each target video frame.
Wherein, the audio element can comprise the tone color attribute information of the video background music and/or the video caption; here, the video background music may include at least one of various types of music such as cheerful music, deep music, mild music, and the like; the tone attribute information of the video subtitle may include a pronunciation tone of the video subtitle; the pronunciation timbre can include at least one of various pronunciation timbres such as steady male voice, soft female voice, child voice and the like.
In the case that the audio element includes the tone attribute information of the video subtitle, generating the audio content corresponding to the target subtitle content based on the tone attribute information and the target subtitle content determined by the method; and configuring the playing time of the audio content and the display time of the target subtitle content, so that the playing time of the audio content corresponding to the same content is the same as the display time of the target subtitle content.
Specifically, when the audio element indicated in the video template content includes a pronunciation tone of a subtitle, the determined target subtitle content is converted into audio content by a Text To Speech (TTS) technology based on the pronunciation tone, the playing time of the audio content is configured with the display time of the target subtitle content, and the playing schedules of the audio content and the target subtitle content corresponding To the audio content are aligned, so that the target subtitle content and the audio content corresponding To the target subtitle content can be played synchronously when the target video is played.
And respectively inserting one target picture content and the corresponding target text content in each frame of video frame into the corresponding display module position in the target video template to obtain a plurality of target video frames and generating the audio content corresponding to each frame of target video frame, thereby generating the video matched with the attribute dimension.
In a specific implementation, the determined multiple videos matching each attribute dimension may be used as a video collection corresponding to the attribute dimension.
In a specific implementation, videos matched with each attribute dimension are directly searched based on step S1402, or videos matched with each attribute dimension are generated by a text-to-video technology, and after the videos matched with each attribute dimension are taken as video collections corresponding to the attribute dimension, video aggregation cards respectively corresponding to the video collections can be generated, which is specifically described in step S1403 below.
And S1403, generating video aggregation cards respectively corresponding to the acquired video collections.
In specific implementation, a video aggregation card corresponding to a video aggregate can be generated according to video contents corresponding to a plurality of videos contained in the video aggregate.
The video aggregation card comprises video preview information, and the video preview information may include but is not limited to at least one of the following: identification information indicating a video collection, a video cover picture, video description information, and the number of videos contained, and the total number of plays.
S1404, sending the encyclopedia content of the target entity to the client; the encyclopedia content comprises the video encyclopedia content of the video aggregation card.
In a specific implementation, based on the video aggregation cards corresponding to the attribute dimensions, video encyclopedia content of the target entity is generated, and the encyclopedia content including the video encyclopedia content of the target entity is sent to the client (i.e., the terminal device), so that the client displays the video encyclopedia content of the target entity to the user, where a specific video encyclopedia page of the target entity may be as shown in fig. 7, 8, or 9.
Here, in a case where the target entity satisfies the push condition, the push card including the textual description information of the target entity may be sent to the client. Here, the push condition may be determined according to the user attention, wherein the user attention may be determined according to the number of search users and the number of search times; for example, when the number of search users corresponding to a certain Liu is twenty thousand, and the number of search times exceeds fifty thousand, it is determined that the certain Liu satisfies the push condition.
The method comprises the steps that a push card is an aggregate card which can be presented on a page in an information flow presentation mode and is obtained by analyzing encyclopedic content of a target entity according to a Front End Engineering Design (FEED) technology; the aggregate card can comprise the literal description information of the target entity; here, the information flow is a FEED flow, i.e. the way multimedia content is presented on a page in the form of a stream.
Specifically, the server may determine the push condition according to the user attention of the target entity; and selecting a target entity meeting the pushing condition, generating a pushing card containing the text description information of the target entity based on the encyclopedia content of the target entity, and pushing the pushing card to the terminal equipment in the information stream.
In an optional implementation manner, after receiving a search request of the terminal device for a target entity, the server responds to a target search instruction for the target entity, generates a search result matched with the target search instruction based on encyclopedia content of the target entity, and feeds back a push card corresponding to the target entity to the terminal device.
In the embodiment of the disclosure, according to the entity type of the target entity, a plurality of attribute dimensions corresponding to the target entity are determined; acquiring at least one video matched with the attribute dimension aiming at each attribute dimension, wherein a video collection corresponding to the attribute dimension is formed by the videos; generating video aggregation cards respectively corresponding to the acquired video collections, and sending video encyclopedia content containing the video aggregation cards to the client; by the method, the text encyclopedia content with larger information content and longer space occupation can be converted into the video encyclopedia content, so that a user can obtain encyclopedia knowledge more conveniently, and the display form of the encyclopedia knowledge is enriched.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an encyclopedic information display device corresponding to the encyclopedic information display method is further provided in the embodiment of the present disclosure, and as the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the method for displaying encyclopedic information described above in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 15, there is shown a schematic diagram of an encyclopedic information display apparatus 1500 according to an embodiment of the present disclosure, the apparatus including: a first display module 1501, a second display module 1502, a third display module 1503; wherein the content of the first and second substances,
a first display module 1501, configured to display, on a video encyclopedia page of an entity, dimension information of multiple attribute dimensions corresponding to the entity and a video in each attribute dimension; wherein the attribute dimension corresponds to a characteristic of a knowledge module that introduces the entity.
A second display module 1502, configured to display a video playing page in response to a trigger operation for a first target video in the displayed videos; the video playing page comprises a first area and a second area, wherein the first area is used for displaying dimension information of each attribute dimension, and the second area is used for displaying a video queue formed by videos under each attribute dimension.
A third showing module 1503, configured to highlight, in a first region of the video playing page, dimension information of a target attribute dimension to which the first target video belongs, and display, in a second region of the video playing page, the first target video and a video in the video queue behind the first target video.
In the embodiment of the disclosure, the encyclopedia content of the entity is displayed to users in a video form, so that some users can conveniently acquire encyclopedia information through a video platform; and the user can browse the videos under each attribute dimension on the video encyclopedia page, and can play each video under the corresponding attribute dimension on the video playing page after triggering any video, so that the user can browse the encyclopedia information conveniently.
In an optional implementation manner, before the video encyclopedia page of an entity displays dimension information of a plurality of attribute dimensions corresponding to the entity and videos in each of the attribute dimensions, the first display module 1501 is further configured to:
and highlighting dimension information of a target attribute dimension to which the first target video belongs in a first area of the video playing page, and displaying the first target video and videos behind the first target video in the video queue in a second area of the video playing page.
In an optional implementation manner, before the video encyclopedia page of an entity displays dimension information of a plurality of attribute dimensions corresponding to the entity and videos in each of the attribute dimensions, the first display module 1501 is further configured to:
displaying a video label and a picture and text label on an encyclopedia page of the entity;
and displaying the video encyclopedia page of the entity in response to the triggering operation of the video tag.
In an alternative embodiment, the apparatus further comprises: a determination module specifically configured to: responding to a trigger operation aiming at any target video preview information in the video preview information, and determining the video quantity of a second target video corresponding to the target video preview information;
if the number of videos corresponding to the video preview information is 1, highlighting dimension information of a target attribute dimension to which the second target video belongs in the first area of the video playing page, and displaying the second target video and a video behind the second target video in the video queue in the second area;
if the number of videos corresponding to the video preview information is greater than 1, highlighting dimension information of a target attribute dimension to which the second target video belongs in the first region of the video playing page, and displaying a first second target video under the target attribute dimension and videos behind the first second target video in the video queue in the second region.
In an optional implementation manner, the first presentation module 1501 is specifically configured to present, in a first area of the video encyclopedia page, dimension information of any attribute dimension and video preview information in the attribute dimension; and displaying dimension information of each attribute dimension and video preview information under each attribute dimension in a second area of the video encyclopedia page respectively.
In an alternative embodiment, the apparatus further comprises: and the fourth display module is used for displaying the text description information corresponding to any attribute dimension in a third area of the video encyclopedia page.
In an optional implementation manner, the first display module 1501 is specifically configured to respectively display, in a dimension information display area of a video encyclopedia page of the entity, dimension information corresponding to each attribute dimension; sequentially displaying a video collection corresponding to each attribute dimension below the dimension information display area, wherein a plurality of videos in the video collection are transversely arranged; and responding to the triggering operation of the dimension information of any attribute dimension, and sliding the video collection under the attribute dimension to an area adjacent to the dimension information display area for displaying.
In an optional implementation manner, the first display module 1501 is specifically configured to respectively display, in a dimension information display area of a video encyclopedia page of the entity, dimension information corresponding to each attribute dimension; responding to the triggering operation of the dimension information aiming at any attribute dimension, sequentially displaying a plurality of videos under the attribute dimension in a vertical arrangement mode below the dimension information display area, and playing the videos at a preset position below the dimension information display area.
In an optional implementation manner, the apparatus further includes a fifth presentation module, configured to switch to a full-screen playing state in response to a trigger operation for any video displayed in the second area of the video playing page; the any video is the first target video or any video behind the first target video in the video queue; and in a full-screen playing state, starting from any video, sequentially playing the videos under the target attribute dimension.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the application also provides computer equipment. Referring to fig. 16, a schematic diagram of a computer device 1600 provided in the embodiments of the present application includes a processor 1601, a memory 1602, and a bus 1603. The storage 1602 is used for storing execution instructions and includes a memory 16021 and an external storage 16022; the memory 16021 is also referred to as an internal memory for temporarily storing operation data in the processor 1601 and data exchanged with an external memory 16022 such as a hard disk, the processor 1601 exchanges data with the external memory 16022 through the memory 16021, and when the computer apparatus 1600 operates, the processor 1601 communicates with the storage 1602 through the bus 1603, so that the processor 1601 executes the following instructions:
displaying dimension information of a plurality of attribute dimensions corresponding to an entity and videos under the attribute dimensions on a video encyclopedia page of the entity; wherein the attribute dimension corresponds to a feature of a knowledge module that introduces the entity;
responding to a trigger operation aiming at a first target video in the displayed videos, and displaying a video playing page; the video playing page comprises a first area and a second area, wherein the first area is used for displaying dimension information of each attribute dimension, and the second area is used for displaying a video queue formed by videos under each attribute dimension;
and highlighting dimension information of a target attribute dimension to which the first target video belongs in a first area of the video playing page, and displaying the first target video and videos behind the first target video in the video queue in a second area of the video playing page.
The specific processing flow of the processor 1601 may refer to the description of the above method embodiment, and is not described herein again.
The embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the encyclopedic information display method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the encyclopedic information display method in the foregoing method embodiments, which may be referred to specifically for the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.