CN111294660B - Video clip positioning method, server, client and electronic equipment - Google Patents

Video clip positioning method, server, client and electronic equipment Download PDF

Info

Publication number
CN111294660B
CN111294660B CN202010172072.XA CN202010172072A CN111294660B CN 111294660 B CN111294660 B CN 111294660B CN 202010172072 A CN202010172072 A CN 202010172072A CN 111294660 B CN111294660 B CN 111294660B
Authority
CN
China
Prior art keywords
comment
video
video segment
segment
keyword set
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.)
Active
Application number
CN202010172072.XA
Other languages
Chinese (zh)
Other versions
CN111294660A (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.)
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010172072.XA priority Critical patent/CN111294660B/en
Publication of CN111294660A publication Critical patent/CN111294660A/en
Application granted granted Critical
Publication of CN111294660B publication Critical patent/CN111294660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Abstract

The embodiment of the invention discloses a video clip positioning method, a server, a client and electronic equipment, wherein the method comprises the following steps: receiving a video segment positioning request sent by a client, wherein the video segment positioning request carries a first comment; the first comment is a comment which is input in a comment area of the first video by a user and is used for positioning a video clip; determining a first video clip matched with the first comment according to the video clip positioning request; and sending the first video segment to the client so that the client can display the first video segment as a reply comment of the first comment. According to the embodiment of the invention, the interested video segments are positioned in a mode of inputting the user comments in the comment area of the video, so that the user operation is facilitated, and the user experience is improved. In addition, according to the embodiment of the invention, the interested segments are positioned according to the comments input by the users, so that the video segments described by all the user comments can be basically positioned, and the requirements of each user are met.

Description

