CN104219557A - Video file playing method and device - Google Patents

Video file playing method and device Download PDF

Info

Publication number
CN104219557A
CN104219557A CN201310211415.9A CN201310211415A CN104219557A CN 104219557 A CN104219557 A CN 104219557A CN 201310211415 A CN201310211415 A CN 201310211415A CN 104219557 A CN104219557 A CN 104219557A
Authority
CN
China
Prior art keywords
video file
guidance information
playback window
video
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310211415.9A
Other languages
Chinese (zh)
Other versions
CN104219557B (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201310211415.9A priority Critical patent/CN104219557B/en
Publication of CN104219557A publication Critical patent/CN104219557A/en
Application granted granted Critical
Publication of CN104219557B publication Critical patent/CN104219557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a video file playing method. The method comprises the following steps: when a video file is determined to be in a pause state during playing of the video file, displaying N pieces of guidance information in the video playing window of the video file, wherein N is a positive integer; and when an access request specific to any piece of guidance information is received, playing a video file corresponding to the guidance information in the video playing window. Meanwhile, the invention discloses a video file playing device. Through application of a scheme of the invention, system resources can be saved.

Description

A kind of video file broadcasting method and device
Technical field
The present invention relates to video processing technique, particularly a kind of video file broadcasting method and device.
Background technology
In prior art; when user watches a certain video file online; for a certain reason; may in playing process, click time-out; correspondingly, within the blocking period, conventionally can in the video playback window of this video file, show one or more predefined pictures; with guiding user, check the content that picture is corresponding, as corresponding video file etc.
Fig. 1 is the picture schematic diagram that existing time-out shows afterwards.As shown in Figure 1, for simplifying accompanying drawing, suppose to only have a picture, this picture can be presented at the center of video playback window; When user has clicked after this picture, system can trigger a URL(uniform resource locator) (URL, Uniform Resource Locator), redirect in a new video playback window.
Visible, according to existing processing mode, for video file corresponding to each picture, all need to open a new video playback window, thereby expended larger system resource.
Summary of the invention
In view of this, the invention provides a kind of video file broadcasting method and device, can save system resource.
For achieving the above object, technical scheme of the present invention is achieved in that
A video file broadcasting method, comprising:
In the playing process of video file, when definite described video file is during in halted state, in the video playback window of described video file, show N guidance information, N is positive integer;
When receive for arbitrary guidance information access request time, in described video playback window, play the video file that this guidance information is corresponding.
A video file playing device, comprising:
The first processing module for the playing process at video file, when definite described video file is during in halted state, shows N guidance information in the video playback window of described video file, and N is positive integer;
The second processing module during for access request when receiving for arbitrary guidance information, is play the video file that this guidance information is corresponding in described video playback window.
Visible, adopt scheme of the present invention, for video file corresponding to each guidance information, without opening respectively new video playback window, only need the video playback window at the multiplexing video file place in halted state, thereby saved system resource.
Accompanying drawing explanation
Fig. 1 is the picture schematic diagram that existing time-out shows afterwards.
Fig. 2 is the flow chart of video file broadcasting method embodiment of the present invention.
Fig. 3 is the display mode schematic diagram of guidance information of the present invention.
Fig. 4 is the flow chart of video file broadcasting method preferred embodiment of the present invention.
Fig. 5 is the composition structural representation of video file playing device embodiment of the present invention.
Embodiment
For problems of the prior art, the video file proposing in the present invention after a kind of improvement is play scheme, adopts the inner redirect of video and exhibition method, can save system resource.
For make technical scheme of the present invention clearer, understand, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Fig. 2 is the flow chart of video file broadcasting method embodiment of the present invention, as shown in Figure 2, comprises the following steps 21~22.
Step 21: in the playing process of video file x, when definite video file x is during in halted state, show N guidance information in the video playback window of video file x, N is positive integer.
For ease of statement, in the present embodiment, with video file x, represent the video file of arbitrary online broadcasting.
In this step, when user watches video file x, can need to send pause instruction according to self, correspondingly, video file x will be shown as halted state in video playback window, and can in video playback window, show N guidance information, and N is positive integer, concrete value can be decided according to the actual requirements, such as being 4.
Or, for improving the broadcasting rate (or being called arrival rate) of the video file that guidance information is corresponding, can be when arriving predefined time out point, the video file x in the automatic video playback window of system is set to halted state, and in video playback window, shows N guidance information.
In actual applications, described guidance information typically refers to picture, can show the relevant information of its corresponding video file etc. in picture.
How to show that N guidance information can be decided according to the actual requirements.Such as: the display mode schematic diagram that Fig. 3 is guidance information of the present invention; The value of supposing N is 4, and supposes that guidance information is picture, so, as shown in Figure 3, for ease of statement, according to order from left to right, from top to bottom, 4 pictures are called to picture 1, picture 2, picture 3 and picture 4, wherein, the right of picture 1 overlaps with the left side of picture 2, and the following of picture 1 overlaps with the top of picture 3, and the left side of the right of picture 3 and picture 4 overlaps, the top of the following and picture 4 of picture 2 overlaps, and the size of each picture is identical.
Step 22: when receive for arbitrary guidance information access request time, in video playback window, play the video file that this guidance information is corresponding.
The video file of each guidance information and respectively correspondence etc. is all stored in server, has respectively memory address separately, and URL address, can find corresponding guidance information and video file easily according to URL address.
Each guidance information respectively video file of correspondence is generally sudden strain of a muscle (FLV, Flash Video) form frequently.
In this step, user can be according to self needs, from a shown N guidance information, select a video file corresponding to guidance information to watch,, when user clicks arbitrary guidance information, can in video playback window, play the video file that this guidance information is corresponding.
Because the coordinate range of a shown N guidance information is all known, so, when user clicks arbitrary guidance information, can first determine the coordinate of click location, afterwards, the coordinate that can determine click location is positioned at the coordinate range of which guidance information, and the guidance information using guidance information corresponding to this coordinate range as user's request access, and in video playback window, plays the video file that this guidance information is corresponding.
Guidance information for user's request access, the video file corresponding due to this guidance information takies identical video playback window with video file x, therefore, in the playing process of video file corresponding to this guidance information, if user sends out code to this video file, video playback window will be closed so, and correspondingly, video file x also can close.Like this, if user will avoid video file x to close, just can only finish watching the video file that this guidance information is corresponding, thereby improve the stop duration of user on video file corresponding to this guidance information.
After video file corresponding to this guidance information finishes, video playback window can be turned back to the state that shows N guidance information, if follow-up, need, user can continue to select to watch the video file that other guidance information is corresponding, or, continue to watch video file x.
Particularly, when receive for arbitrary guidance information access request time, need current shown content in recording of video broadcast window, can comprise: the duration that shown video file, this video file have been play, and shown guidance information etc.; And, because the overall playing duration of each video file is all known, so, after definite video file corresponding to this guidance information finishes, can video playback window be turned back to according to recorded content to the state that shows N guidance information.
In addition, can be for arbitrary video file of playing in video playback window, the broadcasting time that this recorded video file is corresponding adds one, adds up respectively the broadcasting time of each video file, to understand better click situation of each video file etc.
It should be noted that, in actual applications, the specific implementation of this step can arrange according to actual needs flexibly, such as: for a shown N guidance information, can allow user directly close N guidance information and continue to watch video file x, or, after can requiring user must watch the video file that at least one guidance information is corresponding, could continue to watch video file x, again or, could continue to watch video file x etc. after can requiring user must finish watching the video file that all guidance informations are corresponding.
Introducing before comprehensive is known, for realizing scheme of the present invention, need to set up in advance a series of corresponding relation, and as the corresponding relation between video file x and each guidance information, each guidance information is distinguished corresponding relation between corresponding video file etc. with it; Like this, follow-uply can find quickly and easily guidance information that video file x is corresponding and each guidance information corresponding video file etc. respectively according to set up corresponding relation.
Or, also can adopt following processing mode: be that preserved each guidance information and video file set up respectively index information in advance; Like this, in step 21, when needs show N guidance information in video playback window, can from each preserved guidance information, search out the guidance information matching with video file x according to index information separately, and be presented in video playback window; In step 22, when receive for arbitrary guidance information access request time, can be according to index information separately, from preserved other each video file except video file x, search out the video file that the guidance information with request access matches, and play in video playback window.
Aforesaid way can illustrate as follows: the value of supposing N is 4, the index information of video file x is: A, B, C, tetra-keywords of D, the index information of guidance information 1 is keyword A, the index information of guidance information 2 is keyword B, the index information of guidance information 3 is keyword C, the index information of guidance information 4 is keyword D, equally, the index information of video file 1 is keyword A, the index information of video file 2 is keyword B, the index information of video file 3 is keyword C, and the index information of video file 4 is keyword D; So, guidance information 1, guidance information 2, guidance information 3 and guidance information 4 match with video file x, in addition, video file 1 matches with guidance information 1, video file 2 matches with guidance information 2, video file 3 matches with guidance information 3, and video file 4 matches with guidance information 4.
Based on above-mentioned introduction, Fig. 4 is the flow chart of video file broadcasting method preferred embodiment of the present invention.As shown in Figure 4, comprise the following steps 41~46.
Step 41: in the online playing process of arbitrary video file x, when definite video file x is during in halted state, in the video playback window of video file x, show 4 guiding pictures, be respectively guiding picture A, guiding picture B, guiding picture C and guiding picture D.
Step 42: when receive for guiding picture A access request time, in video playback window, play video file A corresponding to guiding picture A; After video file A finishes, video playback window is turned back to the state that shows 4 guiding pictures.
Step 43: when receive for guiding picture B access request time, in video playback window, play video file B corresponding to guiding picture B; After video file B finishes, video playback window is turned back to the state that shows 4 guiding pictures.
Step 44: when receive for guiding picture C access request time, in video playback window, play video file C corresponding to guiding picture C; After video file C finishes, video playback window is turned back to the state that shows 4 guiding pictures.
Step 45: when receive for guiding picture D access request time, in video playback window, play video file D corresponding to guiding picture D; After video file D finishes, video playback window is turned back to the state that shows 4 guiding pictures.
Step 46: when receiving cancellation pause instruction, continue playing video file x in video playback window.
The present invention discloses a kind of video file playing device.
Fig. 5 is the composition structural representation of video file playing device embodiment of the present invention.As shown in Figure 5, comprising:
The first processing module 51 for the online playing process at arbitrary video file, when definite this video file is during in halted state, shows N guidance information in the video playback window of this video file, and N is positive integer;
The second processing module 52 during for access request when receiving for arbitrary guidance information, is play the video file that this guidance information is corresponding in video playback window.
Particularly,
The first processing module 51 receives suspends request, or, arriving predefined time out point, the video file of playing in video playback window is set to halted state.
In addition,
The second processing module 52 can be further used for, and after video file corresponding to this guidance information finishes, video playback window is turned back to the state that shows N guidance information.
Particularly,
The second processing module 52 receives the access request for arbitrary guidance information, current shown content in recording of video broadcast window; When according to the overall playing duration of video file corresponding to this known guidance information, after determining that video file that this guidance information is corresponding finishes, according to recorded content, video playback window is turned back to the state that shows N guidance information.
Have again,
As shown in Figure 5, in described video file playing device, also can further comprise:
The 3rd processing module 53, for the arbitrary video file for playing in video playback window, the broadcasting time that this recorded video file is corresponding adds one.
In actual applications, the playing device of video file shown in Fig. 5 can be client player or webpage (web) end player.
The specific works flow process of the playing device of video file shown in Fig. 5 embodiment please refer to the respective description in preceding method embodiment, repeats no more herein.
To sum up, adopt scheme of the present invention, for video file corresponding to each guidance information, without opening respectively new video playback window, only need the video playback window at the multiplexing video file place in halted state, thereby saved system resource; And, in prior art, between the rear shown guidance information of time-out and the video file in halted state, it doesn't matter conventionally, and adopt after scheme of the present invention, can find out the guidance information matching with video file in halted state by index information, thereby make shown guidance information have more specific aim; Have, scheme of the present invention implements simple and convenient again, is convenient to universal and promotes.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a video file broadcasting method, is characterized in that, comprising:
In the playing process of video file, when definite described video file is during in halted state, in the video playback window of described video file, show N guidance information, N is positive integer;
When receive for arbitrary guidance information access request time, in described video playback window, play the video file that this guidance information is corresponding.
2. video file broadcasting method according to claim 1, is characterized in that,
Described video file comprises in halted state: receives and suspends request, or, arrive predefined time out point.
3. video file broadcasting method according to claim 1, is characterized in that,
The method further comprises: be that preserved each guidance information and video file set up respectively index information in advance;
Describedly in the video playback window of described video file, show that N guidance information comprises:
According to each index information, from each preserved guidance information, search out the guidance information matching with video file in halted state, and be presented in described video playback window;
Described when receive for arbitrary guidance information access request time, in described video playback window, play the video file that this guidance information is corresponding and comprise:
According to each index information, from preserved other each video file except the video file in halted state, search out the video file that the guidance information with request access matches, and play in described video playback window.
4. video file broadcasting method according to claim 1, is characterized in that, the method further comprises:
After video file corresponding to this guidance information finishes, described video playback window is turned back to the state that shows N guidance information.
5. video file broadcasting method according to claim 4, is characterized in that,
The method further comprises: when receive for arbitrary guidance information access request time, record the content of current demonstration in described video playback window;
Described after video file corresponding to this guidance information finishes, described video playback window is turned back to the state that shows N guidance information and comprise:
According to the overall playing duration of video file corresponding to this known guidance information, after definite video file corresponding to this guidance information finishes, according to recorded content, described video playback window is turned back to the state that shows N guidance information.
6. according to the video file broadcasting method described in claim 1,3,4 or 5, it is characterized in that, described guidance information is picture.
7. according to the video file broadcasting method described in claim 1,3,4 or 5, it is characterized in that, the method further comprises:
For arbitrary video file of playing in described video playback window, the broadcasting time that this recorded video file is corresponding adds one.
8. a video file playing device, is characterized in that, comprising:
The first processing module for the playing process at video file, when definite described video file is during in halted state, shows N guidance information in the video playback window of described video file, and N is positive integer;
The second processing module during for access request when receiving for arbitrary guidance information, is play the video file that this guidance information is corresponding in described video playback window.
9. video file playing device according to claim 8, is characterized in that,
Described the first processing module receives suspends request, or, arriving predefined time out point, the video file of playing in described video playback window is set to halted state.
10. video file playing device according to claim 8, is characterized in that,
Described the second processing module is further used for, and after video file corresponding to this guidance information finishes, described video playback window is turned back to the state that shows N guidance information.
11. video file playing devices according to claim 10, is characterized in that,
Described the second processing module receives the access request for arbitrary guidance information, records current shown content in described video playback window; When according to the overall playing duration of video file corresponding to this known guidance information, after determining that video file that this guidance information is corresponding finishes, according to recorded content, described video playback window is turned back to the state that shows N guidance information.
Video file playing device described in 12. according to Claim 8,10 or 11, is characterized in that, described video file playing device further comprises:
The 3rd processing module, for the arbitrary video file for playing in described video playback window, the broadcasting time that this recorded video file is corresponding adds one.
CN201310211415.9A 2013-05-31 2013-05-31 A kind of video file broadcasting method and device Active CN104219557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310211415.9A CN104219557B (en) 2013-05-31 2013-05-31 A kind of video file broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310211415.9A CN104219557B (en) 2013-05-31 2013-05-31 A kind of video file broadcasting method and device

Publications (2)

Publication Number Publication Date
CN104219557A true CN104219557A (en) 2014-12-17
CN104219557B CN104219557B (en) 2019-03-01

Family

ID=52100633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310211415.9A Active CN104219557B (en) 2013-05-31 2013-05-31 A kind of video file broadcasting method and device

Country Status (1)

Country Link
CN (1) CN104219557B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472456A (en) * 2015-11-27 2016-04-06 北京奇艺世纪科技有限公司 Video playing method and device
CN112218165A (en) * 2020-10-12 2021-01-12 腾讯科技(深圳)有限公司 Video playing control method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002033975A2 (en) * 2000-10-15 2002-04-25 Sonicblue Incorporated Method and system for dynamic ad placement
CN1980377A (en) * 2005-12-01 2007-06-13 北京北大方正电子有限公司 Method for smart inserting material
CN101616288A (en) * 2008-06-27 2009-12-30 上海乐程文化传播有限公司 A kind of method and apparatus that fast video intercuts on the portable video terminal
CN102868929A (en) * 2012-08-31 2013-01-09 深圳市龙视传媒有限公司 Video display method and system, and digital television terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002033975A2 (en) * 2000-10-15 2002-04-25 Sonicblue Incorporated Method and system for dynamic ad placement
CN1980377A (en) * 2005-12-01 2007-06-13 北京北大方正电子有限公司 Method for smart inserting material
CN101616288A (en) * 2008-06-27 2009-12-30 上海乐程文化传播有限公司 A kind of method and apparatus that fast video intercuts on the portable video terminal
CN102868929A (en) * 2012-08-31 2013-01-09 深圳市龙视传媒有限公司 Video display method and system, and digital television terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472456A (en) * 2015-11-27 2016-04-06 北京奇艺世纪科技有限公司 Video playing method and device
CN112218165A (en) * 2020-10-12 2021-01-12 腾讯科技(深圳)有限公司 Video playing control method and device, electronic equipment and storage medium
CN112218165B (en) * 2020-10-12 2023-07-14 腾讯科技(深圳)有限公司 Video playing control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104219557B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US11112942B2 (en) Providing content via multiple display devices
US10595071B2 (en) Media information delivery method and system, terminal, server, and storage medium
CN104994425B (en) A kind of video identifier method and apparatus
CN113473189B (en) System and method for providing content in a content list
CN106303731A (en) The display packing of barrage and device
CN104539977A (en) Live broadcast previewing method and device
US11070886B2 (en) Method and apparatus for looping a video file
EP3533228B1 (en) Distribution of network traffic for streaming content
CN103763626A (en) Method, device and system for pushing information
CN109120954B (en) Video message pushing method and device, computer equipment and storage medium
CN104918136A (en) Video positioning method and device
US20220272425A1 (en) Systems and methods for summarizing missed portions of storylines
US20140143670A1 (en) Video Playback Analytics Collection
US20130254806A1 (en) System and Method for Displaying a Media Program Stream on Mobile Devices
US20170272793A1 (en) Media content recommendation method and device
CN110249324B (en) Maintaining session identifiers for content selection across multiple web pages
CN109635131B (en) Multimedia content list display method, pushing method, device and storage medium
CN104917754B (en) Video data sending and receiving method, server and client
US20130254822A1 (en) System for Creating and Displaying a Media Program Stream
CN103702218A (en) Video playing method and device
CN104219557A (en) Video file playing method and device
US9992528B2 (en) System and methods thereof for displaying video content
US10328336B1 (en) Concurrent game functionality and video content
CN106550250A (en) Barrage exchange method, device and electronic equipment
CN109547830B (en) Method and device for synchronous playing of multiple virtual reality devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant