Video searching method and device, equipment and medium

By obtaining video feature information and automatically filtering relevant candidate videos, the problem of users frequently searching and browsing when watching videos is solved, achieving a more efficient and better video viewing experience.

CN119537643APending Publication Date: 2025-02-28VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411639810.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

When watching videos, users often need to frequently search and browse video clips to obtain all plots, resulting in poor plot repetition and viewing experience.

Method used

By obtaining the characteristic information of the cached video, candidate videos related to the video are automatically obtained, and the target video that meets the specific playback time and repetition conditions are determined to display its relevant information.

Benefits of technology

It reduces user's operation steps, saves time, and automatically blocks videos with high repetition or short playback time, improving the user's video viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537643A_ABST
    Figure CN119537643A_ABST
Patent Text Reader

Abstract

The invention discloses a video searching method and device, equipment and a medium, and belongs to the technical field of communication. The video searching method comprises the following steps: acquiring feature information of a cached first video; obtaining candidate videos related to the first video according to the feature information; determining a target video from the candidate videos, the target video satisfying at least one of the following conditions: the playing duration of the target video relative to the first video is greater than or equal to a first duration threshold, and the repetition degree of the target video and the first video is less than a preset repetition degree; and displaying the related information of the target video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a video search method, device, equipment and medium. Background Art

[0002] As electronic devices become more and more versatile and users' personalized needs continue to grow, each video application (Application, App) in an electronic device contains multiple videos, and usually, a complete video needs to be split into multiple segments before being uploaded to the corresponding video App. For example, a complete short video will be split into multiple episodes.

[0003] After watching an episode of a video, users need to constantly search and browse other video clips to get the entire plot. In this process, users often find that the plots of different video clips are repeated, or they need to browse a repeated plot before they can continue to watch new content, resulting in a poor viewing experience for users. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a video search method, device, equipment and medium, which can enhance the user's video viewing experience.

[0005] In a first aspect, an embodiment of the present application provides a video search method, comprising:

[0006] Obtain characteristic information of a cached first video;

[0007] Acquire candidate videos related to the first video according to the feature information;

[0008] Determine a target video from the candidate videos, where the target video satisfies at least one of the following conditions: a playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and a repetition degree between the target video and the first video is less than a preset repetition degree;

[0009] Displays relevant information of the target video.

[0010] In a second aspect, an embodiment of the present application provides a video search device, including:

[0011] An acquisition module, used to acquire characteristic information of a cached first video; and acquire candidate videos related to the first video according to the characteristic information;

[0012] A determination module is used to determine a target video from candidate videos, where the target video satisfies at least one of the following conditions: a playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and a repetition degree between the target video and the first video is less than a preset repetition degree;

[0013] The display module is used to display relevant information of the target video.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.

[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.

[0018] In an embodiment of the present application, characteristic information of the cached first video is obtained; based on the characteristic information, candidate videos related to the first video are obtained; a target video is determined from the candidate videos, and the target video satisfies at least one of the following conditions: the playback duration of the target video relative to the first video is greater than or equal to the first duration threshold, and the repetition between the target video and the first video is less than a preset repetition; and relevant information of the target video is displayed. That is, the embodiment of the present application can automatically obtain candidate videos related to the first video based on the characteristic information of the cached first video, and further determine the target video whose playback duration and / or repetition relative to the first video meets the preset conditions from the candidate videos, and display the relevant information of the target video to the user, without the user having to search frequently, thereby reducing the user's operations and saving time, and can automatically shield videos that have more repetitions with the first video or have a shorter playback duration relative to the first video, thereby improving the user's video viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flowchart of a video search method provided in an embodiment of the present application;

[0020] Figure 2 A flowchart of another video search method provided in an embodiment of the present application;

[0021] Figure 3 A flowchart of another video search method provided in an embodiment of the present application;

[0022] Figure 4A flowchart of another video search method provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of the structure of a video search device provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0025] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are usually a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] In video apps, a complete video often needs to be divided into multiple segments and some repeated video content is inserted in each segment before uploading to the corresponding video app for users to search and browse. In this way, users need to search and browse continuously to obtain the entire plot of the same video, resulting in a poor viewing experience for users.

[0029] To this end, embodiments of the present application provide a video search method, apparatus, device, and medium that can enhance the user's video viewing experience.

[0030] The embodiment of the present application can be applied to the application scenario of obtaining the entire plot by watching multiple video clips. The video search method provided by the embodiment of the present application can be applied to electronic devices such as mobile phones, tablets, and laptops.

[0031] The video search method, device, equipment and medium provided in the embodiments of the present application are described below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0032] Figure 1 A flowchart of a video search method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the video search method may include the following steps:

[0033] S110: Obtain characteristic information of the cached first video.

[0034] S120. Obtain candidate videos related to the first video according to the feature information.

[0035] S130. Determine a target video from the candidate videos, where the target video satisfies at least one of the following conditions: a playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and a repetition degree between the target video and the first video is less than a preset repetition degree.

[0036] S140: Display relevant information of the target video.

[0037] In an embodiment of the present application, characteristic information of the cached first video is obtained; based on the characteristic information, candidate videos related to the first video are obtained; a target video is determined from the candidate videos, and the target video satisfies at least one of the following conditions: the playback duration of the target video relative to the first video is greater than or equal to the first duration threshold, and the repetition between the target video and the first video is less than a preset repetition; and relevant information of the target video is displayed. That is, the embodiment of the present application can automatically obtain candidate videos related to the first video based on the characteristic information of the cached first video, and further determine the target video whose playback duration and / or repetition relative to the first video meets the preset conditions from the candidate videos, and display the relevant information of the target video to the user, without the user having to search frequently, thereby reducing the user's operations and saving time, and can automatically shield videos that have more repetitions with the first video or have a shorter playback duration relative to the first video, thereby improving the user's video viewing experience.

[0038] The above steps are described in detail below:

[0039] In S110, the first video may be any video clip in a video application cached by the electronic device, and the length of the first video may be determined according to actual needs, for example, the length of the first video may be set to 5 seconds. It should be noted that in actual applications, if no candidate video related to the first video is subsequently searched based on the feature information of the 5-second first video, the length of the first video may be appropriately extended, for example, to 10 seconds, 15 seconds, etc.

[0040] Exemplarily, the first video may be a historical video clip browsed by the user, or a sub-segment in the historical video clip, and the sub-segment may be the beginning or the end of the historical video clip. Exemplarily, the first video may also be a segment corresponding to the latest T seconds in a video clip currently browsed by the user.

[0041] The feature information of the first video may be information that can characterize the features of the first video, for example, may include but is not limited to information such as the audio spectrum, video frames, colors of video frames, subtitles, and video format of the first video.

[0042] In order to improve the accuracy of video search results, illustratively, before caching the feature information of the first video, the first video can be preprocessed such as data deduplication, data cleaning, outlier processing, data format conversion, etc. to ensure the quality and accuracy of the feature information.

[0043] In some embodiments, when the electronic device receives the first input of the user to the video application, it can obtain the characteristic information of the cached first video. The first input is used to start the video application. Exemplarily, the first input may include but is not limited to: the touch input of the user to the video application through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiments of the present application are not limited. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above-mentioned first input can be: a click input of the user to the video application.

[0044] In some embodiments, when the electronic device plays video segment A and receives the second input, it can select a segment from the cached video segment A as the first video and obtain the characteristic information of the first video. The second input is used to enable the electronic device to continue playing the next segment of video segment A after playing video segment A. Exemplarily, the second input can be a user's sliding input on video segment A. In this case, the first video can be the end of video segment A.