Video clip positioning method, server, client and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a video clip positioning method, a server, a client and electronic equipment.
Background
At present, the number of popular plays in the market is huge, and most users are often interested in only partial segments. However, the segments of interest vary from person to person.
The prior art generally addresses such problems by searching for highlights or adding highlights to the progress bar.
However, the technical solutions adopted in the prior art have the following problems: the number of highlights on the highlight clips and progress bars is limited and cannot meet the preference of each user.
Disclosure of Invention
Because the existing methods have the problems, embodiments of the present invention provide a video segment positioning method, a server, a client, and an electronic device.
In a first aspect, an embodiment of the present invention provides a method for positioning a video segment, which is applied to a server, and includes:
receiving a video clip positioning request sent by a client, wherein the video clip positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip;
determining a first video segment matched with the first comment according to the video segment positioning request;
and sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment.
Further, the determining, according to the video segment positioning request, the first video segment matched with the first comment specifically includes:
determining a first keyword set of the first comment according to the first comment;
determining a keyword set of each video clip;
and matching the keyword set of each video clip with the first keyword set, and determining a first video clip matched with the first comment.
Further, matching the keyword set of each video segment with the first keyword set, and determining the first video segment matched with the first comment, specifically includes:
matching the keyword set of each video clip with the first keyword set, judging the number of the video clips meeting a first condition, and if the number is 1, taking the video clips meeting the first condition as first video clips matched with the first comments; the first condition is that a keyword set of a video clip comprises all keywords in the first keyword set or comprises all real words in the first keyword set;
if the number is not 1, determining an effective keyword set of each video clip according to the matching condition of the keyword set of each video clip and the first keyword set; the effective keyword set of each video clip correspondingly stores keywords which are overlapped with the keyword set of each video clip and the first keyword set;
determining the total times of the keywords in the first keyword set of each video clip according to the corresponding times of occurrence of each keyword in the effective keyword set of each video clip;
and determining a first video clip matched with the first comment according to the total times of the keywords in the first keyword set appearing in each video clip.
Further, determining a first video segment matched with the first comment according to the total number of times of occurrence of the keywords in the first keyword set in each video segment specifically includes:
determining the matching score of each video clip according to a first relation model according to the total times of the keywords in the first keyword set appearing in each video clip;
determining a first video segment matched with the first comment according to the matching score of each video segment;
wherein the first relationship model is:
score is keyword count + a; when the video segment is not a segment in the first video;
score is keyword count + b; when the video segment is a segment in a first video;
wherein score is the matching score, keyword count is the total number of times, a is 0-100, b is 0-200, and b > a.
Further, sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment, specifically including:
sending the detail information of the first video clip to the client, so that the client displays the detail information of the first video clip as a reply comment of the first comment;
or the like, or, alternatively,
sending the detail information of the first video segment and the link address of the first video segment to the client, so that the client displays the detail information of the first video segment and the link address of the first video segment as a reply comment of the first comment;
wherein the detail information comprises a target episode in which the first video segment is located and a starting time point in the target episode; the link address is used to jump to the first video segment when triggered.
In a second aspect, an embodiment of the present invention further provides a method for positioning a video segment, which is applied to a client, and includes:
generating a video clip positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip;
sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request;
and receiving the first video segment, and displaying the first video segment as a reply comment of the first comment.
In a third aspect, an embodiment of the present invention further provides a server, including:
the request receiving module is used for receiving a video segment positioning request sent by a client, wherein the video segment positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip;
the segment determining module is used for determining a first video segment matched with the first comment according to the video segment positioning request;
and the segment sending module is used for sending the first video segment to the client so that the client can display the first video segment as a reply comment of the first comment.
In a fourth aspect, an embodiment of the present invention further provides a client, including:
the request generating module is used for generating a video segment positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip;
the request sending module is used for sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request;
and the segment receiving module is used for receiving the first video segment and displaying the first video segment as a reply comment of the first comment.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the video segment positioning method according to the first aspect when executing the computer program, or implements the video segment positioning method according to the second aspect when executing the computer program.
In a sixth aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implements the video segment positioning method according to the first aspect, or the computer program, when being executed by the processor, implements the video segment positioning method according to the second aspect.
According to the technical scheme, the video clip positioning method, the server, the client and the electronic device provided by the embodiment of the invention position the interested video clip in a mode of inputting the user comment in the comment area of the video, so that the interested video clip can be positioned directly in the process of watching the video without returning to the search page for searching again, the user operation is facilitated, and the user experience is improved. In addition, according to the embodiment of the invention, the interesting video segments are positioned according to the comments input by the users, so that the video segments described by the comments of all the users can be basically positioned, the requirements of each user are met, the whole video segment positioning process is simple and convenient, the interesting video segments can be found only by inputting the comments for positioning the video segments, and the experience of the users for finding the interesting video segments is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a video segment positioning method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a video playback and video clip positioning interface according to an embodiment of the present invention;
FIG. 3 is a flow chart of another video segment locating method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a client according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 shows a flowchart of a video segment positioning method according to an embodiment of the present invention, and as shown in fig. 1, the video segment positioning method according to the embodiment of the present invention is applied to a server, and specifically includes the following contents:
step 101: receiving a video clip positioning request sent by a client, wherein the video clip positioning request carries a first comment; the first comment is a comment which is input in a comment area of the first video by a user and used for positioning a video segment.
Step 102: and determining a first video segment matched with the first comment according to the video segment positioning request.
Step 103: and sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment.
In this embodiment, when a user wants to locate an interested video segment, a first comment for locating the video segment may be input in a comment area of a currently viewed first video, when the client detects that the user has input the first comment, a video segment locating request may be generated according to the first comment, and the video segment locating request is sent to the server, after the server receives the video segment locating request sent by the client, a first video segment matched with the first comment is determined according to the first comment carried in the video segment locating request, and then the determined first video segment is sent to the client, so that the client displays the first video segment as a reply comment of the first comment.
In this embodiment, as shown in fig. 2, when the user issues the first comment for positioning the video segment in the comment area, the first comment for user interaction below the existing video may be issued, or the second comment may be issued in a second comment area specifically set for the video segment positioning function.
According to the technical scheme, the video clip positioning method provided by the embodiment of the invention positions the interested video clip in a mode of inputting the user comment in the comment area of the video, so that the interested video clip can be directly positioned in the process of watching the video without returning to the search page for searching again, the user operation is facilitated, and the user experience is improved. In addition, according to the embodiment of the invention, the interesting video segments are positioned according to the comments input by the users, so that the video segments described by the comments of all the users can be basically positioned, the requirements of each user are met, the whole video segment positioning process is simple and convenient, the interesting video segments can be found only by inputting the comments for positioning the video segments, and the experience of the users for finding the interesting video segments is improved.
Based on the content of the foregoing embodiment, in this embodiment, the step 102 determines, according to the video segment positioning request, a first video segment matched with the first comment, which may be specifically implemented in the following manner:
determining a first keyword set of the first comment according to the first comment;
determining a keyword set of each video clip;
and matching the keyword set of each video clip with the first keyword set, and determining a first video clip matched with the first comment.
In this embodiment, when determining the first video segment matched with the first comment, a first keyword set of the first comment may be determined according to the first comment, and then the keyword sets of the video segments are matched with the first keyword set, so as to determine the first video segment matched with the first comment. Therefore, in the embodiment, the first video clip matched with the first comment can be quickly and accurately determined by matching the keyword of the first comment with the keyword of each video clip.
Based on the content of the above embodiment, in this embodiment, the video segment positioning request further carries a first video identifier;
correspondingly, determining the keyword set of each video clip specifically comprises:
judging whether the first comment is related to a first video, if so, determining each video clip corresponding to the first video identifier according to the first video identifier, and determining a keyword set of each video clip;
if not, determining a second video identifier related to the first comment according to the first comment, determining each video clip corresponding to the second video identifier according to the second video identifier, and determining a keyword set of each video clip.
In the present embodiment, when determining the keyword sets of the respective video segments, it may be determined from the judgment of the first comment whether the video segment that the user wants to locate is a video segment of a drama to which the video currently watched belongs (for example, the drama to which the video currently played belongs is a cheerful), or a video segment of another drama (for example, trivially, crossly).
For the first situation, specifically, whether the first comment is related to a first video is judged, if yes, each video clip corresponding to the first video identifier is determined according to the first video identifier, and a keyword set of each video clip is determined.
For example, if the first comment is "square jeans hug", it is determined that the first comment "square jeans hug" is related to the first video "cheerful", then, according to the first video identifier, each video segment corresponding to the first video identifier is determined, and a keyword set of each video segment is determined. Here, it should be noted that, each video segment corresponding to the first video identifier has been previously separated by the prior art and stored in the preset database, and the preset database only needs to be queried according to the identifier of the "cheerful" of the first video. When the complete first video is split into the video clips, the video clips can be split according to the video scenes.
For the second case, specifically, if it is determined that the first comment is not related to the first video, determining, according to the first comment, a second video identifier related to the first comment, determining, according to the second video identifier, each video segment corresponding to the second video identifier, and determining a keyword set of each video segment.
For example, suppose that the user, when watching the first video "happy and happy with something, suddenly wants to watch the third birthday, the fourth birthday, the fifth birthday, the sixth birthday, the fifth birthday, the sixth birthday, the fifth birthday, the sixth birthday, the fifth, the sixth, fourth, the sixth, the fourth, the sixth, the fourth, the sixth, and the sixth, the fourth, the sixth, and the sixth, and the fourth, the sixth, and the sixth, and the fourth, and the sixth, and the fourth, the sixth, the fourth, and the sixth, and. After receiving the first comment 'Suzhu Xian Tai', the server judges that the first comment 'Suzhu Xian Tai' is not related to the first video 'cheerful', then determines that the second video related to the first comment 'Suzhu Xian Tai' is 'three-birth three-season Shileyi', then determines each video segment corresponding to the second video according to the second video, and determines the keyword set of each video segment. Here, it should be noted that, each video clip corresponding to the second video "third generation tenth of peaches" has been previously split by the prior art and stored in the preset database, and only the preset database needs to be queried according to the identifier of the second video "third generation tenth of peaches". When the complete second video is split into the video clips, the video clips can be split according to the video scenes.
Therefore, the embodiment can not only realize the video segment search of the same episode or different episodes in the currently watched episodes (assuming that the first episode is watched currently, the segments in the first episode can be searched after the first comment is input, but also the segments in other episodes can be searched), but also realize the switching of other episodes by inputting the first comment when the user wants to switch to other episodes. For example, when the user watches a cheerful, the user suddenly wants to watch the three-birth three-Shisanshi holly zhu Xian Tai due to some factor, and then pulls the second comment area below the video to input the "pixzhu Xian Tai", then the server feeds back the link of the video segment related to the "pixzhu Xian" in a manner of replying the comment, and then the user can jump to the corresponding video segment to play by clicking the link fed back by the server. Therefore, the embodiment realizes the random jump switching among different dramas and brings more convenient experience for users.
Based on the content of the foregoing embodiment, in this embodiment, determining, according to the first comment, a first keyword set of the first comment specifically includes:
proper noun recognition is carried out on the first comment; wherein, the proper nouns at least comprise character nouns and position nouns;
performing word segmentation processing on the first comment to obtain a first word segmentation set; when the word segmentation is carried out, the proper nouns are not split;
supplementing one or more equivalent participles in alias, true name and synonym to the participles in the first participle set to obtain a second participle set;
and supplementing the part-of-speech characteristics for each participle in the second participle set to obtain a third participle set.
And the third word segmentation set is used as the first keyword set.
In this embodiment, when determining the first keyword set of the first comment, the following processing manner may be adopted:
a. special word recognition
Firstly, the first comment is recognized, a proper noun is recognized, the proper noun is regarded as a complete word, and word segmentation processing is not carried out.
For example, the first comment of the first video under "cheerful" is "party a fan hugs with george son", and the proper terms therein are "party a fan" and "george son".
b. Word segmentation processing
The first comment 'Fangyi and Job hug' is participled to obtain:
square-all | and | george | embrace.
c. Alias configuration
And performing alias configuration on the first comment ' Fangyi and ' Fangyi ' in the george ' hug ': "Square monkey | Square monkey".
d. Synonym processing
Carrying out synonym configuration on the 'hug' in the first comment 'Fangyi and Qiaoyin hug': "hug".
e. The character is equivalent to the actor
And (3) carrying out actor true name configuration on the 'Fangyi' in the first comment 'Fangyi and Qiaoyin hug': the Zhou Qin and the QiaoBritish son configure the true names of the actors: pruni Heptanxi.
f. Analyzing parts of speech
And performing part-of-speech feature supplementation on each word in the first comment 'Fangyi and Job hug':
fangyi/nr georgen/nr and/p hug/v
Where nr represents a person name, n represents a noun, v represents a verb, and p represents a preposition. Wherein nr, n and v are real words.
In this embodiment, after the above processing, the first keyword set of the first comment "fangyuan and jejun hugs" is { fangyfangyu | fangyu | monkey | jejun | hug | fuji | li leeping }.
In this embodiment, since proper noun recognition, alias, true name, arrangement of synonyms, and part-of-speech recognition are considered at the same time, the obtained first keyword set can express important content that the first comment wants to express more completely and accurately.
Based on the content of the foregoing embodiment, in this embodiment, determining the keyword set of each video clip specifically includes:
determining a keyword set of each video clip according to the bullet screen information corresponding to each video clip;
and/or the presence of a gas in the gas,
and determining the keyword set of each video clip according to the wonderful viewpoint description information corresponding to each video clip.
In this embodiment, the keyword sets of the respective video clips can be determined by the following means:
determining a keyword set of each video clip according to the bullet screen information corresponding to each video clip.
Determining the keyword set of each video clip according to the wonderful viewpoint description information corresponding to each video clip.
Thirdly, determining the keyword set of each video clip according to the bullet screen information corresponding to each video clip and the wonderful viewpoint description information corresponding to each video clip.
In this embodiment, it should be noted that, because the barrage information and the highlight description information corresponding to each video clip can describe and reflect the content that each video clip wants to express more accurately, the content that each video clip wants to express can be accurately reflected by the keyword set of each obtained video clip by processing the barrage information corresponding to each video clip and/or the highlight description information corresponding to each video clip.
In this embodiment, when the barrage information corresponding to each video segment and/or the highlight description information corresponding to each video segment are processed to determine the keyword set of each video segment, the barrage information and/or the highlight description information corresponding to each video segment may be obtained first, and then similar processing such as unique noun identification, alias, true name, synonym configuration, part of speech identification and the like may be performed on the barrage information and/or the highlight description information corresponding to each video segment by using the processing method of "determining the first keyword set of the first comment" described in the above embodiment, so as to obtain the keyword set of each video segment.
Based on the content of the foregoing embodiment, in this embodiment, matching the keyword set of each video segment with the first keyword set, and determining the first video segment matched with the first comment specifically includes:
matching the keyword set of each video clip with the first keyword set, judging the number of the video clips meeting a first condition, and if the number is 1, taking the video clips meeting the first condition as first video clips matched with the first comments; the first condition is that a keyword set of a video clip comprises all keywords in the first keyword set or comprises all real words in the first keyword set;
if the number is not 1, determining an effective keyword set of each video clip according to the matching condition of the keyword set of each video clip and the first keyword set; the effective keyword set of each video clip correspondingly stores keywords which are overlapped with the keyword set of each video clip and the first keyword set;
determining the total times of the keywords in the first keyword set of each video clip according to the corresponding times of occurrence of each keyword in the effective keyword set of each video clip;
and determining a first video clip matched with the first comment according to the total times of the keywords in the first keyword set appearing in each video clip.
In this embodiment, when the number of video segments satisfying the first condition is only 1, the video segment satisfying the first condition is taken as the first video segment matching the first comment.
In this embodiment, when there are a plurality of video segments satisfying the first condition, the following processing is required: when determining the keyword set of each video clip according to the bullet screen information corresponding to each video clip or determining the keyword set of each video clip according to the highlight description information corresponding to each video clip, the occurrence frequency corresponding to each keyword in the keyword set of each video clip needs to be recorded. Correspondingly, determining an effective keyword set of each video clip according to the matching condition of the keyword set of each video clip and the first keyword set; the effective keyword set of each video clip correspondingly stores keywords which are overlapped with the keyword set of each video clip and the first keyword set; determining the total times of the keywords in the first keyword set of each video clip according to the corresponding times of occurrence of each keyword in the effective keyword set of each video clip; and determining the video clip with the highest total times as the first video clip matched with the first comment according to the total times of the keywords in the first keyword set appearing in each video clip, so that the finally determined first video clip is the video clip which is closest to or can reflect the first comment to be inquired.
Based on the content of the foregoing embodiment, in this embodiment, determining the first video segment matched with the first comment according to the total number of times that each video segment has the keywords in the first keyword set includes:
determining the matching score of each video clip according to a first relation model according to the total times of the keywords in the first keyword set appearing in each video clip;
determining a first video segment matched with the first comment according to the matching score of each video segment;
wherein the first relationship model is:
score is keyword count + a; when the video segment is not a segment in the first video;
score is keyword count + b; when the video segment is a segment in a first video;
wherein score is the matching score, keyword count is the total number of times, a is 0-100, b is 0-200, and b > a.
In this embodiment, since in the playing interface of the first video, the probability that the user searches for the segment in the first video is high, when determining the matching score of the first comment and each video segment, if the video segment is the segment in the first video, the corresponding matching score is relatively higher, and if the video segment is not the segment in the first video, the corresponding matching score is relatively lower, so that the first video segment finally determined according to the matching score is the video segment close to or satisfying the user search expectation.
In this embodiment, the server returns the video segment with the highest matching score and returns the starting time of the video segment, which is returned to the second comment area in a manner of replying to comments, as shown in fig. 2 as the cheerful 29 th set 35: 24. by clicking on the cheerful 29 th set 35: the link 24 jumps to the target episode and locates the start point of the video segment by time offset. Therefore, the user can directly jump to the position of the segment and directly watch the target video segment only by clicking the comment replied by the server.
Based on the content of the foregoing embodiment, in this embodiment, sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment, specifically including:
sending the detail information of the first video clip to the client, so that the client displays the detail information of the first video clip as a reply comment of the first comment;
or the like, or, alternatively,
sending the detail information of the first video segment and the link address of the first video segment to the client, so that the client displays the detail information of the first video segment and the link address of the first video segment as a reply comment of the first comment;
wherein the detail information comprises a target episode in which the first video segment is located and a starting time point in the target episode; the link address is used to jump to the first video segment when triggered.
In the present embodiment, as shown in fig. 2, when the client performs the presentation of the first video segment, only the detail information of the first video segment may be presented, as shown in fig. 2, the joy 29 th set 35: the user can then manually find the corresponding video segment exactly from this information 24. Compared with a mode of pulling a highlight or a preview frame on the progress bar, the mode of directly providing the detail information of the first video clip is more convenient for a user to quickly and accurately find the first video clip. Generally, the mode of pulling the highlight or the preview frame on the progress bar is often limited to the current set, even if the search across sets is available, if the approximate position is not clear, the time is wasted, and the trouble is solved by the embodiment.
In addition, in another implementation manner, in addition to showing the detail information of the first video segment, in order to facilitate the user to directly view the first video segment, a link address of the first video segment may be further shown, so that the user can jump to the first video segment immediately by triggering the link address. It should be noted that, when the link address of the first video segment is displayed, the link address of the first video segment may be directly displayed, or the link address of the first video segment may be embedded in the detail information of the first video segment, so that a jump to the first video segment is triggered by clicking the detail information of the first video segment, as shown in fig. 2, by clicking the low-joy 29 th set 35: the jump to the first video segment is made 24. Therefore, according to the embodiment, the user can directly watch the first video clip according to the comment replied by the comment area server, and therefore user experience is improved.
Based on the content of the foregoing embodiment, in this embodiment, the comment area of the first video includes a first comment area and a second comment area, where the first comment area is an area for user comment interaction, and the second comment area is an area for inputting the first comment.
In the present embodiment, as shown in fig. 2, the comment area is divided into a first comment area and a second comment area. The first comment area inherits the existing comment function and carries out comment and interaction of the user. The second comment area is used for a user to locate or query the highlight/interesting segment, so that the two comments do not interfere with each other. As shown in fig. 2, when a user posts a first comment for video clip positioning in a comment area, the comment area may be placed in a second comment area specifically set for the video clip positioning function.
In this embodiment, it should be noted that, in the prior art, a user can only search for a desired video segment by searching for a short video. However, the amount of short video is limited, and cannot meet the requirements of each user. The wonderful point or preview frame on the progress bar is often limited to the current set by pulling, even if the search can be carried out across sets, if the approximate position is not clear, the time is wasted, and the use of a user is not utilized. Compared with the prior art, the video clip positioning method provided by the embodiment of the invention has the following advantages:
A. the user directly searches in a comment mode, so that the user can directly locate the user when watching the image without returning to a search page for searching again;
B. target segments described by all user comments can be basically found, the result is accurately returned for the user, and the requirements of each user are met.
C. When a user watches a current play, the user wants to switch to other plays, and the user can also do the switching in this way by only inputting the description information of the segment that the user wants to watch. If the user watches the cheerful, the user suddenly wants to watch the three-birth three-Shisanshi holly zhu Xian Tai due to some factors, the user can pull to the second comment area below to input the 'Sunzhu Xian Tai', then the server replies the link information of the related video segments in a comment replying mode, and the user clicks the comment replied by the server to jump to the position of the target wonderful watching point to directly watch the target wonderful watching point. Therefore, the embodiment can also realize random jump switching among different plays, and brings more convenient experience for users.
Fig. 3 is a flowchart illustrating another video segment positioning method according to an embodiment of the present invention, and as shown in fig. 3, the video segment positioning method according to the embodiment of the present invention is applied to a client, and specifically includes the following steps:
step 201: generating a video clip positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip;
step 202: sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request;
step 203: and receiving the first video segment, and displaying the first video segment as a reply comment of the first comment.
It should be noted that, since the video segment positioning method provided in this embodiment and the above embodiment is only different in execution subject and similar in other essential contents, the description of the working principle is omitted here, and specific contents may refer to the description of the above embodiment.
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 4, the server according to the embodiment of the present invention includes: a request receiving module 11, a fragment determining module 12 and a fragment sending module 13, wherein:
the request receiving module 11 is configured to receive a video segment positioning request sent by a client, where the video segment positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip;
a segment determining module 12, configured to determine, according to the video segment positioning request, a first video segment matching the first comment;
a segment sending module 13, configured to send the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment.
Since the server provided by this embodiment can be used to execute the video clip positioning method provided by the above embodiments, the operation principle and the beneficial effects thereof are similar, and will not be described in detail here.
Fig. 5 shows a schematic structural diagram of a client according to an embodiment of the present invention, and as shown in fig. 5, the client according to the embodiment of the present invention includes: a request generating module 21, a request sending module 22 and a fragment receiving module 23, wherein:
the request generating module 21 is configured to generate a video segment positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip;
a request sending module 22, configured to send the video segment positioning request to a server, so that the server determines, according to the video segment positioning request, a first video segment that matches the first comment;
a segment receiving module 23, configured to receive the first video segment, and display the first video segment as a reply comment of the first comment.
Since the client provided by this embodiment can be used to execute the video segment positioning method provided by the above embodiment, the working principle and beneficial effects thereof are similar, and will not be described in detail here.
Based on the same inventive concept, another embodiment of the present invention provides a video clip positioning system, including: the server and the client according to the above two embodiments, wherein the server and the client are communicatively connected.
Since the video clip positioning system provided by the present embodiment includes the server and the client described in the above two embodiments, the operation principle and the beneficial effects thereof are similar, and will not be described in detail here.
Based on the same inventive concept, another embodiment of the present invention provides an electronic device, which specifically includes the following components, with reference to fig. 6: a processor 601, a memory 602, a communication interface 603, and a communication bus 604;
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the communication bus 604; the communication interface 603 is used for implementing information transmission between the devices;
the processor 601 is configured to call a computer program in the memory 602, and the processor implements all the steps of the above-mentioned video segment positioning method when executing the computer program, for example, the processor implements the following steps when executing the computer program: receiving a video clip positioning request sent by a client, wherein the video clip positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip; determining a first video segment matched with the first comment according to the video segment positioning request; and sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment. Or, the processor implements the following steps when executing the computer program: generating a video clip positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip; sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request; and receiving the first video segment, and displaying the first video segment as a reply comment of the first comment.
Based on the same inventive concept, a further embodiment of the present invention provides a non-transitory computer-readable storage medium, having stored thereon a computer program, which when executed by a processor implements all the steps of the above-mentioned video segment positioning method, for example, when the processor executes the computer program, the processor implements the following steps: receiving a video clip positioning request sent by a client, wherein the video clip positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip; determining a first video segment matched with the first comment according to the video segment positioning request; and sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment. Or, the processor implements the following steps when executing the computer program: generating a video clip positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip; sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request; and receiving the first video segment, and displaying the first video segment as a reply comment of the first comment.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions may be essentially or partially implemented in the form of software products, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the video clip positioning method according to the embodiments or some parts of the embodiments.
In addition, in the present invention, terms such as "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Moreover, in the present invention, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Furthermore, in the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A video clip positioning method applied to a server includes:
receiving a video clip positioning request sent by a client, wherein the video clip positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip;
determining a first video segment matched with the first comment according to the video segment positioning request;
sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment;
sending the first video segment to the client, so that the client displays the first video segment as a reply comment of the first comment, specifically including:
sending the detail information of the first video clip to the client, so that the client displays the detail information of the first video clip as a reply comment of the first comment;
or the like, or, alternatively,
sending the detail information of the first video segment and the link address of the first video segment to the client, so that the client displays the detail information of the first video segment and the link address of the first video segment as a reply comment of the first comment;
wherein the detail information comprises a target episode in which the first video segment is located and a starting time point in the target episode; the link address is used to jump to the first video segment when triggered.
2. The method according to claim 1, wherein the determining, according to the video segment positioning request, the first video segment matching the first comment includes:
determining a first keyword set of the first comment according to the first comment;
determining a keyword set of each video clip;
and matching the keyword set of each video clip with the first keyword set, and determining a first video clip matched with the first comment.
3. The method according to claim 2, wherein the step of matching the keyword set of each video segment with the first keyword set to determine the first video segment matching the first comment comprises:
matching the keyword set of each video clip with the first keyword set, judging the number of the video clips meeting a first condition, and if the number is 1, taking the video clips meeting the first condition as first video clips matched with the first comments; the first condition is that a keyword set of a video clip comprises all keywords in the first keyword set or comprises all real words in the first keyword set;
if the number is not 1, determining an effective keyword set of each video clip according to the matching condition of the keyword set of each video clip and the first keyword set; the effective keyword set of each video clip correspondingly stores keywords which are overlapped with the keyword set of each video clip and the first keyword set;
determining the total times of the keywords in the first keyword set of each video clip according to the corresponding times of occurrence of each keyword in the effective keyword set of each video clip;
and determining a first video clip matched with the first comment according to the total times of the keywords in the first keyword set appearing in each video clip.
4. The method according to claim 3, wherein determining the first video segment matching the first comment according to the total number of times of occurrence of the keywords in the first keyword set in each video segment includes:
determining the matching score of each video clip according to a first relation model according to the total times of the keywords in the first keyword set appearing in each video clip;
determining a first video segment matched with the first comment according to the matching score of each video segment;
wherein the first relationship model is:
score is keyword count + a; when the video segment is not a segment in the first video;
score is keyword count + b; when the video segment is a segment in a first video;
wherein score is the matching score, keyword count is the total number of times, a is 0-100, b is 0-200, and b > a.
5. A video segment positioning method is applied to a client and comprises the following steps:
generating a video clip positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip;
sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request;
receiving the first video segment, and displaying the first video segment as a reply comment of the first comment;
receiving the first video segment, and displaying the first video segment as a reply comment of the first comment, specifically including:
receiving the detail information of the first video clip, and displaying the detail information of the first video clip as a reply comment of the first comment;
or the like, or, alternatively,
receiving the detail information of the first video segment and the link address of the first video segment, and displaying the detail information of the first video segment and the link address of the first video segment as a reply comment of the first comment;
wherein the detail information comprises a target episode in which the first video segment is located and a starting time point in the target episode; the link address is used to jump to the first video segment when triggered.
6. A server, comprising:
the request receiving module is used for receiving a video segment positioning request sent by a client, wherein the video segment positioning request carries a first comment; the first comment is a comment which is input by a user in a comment area of the first video and is used for positioning a video clip;
the segment determining module is used for determining a first video segment matched with the first comment according to the video segment positioning request;
the segment sending module is used for sending the first video segment to the client so that the client can display the first video segment as a reply comment of the first comment;
wherein the fragment sending module is further configured to:
sending the detail information of the first video clip to the client, so that the client displays the detail information of the first video clip as a reply comment of the first comment;
or the like, or, alternatively,
sending the detail information of the first video segment and the link address of the first video segment to the client, so that the client displays the detail information of the first video segment and the link address of the first video segment as a reply comment of the first comment;
wherein the detail information comprises a target episode in which the first video segment is located and a starting time point in the target episode; the link address is used to jump to the first video segment when triggered.
7. A client, comprising:
the request generating module is used for generating a video segment positioning request according to a first comment input by a user in a comment area of a first video; the first comment is a comment for positioning a video clip;
the request sending module is used for sending the video segment positioning request to a server so that the server can determine a first video segment matched with the first comment according to the video segment positioning request;
the segment receiving module is used for receiving the first video segment and displaying the first video segment as a reply comment of the first comment;
wherein the segment receiving module is further configured to:
receiving the detail information of the first video clip, and displaying the detail information of the first video clip as a reply comment of the first comment;
or the like, or, alternatively,
receiving the detail information of the first video segment and the link address of the first video segment, so that the client displays the detail information of the first video segment and the link address of the first video segment as a reply comment of the first comment;
wherein the detail information comprises a target episode in which the first video segment is located and a starting time point in the target episode; the link address is used to jump to the first video segment when triggered.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the video segment positioning method according to any one of claims 1 to 4 when executing the computer program or the processor implements the video segment positioning method according to claim 5 when executing the computer program.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the video segment positioning method according to any one of claims 1 to 4, or which, when being executed by a processor, implements the video segment positioning method according to claim 5.
CN202010172072.XA 2020-03-12 2020-03-12 Video clip positioning method, server, client and electronic equipment Active CN111294660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010172072.XA CN111294660B (en) 2020-03-12 2020-03-12 Video clip positioning method, server, client and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010172072.XA CN111294660B (en) 2020-03-12 2020-03-12 Video clip positioning method, server, client and electronic equipment

