CN108924604A - Method and apparatus for playing video - Google Patents

Method and apparatus for playing video Download PDF

Info

Publication number
CN108924604A
CN108924604A CN201810962298.2A CN201810962298A CN108924604A CN 108924604 A CN108924604 A CN 108924604A CN 201810962298 A CN201810962298 A CN 201810962298A CN 108924604 A CN108924604 A CN 108924604A
Authority
CN
China
Prior art keywords
video
plot
video information
information
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810962298.2A
Other languages
Chinese (zh)
Inventor
蒋祥涛
刘悦
王飞
董文林
徐昭吉
翟周伟
樊兴
王心杰
张智珂
周亚琼
张茜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810962298.2A priority Critical patent/CN108924604A/en
Publication of CN108924604A publication Critical patent/CN108924604A/en
Pending legal-status Critical Current

Links

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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus for playing video.One specific embodiment of this method includes:In response to receiving the phonetic order of user's input, text information is converted into based on phonetic order and identifies plot keyword;It determines in preset plot table with the presence or absence of the video information with the plot keyword match identified, wherein plot table is used to characterize the corresponding relationship of plot keyword and video information;If it exists with the video information of the plot keyword match identified, then video location indicated by the video information for the plot keyword match for jumping to and identifying plays video.The embodiment is realized according to plot program request.

Description