[0045] In S120, the candidate video may be a video clip related to the first video that the electronic device searches for from the video application to which the first video belongs. The candidate video may be continuous with the first video in content, so that the user can continue to browse. The candidate video is also called a valid video. The candidate video is continuous with the first video in content, which means that after the user finishes watching the first video, he can continue to watch the candidate video to obtain the plot after the first video.

[0046] Exemplarily, the candidate video and the first video segment may be partially repeated, completely repeated, or not repeated at all.

[0047] Exemplarily, the electronic device may match the feature information with the video clips searched in the video application to obtain the video clips associated with the feature information as candidate videos.

[0048] In S130, the target video may be a video that meets preset conditions selected from candidate videos. For example, the target video may be a candidate video whose playback duration relative to the first video is greater than or equal to a first duration threshold, or a candidate video whose repetition degree with the first video is less than a preset repetition degree, or a candidate video whose playback duration relative to the first video is greater than or equal to the first duration threshold and whose repetition degree with the first video is less than a preset repetition degree.

[0049] Exemplarily, the playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, which may be that the difference between the playback duration of the target video and the playback duration of the first video is greater than or equal to the first duration threshold, and the playback duration of the target video is greater than the playback duration of the first video.

[0050] Exemplarily, the playback duration of the target video relative to the first video is greater than or equal to the first duration threshold, or the continued playback duration of the target video may be greater than or equal to the first duration threshold. For example, video segment A is the target video, and video segment B is the first video. Video segment A and video segment B are continuous in content, but the first 10 seconds of video segment A repeats with video segment B. The duration of video segment A is 30 seconds, and the continued playback duration of video segment A is 30-10=20 seconds. That is, the continued playback duration is the difference between the total duration of the target video and the repeated duration of the first video. In this way, frequent switching of videos can be avoided, which affects the user's viewing experience.

[0051] The size of the first duration threshold can be set according to actual conditions, for example, the first duration threshold can be set by default to be greater than or equal to 5 minutes. Exemplarily, the first duration threshold can also be dynamically determined according to the continuous playback duration of the candidate video.

[0052] In some embodiments, the target video may be a video with the longest continuous playback time among the candidate videos.

[0053] The repetition degree between the target video and the first video can be determined in the following manner: determine the repetition duration between the target video and the first video, and then calculate the ratio of the repetition duration to the total duration of the target video to obtain the repetition degree between the target video and the first video. That is, the embodiment of the present application can automatically block video clips with more repetitive content, thereby improving the viewing efficiency of users. The size of the preset repetition degree can be set according to actual conditions, for example, it can be set to be less than or equal to 1%.

[0054] For example, the electronic device may determine a target video from candidate videos based on preset conditions, thereby providing a more efficient and intelligent video viewing experience for the user.

[0055] In S140, the relevant information may be information used to play the target video, for example, including but not limited to the play link of the target video, the play address, the position of the target video on the display interface, the first frame of the target video, the play number of the target video, etc.

[0056] The play number is used to indicate the position of the target video in the complete video. For example, if the first video is the third episode of a short video and the target video is the fourth episode of the short video, the play number of the target video can be 4. This helps users understand which episodes they have watched and which episodes they have not watched yet.

[0057] The embodiment of the present application can automatically search for candidate videos related to the first video based on the feature information of the cached first video, and further screen target videos with longer continuous playback time and / or lower repetition from the candidate videos, and display them to the user, which greatly reduces the user's operations and improves the user's video viewing efficiency and viewing experience.

[0058] In some embodiments, the above S120 may include the following steps:

[0059] Acquire, according to the characteristic information, a second video that is continuous with the video content of the first video;

[0060] A third video having a playback duration greater than or equal to a second duration threshold is determined from the second video, and the third video is determined as a candidate video.

[0061] The second video is a video clip that is continuous with the video content of the first video and is searched by the electronic device in a video application. There can be multiple second videos.

