Video display method and device, computer equipment and storage medium

文档序号:1939849 发布日期:2021-12-07 浏览:10次 中文

阅读说明:本技术 一种视频展示方法、装置、计算机设备及存储介质 (Video display method and device, computer equipment and storage medium ) 是由 吴健 于 2021-09-29 设计创作,主要内容包括:本公开提供了一种视频展示方法、装置、计算机设备及存储介质,包括:响应针对目标视频的视频播放请求,获取所述目标视频和所述目标视频对应的关联语句的音频;其中,所述关联语句是从所述目标视频对应的目标书籍中提取的;播放所述目标视频,并在播放到所述目标视频中的目标片段时,展示音频标识;响应针对所述音频标识的触发操作,从所述关联语句中确定与所述目标片段对应的目标语句,并在播放所述目标片段的同时,播放所述目标语句的音频。(The present disclosure provides a video display method, apparatus, computer device and storage medium, including: responding to a video playing request aiming at a target video, and acquiring the target video and the audio of an associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video; playing the target video, and displaying an audio identifier when a target segment in the target video is played; and responding to the triggering operation aiming at the audio identification, determining a target statement corresponding to the target segment from the associated statements, and playing the audio of the target statement while playing the target segment.)

1. A method for video presentation, comprising:

responding to a video playing request aiming at a target video, and acquiring the target video and the audio of an associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video;

playing the target video, and displaying an audio identifier when a target segment in the target video is played;

and responding to the triggering operation aiming at the audio identification, determining a target statement corresponding to the target segment from the associated statements, and playing the audio of the target statement while playing the target segment.

2. The method of claim 1, further comprising:

acquiring target comment information corresponding to the target sentence from comment information corresponding to the target book;

and displaying the target comment information in a bullet screen mode while playing the target segment.

3. The method according to claim 1 or 2, characterized in that the method further comprises:

and displaying the text content corresponding to the target sentence at a preset position while playing the target segment.

4. The method of claim 3, further comprising:

responding to a triggering operation aiming at the text content, and determining the display progress of the text content in the target book;

skipping to display the target book according to the display progress.

5. The method according to claim 1, wherein the related sentences are sentences whose heat information extracted from the target video in the corresponding target paragraph in the target book satisfies a preset condition based on the heat information corresponding to each sentence, and wherein the target segment is the same as the target sentence in plot.

6. The method of claim 1, further comprising:

acquiring topic information containing the target book;

determining a first video clip of which the heat information meets a preset condition in the target video;

and in the target video playing process, when the first video clip is played, the topic information is displayed.

7. The method of claim 1, further comprising:

acquiring at least one book circle information corresponding to the target book;

in the playing process of the target video, when the target video is detected to meet the display condition of any book circle information, displaying the any book circle information;

and responding to the triggering operation aiming at the displayed book circle information, and skipping to display the book circle corresponding to the triggered book circle information.

8. The method of claim 1, wherein the playing the target video comprises:

playing the target video on a target page;

the method further comprises the following steps:

before the target video is played on a full screen of a target page, displaying a video identifier of the target video and a plurality of other video identifiers having an association relation with the target video at a first preset position of the target page, and displaying a book identifier or a book chapter identifier associated with the video corresponding to the video identifier at a corresponding position of each video identifier of the target page.

9. A video presentation apparatus, comprising:

the acquisition module is used for responding to a video playing request aiming at a target video and acquiring the target video and the audio of the associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video;

the display module is used for playing the target video and displaying the audio identifier when the target segment in the target video is played;

and the playing module is used for responding to the triggering operation aiming at the audio identifier, determining a target statement corresponding to the target segment from the associated statement, and playing the audio of the target statement while playing the target segment.

10. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the video presentation method according to any one of claims 1 to 8.

11. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the video presentation method according to any one of claims 1 to 8.

Technical Field

The present disclosure relates to the field of information processing technologies, and in particular, to a video display method and apparatus, a computer device, and a storage medium.

Background