Publications (2)

Publication Number Publication Date
CN111294660A CN111294660A (en) 2020-06-16
CN111294660B true CN111294660B (en) 2021-11-16

Family

ID=71025005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010172072.XA Active CN111294660B (en) 2020-03-12 2020-03-12 Video clip positioning method, server, client and electronic equipment

Country Status (1)

Country Link
CN (1) CN111294660B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770357B (en) * 2020-07-27 2021-06-01 深圳大学 Bullet screen-based video highlight segment identification method, terminal and storage medium
CN112328816A (en) * 2020-11-03 2021-02-05 北京百度网讯科技有限公司 Media information display method and device, electronic equipment and storage medium
CN112533051B (en) * 2020-11-27 2023-05-23 腾讯科技(深圳)有限公司 Barrage information display method, barrage information display device, computer equipment and storage medium
CN114969437A (en) * 2022-07-25 2022-08-30 北京搜狐新动力信息技术有限公司 Video processing method and system
CN116668789A (en) * 2023-05-06 2023-08-29 北京优酷科技有限公司 Video positioning playing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587574A (en) * 2017-09-28 2019-04-05 上海全土豆文化传播有限公司 A kind of information interacting method and information interactive device
CN110869908A (en) * 2017-06-12 2020-03-06 脸谱公司 Interactive viewing interface for live video

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9354763B2 (en) * 2011-09-26 2016-05-31 The University Of North Carolina At Charlotte Multi-modal collaborative web-based video annotation system
US9467408B1 (en) * 2015-12-22 2016-10-11 Linkedin Corporation Interactive commentary based on video-content characteristics
CN107566906B (en) * 2017-08-29 2020-09-01 北京奇艺世纪科技有限公司 Video comment processing method and device
CN110572716B (en) * 2019-09-27 2022-05-17 腾讯科技(深圳)有限公司 Multimedia data playing method, device and storage medium
CN110740389B (en) * 2019-10-30 2023-05-02 腾讯科技(深圳)有限公司 Video positioning method, video positioning device, computer readable medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110869908A (en) * 2017-06-12 2020-03-06 脸谱公司 Interactive viewing interface for live video
CN109587574A (en) * 2017-09-28 2019-04-05 上海全土豆文化传播有限公司 A kind of information interacting method and information interactive device

Also Published As

Publication number Publication date
CN111294660A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN111294660B (en) Video clip positioning method, server, client and electronic equipment
EP3855753A2 (en) Method and apparatus for locating video playing node, device and storage medium
US9947025B2 (en) Method and apparatus for providing search capability and targeted advertising for audio, image, and video content over the internet
US11580181B1 (en) Query modification based on non-textual resource context
US8285718B1 (en) Clustering multimedia search
CN110430476B (en) Live broadcast room searching method, system, computer equipment and storage medium
JP2019507417A (en) User interface for multivariable search
US10521484B1 (en) Typeahead using messages of a messaging platform
CN108924658B (en) Bullet screen association input method and device and computer readable storage medium
US8214347B2 (en) Search result sub-topic identification system and method
CN103984740B (en) Based on the method and system that the retrieved page of combination tag shows
CN102024009A (en) Generating method and system of video scene database and method and system for searching video scenes
CN105898362A (en) Video content retrieval method and device
US20150066920A1 (en) Media clip sharing on social networks
CN102867042A (en) Method and device for searching multimedia file
JP4354441B2 (en) Video data management apparatus, method and program
EP3823296B1 (en) Method and apparatus for retrieving teleplay content
CN111263186A (en) Video generation, playing, searching and processing method, device and storage medium
CN110795627A (en) Information recommendation method and device and electronic equipment
CN111400513B (en) Data processing method, device, computer equipment and storage medium
KR20220006491A (en) Method, apparatus, electronic device, storage medium and computer program for generating comment subtitle
CN111984823A (en) Video searching method, electronic device and storage medium
CN112765460A (en) Conference information query method, device, storage medium, terminal device and server
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
CN111309200B (en) Method, device, equipment and storage medium for determining extended reading content

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