Method and apparatus for playing video
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for playing video.
Background technique
With the explosion of artificial intelligence, applied around the tendency of artificial intelligence expansion and product just constantly by Concern.For example user can directly exchange Intelligent hardware/software by text/voice/graphic form.
Artificial intelligence also shows that powerful ability in the application of video field, and in this scenario, user has program request and looks into The demand of the particular contents such as a certain plot in play is looked for, this is a kind of free important embodiment of video on demand ability.Plot program request field The covering of scape means the upgrading of user experience.Conventional method is mainly that user can only carry out to certain film, certain TV The program request of acute a certain collection, be transferred to user is portion's film, this complete video of portion's TV play collection, without support pair The program request of plot in play.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for playing video.
In a first aspect, the embodiment of the present application provides a kind of method for playing video, including:In response to receiving use The phonetic order of family input, identifies plot keyword based on phonetic order;Determining in preset plot table whether there is and knowledge Not Chu plot keyword match video information, wherein plot table is for characterize plot keyword corresponding with video information Relationship;If it exists with the video information of the plot keyword match identified, then the plot keyword for jumping to and identifying Video location indicated by the video information matched plays video.
In some embodiments, video information includes at least one of following:Video name, collection number, plot sart point in time, Person names.
In some embodiments, plot keyword is identified based on phonetic order, including:Phonetic order is converted into text Information;Plot keyword is identified from text information.
In some embodiments, plot keyword is identified from text information, including:According to scheduled format from text Plot keyword and video name are parsed in information.
In some embodiments, it determines in preset plot table with the presence or absence of the view with the plot keyword match identified Frequency information, including:Determine in the corresponding plot table of video name that parses with the presence or absence of with the plot keyword parsed and The matched video information of video name.
In some embodiments, it determines in preset plot table with the presence or absence of the view with the plot keyword match identified Frequency information, including:Obtain the target video title and target of the video being currently played or the video details page browsed Collect number;Determining in the corresponding plot table of target video title whether there is and plot keyword, target video title and object set The matched video information of number.
In some embodiments, it jumps to and starts with the position of video indicated by the video information of plot keyword match It plays, including:In response to determine with the quantity of the video information of plot keyword match be greater than 1, obtain current point in time and The target video title and object set number for the video being currently played;Believe from at least two videos of plot keyword match Target video information is determined in breath, wherein the plot sart point in time of target video information after current point in time, and It is nearest apart from current point in time;It jumps to and starts to play with the position of video indicated by target video information.
In some embodiments, it jumps to and starts with the position of video indicated by the video information of plot keyword match It plays, including:In response to determine with the quantity of the video information of plot keyword match be greater than 1, from plot keyword The smallest video information of choice set number is as candidate video information at least two video informations matched;If candidate video information Quantity is greater than 1, then the candidate video information for selecting plot sart point in time earliest from candidate video information is believed as target video Breath, otherwise using candidate video information as target video information;Jump to the position with video indicated by target video information Start to play.
In some embodiments, this method further includes:Believe if it does not exist with the video of the plot keyword match identified Breath, then export recommendation video information, wherein recommending video information includes recommending plot title and at least one of following:Recommend view Frequency title recommends collection number, recommends plot sart point in time.
Second aspect, the embodiment of the present application provide it is a kind of for playing the device of video, including:Recognition unit is matched It is set to the phonetic order in response to receiving user's input, plot keyword is identified based on phonetic order;Determination unit is matched It is set to and determines in preset plot table with the presence or absence of the video information with the plot keyword match identified, wherein plot table For characterizing the corresponding relationship of plot keyword and video information;Jump-transfer unit, be configured to if it exists with the plot that identifies The video information of keyword match, then video position indicated by the video information for the plot keyword match for jumping to and identifying Set broadcasting video.
In some embodiments, video information includes at least one of following:Video name, collection number, plot sart point in time, Person names.
In some embodiments, recognition unit is further configured to:Phonetic order is converted into text information;From text Plot keyword is identified in information.
In some embodiments, recognition unit is further configured to:It is parsed from text information according to scheduled format Plot keyword and video name out.
In some embodiments, determination unit is further configured to:Determine the corresponding plot of video name parsed The matched video information of plot keyword and video name that whether there is in table and parse.
In some embodiments, determination unit is further configured to:Obtain the video being currently played or just clear The target video title and object set number for the video details page look at;Determining whether there is in the corresponding plot table of target video title With plot keyword, target video title and the matched video information of object set number.
In some embodiments, jump-transfer unit is further configured to:In response to determining and plot keyword match The quantity of video information is greater than 1, obtains the target video title and object set of current point in time and the video being currently played Number;Target video information is determined from least two video informations with plot keyword match, wherein target video information Plot sart point in time after current point in time, and it is nearest apart from current point in time;It jumps to and target video information The position of indicated video starts to play.
In some embodiments, jump-transfer unit is further configured to:In response to determining and plot keyword match The quantity of video information is greater than 1, the smallest video of choice set number from least two video informations with plot keyword match Information is as candidate video information;If the quantity of candidate video information is greater than 1, when since candidate video information selecting plot Between put earliest candidate video information as target video information, otherwise using candidate video information as target video information;It jumps It goes to and starts to play with the position of video indicated by target video information.
In some embodiments, which further includes recommendation unit, is configured to:It is closed if it does not exist with the plot identified The matched video information of key word, then export recommendation video information, wherein recommending video information includes recommending plot title and following At least one of:Recommend video name, recommends collection number, recommends plot sart point in time.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including:One or more processors;Storage dress Set, be stored thereon with one or more programs, when one or more programs are executed by one or more processors so that one or Multiple processors are realized such as method any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, In, it realizes when program is executed by processor such as method any in first aspect.
Method and apparatus provided by the embodiments of the present application for playing video, by the way that speech polling instruction to be converted into closing It is matched after key word with preset plot table, finds the video location where plot, to realize according to plot program request.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for playing video of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for playing video of the application;
Fig. 4 is the flow chart according to another embodiment of the method for playing video of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for playing video of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for playing video of the application or the implementation of the device for playing video The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as video playback class is answered on terminal device 101,102,103 With, web browser applications, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software Deng.
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, the various electronic equipments of video playing, including but not limited to smart phone, plate are can be with display screen and supported Computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic Image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, move State image expert's compression standard audio level 4) player, pocket computer on knee and desktop computer etc..When terminal is set Standby 101,102,103 when being software, may be mounted in above-mentioned cited electronic equipment.Its may be implemented into multiple softwares or Software module (such as providing Distributed Services), also may be implemented into single software or software module.It does not do herein specific It limits.
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103 Video provides the backstage Play Server supported.Backstage Play Server can to receive video playing request etc. data into The processing such as row analysis, and processing result (such as video clip) is fed back into terminal device.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software It, can also be with to be implemented as multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module) It is implemented as single software or software module.It is not specifically limited herein.
It should be noted that the method provided by the embodiment of the present application for playing video is generally held by server 105 Row, correspondingly, the device for playing video is generally positioned in server 105.
It should be noted that the embodiment of the present application provided by for play video method can by terminal device 101, 102, it 103 executes, can also be executed by server 105.Correspondingly, it can be set for the device of pushed information in terminal device 101, it in 102,103, also can be set in server 105.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process of one embodiment of the method for playing video according to the application is shown 200.The method for being used to play video, includes the following steps:
Step 201, the phonetic order inputted in response to receiving user, identifies plot keyword based on phonetic order.
In the present embodiment, can lead to for playing the executing subject (such as server shown in FIG. 1) of the method for video It crosses wired connection mode or radio connection and receives phonetic order using its terminal for carrying out video tour from user.Example Such as, the phonetic order of user's input is acquired by the microphone of mobile phone, then phonetic order is sent to server by mobile phone.Voice It may include plot keyword (such as " X jump put to death celestial platform ") in instruction, it is (such as " acute to may also include acute name keyword+plot keyword Name A plot B ").Plot keyword can be directly parsed from phonetic order.For example, by phonetic order and preset sound template It is matched, as shown in table 1.ASR (Automatic Speech Recognition, automatic speech recognition) system can also be passed through It is computer-readable text information by the vocabulary Content Transformation in voice.
A) when retrieval mode is " acute name+plot ", user can initiate when browsing any page;
Example:Phonetic order is " segment of acute name A plot B "
B) when retrieval mode is " plot ", user can only initiate in video playing and when browsing video details page.
Example:Phonetic order is " segment for jumping to plot B ".
Plot keyword can be parsed from text information according to scheduled format, as shown in right column in following table.It is optional Ground can also parse plot keyword and video name (i.e. acute name keyword), such as according to scheduled format from text information In following table shown in left column
Major function is to be analyzed and processed machine text, interprets the key message in user instruction, and obtaining user needs Seek intention.
A) for the retrieval mode of " acute name+plot "
Example:Jump to the plot of " plot B " in " acute name A "
Intention (intent)=jump plot
Slot position (slot):
I. play name=A
Ii. plot=B
B) for the retrieval mode of single plot
Example:Jump to the plot of " plot B "
Intention (intent)=jump plot
Slot position (slot):
I. plot=B
It retrieves template (retrieval mode):
Table 1
As shown above, in left column in the content and right column of the third bracket of every row second bracket of every row content It is the important symbol that content before identifying bracket belongs to plot slot position.Table 1 can both be stored with written form, can also be with Voice mode storage.That is phonetic order or the phonetic order itself for no matter being converted into written form all can be by tables 1 To carry out matched and searched.
Step 202, it determines in preset plot table with the presence or absence of the video information with the plot keyword match identified.
In the present embodiment, wherein plot table is used to characterize the corresponding relationship of plot keyword and video information.From user Specific information requirement is set out, and the search of related episodes table is carried out according to the slot position information parsed and intention etc..Plot table can It is stored in episode data library.Plot keyword can be stored by video name to different feelings from the corresponding relationship of video information It saves in database.The corresponding relationship of all plot keyword and video information can also be stored to identical episode data library In.Video information may include at least one of following:Video name, collection number, plot sart point in time, person names.For example, " acute The segment of name A plot B " corresponds to video name《Acute name A》, the 6th collection, plot sart point in time be 20 points 12 seconds.People can be passed through Name claims to search plot fragment, and the Real Name that person names can be performer is also possible to role's title in video.May be used also To be claimed with generation, for example, male is main, male No.1, leading lady, female with etc..
A) when retrieval mode is " acute name+plot ":It is retrieved in the corresponding episode data library of acute name analytically gone out.
B) when retrieval mode is " plot ":Need first to obtain video name being played on, collection number, current from terminal device Play time (phonetic order is parsed rear corresponding time point, is accurate to the second), or the video details browsed The corresponding video name of page.After confirming video name, retrieved from its episode data library.
The corresponding relationship of plot keyword and video information can be obtained by way of user annotation.Specifically, it can incite somebody to action One video dismantling is that several camera lenses unitize to each camera lens or picture by the user annotation behavior of magnanimity Mark, usually using label character mode, can also by voice annotation, then by speech recognition be converted to label character with It is convenient to be searched by way of template.When user's segment of " male master suffers a car accident " in seeing video, mark can be inputted Information, such as " male master suffers a car accident ", " the main traffic accident of male ", " male master is wrecked " etc., server obtain its corresponding video playing ginseng Number is to click through rower note the time, and plot keyword and corresponding video information are stored in plot number corresponding with viewing video According in library.
It solves the problems, such as a large amount of mark by collecting user annotation information as a result, reduces the cost manually marked, and It can be more convenient quickly to understand plot comprehensively with reference to the label that other users provide while each user customized mark Development course and film bright spot.
Optionally, it can obtain the caption information in video in advance, and record the content and time point of every caption information Corresponding relationship.By matching plot keyword with caption information, it is possible to locate that the corresponding video clip of plot keyword Time point.Caption information can be obtained by way of image recognition, also caption information directly can be obtained by video publisher.
Step 203, the video information with the plot keyword match identified if it exists, the then feelings for jumping to and identifying It saves video location indicated by the video information of keyword match and plays video.
In the present embodiment, video location indicated by the video information for the plot keyword match for jumping to and identifying There are many modes for playing video, is illustrated below:
Video information is sent to terminal setting by the first example, so that terminal setting is jumped to according to video information It is played out in the video being locally stored with the plot sart point in time of plot keyword match.
Second of example obtains the video clip with plot keyword match from server according to video information, by video Segment is sent to terminal device and plays out.
The third example, terminal obtained in real time from server the position indicated by the video information with plot key The matched video data of word, is played online.
Server can return to prompt information " segment of XX is found for you " to terminal.(note:XX can be with number in plot table herein Subject to, user of not being subject to is expressed)
Example:The phonetic order of user's input is " segment for jumping to plot B "
Data are " plot B " in plot table
Then " segment of plot B is found for you " is returned to terminal.
Prompt information can be exported by the Toast in terminal.Toast is the lightweight that Android (Android) is provided User reminding control.
Step 204, the video information with the plot keyword match identified if it does not exist then exports and recommends video letter Breath.
In the present embodiment, wherein recommending video information includes recommending plot title and at least one of following:Recommend video Title recommends collection number, recommends plot sart point in time.
I. currently watched video has corresponding plot table, but without matching result in plot table:Current page is rested on, is returned Back to the toast " not finding the segment that you want temporarily, change one and have a try " of terminal.If being currently at video broadcasting condition, need It is reported to terminal by plots all in current video and for corresponding time point, carries out customized displaying in terminal.For example, not looking for To the segment of " magnificent prince wife penalizes Anlin to hold ", recommend the segment of " magnificent prince wife send someone the village Tui Mei be lauched " in this collection 22:08 starts.It can recommend to work as Nearest plot after preceding play time, can also the whole plots of recommendering folder concentration.Screen size can exposition plot when, exhibition Show recommended information and the time point of nearest plot after current play time point.When screen size can show whole plots, exhibition Show recommended information and the time point of the whole plots of this collection.
Ii. currently watched video does not have corresponding plot table, for example does not do plot mark:Rest on current page Face returns to the toast " this film wouldn't support plot query function, please expect " of terminal.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for playing video of the present embodiment Figure.In the application scenarios of Fig. 3, user is watched by mobile phone《Acute name A》Video playing page 301 when or user's mobile phone Browsing《Acute name A》Video details page 302 when input phonetic order " segment for jumping to plot B ".User can also browse Phonetic order " segment for playing acute name A plot B " is inputted when any page 303 of video player.The language that mobile phone will receive Sound instruction is sent to server.Phonetic order is converted into identifying plot keyword " plot B " after text information again by server. Server is found and " plot B " matched collection number (the 2nd collection), plot sart point in time (36 from preset plot table:08). Terminal is shown during the lookup result of waiting for server jumps transition page 304.Server will be with " plot B " matched collection Number, the corresponding video data of plot sart point in time are sent on mobile phone, and mobile phone shows video playing page 305.
The method provided by the above embodiment of the application is by extracting plot after phonetic order is converted into text information Then keyword finds the corresponding video information of plot keyword from preset plot table.Video is played according to video information, To realize according to plot program request.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for playing video.The use In the process 400 for the method for playing video, include the following steps:
Step 401, the phonetic order inputted in response to receiving user, identifies plot keyword based on phonetic order.
Step 402, it determines in preset plot table with the presence or absence of the video information with the plot keyword match identified.
Step 401-402 and step 201-202 are essentially identical, therefore repeat no more.
Step 403, in response to determining to be greater than 1, when obtaining current with the quantity of the video information of plot keyword match Between the target video title and object set number of video putting and be currently played.
In the present embodiment, if can be found in plot table it is multiple matched as a result, if obtain current point in time and work as The target video title and object set number of preceding video being played on.It is true according to currently playing video if it can obtain successfully Surely the position to be jumped.If obtained less than current play position, the smallest video of choice set number.
Step 404, target video information is determined from least two video informations with plot keyword match.
In the present embodiment, wherein the plot sart point in time of target video information after current point in time, and away from It is nearest from current point in time.If having got currently playing collection number and time point information from terminal, then jump to current First result of play time backward.
In some optional implementations of the present embodiment, if not getting collection number and time point information (possibility It is the currently viewing video details page of user), then it jumps to collection number sequence and sorts, collect first result of interior time dot sequency sequence Corresponding start time point starts to play.And return to words art " segment of XX is found for you ".
Example:User is watching《Acute name A》20th collection 10:31, it inputs voice command " segment for jumping to plot C ", it is assumed that 5 in 20 collection:10,20:10,30:10 be the segment of plot C, then jumps to 20:10 that segment.Assuming that in 21 collection, 24 collection There is the segment of plot C, then jumps to that segment of 21 collection.
Step 405, it jumps to and starts to play with the position of video indicated by target video information.
Step 405 is essentially identical with step 203, therefore repeats no more.
Step 406, the video information with the plot keyword match identified if it does not exist then exports and recommends video letter Breath.
Step 406 is essentially identical with step 204, therefore repeats no more.
Figure 4, it is seen that the method for playing video compared with the corresponding embodiment of Fig. 2, in the present embodiment Process 400 highlight the step of being ranked up to matching result.The scheme of the present embodiment description can be to same plot as a result, It is selective to introduce multiple segments, to realize more fully video on demand.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for playing view One embodiment of the device of frequency, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 5, the device 500 for playing video of the present embodiment includes:Recognition unit 501, determination unit 502, jump-transfer unit 503.Wherein, recognition unit 501 is configured in response to receive the phonetic order of user's input, is based on language Sound instruction identification goes out plot keyword.Determination unit 502, which is configured to determine in preset plot table, whether there is and identify Plot keyword match video information, wherein plot table is used to characterize the corresponding relationship of plot keyword and video information. Jump-transfer unit 503 is configured to the video information with the plot keyword match identified if it exists, then jumps to and identify Plot keyword match video information indicated by video location play video.
In the present embodiment, for playing recognition unit 501, the determination unit 502, jump-transfer unit of the device 500 of video 503 specific processing can be with reference to step 201, the step 202, step 203 in Fig. 2 corresponding embodiment.
In some optional implementations of the present embodiment, video information includes at least one of following:Video name, collection Number, plot sart point in time, person names.
In some optional implementations of the present embodiment, recognition unit 501 is further configured to:By the voice Instruction is converted into text information;Plot keyword is identified from the text information.
In some optional implementations of the present embodiment, recognition unit 501 is further configured to:According to scheduled Format parses plot keyword and video name from text information.
In some optional implementations of the present embodiment, determination unit 502 is further configured to:Determination parses The corresponding plot table of video name in the presence or absence of with the matched video information of plot keyword and video name that parses.
In some optional implementations of the present embodiment, determination unit 502 is further configured to:It obtains currently just In the video of broadcasting or the target video title and object set number of the video details page browsed;Determine target video title pair It whether there is and plot keyword, target video title and the matched video information of object set number in the plot table answered.
In some optional implementations of the present embodiment, jump-transfer unit 503 is further configured to:In response to determination Out with the quantity of the video information of plot keyword match greater than 1, acquisition current point in time and the video being currently played Target video title and object set number;Determine that target video is believed from least two video informations with plot keyword match Breath, wherein the plot sart point in time of target video information is and nearest apart from current point in time after current point in time; It jumps to and starts to play with the position of video indicated by target video information.
In some optional implementations of the present embodiment, jump-transfer unit 503 is further configured to:In response to determination It is greater than 1 with the quantity of the video information of plot keyword match out, from least two video informations with plot keyword match The middle the smallest video information of choice set number is as candidate video information;If the quantity of candidate video information is greater than 1, regarded from candidate The candidate video information that frequency information selects plot sart point in time earliest is as target video information, otherwise by candidate video information As target video information;It jumps to and starts to play with the position of video indicated by target video information.
In some optional implementations of the present embodiment, device 500 further includes recommendation unit (not shown), is configured At:If it does not exist with the video information of the plot keyword match identified, then recommendation video information is exported, wherein recommend view Frequency information includes recommending plot title and at least one of following:Recommend video name, recommends collection number, recommends the plot time started Point.
Below with reference to Fig. 6, it illustrates the electronic equipment (clothes as shown in Figure 1 for being suitable for being used to realize the embodiment of the present application Be engaged in device) computer system 600 structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, should not be to the application The function and use scope of embodiment bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet Include recognition unit, determination unit and jump-transfer unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, recognition unit is also described as " in response to receiving the phonetic order of user's input, being based on language Sound instruction identification goes out the unit of plot keyword ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device:In response to receiving the phonetic order of user's input, plot keyword is identified based on phonetic order;Determine preset feelings With the presence or absence of the video information with the plot keyword match identified in section table, wherein plot table is for characterizing plot key The corresponding relationship of word and video information;If it exists with the video information of the plot keyword match identified, then jumps to and know Not Chu plot keyword match video information indicated by video location play video.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (20)