With the development of the internet, videos become an important part of people's entertainment life. In the process of watching videos, users generally interact with the devices to control played videos, and how to enrich the interaction mode in the process of watching videos becomes a problem to be solved urgently.

Disclosure of Invention

The embodiment of the disclosure at least provides a video display method, a video display device, computer equipment and a storage medium.

In a first aspect, an embodiment of the present disclosure provides a video display method, including:

responding to a video playing request aiming at a target video, and acquiring the target video and the audio of an associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video;

playing the target video, and displaying an audio identifier when a target segment in the target video is played;

and responding to the triggering operation aiming at the audio identification, determining a target statement corresponding to the target segment from the associated statements, and playing the audio of the target statement while playing the target segment.

In a possible embodiment, the method further comprises:

acquiring target comment information corresponding to the target sentence from comment information corresponding to the target book;

and displaying the target comment information in a bullet screen mode while playing the target segment.

In a possible embodiment, the method further comprises:

and displaying the text content corresponding to the target sentence at a preset position while playing the target segment.

In a possible embodiment, the method further comprises:

responding to a triggering operation aiming at the text content, and determining the display progress of the text content in the target book;

skipping to display the target book according to the display progress.

In a possible implementation manner, the related sentences are sentences whose heat information extracted from the target video in the corresponding target paragraph in the target book satisfies a preset condition based on the heat information corresponding to each sentence, wherein the target segment is the same as the target sentence in plot.

In a possible embodiment, the method further comprises:

acquiring topic information containing the target book;

determining a first video clip of which the heat information meets a preset condition in the target video;

and in the target video playing process, when the first video clip is played, the topic information is displayed.

In a possible embodiment, the method further comprises:

acquiring at least one book circle information corresponding to the target book;

in the playing process of the target video, when the target video is detected to meet the display condition of any book circle information, displaying the any book circle information;

and responding to the triggering operation aiming at the displayed book circle information, and skipping to display the book circle corresponding to the triggered book circle information.

In a possible embodiment, the playing the target video includes:

playing the target video on a target page;

the method further comprises the following steps:

before the target video is played on a full screen of a target page, displaying a video identifier of the target video and a plurality of other video identifiers having an association relation with the target video at a first preset position of the target page, and displaying a book identifier or a book chapter identifier associated with the video corresponding to the video identifier at a corresponding position of each video identifier of the target page.

In a second aspect, an embodiment of the present disclosure further provides a video display apparatus, including:

the acquisition module is used for responding to a video playing request aiming at a target video and acquiring the target video and the audio of the associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video;

the display module is used for playing the target video and displaying the audio identifier when the target segment in the target video is played;

and the playing module is used for responding to the triggering operation aiming at the audio identifier, determining a target statement corresponding to the target segment from the associated statement, and playing the audio of the target statement while playing the target segment.

In a possible embodiment, the display module is further configured to:

acquiring target comment information corresponding to the target sentence from comment information corresponding to the target book;

and displaying the target comment information in a bullet screen mode while playing the target segment.

In a possible embodiment, the display module is further configured to:

and displaying the text content corresponding to the target sentence at a preset position while playing the target segment.

In a possible implementation manner, the playing module is further configured to:

responding to a triggering operation aiming at the text content, and determining the display progress of the text content in the target book;

skipping to display the target book according to the display progress.

In a possible implementation manner, the related sentences are sentences whose heat information extracted from the target video in the corresponding target paragraph in the target book satisfies a preset condition based on the heat information corresponding to each sentence, wherein the target segment is the same as the target sentence in plot.

In a possible implementation manner, the playing module is further configured to:

acquiring topic information containing the target book;

determining a first video clip of which the heat information meets a preset condition in the target video;

and in the target video playing process, when the first video clip is played, the topic information is displayed.

In a possible embodiment, the display module is further configured to:

acquiring at least one book circle information corresponding to the target book;

in the playing process of the target video, when the target video is detected to meet the display condition of any book circle information, displaying the any book circle information;

and responding to the triggering operation aiming at the displayed book circle information, and skipping to display the book circle corresponding to the triggered book circle information.

