CN111143614A - Video display method and electronic equipment - Google Patents

Video display method and electronic equipment Download PDF

Info

Publication number
CN111143614A
CN111143614A CN201911404548.1A CN201911404548A CN111143614A CN 111143614 A CN111143614 A CN 111143614A CN 201911404548 A CN201911404548 A CN 201911404548A CN 111143614 A CN111143614 A CN 111143614A
Authority
CN
China
Prior art keywords
video
text
target audio
input
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911404548.1A
Other languages
Chinese (zh)
Inventor
黄金宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911404548.1A priority Critical patent/CN111143614A/en
Publication of CN111143614A publication Critical patent/CN111143614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/7834Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using audio features

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a video display method and electronic equipment. The video display method comprises the following steps: under the condition of playing a first video, acquiring first video content information of the first video, wherein the first video content information comprises a first target audio clip; selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip; and displaying at least one third video in a preset mode. The embodiment of the invention can solve the problem of low video searching efficiency in the prior art.

Description

Video display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of video processing, in particular to a video display method and electronic equipment.
Background
Along with the rapid development of electronic devices, people have more and more time to use the electronic devices for entertainment.
When a user watches a video, if the user wants to watch other videos related to the content of the video after finishing watching a certain video, the user needs to search a large number of videos in the video display interface, so that the video searching efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a video display method and electronic equipment, and aims to solve the problem of low video searching efficiency in the prior art.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a video display method applied to an electronic device, including:
under the condition of playing a first video, acquiring first video content information of the first video, wherein the first video content information comprises a first target audio clip;
selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip;
and displaying at least one third video in a preset mode.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the first information acquisition module is used for acquiring first video content information of a first video under the condition of playing the first video, wherein the first video content information comprises a first target audio clip;
the first video selection module is used for selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip;
and the video display module is used for displaying at least one third video in a preset mode.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and when the computer program is executed by the processor, the steps of the video display method according to the first aspect are implemented.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the video display method according to the first aspect.
In the embodiment of the invention, under the condition of playing the first video, the first video content information of the first video can be acquired, and in at least one second video in the video play list, at least one third video is selected according to the first target audio clip in the first video content information, and then the selected at least one third video is displayed in a preset mode, so that a user does not need to search for required videos in a large number of videos, and the video searching efficiency is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flow chart of a video display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a video playback interface provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a video presentation interface provided by one embodiment of the prior art;
FIG. 4 is a schematic diagram of a video presentation interface provided by one embodiment of the present invention;
FIG. 5 is a schematic diagram of a video playback interface provided by another embodiment of the present invention;
FIG. 6 is a schematic diagram of a video playback interface provided in accordance with another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When a user watches a video, if the user wants to watch other videos related to the content of the video after finishing watching a certain video, the user needs to search a large number of videos in the video display interface of the publisher of the video, so that the video searching efficiency is low.
Taking the short videos which are developed vigorously in the last two years as an example, most of the short videos are formed into a single piece, and each short video is relatively independent and has no related upper and lower sets. But some short videos are limited by the time length or are made into a series of short videos related to video contents by a short video publisher in order to attract users to watch the short videos for many times.
However, the short video publisher is generally a popular user, the video title format and the cover matching format of the short video produced by the short video publisher are generally not very regular, the short video associated with a plurality of video contents may have a large difference between the video title and the cover matching, and the publishing sequence of the short video is not strictly controlled.
Therefore, if the user wants to watch other videos related to the content of a video after finishing watching a certain video, for example, after the user finishes watching a short video, the user may still watch other parts of the video content because the short video is the top set of the video content, at this time, because the video title format and the front cover matching format of the short video related to the video content made by the short video publisher are not consistent, the user cannot automatically push other short videos related to the video content of the short video, the user can only enter the video display interface of the short video publisher, and when the number of the short videos displayed in the video display interface is large and the display sequence is disordered, the user needs to search a large number of short videos in the video display interface of the short video publisher, so that the video search efficiency is low.
When the user finishes watching the next short video, the operation needs to be repeated, so that the user can easily give up searching the related short video and feel happy.
In order to solve the problem of the prior art, embodiments of the present invention provide a video display method and an electronic device. First, a video display method according to an embodiment of the present invention will be described.
Fig. 1 is a flowchart illustrating a video display method according to an embodiment of the present invention. The method shown in fig. 1 may be performed by an electronic device, including but not limited to a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
As shown in fig. 1, the video display method may include:
s110, under the condition of playing the first video, acquiring first video content information of the first video, wherein the first video content information comprises a first target audio clip;
s120, selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip;
and S130, displaying at least one third video in a preset mode.
In the embodiment of the invention, under the condition of playing the first video, the first video content information of the first video can be acquired, and in at least one second video in the video play list, at least one third video is selected according to the first target audio clip in the first video content information, and then the selected at least one third video is displayed in a preset mode, so that a user does not need to search for required videos in a large number of videos, and the video searching efficiency is improved.
In the embodiment of the invention, the video display method can be used for various videos, such as various video playing websites or various videos with various formats in various application programs with video playing functions, and further such as short videos.
In S110 according to some embodiments of the present invention, when the electronic device plays the first video, that is, when the user watches the first video using the electronic device, the electronic device may automatically acquire the first video content information of the first video.
The first target audio clip in the first video content information may be an audio clip of a preset time period of the first video, for example, the first target audio clip may be an audio clip of the first N seconds of the first video, where N > 0.
In S120 of the embodiment of the present invention, the at least one third video associated with the first video that is selected may be a video that is continuous with the video content corresponding to the first video, may also be a video that is adapted with respect to the video content corresponding to the first video, and may also be a video that has the same video content segment or video picture as the first video.
The video playlist may be a video playlist formed by playing all videos owned by a website or an application, or may be a video playlist formed by playing videos of a specified type or a specified range in the website or the application, for example, a video playlist formed by videos released by a first video releasing party.
In some embodiments of the present invention, the specific method of S120 may include:
acquiring a second target audio clip corresponding to each second video; the second playing start-stop time of each second target audio clip in the corresponding second video is the same as the first playing start-stop time of the first target audio clip in the first video;
the first target audio fragments are analyzed into first audio texts, and each second target audio fragment is analyzed into second audio texts respectively;
determining the text similarity of each second audio text and the first audio text;
and selecting the second video with the text similarity reaching the first similarity threshold as a third video.
In some embodiments of the present invention, since the second play start-stop time corresponding to the second target audio segment is the same as the first play start-stop time corresponding to the first target audio segment, the second target audio segment may also be the audio segment of the first N seconds of the second video.
In some embodiments of the present invention, the first target audio segment and the second target audio segment may be subjected to speech analysis processing, respectively, to obtain a first audio text and a second audio text.
In the embodiment of the present invention, the first similarity threshold may be a fixed threshold preset by the electronic device, or may be an adjustable threshold set by the user according to the user requirement. For example, the first similarity threshold may be set to 0.8.
In the embodiment of the present invention, the principle of determining the text similarity between each second audio text and the first audio text is to calculate the text similarity, which will be described in detail below.
Therefore, based on the third videos screened by the method, the text similarity between the third audio text in the third target audio segment corresponding to each third video and the first audio text corresponding to the first video may reach the first similarity threshold, so that the third target audio segment of each third video matches with the first target audio segment. And the third playing start-stop time of each third target audio clip in the corresponding third video is the same as the first playing start-stop time of the first target audio clip in the first video.
Fig. 2 is a schematic diagram illustrating a video playing interface according to an embodiment of the present invention. The first N seconds of audio text of the short video shown in fig. 2 might be "great family," from which we looked at a suspense in spain "reversal hijack", and the first N seconds of audio text of the short video associated with the short video shown in fig. 2 might be "great family," from which we continued to look at a suspense in spain "reversal hijack".
Generally, the video content is similar or the audio segments of the first N seconds of the associated videos are the same or very similar, for example, all have the same video introduction, or the video introductions are similar, so that the embodiment of the present invention can automatically select the third video associated with the first video by using the audio segments of the first N seconds of the videos.
In some embodiments of the present invention, the first video content information further includes first cover text, and the first cover text is text in a first cover image of the first video.
In these embodiments, before S120, the video display method may further include:
identifying at least one fourth video in the at least one second video according to the first cover text, wherein the fourth cover text of each fourth video is matched with the first cover text, and the fourth cover text is text in a fourth cover image of the fourth video;
further, S120 may specifically include:
and under the condition that the fourth video is not identified, selecting at least one third video from the at least one second video according to the first target audio clip.
Specifically, a first cover image of a first video may be acquired, and a corresponding second cover image of at least one second video may be acquired, then, a first cover text in the first cover image and a second cover text in each second cover image are identified, then, a text similarity between each second cover text and the first cover text is determined, if the text similarity reaches a second similarity threshold, the second video is determined to be a fourth video matched with the first video, if all the text similarities do not reach the second similarity threshold, it is determined that the fourth video is not identified, and at least one third video is selected from the at least one second video according to the first target audio clip.
In some embodiments of the present invention, an Optical Character Recognition (OCR) process may be performed on the cover image to obtain the cover text in the cover image. In other embodiments of the present invention, other image or character recognition technologies may also be used to obtain the cover characters in the cover image, which is not limited herein.
In the embodiment of the present invention, the second similarity threshold may be a fixed threshold preset by the electronic device, or may be an adjustable threshold set by the user according to the user requirement. For example, the second similarity threshold may be set to 0.8.
In the embodiment of the present invention, the principle of determining the character similarity between each second cover character and the first cover character is to calculate the text similarity, which will be described in detail below.
Therefore, based on the fourth videos screened by the method, the character similarity between the fourth cover characters corresponding to each fourth video and the first cover characters corresponding to the first video can reach a preset second similarity threshold, so that the fourth cover characters in the fourth cover image are matched with the first cover characters in the first cover image.
With continued reference to fig. 2, the video playing interface of the short video shown in fig. 2 shows a cover image of the short video, wherein cover characters in the cover image are "reverse hijack office" (top), and at this stage, we see a suspicion picture of "reverse hijack office" in spain, which indicates that the cover image characters of the short video also have an irregular cover matching pattern format.
In general, the cover page image is an image that enables a user to intuitively know the video content, and may embody all content included in the video content, and if the similarity of the characters of the fourth video and the first video is matched, it may be determined that the fourth video is associated with the cover page characters of the first video.
In some embodiments of the present invention, the cover text in the cover image includes a video title, and a fourth video matching the first video may be determined based on the cover text.
In other embodiments of the present invention, the cover text in the cover image may not include the video title, and the first video content information may further include the first video title of the first video.
In these embodiments, before identifying at least one fourth video among the at least one second video according to the first cover text, the video display method may further include:
identifying at least one fifth video in the at least one second video according to the first video title, wherein the fifth video title of each fifth video is matched with the first video title;
further, identifying, according to the first cover text, at least one fourth video among the at least one second video may specifically include:
and under the condition that the fifth video is not identified, identifying at least one fourth video in the at least one second video according to the first cover text.
Specifically, a first video title and a second video title of each second video may be obtained, then, the title similarity between each second video title and the first video title is determined, if the title similarity reaches a third similarity threshold, the second video is determined to be a fifth video matched with the first video, if all the title similarities do not reach the third similarity threshold, it is determined that the fifth video is not identified, and at least one fourth video is identified in at least one second video continuously according to the first cover text.
In the embodiment of the present invention, the third similarity threshold may be a fixed threshold preset by the electronic device, or may be an adjustable threshold set by the user according to the user requirement. For example, the third similarity threshold may be set to 0.8.
In other embodiments of the present invention, if it is desired to exclude the first video itself, that is, if the acquired fifth video does not include a video that is identical to the first video, a fourth similarity threshold may also be set, for example, the fourth similarity threshold may be 1, and a video whose title similarity is smaller than the fourth similarity threshold is further screened out from the fifth video as the screened fifth video.
In still other embodiments of the present invention, a second video with a title similarity within a first similarity range may also be directly used as a fifth video, where a lower limit of the first similarity range may be a third similarity threshold, and an upper limit may be a fourth similarity threshold.
In the embodiment of the present invention, the principle of determining the title similarity of each second video title to the first video title is to calculate the text similarity, which will be described in detail below.
Therefore, based on the fifth videos screened by the method, the title similarity between the fifth video title of each fifth video and the first video title of the first video can reach a preset third similarity threshold, so that the fifth video titles are matched with the first video titles.
With continued reference to fig. 2, the video playback interface for the short video shows that the video title "person with wisdom 167" of the short video does not stand "reverse hijack" (up) ", and it can be seen that the video title for the short video has a problem of irregular video title format.
In general, a video title is an outline of video content of a video or a name of the video content, and if the title similarity of the fifth video and the first video matches, it may be determined that the fifth video is associated with the video content of the first video, and therefore, the embodiment of the present invention may automatically query the fifth video associated with the first video by using the video title.
In the embodiment of the present invention, the method for calculating the text similarity may specifically be:
performing Chinese word segmentation on the text according to a word segmentation algorithm to obtain a word set corresponding to the text; for example, dividing a video title into corresponding independent sets of words, dividing a cover text into corresponding independent sets of words, or dividing an audio text into corresponding independent sets of words;
solving a union set of word sets of texts with similarity to be calculated; for example, find the union of the word sets corresponding to two video titles, the union of the word sets corresponding to two cover texts, or the union of the word sets corresponding to two audio texts;
calculating the word frequency of each word in the word set of the text with the similarity to be calculated relative to the union set to obtain a word frequency vector; for example, calculating a word frequency vector for each video title relative to a union of the word sets of the two video titles, calculating a word frequency vector for each cover word relative to a union of the word sets of the two cover words, or calculating a word frequency vector for each audio text relative to a union of the word sets of the two audio texts;
and substituting the word frequency vector into a similarity calculation formula to obtain the similarity of the two texts. The similarity calculation formula can be a cosine similarity calculation formula, and the specific formula is as follows:
Figure BDA0002348282140000091
wherein cos (θ) is the degree of similarity, I1For a word-frequency vector of one of the texts whose similarity is to be calculated, I2Is the word frequency vector of another text in the texts of which the similarity is to be calculated.
In some embodiments of the present invention, before S120, the video display method may further include:
a first input of a user is received, wherein the first input is an input of a video presentation interface of a publisher for displaying a first video.
Specifically, after receiving the first input, the electronic device may jump from the video playing interface of the first video to the video display interface of the publisher of the first video. The electronic device may trigger selection of the third video in response to the first input after receiving the first input.
In these embodiments, the video playlist is a video playlist of a publisher, the preset mode is a mode in which a video frame is displayed with target brightness, and the specific method of S130 may include:
responding to the first input, and acquiring the matching degree of each third video and the first video;
and displaying at least one third video in the video display interface according to the sequence from high matching degree to low matching degree, wherein the video frames of the preset number of third videos in the at least one third video are displayed at the target brightness.
Specifically, the matching degree of each video matching the first video may be determined according to the various similarities obtained through the above calculation, so as to sort the videos matching the first video, the videos matching the first video are displayed in the video display interface of the publisher of the first video in the order from high matching degree to low matching degree, and the video frames of a preset number of videos matching the first video are displayed with target brightness, that is, in a highlight display manner, for example, the video frames sorted into the top 3 bits or the top 5 bits are highlighted.
For example, if the selected video matching the first video is a third video, the third video may be sorted according to the text similarity, and at least one third video may be displayed in the video display interface according to the sequence from high matching degree to low matching degree.
Fig. 3 is a schematic diagram illustrating a video presentation interface provided by an embodiment in the prior art. Fig. 4 is a schematic diagram of a video presentation interface provided by an embodiment of the invention. As shown in fig. 3, the short videos displayed by the video presentation interface in the prior art are scrambled. As shown in fig. 4, a short video matching the short video shown in fig. 2 may be preferentially displayed, and the short video matching the short video shown in fig. 2 may be arranged from high to low in the degree of matching with the short video shown in fig. 2, wherein the same short video as the short video shown in fig. 2 is arranged first.
In addition, if the matching degrees of the plurality of third videos and the first video are the same, the distribution time of each third video can be determined, and the arrangement position of the third video with the later distribution time is more advanced. If a plurality of third videos with the same matching degree are the same videos published by the publisher for many times, the third videos can be further arranged according to praise and comment number.
Therefore, in the embodiment of the invention, when the user enters the video display interface of the publisher of the first video, the user can be automatically helped to screen out the second video matched with the first video, and the videos matched with the first video can be displayed in a sequence from high to low according to the matching degree of the first video, so that the user can be quickly helped to find the related video, the user can conveniently and quickly watch the related video, and the watching experience of the whole related video is completed. The user does not need to manually compare and find out the related videos, the operation times of the user can be reduced, and the manual downward page-turning sliding operation of the user is reduced.
Fig. 5 is a schematic diagram illustrating a video playing interface according to another embodiment of the present invention.
Referring to fig. 5, in further embodiments of the present invention, before displaying at least one third video in a preset manner in S130, the video display method may further include:
a second input of the user is received, wherein the second input is an input to a target control within the video playback interface of the first video.
Wherein the target control may be a "like recommendations" button.
In these embodiments, the electronic device may determine at least one third video associated with the first video before receiving the second input, and may trigger identification of the third video in response to the second input after receiving the second input, which is not limited herein.
In these embodiments, the preset manner is a list display manner, and the specific method for displaying at least one third video in the preset manner in S130 may include:
responding to the second input, and acquiring the matching degree of each third video and the first video;
and displaying at least one third video in a list display mode in the target area of the video playing interface according to the sequence from high matching degree to low matching degree.
Specifically, the matching degree calculating method and the sorting method are the same as those in the above embodiments, and are not described herein again.
In the embodiment of the present invention, optionally, a title name and/or a title keyword corresponding to at least one second video may be displayed in a list manner in a target area corresponding to the target control.
Fig. 6 is a schematic diagram illustrating a video playing interface according to another embodiment of the present invention. As shown in fig. 6, the list may be overlaid on top of the "similar recommendations" button, and the title keyword corresponding to the second video may be displayed in the list.
In further embodiments of the present invention, before receiving the second input from the user, the video display method may further include:
and displaying the target control in the video playing interface under the condition that the third video is selected and the playing time of the first video reaches the preset playing time.
In other words, in the process of playing the first video, if it is determined that the third video does not exist, the target control cannot be displayed, and only when it is determined that the third video exists, the target control is displayed when the playing time of the first video reaches the preset playing time, so that the video playing interface is more concise and intelligent.
For example, the preset playing time may be 80%, that is, when the first video playing time reaches 80% of the video, the target control is displayed.
Therefore, in the embodiment of the invention, the user can directly acquire the video list associated with the first video through the target control in the video playing interface, so that the user can directly click the video link in the list to play the corresponding video, the playing of the whole related series of videos is quickly completed, the operation flow of the user is simplified, the operation is simple, convenient and quick, the understanding and the implementation are easy, the operation steps are greatly simplified, the links of manual searching are reduced, and the user experience is effectively improved.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device shown in fig. 7 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
As shown in fig. 7, the electronic device may include:
a first information obtaining module 210, configured to obtain first video content information of a first video under a condition that the first video is played, where the first video content information includes a first target audio segment;
the first video selecting module 220 is configured to select at least one third video from at least one second video according to the first target audio clip, where the at least one second video is a video in a video playlist, and the third target audio clip of each third video matches with the first target audio clip;
and a video display module 230, configured to display at least one third video in a preset manner.
In the embodiment of the invention, under the condition of playing the first video, the first video content information of the first video can be acquired, and in at least one second video in the video play list, at least one third video is selected according to the first target audio clip in the first video content information, and then the selected at least one third video is displayed in a preset mode, so that a user does not need to search for required videos in a large number of videos, and the video searching efficiency is improved.
In some embodiments of the present invention, the electronic device may further include:
the second information acquisition module is used for acquiring a second target audio clip corresponding to each second video; the second playing start-stop time of each second target audio clip in the corresponding second video is the same as the first playing start-stop time of the first target audio clip in the first video;
the first video selecting module 220 may include:
the audio text analysis unit is used for analyzing the first target audio fragments into first audio texts and respectively analyzing each second target audio fragment into second audio texts;
the audio text processing unit is used for determining the text similarity of each second audio text and the first audio text;
and the first video selecting unit is used for selecting the second video with the text similarity reaching the first similarity threshold as the third video.
In some embodiments of the present invention, the first video content information further includes first cover text, and the first cover text is text in a first cover image of the first video. At this time, the electronic device may further include:
the second video selection module is used for identifying at least one fourth video in at least one second video according to the first cover text before selecting at least one third video in at least one second video according to the first target audio clip, wherein the fourth cover text of each fourth video is matched with the first cover text, and the fourth cover text is text in a fourth cover image of the fourth video;
the first video selecting module 220 may be specifically configured to:
and under the condition that the fourth video is not identified, selecting at least one third video from the at least one second video according to the first target audio clip.
In some embodiments of the present invention, the electronic device may further include:
the first input receiving module is used for receiving a first input of a user before at least one third video is selected from at least one second video according to the first target audio clip, wherein the first input is an input of a video display interface of a publisher for displaying the first video;
the video playlist is a video playlist of a publisher, the preset mode is a mode in which a video frame is displayed with target brightness, and the video display module 230 may include:
the first matching degree determining unit is used for responding to the first input and acquiring the matching degree of each third video and the first video;
the first video display unit is used for displaying at least one third video in the video display interface according to the sequence from high matching degree to low matching degree, wherein video frames of a preset number of third videos in the at least one third video are displayed at the target brightness.
In some embodiments of the present invention, the electronic device may further include:
the first input receiving module is used for receiving a second input of a user before at least one third video is displayed in a preset mode, wherein the second input is an input of a target control in a video playing interface of the first video;
wherein the preset mode is a list display mode, and the video display module 230 may include:
a second matching degree determining unit, configured to obtain, in response to a second input, a matching degree of each third video with the first video;
and the second video display unit is used for displaying at least one third video in a list display mode in the target area of the video playing interface according to the sequence from high matching degree to low matching degree.
In some embodiments of the present invention, the electronic device may further include:
and the target control display module is used for displaying the target control in the video playing interface under the condition that the playing time of the first video reaches the preset playing time before receiving the second input of the user.
The electronic device provided in the embodiment of the present invention can implement each process and effect implemented by the electronic device in the method embodiments of fig. 1 to fig. 6, and the principle of implementing each process is the same as that of the method embodiment, and is not described herein again to avoid repetition.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 8, the electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 310 is configured to:
under the condition of playing a first video, acquiring first video content information of the first video, wherein the first video content information comprises a first target audio clip; selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip; and controlling the display unit 306 to display at least one third video in a preset manner.
In the embodiment of the invention, under the condition of playing the first video, the first video content information of the first video can be acquired, and in at least one second video in the video play list, at least one third video is selected according to the first target audio clip in the first video content information, and then the selected at least one third video is displayed in a preset mode, so that a user does not need to search for required videos in a large number of videos, and the video searching efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although in fig. 8, the touch panel 3071 and the display panel 3061 are implemented as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program, when executed by the processor 310, implements each process of the above-mentioned embodiment of the video display method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides 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 implements each process of the video display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A video display method applied to electronic equipment is characterized by comprising the following steps:
under the condition of playing a first video, acquiring first video content information of the first video, wherein the first video content information comprises a first target audio clip;
selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip;
and displaying at least one third video in a preset mode.
2. The method of claim 1, wherein selecting at least one third video from the at least one second video according to the first target audio segment comprises:
acquiring a second target audio clip corresponding to each second video; wherein a second play start-stop time of each second target audio clip in the corresponding second video is the same as a first play start-stop time of the first target audio clip in the first video;
analyzing the first target audio fragment into a first audio text, and respectively analyzing each second target audio fragment into a second audio text;
determining the text similarity of each second audio text and the first audio text;
and selecting the second video with the text similarity reaching the first similarity threshold as the third video.
3. The method of claim 1, wherein the first video content information further comprises first cover text, the first cover text being text in a first cover image of the first video;
before selecting at least one third video from the at least one second video according to the first target audio segment, the method further includes:
identifying at least one fourth video in at least one second video according to the first cover text, wherein the fourth cover text of each fourth video is matched with the first cover text, and the fourth cover text is text in a fourth cover image of the fourth video;
selecting at least one third video from the at least one second video according to the first target audio clip, including:
and under the condition that the fourth video is not identified, selecting at least one third video from at least one second video according to the first target audio clip.
4. The method of claim 1, further comprising, before said selecting at least one third video from the at least one second video according to the first target audio clip, the step of:
receiving a first input of a user, wherein the first input is an input of a video display interface of a publisher for displaying the first video;
the video playlist is a video playlist of the publisher, the preset mode is a mode in which a video frame is displayed with target brightness, and the displaying at least one third video in the preset mode includes:
responding to the first input, and acquiring the matching degree of each third video and the first video;
and displaying at least one third video in the video display interface according to the sequence from high matching degree to low matching degree, wherein video frames of a preset number of third videos in the at least one third video are displayed at a target brightness.
5. The method according to claim 1, wherein before displaying at least one of the third videos in a predetermined manner, further comprising:
receiving a second input of a user, wherein the second input is an input to a target control in a video playing interface of the first video;
wherein the preset mode is a list display mode, and the displaying at least one third video in the preset mode includes:
responding to the second input, and acquiring the matching degree of each third video and the first video;
and displaying the at least one third video in a list display mode in a target area of the video playing interface according to the sequence from high matching degree to low matching degree.
6. The method of claim 5, wherein prior to receiving the second input from the user, further comprising:
and under the condition that the playing time of the first video reaches the preset playing time, displaying the target control in the video playing interface.
7. An electronic device, comprising:
the device comprises a first information acquisition module, a second information acquisition module and a first display module, wherein the first information acquisition module is used for acquiring first video content information of a first video under the condition of playing the first video, and the first video content information comprises a first target audio clip;
the first video selection module is used for selecting at least one third video from at least one second video according to the first target audio clip, wherein the at least one second video is a video in a video play list, and the third target audio clip of each third video is matched with the first target audio clip;
and the video display module is used for displaying at least one third video in a preset mode.
8. The electronic device of claim 7, further comprising:
the second information acquisition module is used for acquiring a second target audio clip corresponding to each second video; wherein a second play start-stop time of each second target audio clip in the corresponding second video is the same as a first play start-stop time of the first target audio clip in the first video;
wherein, the first video selection module comprises:
the audio text analysis unit is used for analyzing the first target audio fragments into first audio texts and respectively analyzing each second target audio fragment into second audio texts;
an audio text processing unit, configured to determine a text similarity between each of the second audio texts and the first audio text;
and the first video selecting unit is used for selecting the second video with the text similarity reaching the first similarity threshold as the third video.
9. The electronic device of claim 7, wherein the first video content information further comprises first cover text, the first cover text being text in a first cover image of the first video; the electronic device further includes:
a second video selection module, configured to identify at least one fourth video in at least one second video according to the first cover text before selecting at least one third video in the at least one second video according to the first target audio clip, where a fourth cover text of each fourth video matches the first cover text, and the fourth cover text is a text in a fourth cover image of the fourth video;
the first video selection module is specifically configured to:
and under the condition that the fourth video is not identified, selecting at least one third video from at least one second video according to the first target audio clip.
10. The electronic device of claim 7, further comprising:
the first input receiving module is used for receiving a first input of a user before at least one third video is selected from at least one second video according to the first target audio clip, wherein the first input is an input of a video display interface of a publisher for displaying the first video;
the video playlist is the video playlist of the publisher, the preset mode is a mode that a video frame is displayed in target brightness, and the video display module comprises:
a first matching degree determining unit, configured to obtain, in response to the first input, a matching degree of each of the third videos with the first video;
and the first video display unit is used for displaying at least one third video in the video display interface according to the sequence of the matching degree from high to low, wherein the video frames of a preset number of third videos in the at least one third video are displayed at the target brightness.
11. The electronic device of claim 7, further comprising:
the first input receiving module is used for receiving a second input of a user before at least one third video is displayed in a preset mode, wherein the second input is an input of a target control in a video playing interface of the first video;
wherein, the preset mode is a list display mode, and the video display module comprises:
a second matching degree determining unit, configured to respond to the second input and obtain a matching degree between each of the third videos and the first video;
and the second video display unit is used for displaying the at least one third video in a list display mode in the target area of the video playing interface according to the sequence from high matching degree to low matching degree.
12. The electronic device of claim 11, further comprising:
and the target control display module is used for displaying the target control in the video playing interface under the condition that the playing time of the first video reaches the preset playing time before receiving the second input of the user.
CN201911404548.1A 2019-12-30 2019-12-30 Video display method and electronic equipment Pending CN111143614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911404548.1A CN111143614A (en) 2019-12-30 2019-12-30 Video display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911404548.1A CN111143614A (en) 2019-12-30 2019-12-30 Video display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111143614A true CN111143614A (en) 2020-05-12

Family

ID=70522331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911404548.1A Pending CN111143614A (en) 2019-12-30 2019-12-30 Video display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111143614A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911369A (en) * 2021-01-19 2021-06-04 苏州工业园区服务外包职业学院 Short video display method and device and storage medium
CN113157972A (en) * 2021-04-14 2021-07-23 北京达佳互联信息技术有限公司 Recommendation method and device for video cover documents, electronic equipment and storage medium
CN113704529A (en) * 2021-07-30 2021-11-26 荣耀终端有限公司 Photo classification method with audio identification, searching method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080036917A1 (en) * 2006-04-07 2008-02-14 Mark Pascarella Methods and systems for generating and delivering navigatable composite videos
WO2017101422A1 (en) * 2015-12-15 2017-06-22 乐视控股(北京)有限公司 Content recommendation method and system, server, terminal, and communication system
CN108924616A (en) * 2018-07-27 2018-11-30 维沃移动通信有限公司 A kind of display control method and terminal
CN110134829A (en) * 2019-04-28 2019-08-16 腾讯科技(深圳)有限公司 Video locating method and device, storage medium and electronic device
CN110248236A (en) * 2019-07-02 2019-09-17 广州酷狗计算机科技有限公司 Video broadcasting method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080036917A1 (en) * 2006-04-07 2008-02-14 Mark Pascarella Methods and systems for generating and delivering navigatable composite videos
WO2017101422A1 (en) * 2015-12-15 2017-06-22 乐视控股(北京)有限公司 Content recommendation method and system, server, terminal, and communication system
CN108924616A (en) * 2018-07-27 2018-11-30 维沃移动通信有限公司 A kind of display control method and terminal
CN110134829A (en) * 2019-04-28 2019-08-16 腾讯科技(深圳)有限公司 Video locating method and device, storage medium and electronic device
CN110248236A (en) * 2019-07-02 2019-09-17 广州酷狗计算机科技有限公司 Video broadcasting method, device, terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911369A (en) * 2021-01-19 2021-06-04 苏州工业园区服务外包职业学院 Short video display method and device and storage medium
CN113157972A (en) * 2021-04-14 2021-07-23 北京达佳互联信息技术有限公司 Recommendation method and device for video cover documents, electronic equipment and storage medium
CN113157972B (en) * 2021-04-14 2023-09-19 北京达佳互联信息技术有限公司 Recommendation method and device for video cover document, electronic equipment and storage medium
CN113704529A (en) * 2021-07-30 2021-11-26 荣耀终端有限公司 Photo classification method with audio identification, searching method and device