1. a kind of method for playing video, including:
In response to receiving the phonetic order of user's input, plot keyword is identified based on the phonetic order;
It determines in preset plot table with the presence or absence of the video information with the plot keyword match identified, wherein the feelings Section table is used to characterize the corresponding relationship of plot keyword and video information;
If it exists with the video information of the plot keyword match identified, then the plot keyword match for jumping to and identifying Video information indicated by video location play video.
2. according to the method described in claim 1, wherein, video information includes at least one of following:Video name, collection number, feelings Save sart point in time, person names.
3. according to the method described in claim 2, wherein, identify plot keyword based on the phonetic order, including:
The phonetic order is converted into text information;
Plot keyword is identified from the text information.
It is described to identify plot keyword from the text information 4. according to the method described in claim 3, wherein, including:
Plot keyword and video name are parsed from the text information according to scheduled format.
5. according to the method described in claim 4, wherein, in the preset plot table of determination with the presence or absence of with the feelings that identify The video information of keyword match is saved, including:
Determine the plot keyword and video name that whether there is in the corresponding plot table of video name parsed and parse Matched video information.
6. according to the method described in claim 2, wherein, in the preset plot table of determination with the presence or absence of with the feelings that identify The video information of keyword match is saved, including:
Obtain the target video title and object set number of the video being currently played or the video details page browsed;
Determining in the corresponding plot table of the target video title whether there is and the plot keyword, the target video name Claim and the matched video information of object set number.
7. according to the method described in claim 2, wherein, the video information institute jumped to the plot keyword match The position of the video of instruction starts to play, including:
In response to determining to be greater than 1 with the quantity of the video information of the plot keyword match, obtaining current point in time and working as The target video title and object set number of preceding video being played on;
Target video information is determined from at least two video informations of the plot keyword match, wherein the mesh The plot sart point in time of video information is marked after the current point in time, and nearest apart from the current point in time;
It jumps to and starts to play with the position of video indicated by the target video information.
8. according to the method described in claim 2, wherein, the video information institute jumped to the plot keyword match The position of the video of instruction starts to play, including:
In response to determine with the quantity of the video information of the plot keyword match be greater than 1, from the plot keyword The smallest video information of choice set number is as candidate video information in matched at least two video information;
It is earliest from candidate video information selection plot sart point in time if the quantity of the candidate video information is greater than 1 Candidate video information as target video information, otherwise using the candidate video information as target video information;
It jumps to and starts to play with the position of video indicated by the target video information.
9. method described in one of -8 according to claim 1, wherein the method also includes:
If it does not exist with the video information of the plot keyword match identified, then recommendation video information is exported, wherein described to push away Recommending video information includes recommending plot title and at least one of following:When recommending video name, recommending collection number, plot is recommended to start Between point.
10. it is a kind of for playing the device of video, including:
Recognition unit is configured in response to receive the phonetic order of user's input, identifies feelings based on the phonetic order Save keyword;
Determination unit is configured to determine in preset plot table with the presence or absence of the video with the plot keyword match identified Information, wherein the plot table is used to characterize the corresponding relationship of plot keyword and video information;
Jump-transfer unit is configured to the video information if it exists with the plot keyword match identified, then jumps to and identify Video location indicated by the video information of plot keyword match out plays video.
11. device according to claim 10, wherein video information includes at least one of following:Video name, collection number, Plot sart point in time, person names.
12. device according to claim 11, wherein recognition unit is further configured to:
The phonetic order is converted into text information;
Plot keyword is identified from the text information.
13. device according to claim 11, wherein the recognition unit is further configured to:
Plot keyword and video name are parsed from the text information according to scheduled format.
14. device according to claim 13, wherein the determination unit is further configured to:
Determine the plot keyword and video name that whether there is in the corresponding plot table of video name parsed and parse Matched video information.
15. device according to claim 11, wherein the determination unit is further configured to:
Obtain the target video title and object set number of the video being currently played or the video details page browsed;
Determining in the corresponding plot table of the target video title whether there is and the plot keyword, the target video name Claim and the matched video information of object set number.
16. device according to claim 11, wherein the jump-transfer unit is further configured to:
In response to determining to be greater than 1 with the quantity of the video information of the plot keyword match, obtaining current point in time and working as The target video title and object set number of preceding video being played on;
Target video information is determined from at least two video informations of the plot keyword match, wherein the mesh The plot sart point in time of video information is marked after the current point in time, and nearest apart from the current point in time;
It jumps to and starts to play with the position of video indicated by the target video information.
17. device according to claim 11, wherein the jump-transfer unit is further configured to:
In response to determine with the quantity of the video information of the plot keyword match be greater than 1, from the plot keyword The smallest video information of choice set number is as candidate video information in matched at least two video information;
It is earliest from candidate video information selection plot sart point in time if the quantity of the candidate video information is greater than 1 Candidate video information as target video information, otherwise using the candidate video information as target video information;
It jumps to and starts to play with the position of video indicated by the target video information.
18. device described in one of 0-17 according to claim 1, wherein described device further includes recommendation unit, is configured to:
If it does not exist with the video information of the plot keyword match identified, then recommendation video information is exported, wherein described to push away Recommending video information includes recommending plot title and at least one of following:When recommending video name, recommending collection number, plot is recommended to start Between point.
19. a kind of electronic equipment, including:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-9.
20. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor The now method as described in any in claim 1-9.
CN201810962298.2A 2018-08-22 2018-08-22 Method and apparatus for playing video Pending CN108924604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810962298.2A CN108924604A (en) 2018-08-22 2018-08-22 Method and apparatus for playing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810962298.2A CN108924604A (en) 2018-08-22 2018-08-22 Method and apparatus for playing video