In a possible implementation manner, the playing module, when playing the target video, is configured to:

playing the target video on a target page;

the display module is further configured to:

before the target video is played on a full screen of a target page, displaying a video identifier of the target video and a plurality of other video identifiers having an association relation with the target video at a first preset position of the target page, and displaying a book identifier or a book chapter identifier associated with the video corresponding to the video identifier at a corresponding position of each video identifier of the target page.

In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.

In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.

The video display method, the video display device, the computer equipment and the storage medium can display the audio identification when the target segment is played in the process of playing the target video, a user can play the audio of the target statement while playing the target segment by triggering the audio identification, therefore, linkage between the target video and the target book can be realized, interaction modes in the process of playing the video are rich, and the user can be helped to know the mood of the scene of the target video segment by playing the audio, so that the watching experience of the user is improved.

Furthermore, the understanding degree of the user on the target book can be improved, so that the user is guided to read the target book, and the book reading rate is improved.

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.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.

Fig. 1 shows a flowchart of a video presentation method provided by an embodiment of the present disclosure;

fig. 2a is a schematic diagram illustrating the presentation of an audio identifier in a video presentation method provided by an embodiment of the present disclosure;

fig. 2b shows a schematic view of displaying a target page in the video displaying method provided by the embodiment of the disclosure;

fig. 3 is a schematic diagram illustrating an architecture of a video display apparatus provided in an embodiment of the present disclosure;

fig. 4 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.

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 the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, 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 in the process of watching videos, users generally interact with equipment to control played videos, and how to enrich the interaction mode in the process of watching videos becomes a problem to be solved urgently.

Based on the research, the present disclosure provides a video display method, an apparatus, a computer device and a storage medium, which can display an audio identifier when a target segment is played in the process of playing a target video, and a user can play the audio of a target sentence while playing the target segment by triggering the audio identifier, thereby realizing linkage between the target video and a target book, and abundant interaction modes in the video playing process, and by playing the audio, the user can be helped to know the mood of the scene of the target video segment, and further the viewing experience of the user is improved.

Furthermore, the understanding degree of the user on the target book can be improved, so that the user is guided to read the target book, and the book reading rate is improved.

The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned 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 video display method disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the video display method provided in the embodiments of the present disclosure is generally a terminal device with certain computing capability, for example, a smart phone, a tablet computer, a personal computer, and the like.

Referring to fig. 1, a flowchart of a video display method provided in the embodiment of the present disclosure is shown, where the method includes steps 101 to 103, where:

step 101, responding to a video playing request aiming at a target video, and acquiring the target video and audio of an associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video.

And 102, playing the target video, and displaying an audio identifier when a target segment in the target video is played.

Step 103, responding to the trigger operation for the audio identifier, determining a target statement corresponding to the target segment from the associated statements, and playing the audio of the target statement while playing the target segment.

According to the method, the audio identification can be displayed when the target segment is played in the process of playing the target video, and the user can play the audio of the target sentence while playing the target segment by triggering the audio identification, so that linkage between the target video and the target book can be realized, interaction modes in the process of playing the video are enriched, and the user can be helped to know the mood of the scene of the target video segment by playing the audio, and further the watching experience of the user is improved.

Furthermore, the understanding degree of the user on the target book can be improved, so that the user is guided to read the target book, and the book reading rate is improved.

The following is a detailed description of the above steps.

In one possible implementation, if the target video is shot based on the target book, the target book may be used as the video corresponding to the target video; for example, if the "journey to the west" of the tv drama is shot based on the book "journey to the west", the book "journey to the west" is the corresponding target book if the target video is the "journey to the west" of the tv drama.

Alternatively, in another possible implementation, the target video and the target book may contain the same elements, where the same elements may be, for example, a story line, a pivot name, a scene, etc.

Specifically, the books corresponding to the videos may be preset, different scenes of the videos correspond to different books or different chapters of the same book, and each book may also correspond to multiple videos.

After the trigger operation for the preview information of the target video is detected, a video playing request of the target video may be sent to the server, and the server may determine a target book corresponding to the target video based on a preset correspondence between the book and the video.

