CN116992073A - Video clip ordering method, device, equipment and storage medium - Google Patents

Video clip ordering method, device, equipment and storage medium Download PDF

Info

Publication number
CN116992073A
CN116992073A CN202311267070.9A CN202311267070A CN116992073A CN 116992073 A CN116992073 A CN 116992073A CN 202311267070 A CN202311267070 A CN 202311267070A CN 116992073 A CN116992073 A CN 116992073A
Authority
CN
China
Prior art keywords
video
playing
play
video file
clip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311267070.9A
Other languages
Chinese (zh)
Other versions
CN116992073B (en
Inventor
潘孟姣
孙健
张远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Small Sugar Technology Co ltd
Original Assignee
Beijing Small Sugar Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Small Sugar Technology Co ltd filed Critical Beijing Small Sugar Technology Co ltd
Priority to CN202311267070.9A priority Critical patent/CN116992073B/en
Publication of CN116992073A publication Critical patent/CN116992073A/en
Application granted granted Critical
Publication of CN116992073B publication Critical patent/CN116992073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/732Query formulation
    • G06F16/7328Query by example, e.g. a complete video frame or video sequence
    • 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/74Browsing; Visualisation therefor
    • 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
    • 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/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings

Landscapes

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

Abstract

The application discloses a video clip ordering method, a video clip ordering device, video clip ordering equipment and a storage medium. The method comprises the following steps: responding to a first user to trigger a first video file, and determining whether the first video file belongs to a preset video playing portrait database; if the video clip belongs to the database, acquiring the play heat value of each video clip in the first video file in all users and the calling times of each video clip to a plurality of play modes in the play process; according to the playing heat value, highest priority ranking is carried out on each video segment in the first video file, and according to the calling times of the playing modes, sub-priority ranking is carried out on the playing modes called by each video segment, so that a playing mode display label is generated; and displaying default display labels and play mode display labels of all video clips in sequence in a positioning play list of the first video file. The method and the device can be used for rapidly realizing the positioning playing and ordering recommendation of the high-heat video clips in different modes.

Description

Video clip ordering method, device, equipment and storage medium
Technical Field
The present application relates to the field of video playing technology, and in particular, to a video clip ordering method, apparatus, device, computer storage medium and computer program product.
Background
Along with the rapid development of science and technology, dance teaching video resources are gradually enriched, the definition of related videos is higher and higher, and the display effect is better and better, so that dance teaching videos are gradually developed into very important ways for dance lovers to learn dances. In the prior art, in the process of learning dance video, if a user wants to watch a teaching fragment of interest, the playing progress bar of the video needs to be manually dragged to locate the teaching fragment of the dance action of interest. In order to facilitate the user to easily locate the desired video clip, various methods for locating and playing video have been developed, and will be briefly described below. The video positioning playing method generally refers to a method for quickly and accurately finding a part to be watched in a video according to the requirement of a user by means of some modes to play, and the following is an existing video positioning playing method:
1. positioning playing based on time axis: the video is divided into a plurality of segments by time axis, and the user can quickly locate to a portion to be viewed by dragging the time axis.
2. Key frame searching, positioning and playing: and when the user inputs a keyword, the system automatically searches the key frame related to the keyword, marks the matched content on the key frame, and is convenient for the user to quickly position.
3. Video abstract positioning and playing: the content in the video is extracted and summarized to form a video abstract, and a user can jump to a specific part for watching by clicking on keywords or images in the abstract.
4. Video label positioning and playing: and labeling the videos, and a user can classify, screen and search the videos according to the labels so as to quickly find the videos to be watched.
5. Searching voice keywords: the user can search for the required video through voice, the system can convert the keywords spoken by the user into text according to the voice recognition technology, and related content is searched for in the video.
The user can select the most suitable method to find the video part to be watched. However, the existing video positioning playing methods have different degrees of operation difficulties, and are not very friendly to users in use.
Taking the first "positioning playing mode based on time axis" as an example, the mode is to divide the video into a plurality of logic segments by dotting the video, and mark the starting time of the segments on the progress bar of the video player, so as to facilitate rapid jump. For example, in the process of processing dance teaching video, the starting time of multiple groups of dance movements can be marked on the progress bar of a set of dance (including multiple groups of dance movements), the position of the marked point is the dotting position, and a text description (i.e. the fourth mode of playing the video tag positioning) can be added. When the user moves the progress bar to the mark point, the corresponding text description is displayed, and the user can directly jump to the moment to continue playing the video after clicking the mark point.
In short, the representative information in the complete video can be marked or extracted by using the methods, and based on the method, the user can locate the corresponding video content.
In research, it is found that depending on such video positioning playing method, it is still difficult to make users quickly locate interesting content in practice, or it is necessary to spend time searching for relevant video clips, before users locate to the actually needed playing position, users still need to consume longer time, repeatedly jump in different dotting positions or labels, user experience is bad, especially for users of dance teaching video, dance fans need to repeatedly watch and learn each group of subdivided dance actions during the whole set of dance learning, the existing video positioning playing method has operation difficulties of different degrees, dance video teaching effects are affected, and user experience is bad. How to provide a location broadcast method suitable for dance teaching video promotes dance fan user's use experience, is the painful point problem that exists at present.
Disclosure of Invention
In view of the above, embodiments of the present application provide a video clip ordering method, apparatus, server device, computer-readable storage medium and computer program product for solving at least one technical problem.
In a first aspect, an embodiment of the present application provides a video clip ordering method, including: responding to a first user to trigger a first video file, determining whether the first video file belongs to a preset video playing portrait database, wherein the playing times of the video file in the video playing portrait database are greater than or equal to a preset threshold value, and the first video file comprises a plurality of video fragments, and each video fragment is provided with at least one default display label; if the first video file belongs to a video playing portrait database, acquiring playing heat values of all video clips in the first video file in all users, and acquiring calling times of the video clips to a plurality of playing modes in the playing process; according to the playing heat value, highest priority ranking is carried out on each video segment in the first video file, and according to the calling times of the playing modes, secondary priority ranking is carried out on the playing modes called by each video segment in the first video file, and playing mode display labels are generated; and displaying default display tags and play mode display tags of each video clip in sequence in the positioning play list of the first video file.
According to the method of the embodiment of the application, the highest priority ranking is performed on each video segment in the first video file according to the play heat value, including:
calculating the play heat value of each video clip in the first video file by using the following formula:
wherein (1)>For the ith in the first video fileThe play heat value of the individual video clips, < >>The total duration of playing the ith video clip for all users,/for all users>Playing the total duration of the first video file for all users; and completing the highest priority ranking according to the order of the playing heat value from top to bottom.
According to the method of the embodiment of the present application, the sub-priority ordering of the play modes under each video clip in the first video file according to the call times of the play modes includes: and if the first video file comprises a first video clip and at least a first playing mode is called in the playing process of the first video clip according to the log, the calling times are M times, and M is greater than or equal to a preset threshold value, the display tag of the first playing mode under the first video clip participates in the secondary priority sorting.
According to the method of the embodiment of the present application, the sub-priority ordering of the play modes under each video clip in the first video file according to the call times of the play modes includes: and if the first video file comprises a second video clip and at least a second playing mode is called in the playing process of the second video clip according to the log, the calling times are N times, and N is smaller than a preset threshold value, the display tag of the second playing mode under the second video clip does not participate in the secondary priority sorting.
According to a method of an embodiment of the present application, the first video file comprises at least one of: dance-type video, music-type video, teaching-type video, film-type video.
According to the method of the embodiment of the application, the first video file comprises dance teaching video, and the plurality of video clips in the first video file comprise at least one of the following: front dance demonstration teaching section, back dance demonstration teaching section and grouping dance action demonstration teaching section.
According to the method of the embodiment of the application, the playing mode display label comprises at least one or more of the following combinations: slow play mode tags, mirror play mode tags, and cyclic play mode tags.
In a second aspect, an embodiment of the present application provides a video clip ordering apparatus, including: the determining module is used for determining whether a first video file triggered by a first user belongs to a preset video play portrait database or not; the playing times of the video files in the video playing portrait database are larger than or equal to a preset threshold value, wherein the first video file comprises a plurality of video clips, and each video clip is provided with at least one default display tag; the system comprises an acquisition module, a first video file generation module and a second video file generation module, wherein the acquisition module is used for acquiring play heat values of all video clips in a first video file in all users and acquiring calling times of the video clips to a plurality of play modes in the play process; the ordering module is used for ordering the highest priority of each video segment in the first video file according to the play heat value, ordering the secondary priority of the play mode called by each video segment in the first video file according to the calling times of the play mode, and generating a play mode display label; and the display module is used for displaying default display tags and play mode display tags of all video clips in sequence in the positioning play list of the first video file.
In a third aspect, an embodiment of the present application provides an electronic device including a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the steps of the method as described above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon computer program instructions which when executed by a processor implement the steps of the method as described above.
In a fifth aspect, embodiments of the present application provide a computer program product comprising computer program instructions which, when executed by a processor, implement a method as described above.
According to the application, the playing heat value of each video segment of the video file in the preset video playing portrait database in all users is obtained, the calling times of each video segment for a plurality of playing modes in the playing process are obtained, each video segment in the video file is ordered, and a playing mode display label is generated. And displaying default display labels and play mode display labels of all video clips in sequence in a positioning play list of the video file. The video clip ordering method provided by the application can rapidly realize the positioning playing and ordering recommendation of the high-heat video clips in different modes, so that a user can rapidly position to a truly required playing position, and the use experience of the user is improved. The embodiment of the application is suitable for video playing occasions (such as dance teaching videos) such as teaching videos, long videos and the like which comprise multiple video clips and have different content attributes of different clips, and can provide unexpected convenience for learning users.
Drawings
In order to more clearly describe the technical solution of the embodiments of the present application, the following description briefly describes the drawings in the embodiments of the present application.
FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present application.
Fig. 2 is a flowchart of a video clip ordering method according to an embodiment of the present application.
FIG. 3 is an interface schematic of an ordered list of segments and a first frame thumbnail of dance teaching video according to an embodiment of the present application.
FIG. 4 is an interface diagram of an ordered list of segments of dance teaching video and dance front presentation according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a video clip ordering apparatus according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It will be appreciated that such embodiments are provided to make the principles and spirit of the application clear and thorough, and enabling those skilled in the art to better understand and practice the principles and spirit of the application. The exemplary embodiments provided herein are merely some, but not all embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the embodiments herein, are within the scope of the present application.
Embodiments of the present application relate to a terminal device and/or a server. Those skilled in the art will appreciate that embodiments of the application may be implemented as a system, apparatus, device, method, computer readable storage medium, or computer program product. Accordingly, the present application may be embodied in at least one of the following forms: complete hardware, complete software, or a combination of hardware and software. According to embodiments of the present application, a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for video clip ordering are claimed. Fig. 1 shows a schematic diagram of a system architecture according to an embodiment of the application. As shown in fig. 1, the system includes a terminal device 102 and a server 104. Wherein the terminal device 102 may comprise at least one of: smart phones, tablet computers, notebook computers, desktop computers, smart televisions, various wearable devices, augmented reality AR devices, virtual reality VR devices, and the like. The terminal device 102 may be provided with a client, for example, the client may be a client that specifically performs a specific function (such as an app), or a client embedded with multiple kinds of applets (different functions), or may be a client that logs in through a browser. The user may operate on the terminal device 102, for example, the user may open a client installed on the terminal device 102 and input an instruction through a client operation, or the user may open a browser installed on the terminal device 102 and input an instruction through a browser operation. After the terminal device 102 receives the instruction input by the user, request information including the instruction is transmitted to the server 104. The server 104 performs a corresponding process after receiving the request information, and then returns the process result information to the terminal device 102. User instructions are completed through a series of data processing and information interaction.
Those skilled in the art will appreciate that embodiments of the application may be implemented as a system, apparatus, device, method, computer readable storage medium, or computer program product. Accordingly, the present application may be embodied in at least one of the following forms: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software. According to an embodiment of the application, the application discloses a video clip ordering method, a video clip ordering device, a server side and a computer readable storage medium.
In this document, terms such as first, second, third, etc. are used solely to distinguish one entity (or action) from another entity (or action) without necessarily requiring or implying any order or relationship between such entities (or actions).
Fig. 2 is a flowchart of a video clip ordering method according to an embodiment of the present application, the method comprising the steps of:
s1: responding to a first user to trigger a first video file, determining whether the first video file belongs to a preset video playing portrait database, wherein the playing times of the video file in the video playing portrait database are greater than or equal to a preset threshold value, and the first video file comprises a plurality of video fragments, and each video fragment is provided with at least one default display label;
s2: if the first video file belongs to a video playing portrait database, acquiring playing heat values of all video clips in the first video file in all users, and acquiring calling times of the video clips to a plurality of playing modes in the playing process;
s3: according to the playing heat value, highest priority ranking is carried out on each video segment in the first video file, and according to the calling times of the playing modes, secondary priority ranking is carried out on the playing modes called by each video segment in the first video file, and playing mode display labels are generated;
s4: and displaying default display labels and play mode display labels of all video clips in sequence in the positioning play list of the first video file.
According to the application, the playing heat value of each video segment of the video file in the preset video playing portrait database in all users is obtained, the calling times of each video segment for a plurality of playing modes in the playing process are obtained, each video segment in the video file is ordered, and a playing mode display label is generated. And displaying default display labels and play mode display labels of all video clips in sequence in a positioning play list of the video file.
It should be noted that, when the highest priority ranking is performed, the objects to be ranked are a plurality of video clips in the first video file, the ranking is based on historical playing heat values of the video clips, and the higher the heat value is, the more popular the description is, and the earlier the ranking of the corresponding video clip is.
It should be noted that, when the sub-priority ranking is performed, the object to be ranked is still a video segment, and the difference between the object to be ranked and the highest priority ranking is that the sub-priority ranking is based on the number of times (or called the usage frequency) of the play mode corresponding to each video segment, in other words, the sub-priority ranking is based on the number of times of playing each video segment in different play modes, so that the segments participating in the ranking may include a plurality of segments different from each other, or may include a plurality of identical segments in different play modes. This will be illustrated and explained in detail hereinafter.
The embodiment of the application can rapidly realize the positioning play and the ordering recommendation of the high-heat video clips in different modes, can be applied to the recommendation display of various video contents, such as dance video, music video, teaching video, film video and the like, so that a user can rapidly position the video contents really needed, the time for selecting the video contents is saved, the operation frequency is reduced, the use experience of the user can be practically improved, and the real convenience is provided for the user.
In some embodiments of the present application, the play heat value of each video clip in the first video file may be calculated using the following formula:
wherein (1)>For the playing heat value of the ith video clip in the first video file,/for the playing heat value of the ith video clip in the first video file>The total duration of playing the ith video clip for all users,/for all users>And playing the total time length of the first video file for all users.
Specifically, the first video file to be played may include a plurality of video clips, for example, the first video file may be segmented by a video dotting technique, and a segment mark may be added at a time of the first video file, so that the first video file may be divided into two video clips. A video clip may be simply a "clip," or may also be referred to as a "sub-video" of a first video file.
Illustratively, assuming that the first video file contains 8 segments in total, the heat value of the 5 th segment can be calculated according to the above formula as:
wherein->The total duration of the 5 th clip is played for all users.
It should be noted that the play heat value of the video clip can be counted in various ways, and is not limited to the play times, the play time, the average play time, the play times or the play time ratio, and the click frequency of slow play, mirror, and circulation buttons in each clip. For example:
clip play heat value = clip play count/total play count for each clip
Clip play heat value = clip play duration/video play duration
Segment play heat value = segment average play time length
According to the method, the heat value of all 8 fragments can be calculated, the heat value reflects the popularity of each fragment, and the higher the heat value of a certain fragment is, the more popular the video content in the fragment is. The highest priority ranking of the embodiments of the present application is completed by ranking the heat values from high to low.
In the embodiment of the application, besides sorting the clips according to the historical playing heat value, the playing modes used when each clip is played are also considered, and the sub-priority sorting is performed according to the using frequency of the playing modes. This will be explained in detail below.
Alternatively, the play mode may be a single play mode, such as a slow play mode, a fast forward (double-speed play) mode, a mirror play mode, a loop play mode, or the like, or a combination play mode, such as a slow play and mirror play mode, or a fast forward and mirror play mode, or similarly, a combination of slow play and loop play mode, a mirror and loop play mode, or the like. It should be understood that, the playing modes mentioned in the embodiments of the present application may be various video playing modes that are already available in the market or not yet released in the market, and the present application is not limited to or limited by the specific form of the playing modes.
In some embodiments of the present application, when the playing modes under each video clip in the first video file are ordered according to the number of times of calling the playing modes, at least two cases may be:
case one: if the first video file comprises a first video clip and at least a first playing mode is called in the playing process of the first video clip according to the log, the calling times are M times, and M is greater than or equal to a preset threshold value, the display tag of the first playing mode under the first video clip participates in the secondary priority sorting.
And a second case: if the first video file comprises a second video clip and the second video clip is at least called for N times in the playing process according to the log, and N is smaller than a preset threshold value, the display tag of the second playing mode under the second video clip does not participate in the secondary priority sorting.
For example, assume that the first video file is a complete video of swan lake dance, which includes a plurality of segments such as a start segment, a dance segment, and the like. According to log data, the higher playing times (for example, the historical playing times of slowly playing the dancing segment is 1500 times and the historical playing times of circularly playing the dancing segment is 1600 times) of the dancing segment are obtained in two playing modes (for example, slow playing and circular playing), and the preset statistical threshold value (for example, 1200 times) is exceeded, in this case, the system can generate display labels of the two playing modes for the dancing segment by way of example: the level of the 'dancing segment-slow playing' and the 'dancing segment-cyclic playing' is higher than that of the 'dancing segment-slow playing' when the secondary priorities are ordered.
For fragments whose frequency of use is below the threshold, no secondary ordering is performed, excluding them from secondary prioritization.
Here, in view of the fact that no separate slow-release segment or cyclic segment exists in the original swan lake dance video, in the embodiment of the application, a play positioning list of the original video is expanded to a certain extent, that is, in addition to a default label of the original video, a display label of an independent slow-release segment (or cyclic segment or segment of other modes) is additionally added, so that it can be understood that the embodiment of the application expands a play function based on the original video, can explicitly add an expanded video segment in a multi-play mode in the play list, is convenient for a user to browse and position quickly, and can play the segment by one key, and the operation is convenient.
In the above example, if the number of play times of the opening segment in the mirror play mode in the swan lake dance video is 900 and is lower than 1200 defined by the threshold, it indicates that the play amount of the opening segment played in the mirror mode is less and less attention is paid to the user, the opening segment in the mirror mode is not subjected to sub-priority ranking, and the system does not generate the display tag and the expanded video segment, and does not display recommendation to the user.
Regarding the display tag, the system may set a default display tag for each video clip, including the basic information of the clip, and be in a conventional play mode without special effects, such as "swan lake-opening clip", "swan lake-dancing clip". When the user clicks the default show tab, the player plays the video clip in a regular mode, such as regular playing of the dance clip in a swan lake video file.
Unlike the default presentation tab, when the user clicks the presentation tab with the play mode, the player plays the present video clip in the corresponding mode, e.g., plays the dance clip at a slow rate.
The default display tag and the play mode display tag can be sequentially displayed in the positioning play list of the original complete video, so that a user can conveniently and quickly select to play.
Various implementations and technical advantages of the video clip ordering method according to the embodiments of the present application are described above through various embodiments. The following describes the specific operation of the embodiment of the present application in detail with reference to specific examples.
Example 1
As an example, assume that the video watched by the user is dance teaching video, that is, video content is video for dancer or dancer demonstration, professor, instruction of dance movements, and such video generally includes a plurality of video clips, for example, front dance demonstration teaching clip, back dance demonstration teaching clip, group dance movement demonstration teaching clip, and the like.
The user opens a video playing client, and the client can be APP or PC video software of the mobile terminal equipment.
The method comprises the steps that a user selects an interested dance teaching video, a server responds to a dance teaching video file triggered by the user, play action logs of the user at the client are collected, play heat values R of all video clips in all users can be calculated by combining dotting video clip information of the dance teaching video file to be played, frequency of using different play modes by all clips can be obtained, the data can reflect action preference of all users in a system, and the data can be synchronized to the server.
When sorting, firstly, sorting the highest priority of each video segment in the dance teaching video file according to the play heat value; secondly, according to the calling times of each segment to the playing mode, sub-priority ordering is carried out on the segments in different playing modes, and playing mode display labels are generated on the segments with the top ranking; when the dance teaching video file is recommended, the positioning play list of the dance teaching video file is displayed on the client interface, default display labels and play mode display labels of all video clips are sequentially displayed in the positioning play list, a user can conveniently and quickly click and play the dance teaching video file by one key, and for clips which want to use a special play mode, the user does not need to search a play mode switching button on the play interface, and the operation is very convenient.
Example two
As an example, assuming that the current video is a music teaching video, the video content is a video for a music teacher to demonstrate, teach, guide, etc., such videos typically include a plurality of video clips, such as a complete song presentation teaching clip, a singing pronunciation skill presentation teaching clip, a lyrics teaching clip, a segmented song presentation teaching clip, etc. According to the application, by setting different types of original video clips, a music fan can conveniently and rapidly select corresponding music teaching video content according to learning needs. The extended video clip is a video clip generated by combining the plurality of original video clips by music teaching function type or function type.
According to the embodiment of the application, the video playing image database is arranged at the server, and the relevant information of the corresponding fragments is stored in the video playing image database, wherein the relevant information comprises behavior preference data on the dotting video fragments such as the use frequency of functions such as slow playing, mirror surface and circulation, the combination of slow playing and mirror surface playing, the combination of slow playing and circulation playing, the combination of mirror surface playing and circulation playing, and the use frequency of functions of the combination mode of slow playing, mirror surface playing and circulation playing. And the playing times of the video files in the video playing portrait database are larger than or equal to a preset threshold value. If the first video file to be played acquired by the current user belongs to a preset video playing portrait database, acquiring playing heat values of all video clips in the first video file in all users, and acquiring calling times of all video clips to a plurality of playing modes in the playing process.
And completing the highest priority ranking according to the order of the playing heat value from top to bottom.
Example III
As an example, assuming that the video to be played is a dance teaching video, the dance teaching video to be played by the current user a includes 3 segments, and the server side extracts the playing heat of the user in each segment of the video and the use frequency of functions such as slow playing, mirror surface, circulation and the like of the corresponding segment by collecting the playing behavior log of the user of the client side and combining the dotting segment information of the dance teaching video to be played. The playing heat of the segments 1, 2 and 3 of the dance teaching video of all users is shown in table 1. The frequencies of use of the slow-put, mirror, cyclic, slow-put and mirror, slow-put and cyclic, mirror and cyclic, slow-put and mirror and cyclic combinations in segment 1, segment 2, segment 3 are shown in table 2.
TABLE 1
TABLE 2
Specifically, after the original clips are ranked according to the highest priority of the playing heat, the ranking scores x of the clip 1, the clip 2 and the clip 3 are respectively 2, 1 and 3.
After the functions and the function combinations of the fragments are ranked according to the use frequency, the ranking scores y of the fragments 1, 2 and 3 in the functions or the function combinations are shown in table 3. The y value is not given to the use frequency lower than the threshold value (1000).
TABLE 3 Table 3
The ranking scores z for the acquired extension segments are calculated from the highest priority ranking and the next priority ranking scores as shown in table 4. Where z=x+y/100.
TABLE 4 Table 4
And then, loading the sequencing results of the fragments and the extended fragments into a positioning play list corresponding to the video in ascending order to serve as a recommendation sequencing list. Specifically, the original segments are first ordered according to the x value, and then the extended segments are ordered according to the z value. The final results and scores of the ranking of each of the original and expanded fragments are shown in table 5.
TABLE 5
FIG. 3 is an interface schematic of an ordered list of segments and a first frame thumbnail of dance teaching video according to an embodiment of the present application. FIG. 4 is an interface diagram of an ordered list of segments of dance teaching video and dance front presentation according to an embodiment of the present application. As shown in fig. 3 and fig. 4, default presentation tags and play mode presentation tags of each video clip are sequentially displayed in a positioning play list of the dance teaching video file of the APP or video software. In some embodiments, the first video file comprises a plurality of video segments, each video segment having at least one default presentation tag comprising at least one of: first frame thumbnail, title, start time, deadline, duration. Through the first frame thumbnail and title of the default presentation tag, the user can quickly locate the desired video clip. Meanwhile, all time information of the corresponding video clips can be clearly seen through the starting time, the expiration time and the duration of the default display tag.
Correspondingly, the application also provides a video clip ordering device, as shown in fig. 5, the positioning and playing device 200 for dance teaching video based on video playing portrait comprises: a determination module 210, an acquisition module 220, a ranking module 230, and a display module 240, wherein,
the determining module 210 is configured to determine, in response to the first user triggering the first video file, whether the first video file belongs to a preset video play portrait database, where a play number of the video file in the video play portrait database is greater than or equal to a preset threshold, where the first video file includes a plurality of video clips, and each video clip has at least one default display tag.
The obtaining module 220 is configured to obtain, when the first video file belongs to the video playing portrait database, a playing heat value of each video segment in the first video file in all users, and obtain the number of times of calling multiple playing modes by each video segment in a playing process.
The sorting module 230 is configured to sort the video clips in the first video file with the highest priority according to the play heat value, and sort the play modes called by the video clips in the first video file with the second priority according to the call times of the play modes, and generate a play mode display tag.
The display module 240 is configured to sequentially display default presentation tags and play mode presentation tags of each video clip in the positioning playlist of the first video file.
The electronic device in the embodiment of the application can be user terminal equipment, a server, other computing devices and a cloud server. Fig. 6 shows a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application, where the electronic device may include a processor 601 and a memory 602 storing computer program instructions, where the processor 601 implements the flow or functions of any of the methods of the embodiments described above when executing the computer program instructions.
In particular, the processor 601 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application. Memory 602 may include mass storage for data or instructions. For example, the memory 602 may be at least one of: hard Disk Drive (HDD), read-only memory (ROM), random-access memory (RAM), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, universal serial bus (Universal Serial Bus, USB) Drive, or other physical/tangible memory storage device. As another example, the memory 602 may include removable or non-removable (or fixed) media. For another example, memory 602 may be internal or external to the integrated gateway disaster recovery device. The memory 602 may be a non-volatile solid state memory. In other words, generally the memory 602 includes a tangible (non-transitory) computer-readable storage medium (e.g., a memory device) encoded with computer-executable instructions and when the software is executed (e.g., by one or more processors) may perform the operations described by the methods of embodiments of the application. The processor 601 implements the flow or functions of any of the methods of the above embodiments by reading and executing computer program instructions stored in the memory 602.
In one example, the electronic device shown in fig. 6 may also include a communication interface 603 and a bus 610. The processor 601, the memory 602, and the communication interface 603 are connected to each other through a bus 610 and perform communication with each other. The communication interface 603 is mainly used to implement communications between modules, apparatuses, units, and/or devices in the embodiments of the present application. Bus 610 includes hardware, software, or both, and may couple components of the online data flow billing device to each other. For example, the bus may include at least one of: accelerated Graphics Port (AGP) or other graphics bus, enhanced Industry Standard Architecture (EISA) bus, front Side Bus (FSB), hyperTransport (HT) interconnect, industry Standard Architecture (ISA) bus, infiniBand interconnect, low Pin Count (LPC) bus, memory bus, micro channel architecture (MCa) bus, peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial Advanced Technology Attachment (SATA) bus, video electronics standards Association local (VLB) bus, or other suitable bus. Bus 610 may include one or more buses. Although embodiments of the application describe or illustrate a particular bus, embodiments of the application contemplate any suitable bus or interconnection.
In connection with the methods of the above embodiments, embodiments of the present application also provide a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the flow or function of any of the methods of the above embodiments.
In addition, the embodiment of the present application further provides a computer program product, where the computer program product stores computer program instructions, and the computer program instructions implement the flow or the function of any one of the methods in the above embodiments when the computer program instructions are executed by a processor.
The foregoing exemplarily describes the flow diagrams and/or block diagrams of methods, apparatus, systems, and computer program products according to embodiments of the present application, and describes various aspects related thereto. It will be understood that each block of the flowchart illustrations and/or block diagrams, or combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions, special purpose hardware which perform the specified functions or acts, and combinations of special purpose hardware and computer instructions. For example, these computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the present application, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit.
Functional blocks shown in the block diagrams of the embodiments of the present application can be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like; when implemented in software, are the programs or code segments used to perform the required tasks. The program or code segments can be stored in a memory or transmitted over transmission media or communication links through data signals carried in carrier waves. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should be noted that the present application is not limited to the specific configurations and processes described above or shown in the drawings. The foregoing is merely specific embodiments of the present application, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working processes of the described system, apparatus, module or unit may refer to corresponding processes in the method embodiments, and need not be repeated. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art may conceive various equivalent modifications or substitutions within the technical scope of the present application, which are intended to be included in the scope of the present application.

Claims (10)

1. A method for ordering video clips, comprising:
responding to a first user to trigger a first video file, determining whether the first video file belongs to a preset video playing portrait database, wherein the playing times of the video file in the video playing portrait database are greater than or equal to a preset threshold value, and the first video file comprises a plurality of video fragments, and each video fragment is provided with at least one default display label;
if the first video file belongs to a video playing portrait database, acquiring playing heat values of all video clips in the first video file in all users, and acquiring calling times of the video clips to a plurality of playing modes in the playing process;
according to the playing heat value, highest priority ranking is carried out on each video segment in the first video file, and according to the calling times of the playing modes, secondary priority ranking is carried out on the playing modes called by each video segment in the first video file, and playing mode display labels are generated; and
and displaying default display labels and play mode display labels of all video clips in sequence in the positioning play list of the first video file.
2. The method of claim 1, wherein the highest prioritizing each video clip in the first video file according to the play heat value comprises:
calculating the play heat value of each video clip in the first video file by using the following formula:
wherein (1)>For the playing heat value of the ith video clip in the first video file,/for the playing heat value of the ith video clip in the first video file>The total duration of playing the ith video clip for all users,/for all users>Playing the total duration of the first video file for all users;
and completing the highest priority ranking according to the order of the playing heat value from top to bottom.
3. The method of claim 1, wherein the sub-prioritizing the play modes under each video clip in the first video file according to the number of play mode calls comprises:
and if the first video file comprises a first video clip and at least a first playing mode is called in the playing process of the first video clip according to the log, the calling times are M times, and M is greater than or equal to a preset threshold value, the display tag of the first playing mode under the first video clip participates in the secondary priority sorting.
4. The method of claim 1, wherein the sub-prioritizing the play modes under each video clip in the first video file according to the number of play mode calls comprises:
and if the first video file comprises a second video clip and at least a second playing mode is called in the playing process of the second video clip according to the log, the calling times are N times, and N is smaller than a preset threshold value, the display tag of the second playing mode under the second video clip does not participate in the secondary priority sorting.
5. The method of claim 1, wherein the first video file comprises at least one of: dance-type video, music-type video, teaching-type video, film-type video.
6. The method of claim 1, wherein the first video file comprises dance teaching video, and the plurality of video clips in the first video file comprise at least one of: front dance demonstration teaching section, back dance demonstration teaching section and grouping dance action demonstration teaching section.
7. The method of claim 1, wherein the play mode presentation tag comprises at least one or a combination of more of: slow play mode tags, mirror play mode tags, and cyclic play mode tags.
8. A video clip ordering apparatus, comprising:
the determining module is used for responding to the first video file triggered by the first user, determining whether the first video file belongs to a preset video playing portrait database, wherein the playing times of the video file in the video playing portrait database are greater than or equal to a preset threshold value, the first video file comprises a plurality of video fragments, and each video fragment is provided with at least one default display tag;
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring play heat values of all video clips in a first video file in all users under the condition that the first video file belongs to a video play portrait database, and acquiring the calling times of the video clips to a plurality of play modes in the play process;
the ordering module is used for ordering the highest priority of each video segment in the first video file according to the play heat value, ordering the secondary priority of the play mode called by each video segment in the first video file according to the calling times of the play mode, and generating a play mode display label; and
and the display module is used for sequentially displaying default display tags and display mode display tags of all video clips in the positioning play list of the first video file.
9. An electronic device, comprising: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions which, when executed by a processor, implement the method according to any of claims 1-7.
CN202311267070.9A 2023-09-28 2023-09-28 Video clip ordering method, device, equipment and storage medium Active CN116992073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311267070.9A CN116992073B (en) 2023-09-28 2023-09-28 Video clip ordering method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311267070.9A CN116992073B (en) 2023-09-28 2023-09-28 Video clip ordering method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116992073A true CN116992073A (en) 2023-11-03
CN116992073B CN116992073B (en) 2023-12-08

Family

ID=88528774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311267070.9A Active CN116992073B (en) 2023-09-28 2023-09-28 Video clip ordering method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116992073B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140161417A1 (en) * 2012-12-10 2014-06-12 Futurewei Technologies, Inc. Context Driven Video Prioritization and Bookmarking
CN109587568A (en) * 2018-11-01 2019-04-05 北京奇艺世纪科技有限公司 Video broadcasting method, device, computer readable storage medium
CN113727169A (en) * 2021-08-27 2021-11-30 北京字跳网络技术有限公司 Video playing method, device, equipment and storage medium
CN113766299A (en) * 2021-05-06 2021-12-07 腾讯科技(深圳)有限公司 Video data playing method, device, equipment and medium
CN116521937A (en) * 2022-01-21 2023-08-01 腾讯科技(深圳)有限公司 Video form generation method, device, equipment, storage medium and program product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140161417A1 (en) * 2012-12-10 2014-06-12 Futurewei Technologies, Inc. Context Driven Video Prioritization and Bookmarking
CN109587568A (en) * 2018-11-01 2019-04-05 北京奇艺世纪科技有限公司 Video broadcasting method, device, computer readable storage medium
CN113766299A (en) * 2021-05-06 2021-12-07 腾讯科技(深圳)有限公司 Video data playing method, device, equipment and medium
CN113727169A (en) * 2021-08-27 2021-11-30 北京字跳网络技术有限公司 Video playing method, device, equipment and storage medium
CN116521937A (en) * 2022-01-21 2023-08-01 腾讯科技(深圳)有限公司 Video form generation method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN116992073B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
JP7201729B2 (en) Video playback node positioning method, apparatus, device, storage medium and computer program
CN107105318B (en) Video hotspot segment extraction method, user equipment and server
US20180152767A1 (en) Providing related objects during playback of video data
US20190130185A1 (en) Visualization of Tagging Relevance to Video
CN111580921B (en) Content creation method and device
US20210160553A1 (en) Method and system of displaying a video
CN111414532B (en) Information recommendation method, equipment and machine-readable storage medium
WO2016000536A1 (en) Method for activating application program, user terminal and server
CN111831854A (en) Video tag generation method and device, electronic equipment and storage medium
TW201421994A (en) Video searching system and method
WO2016023366A1 (en) Media file evaluation method and apparatus
CN112287168A (en) Method and apparatus for generating video
WO2023071491A1 (en) Encyclopedia information determination method and apparatus, encyclopedia information display method and apparatus, and device and medium
CN112765460A (en) Conference information query method, device, storage medium, terminal device and server
CN114329223A (en) Media content searching method, device, equipment and medium
CN108271064B (en) Anchor searching method, device, electronic equipment and medium
CN106936830B (en) Multimedia data playing method and device
CN116992073B (en) Video clip ordering method, device, equipment and storage medium
CN109472028B (en) Method and device for generating information
CN116049490A (en) Material searching method and device and electronic equipment
CN117014687B (en) Video positioning playing method and device based on user playing portrait
CN110505502A (en) A kind of method for processing video frequency, equipment and computer readable storage medium
KR20230129616A (en) Video timed anchors
CN114697741B (en) Multimedia information playing control method and related equipment
CN114491260A (en) Information searching method, device, equipment and 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
GR01 Patent grant
GR01 Patent grant