Similar Documents

Publication Publication Date Title
CN111314784B (en) Video playing method and electronic equipment
CN110557683B (en) Video playing control method and electronic equipment
CN112689201B (en) Barrage information identification method, barrage information display method, server and electronic equipment
CN110933511B (en) Video sharing method, electronic device and medium
CN109561211B (en) Information display method and mobile terminal
CN109165320B (en) Information collection method and mobile terminal
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN108334196B (en) File processing method and mobile terminal
CN111491211B (en) Video processing method, video processing device and electronic equipment
CN111143614A (en) Video display method and electronic equipment
CN110958485A (en) Video playing method, electronic equipment and computer readable storage medium
CN108595107B (en) Interface content processing method and mobile terminal
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN107728877B (en) Application recommendation method and mobile terminal
CN109670105B (en) Searching method and mobile terminal
CN109063076B (en) Picture generation method and mobile terminal
CN110032320B (en) Page rolling control method and device and terminal
CN110045892B (en) Display method and terminal equipment
CN109347721B (en) Information sending method and terminal equipment
CN111460180A (en) Information display method and device, electronic equipment and storage medium
CN107844203B (en) Input method candidate word recommendation method and mobile terminal
CN107835310B (en) Mobile terminal setting method and mobile terminal
CN110781371B (en) Content processing method and electronic equipment
CN110865859B (en) Picture display method and device, electronic equipment and medium
CN108363781B (en) Picture sending method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512