[0062] The continuity of the video content of the second video and the first video can be that the second video and the first video are coherent in at least one of the following aspects: time, logic, and vision. Time coherence can be that the video content has no pauses or jumps in time. Logical coherence can be that the video content is closely connected logically, and the transitions between each scene or shot are reasonable and consistent with the development of the storyline. Visual coherence can be that the video screen is relatively coordinated in terms of color, composition, light, etc.

[0063] The second video may partially overlap with the first video, or may not overlap at all.

[0064] Partial repetition can be when the end of the first video is the same as the beginning of the second video, that is, the second video first repeats part of the first video's content, and then plays the new video content. Complete non-repetition can be when the end of the first video is exactly connected to the beginning of the second video.

[0065] The third video is a video in the second video whose playing time is greater than or equal to the second time threshold.

[0066] The second duration threshold can be adjusted according to actual needs, for example, the second duration threshold can be set to be greater than or equal to 5 minutes, and can be set to 5 minutes by default. Limiting the playback time of the video can prevent users from frequently changing video clips, which affects the user's video viewing experience.

[0067] For example, the electronic device may first search for a second video whose video content is continuous with the first video from the video application according to the feature information, and then further select a third video whose playback time meets certain conditions from the second video according to the playback time, and record the third video as a candidate video. The specific search process is not limited in the embodiments of the present application.

[0068] The embodiment of the present application can first search for videos that are continuous with the video content of the first video based on the feature information of the first video, and then further filter out segments whose playback duration is greater than or equal to a second duration threshold from the searched videos as candidate videos. While ensuring the continuity of the video content, video segments with shorter playback duration are shielded, which can prevent users from frequently changing video segments and affecting their video viewing experience.

[0069] Figure 2 A flowchart of another video search method provided in an embodiment of the present application, Figure 2 and Figure 1 The difference is that Figure 2 Also includes S210, and Figure 1 The S140 in can be refined into Figure 2 The S220 in the.

[0070] S210. Determine a fourth video from the candidate videos, where the fourth video satisfies at least one of the following conditions: a playback duration of the fourth video relative to the first video is less than a first duration threshold, and a repetition degree between the fourth video and the first video is greater than or equal to a preset repetition degree.

[0071] The fourth type of video is also called inefficient or inaccurate video, which will affect the user's video viewing efficiency and viewing experience.

[0072] In some embodiments, the fourth video may be a video segment of the candidate videos that is played continuously for a shorter duration.

[0073] In some embodiments, the fourth video may also be a video segment in the candidate videos that has a high degree of repetition with the first video.

[0074] In some embodiments, the fourth video may also be a video segment among the candidate videos that has a high degree of repetition with the first video and a shorter continuous playback time.

[0075] S220: Display relevant information of the target video segment according to the first display parameter, and display relevant information of the fourth video according to the second display parameter.

[0076] The first display parameter is different from the second display parameter. That is, the embodiment of the present application can distinguish and display the relevant information of the target video and the relevant information of the fourth video, and provide explicit prompts to the user to avoid the user from selecting a video that does not meet the user's expectations.

[0077] For example, the electronic device may display the relevant information of the fourth video in a blurred manner, or gray out the relevant information of the fourth video, and display the relevant information of the target video normally. Normal display is to display the relevant information on the screen in an unprocessed form, and blurred display is to display the relevant information after blurring.

[0078] Exemplarily, the electronic device may also use different colors to display relevant information of the target video and the fourth video. For example, the electronic device may display relevant information of the target video in green and relevant information of the fourth video in red.

[0079] In addition, other display methods may be used as long as they can enable the user to effectively distinguish the target video from the fourth video.

[0080] The embodiment of the present application can explicitly remind the user by distinguishing and displaying the relevant information of the target video and the fourth video, thereby preventing the user from selecting the fourth video that does not meet the user's expectations for playback, thereby improving the user's video viewing efficiency and viewing experience.

[0081] Figure 3 A flowchart of another video search method provided in an embodiment of the present application, Figure 3 and Figure 1 The difference is that Figure 3 Also includes S310.