The association statement may be a voice-over statement describing video content in the target video. In a possible implementation manner, the target video includes a plurality of target segments of the non-dialog scene, each target segment has a corresponding target segment, and the audio corresponding to the target segment may be long, for example, the target segment may have only 10 seconds, and the audio corresponding to the target segment may have 1 minute, in this case, if the audio of the whole segment of the target segment is directly played, the audio may still be played after the target segment of the non-dialog scene is played due to the too long audio, so that the situation that the audio is played in the video segment of the dialog scene may occur, and the playing effect is further affected.

Therefore, in a possible implementation manner, the related sentences may be sentences whose heat information extracted from the target video in the corresponding target paragraph in the target book satisfies a preset condition based on the heat information corresponding to each sentence, wherein the target segment is the same as the target sentence in plot.

Here, the target paragraph generally refers to a non-dialog paragraph, i.e., a dialogue paragraph. Specifically, in the reading process of the target book, the user can comment, like, share, etc. each sentence of the target book; when determining the related sentences, based on the user's interactive operation on each sentence of the target paragraph, the heat information of each sentence in the target paragraph may be determined, and then the sentences with higher heat information (that is, meeting a preset condition, for example, the heat information exceeds a certain value) may be screened as the related sentences. In practical applications, the step of determining the association statement may be performed by the server in advance.

When the association sentences are screened from the target paragraph, the target word number may be determined by combining the playing time of the target segment, and then the association sentences of the target word number are screened from the target paragraph. Therefore, when the audio of the associated sentence is played, the playing length of the audio does not exceed the playing length of the target segment, and the influence of the audio playing on the video playing is avoided.

Because the target segment is a segment capable of playing audio in a superimposed manner, if the audio is played in the dialog video segment in a superimposed manner, the display effect of the character dialog in the dialog video segment may be affected, and therefore, the target segment of the target video may refer to a non-dialog video segment; alternatively, the target segment refers to a segment that does not contain human speech.

When determining the target paragraphs corresponding to the target video, it is substantially to determine the target paragraphs corresponding to the target segments in the target video, and in one possible implementation, the matching may be performed manually; in another embodiment, the target video may be detected, and after determining non-dialog video segments (i.e., target segments) in the target video, for each video segment, based on subtitle information (because the video segment is a dialog video segment, there is subtitle information, and if there is no subtitle information, audio of the dialog video segment may be converted into subtitle information by an audio-to-text technology), and the subtitle information may be matched with text content in the target book, and based on a matching result, a target segment corresponding to each non-dialog video segment (i.e., target segment) may be determined.

For example, if the target video includes a dialog video segment 1, a non-dialog video segment a, and a dialog video segment 2, when determining a target paragraph corresponding to the non-dialog video segment a, subtitle information included in the dialog video segment 1 and the dialog video segment 2 may be respectively identified, and then the identified subtitle information is matched with the target book, so that the target paragraph corresponding to the non-dialog video segment a may be determined.

When a target video is detected and a non-dialog video segment (i.e., a target segment) in the target video is determined, illustratively, a segment composed of a plurality of consecutive frames (preset number of frames) of video frames not including subtitles may be used as the target segment; or a video clip which does not contain the dialogue audio within a preset time length can be used as the target clip.

After determining each target segment in the target video and screening out the associated sentences from the target segment corresponding to each target segment, in a possible implementation manner, when the target video is obtained, the playing time stamp of each target segment may be obtained at the same time, then in the playing process of the target video, which target segment is played may be determined based on the playing time stamp, and then after the audio identifier is triggered, which audio of the associated sentences is played may be determined based on the corresponding relationship between the target segment and the associated sentences.

In another possible implementation manner, anchor points may be set in the target video based on the playing progress of each target segment in the target video; after the anchor point is triggered in the playing process of the target video, it can be determined that the target video is played to the target segment.

The audio indicator, which may be an audio play button, may be used for example, as shown in fig. 2 a. In practical application, in order not to affect the display effect of the target video, the audio identifier may be displayed during the playing of the target segment, and after the playing of the target segment is finished, the display of the audio identifier may be stopped.