Publications (1)

Publication Number Publication Date
CN108924604A true CN108924604A (en) 2018-11-30

Family

ID=64405269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810962298.2A Pending CN108924604A (en) 2018-08-22 2018-08-22 Method and apparatus for playing video

Country Status (1)

Country Link
CN (1) CN108924604A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948546A (en) * 2019-03-20 2019-06-28 四川长虹电器股份有限公司 Media play intersection control routine and method
CN109947993A (en) * 2019-03-14 2019-06-28 百度国际科技(深圳)有限公司 Plot jump method, device and computer equipment based on speech recognition
CN110032320A (en) * 2019-04-08 2019-07-19 维沃移动通信有限公司 A kind of control method of page scroll, device and terminal
CN110996138A (en) * 2019-12-17 2020-04-10 腾讯科技(深圳)有限公司 Video annotation method, device and storage medium
CN111314784A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video playing method and electronic equipment
CN111552827A (en) * 2020-04-28 2020-08-18 腾讯科技(深圳)有限公司 Labeling method and device, and behavior willingness prediction model training method and device
US11678029B2 (en) 2019-12-17 2023-06-13 Tencent Technology (Shenzhen) Company Limited Video labeling method and apparatus, device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130127712A1 (en) * 2011-11-18 2013-05-23 Koji Matsubayashi Gesture and voice recognition for control of a device
CN105898362A (en) * 2015-11-25 2016-08-24 乐视网信息技术(北京)股份有限公司 Video content retrieval method and device
CN107071542A (en) * 2017-04-18 2017-08-18 百度在线网络技术(北京)有限公司 Video segment player method and device
CN108259988A (en) * 2017-12-26 2018-07-06 努比亚技术有限公司 A kind of video playing control method, terminal and computer readable storage medium
CN108347646A (en) * 2018-03-20 2018-07-31 百度在线网络技术(北京)有限公司 multimedia content playing method and device
CN108401193A (en) * 2018-03-21 2018-08-14 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130127712A1 (en) * 2011-11-18 2013-05-23 Koji Matsubayashi Gesture and voice recognition for control of a device
CN105898362A (en) * 2015-11-25 2016-08-24 乐视网信息技术(北京)股份有限公司 Video content retrieval method and device
CN107071542A (en) * 2017-04-18 2017-08-18 百度在线网络技术(北京)有限公司 Video segment player method and device
CN108259988A (en) * 2017-12-26 2018-07-06 努比亚技术有限公司 A kind of video playing control method, terminal and computer readable storage medium
CN108347646A (en) * 2018-03-20 2018-07-31 百度在线网络技术(北京)有限公司 multimedia content playing method and device
CN108401193A (en) * 2018-03-21 2018-08-14 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周苏等: "《大数据时代管理信息系统》", 31 January 2017 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947993A (en) * 2019-03-14 2019-06-28 百度国际科技(深圳)有限公司 Plot jump method, device and computer equipment based on speech recognition
CN109948546A (en) * 2019-03-20 2019-06-28 四川长虹电器股份有限公司 Media play intersection control routine and method
CN110032320A (en) * 2019-04-08 2019-07-19 维沃移动通信有限公司 A kind of control method of page scroll, device and terminal
CN110996138A (en) * 2019-12-17 2020-04-10 腾讯科技(深圳)有限公司 Video annotation method, device and storage medium
CN110996138B (en) * 2019-12-17 2021-02-05 腾讯科技(深圳)有限公司 Video annotation method, device and storage medium
US11678029B2 (en) 2019-12-17 2023-06-13 Tencent Technology (Shenzhen) Company Limited Video labeling method and apparatus, device, and computer-readable storage medium
CN111314784A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video playing method and electronic equipment
CN111552827A (en) * 2020-04-28 2020-08-18 腾讯科技(深圳)有限公司 Labeling method and device, and behavior willingness prediction model training method and device