[0082] S310: When the first video is finished playing, play the target video according to the relevant information.

[0083] Taking the example that the relevant information includes the playback address and the electronic device is currently playing the first video, illustratively, the electronic device can automatically play the target video according to the playback address after the first video is finished playing. This reduces the user's operation and waiting time and improves the user's video viewing efficiency and viewing experience.

[0084] For example, if there are multiple target videos, Figure 4 A flowchart of another video search method provided in an embodiment of the present application, Figure 4 and Figure 1 The difference is that Figure 4 Also includes S410-S420.

[0085] S410: Receive selection input of target-related information.

[0086] The target related information is any one of the related information.

[0087] The selection input is used to select target related information from various related information. The selection input may include but is not limited to: the user's touch input of target related information through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific ones can be determined according to actual use needs, and the embodiments of the present application are not limited. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above selection input can be: the user's click input of target related information.

[0088] S420: In response to the selection input, play the target video corresponding to the target related information.

[0089] After receiving the user's selection input of target-related information, the electronic device can play the corresponding target video according to the target-related information.

[0090] For example, the user can select the next video clip of the first video to play, or can jump to play. Taking the third episode of the first video as an example, when the third episode ends or is playing, the user can select the fourth episode to play, or the eighth episode to play.

[0091] That is, the embodiment of the present application can display the relevant information of the screened target video to the user, and the user can select the video clip to be played later according to the needs, thereby meeting the user's personalized playback needs.

[0092] In some embodiments, the first video may be continuously updated. For example, initially, the first video may be the first episode of a short video. According to the above-mentioned search process, after searching for the second episode, the first video may be updated to the ending part of the second episode, that is, the electronic device may continue to search for the third episode based on the ending content of the second episode. After searching for the third episode, it may continue to search for the fourth episode based on the ending part of the third episode, and so on, until no new video content is found.

[0093] The electronic device can display the relevant information of each video episode searched in order, or set corresponding numbers for the relevant information of each video episode according to the playback order, for example, the second episode can be numbered 2, the third episode can be numbered 3, and so on. In this way, the user can quickly continue the video to the end or the entire episode according to the displayed relevant information, which greatly improves the user's video viewing efficiency and viewing experience.

[0094] It should be noted that the video search method provided in the embodiment of the present application can be executed by a video search device or a processing module in the video search device for executing the video search method. In the embodiment of the present application, the video search device provided in the embodiment of the present application is described by taking the video search device executing the model training method as an example.

[0095] Figure 5 A schematic diagram of the structure of a video search device provided in an embodiment of the present application.

[0096] like Figure 5 As shown, the video search device 500 may include:

[0097] An acquisition module 501 is used to acquire characteristic information of a cached first video; and acquire candidate videos related to the first video according to the characteristic information;

[0098] The determination module 502 is used to determine a target video from the candidate videos, where the target video satisfies at least one of the following conditions: the playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and the repetition degree between the target video and the first video is less than a preset repetition degree;

[0099] The display module 503 is used to display relevant information of the target video.

[0100] In an embodiment of the present application, characteristic information of the cached first video is obtained; based on the characteristic information, candidate videos related to the first video are obtained; a target video is determined from the candidate videos, and the target video satisfies at least one of the following conditions: the continuous playback time of the target video relative to the first video is greater than or equal to the first time threshold, and the repetition between the target video and the first video is less than the preset repetition; and relevant information of the target video is displayed. That is, the embodiment of the present application can automatically obtain candidate videos related to the first video based on the characteristic information of the cached first video, and further determine the target video whose playback time and / or repetition relative to the first video meets the preset conditions from the candidate videos, and display the relevant information of the target video to the user, without the user having to search frequently, thereby reducing the user's operations and saving time, and can automatically block videos that have more repetitions with the first video or have a shorter playback time relative to the first video, thereby improving the user's video viewing experience.

[0101] In some possible implementations of the embodiments of the present application, the acquisition module 501 is specifically used to:

[0102] Acquire, according to the characteristic information, a second video that is continuous with the video content of the first video;

[0103] The determination module 502 is further configured to determine a third video whose playing duration is greater than or equal to the second duration threshold from the second video, and determine the third video as a candidate video.

[0104] In some possible implementations of the embodiments of the present application, the determination module 502 is further configured to determine a fourth video from the candidate videos after the acquisition module 501 acquires the candidate videos related to the first video according to the feature information, where the fourth video satisfies at least one of the following conditions: the playback duration of the fourth video relative to the first video is less than the first duration threshold, and the repetition degree between the fourth video and the first video is greater than or equal to a preset repetition degree;

[0105] The display module 503 is specifically used for:

[0106] The relevant information of the target video segment is displayed according to the first display parameter, and the relevant information of the fourth video is displayed according to the second display parameter, and the first display parameter is different from the second display parameter.

[0107] In some possible implementations of the embodiments of the present application, the video search device 500 may further include:

[0108] The playing module is used to play the target video according to the relevant information after the display module 503 displays the relevant information of the target video and when the first video is finished playing.

[0109] The embodiments of the present application can automatically search for related candidate videos based on the feature information of the cached videos, and further screen video clips with longer continuous playback time and / or lower repetition from the candidate videos, which greatly reduces the user's operations and improves the user's video viewing efficiency and viewing experience.

[0110] The video search device in the embodiment of the present application can be a device or a component in an electronic device, such as an integrated circuit or a chip. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a user computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.

[0111] The electronic device in the embodiment of the present application may be a terminal with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0112] The video search device provided in the embodiment of the present application can achieve Figures 1 to 4 The various processes in the video search method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.

[0113] like Figure 6 As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores programs or instructions that can be executed on the processor 601, and when the program or instructions are executed by the processor 601, the various steps of the above-mentioned video search method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0114] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile terminals and non-mobile terminals.

[0115] Figure 7A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0116] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.

[0117] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The structure of the electronic device 700 shown in the figure does not constitute a limitation on the electronic device 700. The electronic device 700 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0118] The processor 710 is configured to obtain characteristic information of a cached first video; obtain candidate videos related to the first video according to the characteristic information; determine a target video from the candidate videos, where the target video satisfies at least one of the following conditions: a playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and a repetition degree between the target video and the first video is less than a preset repetition degree;

[0119] The display unit 706 is used to display relevant information of the target video.

[0120] In an embodiment of the present application, characteristic information of the cached first video is obtained; based on the characteristic information, candidate videos related to the first video are obtained; a target video is determined from the candidate videos, and the target video satisfies at least one of the following conditions: the continuous playback time of the target video relative to the first video is greater than or equal to the first time threshold, and the repetition between the target video and the first video is less than the preset repetition; and relevant information of the target video is displayed. That is, the embodiment of the present application can automatically obtain candidate videos related to the first video based on the characteristic information of the cached first video, and further determine the target video whose playback time and / or repetition relative to the first video meets the preset conditions from the candidate videos, and display the relevant information of the target video to the user, without the user having to search frequently, thereby reducing the user's operations and saving time, and can automatically block videos that have more repetitions with the first video or have a shorter playback time relative to the first video, thereby improving the user's video viewing experience.

[0121] In some possible implementations of the embodiments of the present application, the processor 710 is specifically configured to:

[0122] Acquire, according to the characteristic information, a second video that is continuous with the video content of the first video;

[0123] A third video having a playback duration greater than or equal to a second duration threshold is determined from the second video, and the third video is determined as a candidate video.

[0124] In some possible implementations of the embodiments of the present application, the processor 710 is further configured to, after acquiring candidate videos related to the first video according to the feature information, determine a fourth video from the candidate videos, where the fourth video satisfies at least one of the following conditions: a playback duration of the fourth video relative to the first video is less than a first duration threshold, and a repetition degree between the fourth video and the first video is greater than or equal to a preset repetition degree;

[0125] The display unit 706 is specifically used for:

[0126] The relevant information of the target video segment is displayed according to the first display parameter, and the relevant information of the fourth video is displayed according to the second display parameter, and the first display parameter is different from the second display parameter.

[0127] In some possible implementations of the embodiments of the present application, the processor 710 is further configured to play the target video according to the relevant information after the display unit 706 displays the relevant information of the target video and when the playback of the first video ends.

[0128] The embodiments of the present application can automatically search for candidate videos that meet user expectations based on feature information of cached videos, and further screen out continued videos with longer continued playback duration and / or lower repetition from the candidate videos, thereby greatly reducing user operations and improving the user's video viewing efficiency and viewing experience.

[0129] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 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 will not be repeated here.

[0130] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 may include a volatile memory or a non-volatile memory, or the memory 709 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0131] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.

[0132] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned video search method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0133] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0134] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned video search method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0135] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0136] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned video search method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0137] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0139] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A video search method, characterized in that: include: Obtain characteristic information of a cached first video; Acquire, according to the feature information, candidate videos related to the first video; Determine a target video from the candidate videos, where the target video satisfies at least one of the following conditions: a playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and a repetition degree between the target video and the first video is less than a preset repetition degree; Display relevant information of the target video.

2. The method according to claim 1, characterized in that The acquiring, according to the feature information, candidate videos related to the first video includes: Acquire, according to the characteristic information, a second video having a continuous video content with the first video; A third video having a playback duration greater than or equal to a second duration threshold is determined from the second video, and the third video is determined as the candidate video.

3. The method according to claim 1, characterized in that After acquiring candidate videos related to the first video according to the feature information, the method further includes: Determine a fourth video from the candidate videos, where the fourth video satisfies at least one of the following conditions: a playback duration of the fourth video relative to the first video is less than a first duration threshold, and a repetition degree between the fourth video and the first video is greater than or equal to a preset repetition degree; The display of the relevant information of the target video includes: The relevant information of the target video segment is displayed according to a first display parameter, and the relevant information of the fourth video is displayed according to a second display parameter, wherein the first display parameter is different from the second display parameter.

4. The method according to any one of claims 1 to 3, characterized in that After displaying the relevant information of the target video, the method further includes: When the first video is finished playing, the target video is played according to the relevant information of the target video.

5. A video search device, characterized in that: include: An acquisition module, used to acquire characteristic information of a cached first video; Acquire, according to the feature information, candidate videos related to the first video; A determination module, configured to determine a target video from the candidate videos, wherein the target video satisfies at least one of the following conditions: a playback duration of the target video relative to the first video is greater than or equal to a first duration threshold, and a repetition degree between the target video and the first video is less than a preset repetition degree; A display module is used to display relevant information of the target video.

6. The device according to claim 5, characterized in that The acquisition module is specifically used for: Acquire, according to the characteristic information, a second video having a continuous video content with the first video; The determination module is further used to determine a third video whose playback duration is greater than or equal to a second duration threshold from the second video, and determine the third video as the candidate video.

7. The device according to claim 5, characterized in that The determination module is further configured to determine a fourth video from the candidate videos after the acquisition module acquires the candidate videos related to the first video according to the feature information, wherein the fourth video satisfies at least one of the following conditions: a playback duration of the fourth video relative to the first video is less than a first duration threshold, and a repetition degree between the fourth video and the first video is greater than or equal to a preset repetition degree; The display module is specifically used for: The relevant information of the target video segment is displayed according to a first display parameter, and the relevant information of the fourth video is displayed according to a second display parameter, wherein the first display parameter is different from the second display parameter.

8. The device according to any one of claims 5 to 7, characterized in that: The device also includes: The playing module is used to play the target video according to the relevant information after the display module displays the relevant information of the target video and when the playing of the first video is finished.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.