In a possible implementation manner, the target book may have a corresponding book audio (for example, the book audio may be obtained by converting Text To Speech (TTS) technology), and after determining a target association corresponding to the target video, the association in the book audio may be determined to expect a corresponding audio based on a display progress of the target association in the target book; alternatively, the audio of the associated sentence may be synthesized directly based on TTS technology.

In another possible implementation manner, the associated sentence may further include comment information of the target paragraph, where the audio of the obtained associated sentence may be the audio of the comment information converted by the obtaining server.

For example, if the comment information of the target segment is "haha bar" too interesting, the corresponding audio may be generated based on the text content of "haha bar" too interesting, and when the target segment corresponding to the target segment is played, the audio corresponding to "haha bar" too interesting may be played after the audio identifier is triggered.

Here, the comment information may be more, and in a possible implementation, the target comment information may be screened out based on the popularity information of each comment information, and when the user side acquires the audio of the associated sentence, the user side acquires the audio of the target comment information; if there are multiple pieces of target comment information, the audio corresponding to each piece of target comment information can be played in sequence based on the popularity information after the audio identifier is triggered.

In a possible implementation manner, while the target segment is played, the text content corresponding to the target sentence may be displayed at a preset position. For example, since the target segment is a non-dialog video segment, the target segment generally does not include a subtitle, and text content corresponding to the target sentence may be displayed in a position region where the subtitle is displayed.

Specifically, when the text content corresponding to the target sentence is displayed, the text content may be displayed while the target sentence is played after the audio identifier is triggered.

Here, the target sentence may include a plurality of sentences, and the text content may be matched with the target sentence being played while the text content is being presented, that is, the text content of any sentence is presented while the speech of the sentence is being played.

Or, in another possible implementation, when the text content corresponding to the target sentence is displayed, a floating layer may be superimposed at the preset position, the text content is displayed on the floating layer, and when the text content is more, the text content may be displayed in a scrolling manner along with the played audio. When the speech of any sentence is played, the displayed text content of the sentence may be highlighted (e.g., changed in color, bolded, etc.).

In a possible implementation manner, the user may further trigger the displayed text content, and the user side may determine a display progress of the text content in the target book in response to the trigger operation for the text content, and skip to display the target book according to the display progress.

Here, since the target video may be played on a video playing program, when skipping to display the target book, it may be exemplified that after obtaining user authorization, a book reading program is automatically opened, and the target book is displayed on the book reading program according to the display progress.

It should be noted that the target book is generally stored in the database of the book reading program.

If the database of the book reading program does not store the target book, a possible implementation manner may be to initiate a search request based on book information of the target book in a browser, and obtain and display a search result corresponding to the search request; or determining an associated book corresponding to the target book, and displaying preview information of the associated book on the book reading program.

Here, the related books corresponding to the target book may be, for example, the same type of book, the same author's book, or the like.

In a possible implementation manner, the target comment information corresponding to the target sentence can be obtained from the comment information corresponding to the target book, and then the target comment information is displayed in a bullet screen while the target segment is played.

Here, when the number of comment information corresponding to the target sentence is small (for example, the number of comment information is less than a first preset value), all comment information of the target sentence may be used as target comment information and displayed in a pop-up screen form; when the number of the comment information corresponding to the target sentence is large (for example, the number of the comment information is not less than the first preset value), the comment information whose popularity information satisfies the preset popularity condition may be screened out as the target comment information based on the popularity information of each comment information (for example, may be determined by the number of praise times, the number of reply times, and the like).

In a possible implementation manner, topic information including the target book may also be obtained, and a first video segment in the target video in which the popularity information meets a preset condition is determined, and in the process of playing the target video, the topic information may be displayed when the first video segment is played.

Here, the topic information may include, for example, at least one of the content of the topic, the title of the topic, the comment of the topic, and the like.

The topic information including the target book may refer to that the corresponding book list includes the topic information of the target book; or the corresponding comments contain the topic information of the target book. The book list corresponding to the topic information may be determined based on book information carried in the comment of the topic information.

Here, when the topic information is displayed, the topic information may be displayed in a bullet screen mode, or may be displayed in a preset position area of a screen interface for a fixed time duration.

When determining the first video segment of the target video whose heat information satisfies the preset condition, the target video may be divided into a plurality of video segments in advance (for example, the target video may be divided into a plurality of video segments by plot division or scene division), then the heat information of each video segment is determined, and then the first video segment satisfying the preset condition is screened based on the heat information.

Here, the popularity information of each video clip may be determined based on at least one of the number of pop-ups, the number of on-line viewers, the number of full-screen viewers, the number of off-screen viewers, and the like corresponding to each video clip, for example.

In one possible embodiment, the target book may have a corresponding book circle, which may be, for example, a book circle, a book plot circle, a book character circle, etc.; illustratively, for the book "journey to the West", there may be a book circle about the book "journey to the West", or there may be a book circle corresponding to the story line of "white bone essence of three dozens", or there may be a book circle corresponding to the book character of "monkey King".

In a possible implementation manner, at least one book circle information (for example, a book circle name) corresponding to the target book may be further obtained, and then when the playing process of the target video is summarized and it is detected that the target video meets the display condition of any book circle information, the any book circle information is displayed.

Here, the display condition of the book circle information may be set to be different based on the difference of the book circle information; for example, for book circle information of a book, the video clip played to the highest popularity in the target video may be; for the book plot book circle, the target video can be played to the plot section corresponding to the book plot book circle; for the book circle of the book character, the character corresponding to the book circle of the book character appears in the target video for the first time.

In a possible implementation manner, after any piece of book circle information is displayed, a book circle corresponding to the displayed book circle information can be skipped to display in response to a triggering operation for the displayed book circle information.

In a possible implementation, when the target video is played, the target video may be played on a target page;

before the target video is played on the target page in a full screen mode, a video identifier (for example, preview information of the target video) of the target video and a plurality of other video identifiers (for example, preview information of other videos in a video set) having an association relation with the target video are displayed at a first preset position of the target page, and a book identifier or a book chapter identifier associated with a video corresponding to the video identifier is displayed at a corresponding position of each video identifier of the target page.

In addition, before the target video is played on the full screen of the target page, multiple pieces of comment information may be displayed at a second preset position of the target page, where the comment information may include comment information of the target video and/or comment information of the target book.

For example, the schematic diagram of the presentation effect of the target page may be as shown in fig. 2 b.

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, a video display apparatus corresponding to the video display method is also provided in the embodiments of the present disclosure, and since the principle of the apparatus in the embodiments of the present disclosure for solving the problem is similar to the video display method described above in the embodiments of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not described again.

Referring to fig. 3, there is shown a schematic structural diagram of a video display apparatus according to an embodiment of the present disclosure, the apparatus includes: an acquisition module 301, a display module 302 and a play module 303; wherein the content of the first and second substances,

an obtaining module 301, configured to respond to a video playing request for a target video, and obtain the target video and an audio of an associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video;

a display module 302, configured to play the target video, and display an audio identifier when a target segment in the target video is played;

a playing module 303, configured to determine, in response to a trigger operation for the audio identifier, a target sentence corresponding to the target segment from the associated sentences, and play the audio of the target sentence while playing the target segment.

In a possible implementation, the display module 302 is further configured to:

acquiring target comment information corresponding to the target sentence from comment information corresponding to the target book;

and displaying the target comment information in a bullet screen mode while playing the target segment.

In a possible implementation, the display module 302 is further configured to:

and displaying the text content corresponding to the target sentence at a preset position while playing the target segment.

In a possible implementation manner, the playing module 303 is further configured to:

responding to a triggering operation aiming at the text content, and determining the display progress of the text content in the target book;

skipping to display the target book according to the display progress.

In a possible implementation manner, the related sentences are sentences whose heat information extracted from the target video in the corresponding target paragraph in the target book satisfies a preset condition based on the heat information corresponding to each sentence, wherein the target segment is the same as the target sentence in plot.

In a possible implementation manner, the playing module 303 is further configured to:

acquiring topic information containing the target book;

determining a first video clip of which the heat information meets a preset condition in the target video;

and in the target video playing process, when the first video clip is played, the topic information is displayed.

In a possible implementation, the display module 302 is further configured to:

acquiring at least one book circle information corresponding to the target book;

in the playing process of the target video, when the target video is detected to meet the display condition of any book circle information, displaying the any book circle information;

and responding to the triggering operation aiming at the displayed book circle information, and skipping to display the book circle corresponding to the triggered book circle information.

In a possible implementation manner, the playing module 303, when playing the target video, is configured to:

playing the target video on a target page;

the display module 302 is further configured to:

before the target video is played on a full screen of a target page, displaying a video identifier of the target video and a plurality of other video identifiers having an association relation with the target video at a first preset position of the target page, and displaying a book identifier or a book chapter identifier associated with the video corresponding to the video identifier at a corresponding position of each video identifier of the target page.

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 disclosure also provides computer equipment. Referring to fig. 4, a schematic structural diagram of a computer device 400 provided in the embodiment of the present disclosure includes a processor 401, a memory 402, and a bus 403. The memory 402 is used for storing execution instructions and includes a memory 4021 and an external memory 4022; the memory 4021 is also referred to as an internal memory, and is configured to temporarily store operation data in the processor 401 and data exchanged with an external memory 4022 such as a hard disk, the processor 401 exchanges data with the external memory 4022 through the memory 4021, and when the computer device 400 operates, the processor 401 communicates with the memory 402 through the bus 403, so that the processor 401 executes the following instructions:

responding to a video playing request aiming at a target video, and acquiring the target video and the audio of an associated statement corresponding to the target video; wherein the association statement is extracted from a target book corresponding to the target video;

playing the target video, and displaying an audio identifier when a target segment in the target video is played;

and responding to the triggering operation aiming at the audio identification, determining a target statement corresponding to the target segment from the associated statements, and playing the audio of the target statement while playing the target segment.

In a possible implementation manner, in the instructions executed by the processor 401, the method further includes:

acquiring target comment information corresponding to the target sentence from comment information corresponding to the target book;

and displaying the target comment information in a bullet screen mode while playing the target segment.

In a possible implementation manner, in the instructions executed by the processor 401, the method further includes:

and displaying the text content corresponding to the target sentence at a preset position while playing the target segment.

In a possible implementation manner, in the instructions executed by the processor 401, the method further includes:

responding to a triggering operation aiming at the text content, and determining the display progress of the text content in the target book;

skipping to display the target book according to the display progress.

In a possible implementation manner, in the instructions executed by the processor 401, the related sentences are sentences whose heat information extracted from the target video in the corresponding target paragraph in the target book satisfies a preset condition based on the heat information corresponding to each sentence, where the target segment is the same as the target sentence in plot.

In a possible implementation manner, in the instructions executed by the processor 401, the method further includes:

acquiring topic information containing the target book;

determining a first video clip of which the heat information meets a preset condition in the target video;

and in the target video playing process, when the first video clip is played, the topic information is displayed.

In a possible implementation manner, in the instructions executed by the processor 401, the method further includes:

acquiring at least one book circle information corresponding to the target book;

in the playing process of the target video, when the target video is detected to meet the display condition of any book circle information, displaying the any book circle information;

and responding to the triggering operation aiming at the displayed book circle information, and skipping to display the book circle corresponding to the triggered book circle information.

In a possible implementation, the instructions executed by the processor 401 for playing the target video include:

playing the target video on a target page;

the method further comprises the following steps:

before the target video is played on a full screen of a target page, displaying a video identifier of the target video and a plurality of other video identifiers having an association relation with the target video at a first preset position of the target page, and displaying a book identifier or a book chapter identifier associated with the video corresponding to the video identifier at a corresponding position of each video identifier of the target page.

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 video presentation 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 video 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.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:空调器及其语音生成方法、语音生成装置和可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!