Similar Documents

Publication Publication Date Title
CN108924604A (en) Method and apparatus for playing video
US11206448B2 (en) Method and apparatus for selecting background music for video shooting, terminal device and medium
US10643610B2 (en) Voice interaction based method and apparatus for generating multimedia playlist
US10353943B2 (en) Computerized system and method for automatically associating metadata with media objects
CN110378732A (en) Information display method, information correlation method, device, equipment and storage medium
CN109036397B (en) Method and apparatus for presenting content
CN109036417A (en) Method and apparatus for handling voice request
CN106919711B (en) Method and device for labeling information based on artificial intelligence
CN112989076A (en) Multimedia content searching method, apparatus, device and medium
WO2010000914A1 (en) Method and system for searching multiple data types
CN109036425A (en) Method and apparatus for operating intelligent terminal
CN109408752A (en) Online document methods of exhibiting, device and electronic equipment
CN108933730A (en) Information-pushing method and device
CN111263186A (en) Video generation, playing, searching and processing method, device and storage medium
CN108134951A (en) For recommending the method and apparatus of broadcasting content
CN110990598B (en) Resource retrieval method and device, electronic equipment and computer-readable storage medium
CN109862100A (en) Method and apparatus for pushed information
CN109389182A (en) Method and apparatus for generating information
CN110019948A (en) Method and apparatus for output information
CN114357325A (en) Content search method, device, equipment and medium
CN109116718B (en) Method and device for setting alarm clock
CN108509442B (en) Search method and apparatus, server, and computer-readable storage medium
CN108573053A (en) Information-pushing method, device and system
CN114995691A (en) Document processing method, device, equipment and medium
CN108984260B (en) Method and apparatus for handling information

Legal Events

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

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication