CN105791947A - Method and device for playing video - Google Patents

Method and device for playing video Download PDF

Info

Publication number
CN105791947A
CN105791947A CN201610255085.7A CN201610255085A CN105791947A CN 105791947 A CN105791947 A CN 105791947A CN 201610255085 A CN201610255085 A CN 201610255085A CN 105791947 A CN105791947 A CN 105791947A
Authority
CN
China
Prior art keywords
video
area
play
page
ratio
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
CN201610255085.7A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610255085.7A priority Critical patent/CN105791947A/en
Publication of CN105791947A publication Critical patent/CN105791947A/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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a video playing method. The method comprises steps: a preset operation instruction is received in a current video playing page; at least two video regions are displayed on the current video playing page, and the video regions are partially visible or fully visible in the current video playing page; the visible region information of each video region displayed in the current video playing page is acquired in real time according to the operation instruction; and according to the visible region information, the ratio of the visible area of each video region to the total area of each video region is calculated respectively, and video in the video region is selected to be played according to the ratio. The invention also discloses a video playing device. By adopting the method and the device of the invention, the video watched by a user can be ensured to be the video in the best playing state in the current video playing page, the technical problem that the next video which is switched to be played in the prior art does not achieve the best watching state but is already played can be solved, and the demand of fully watching the video information by the user is met.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to video playback field, particularly relate to video broadcasting method and device.
Background technology
Along with the development of electronics technology and Internet technology, the function of electronic equipment (particularly Intelligent mobile equipment) from strength to strength, as long as user installs various application program on an electronic device according to the demand of self, just can complete various affairs.
Pass through mobile Internet, user can watch video whenever and wherever possible, thus recognizing various information or entertainment information, for instance multiple videos that multiple videos that multiple videos that the good friend of social platform shares, each portal website provide, search engine search can be watched, etc..Under normal circumstances, user only watches current video at synchronization and plays a video in the page, and therefore technological development personnel are often arranged on synchronization and at most only allow one video in broadcasting;Such as, multiple videos can show user in a list, and user watches different videos by the scroll list, so in prior art, when user scrolls up list, if the top edge removal screen of currently playing video, so this video stops playing, and next video commences play out;When user's scroll-down list, if the lower limb removal screen of currently playing video, then this video stops playing, and a upper video commences play out.
But, the broadcasting schematic diagram of video broadcasting method in prior art as shown in Figure 1, for the list that scrolls up, top edge at currently playing video removes screen, stop the broadcasting of this video, when switching into the broadcasting of next video, the viewing area of next video is often not reaching to the viewed status of the best and just has begun to play, such as some region of video does not show, some is blocked, thus causing this video information blocking position or region to be missed.
Summary of the invention
Embodiment of the present invention technical problem to be solved is in that, it is provided that a kind of video broadcasting method and video play device, solves the next video switching broadcasting in prior art and is not reaching to the technical problem that best viewed status just has begun to play.
In order to solve above-mentioned technical problem, embodiment of the present invention first aspect discloses a kind of video broadcasting method, including:
Play the page at current video and receive the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Obtain described current video in real time according to described manipulation instruction and play the visibility region information of each video area that the page shows;
The flat-profile view calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area, and chooses the video play in video area according to described ratio.
In conjunction with first aspect, in the implementation that the first is possible, the described video chosen according to described ratio in broadcasting target video region, including:
When the video area that ratio is the highest has 1, choose the video play in the video area that described ratio is the highest, and do not play the video in other video area of the described current video broadcasting page.
In conjunction with first aspect, in the implementation that the second is possible, the described video chosen according to described ratio in broadcasting target video region, including:
When the video area that ratio is the highest has multiple, from the plurality of, choose the video play in the video area that priority is the highest according to default broadcasting priority, and do not play the video in other video area of the described current video broadcasting page.
In conjunction with first aspect, or the implementation that the first of first aspect is possible, or the implementation that the second of first aspect is possible, in the implementation that the third is possible, the video area that described current video is play in the page is shown by the form of list;
Described default manipulation instruction includes for manipulating the instruction that list rolls.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described visibility region information includes the viewing area length along target direction of described video area;Described target direction is the direction that manipulation list rolls;
The described flat-profile view calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area, including: account for the described video area ratio along the total length of target direction according to described viewing area along the length of target direction.
Embodiment of the present invention second aspect discloses a kind of video play device, including:
Command reception module, receives, for playing the page at current video, the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Acquisition module, plays the visibility region information of each video area that the page shows for obtaining described current video in real time according to described manipulation instruction;
Computing module, the flat-profile view for calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area;
Choose playing module, for choosing the video play in video area according to described ratio.
In conjunction with second aspect, in the implementation that the first is possible, described choose playing module specifically for, when the video area that ratio is the highest has 1, choose the video play in the video area that described ratio is the highest, and do not play the video in other video area of the described current video broadcasting page.
In conjunction with second aspect, in the implementation that the second is possible, described choose playing module specifically for, when the video area that ratio is the highest has multiple, from the plurality of, choose the video play in the video area that priority is the highest according to default broadcasting priority, and do not play the video in other video area of the described current video broadcasting page.
In conjunction with second aspect, or the implementation that the first of second aspect is possible, or the implementation that the second of second aspect is possible, in the implementation that the third is possible, the video area that described current video is play in the page is shown by the form of list;
Described default manipulation instruction includes for manipulating the instruction that list rolls.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described visibility region information includes the viewing area length along target direction of described video area;Described target direction is the direction that manipulation list rolls;
Described computing module specifically for, account for the described video area ratio along the total length of target direction according to described viewing area along the length of target direction.
The embodiment of the present invention third aspect discloses a kind of computer-readable storage medium, described computer-readable storage medium has program stored therein, described program includes the embodiment of the present invention first aspect when performing, or the implementation that the first of first aspect is possible, or the implementation that the second of first aspect is possible, or the third possible implementation of first aspect, the Overall Steps of video broadcasting method in the 4th kind of possible implementation.
Implement the embodiment of the present invention, receive, by playing the page at current video, the manipulation instruction preset;Obtain this current video in real time according to this manipulation instruction and play the visibility region information of each video area that the page shows;Then the flat-profile view calculating each video area respectively according to this visibility region information accounts for the ratio of the total area of respective video area, and the video play in video area is chosen according to this ratio, can ensure that the video that user watches is that current video plays the video of best broadcast state in the page, thus solving the next video switching broadcasting in prior art to be not reaching to the technical problem that best viewed status just has begun to play, effectively prevent the problem owing to Switch Video causes video information lost, meet user and intactly watch the demand of video information, enhance user's viscosity to the product such as social platform or video website.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the video broadcasting method that the embodiment of the present invention provides;
Fig. 2 is the scene schematic diagram of the video broadcasting method that the embodiment of the present invention provides;
Fig. 3 is the scene schematic diagram of another embodiment of video broadcasting method provided by the invention;
Fig. 4 is the structural representation of the video play device that the embodiment of the present invention provides;
Fig. 5 is the structural representation of another embodiment of electronic equipment provided by the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Video broadcasting method in each embodiment of the present invention is suitable in showing during playing video page or showing multiple video, but only allows to play one of them video at synchronization.Broadcasting video page in each embodiment of the present invention can include the floating layer of video, and the floating layer of this video refers to the container that multiple video is shown in a list, and in this container, synchronization at most only allows a video playing.Such as, in the Facebook product floating layer of video, at most only allows a video playing at synchronization.Can ensure that the video that user watches is that current video plays the video of best broadcast state in the page by implementing the embodiment of the present invention, effectively prevent owing to Switch Video causes the problem of video information lost, meet user and intactly watch the demand of video information.
Below, in conjunction with the schematic flow sheet of the video broadcasting method that the embodiment of the present invention shown in Fig. 1 provides, comprise the steps:
Step S100: play the page at current video and receive the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Specifically, user watches video by electronic equipment, and the current video of this electronic equipment is play the page and shown at least two video area, it will be understood that, video area in the embodiment of the present invention is equivalent to video frame, can play corresponding video in this video area;In the current video broadcasting page, some video areas can be all visible, and namely video frame all shows, and some video areas are partially visible, and namely a part for video frame is blocked, or beyond the edge that current video plays the page.User can play, at the current video of this electronic equipment, the manipulation instruction that page input is preset, then namely this electronic equipment is play the page at current video and received this manipulation instruction preset.
It should be noted that the manipulation instruction preset in the embodiment of the present invention is the manipulation instruction performing below step S102 and step S104 for indicating electronic equipment to trigger pre-set, to complete the video broadcasting method of the present invention.The manipulation instruction that this is preset includes but not limited to the slip instruction of desired guiding trajectory, default acoustic control instruction, clicks the virtual key or button that previously generate in the page, etc., the embodiment of the present invention is not limited as, as long as electronic equipment receives the instruction of user's input, identifying this instruction is default manipulation instruction.
Step S102: obtain described current video in real time according to described manipulation instruction and play the visibility region information of each video area that the page shows;
Specifically, electronic equipment can be analyzed current video and play the page, knows and shows how many video areas, then gets the visibility region information of each video area in real time.
Step S104: the flat-profile view calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area, and chooses the video play in video area according to described ratio.
Specifically, the visibility region information in the embodiment of the present invention is specially the information of ratio that the flat-profile view that may be used for calculating each video area accounts for the total area of respective video area;The information such as the area of visibility region, the height of visibility region, width or length can be included but not limited to.
Further, the embodiment of the present invention chooses, according to this ratio, the video play in video area may include that
When the video area that ratio is the highest has 1, choose the video play in the video area that this ratio is the highest, and do not play the video in other video area of this current video broadcasting page.Specifically, the scene schematic diagram of the video broadcasting method that the embodiment of the present invention as shown in Figure 2 provides, the current video of overstriking wire frame representation electronic equipment plays the region on-screen display (osd) area of electronic equipment (this region be often) of the page, broken box represents each video area, as can be seen from the figure, first video area is divided visible at current video broadcast page Middle face, and the ratio of correspondence is 90%;Second video area is play in the page all visible at current video, and namely corresponding ratio is 100%;It is also partially visible that 3rd video area is play in the page at current video, and the ratio of correspondence is 30%;Therefore, it can choose the video play in second video area, do not play the video in first and the 3rd video area.
When the video area that ratio is the highest has multiple, from the highest the plurality of video area, choose the video play in the video area that priority is the highest according to default broadcasting priority, and do not play the video in other video area of this current video broadcasting page.Specifically, the scene schematic diagram of another embodiment of video broadcasting method provided by the invention as shown in Figure 3, the current video of overstriking wire frame representation electronic equipment plays the region on-screen display (osd) area of electronic equipment (this region be often) of the page, broken box represents each video area, as can be seen from the figure, first video area is divided visible at current video broadcast page Middle face, and the ratio of correspondence is 55%;Second and the 3rd video area are play in the page all visible at current video, and namely the ratio of correspondence is 100%;It is also partially visible that 4th video area is play in the page at current video, and the ratio of correspondence is 60%;It is to say, the highest video area of ratio has 2, then according to default broadcasting priority, the video play in the video area that priority is the highest can be chosen from these 2 video areas the highest.Such as preset the priority that broadcasting priority is top video and be higher than the priority issuing video, the time more late video alternatively issued or share, play priority more high, therefore in figure 3, the video play in second video area can be chosen, do not play the video in first, the 3rd and the 4th video area.
It should be noted that the default broadcasting priority in the embodiment of the present invention can be arranged according to user's self-demand or hobby, the present invention does not limit.
Yet further, the video area play in the page with current video below is shown as example by the form of list, the video broadcasting method of the embodiment of the present invention is described, the manipulation instruction preset in the embodiment of the present invention can include for manipulating the instruction that list rolls, namely when user's the scroll list browses multiple different video, namely electronic equipment receives for manipulating the instruction that list rolls, thus triggering the visibility region information performing to obtain each video area that this current video broadcasting page shows in real time, the flat-profile view calculating each video area respectively according to this visibility region information accounts for the ratio of the total area of respective video area, and the video play in video area is chosen according to this ratio.
It should be noted that the visibility region information in the embodiment of the present invention can include the viewing area length along target direction of this video area, target direction is the direction that manipulation list rolls;Specifically, video area is generally of regular shape, such as rectangle, square, parallelogram etc., user's the scroll list, such as scroll-down list, namely video in list moves up, electronic equipment is by obtaining the viewing area of each video area length in a downwardly direction in real time, when then accounting for the ratio of this video area total length in a downwardly direction according to this viewing area length in a downwardly direction, namely this ratio can represent that the flat-profile view of video area accounts for the ratio of the total area of this video area.
Implement the embodiment of the present invention, receive, by playing the page at current video, the manipulation instruction preset;Obtain this current video in real time according to this manipulation instruction and play the visibility region information of each video area that the page shows;Then the flat-profile view calculating each video area respectively according to this visibility region information accounts for the ratio of the total area of respective video area, and the video play in video area is chosen according to this ratio, can ensure that the video that user watches is that current video plays the video of best broadcast state in the page, thus solving the next video switching broadcasting in prior art to be not reaching to the technical problem that best viewed status just has begun to play, effectively prevent the problem owing to Switch Video causes video information lost, meet user and intactly watch the demand of video information, enhance user's viscosity to the product such as social platform or video website.
For the ease of implementing the such scheme of the embodiment of the present invention better, the present invention also correspondence provides a kind of video play device, the structural representation of the video play device that the embodiment of the present invention as shown in Figure 4 provides, video play device 40 may include that command reception module 400, acquisition module 402, computing module 404 and chooses playing module 406, wherein
Command reception module 400 receives, for playing the page at current video, the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Acquisition module 402 plays the visibility region information of each video area that the page shows for obtaining described current video in real time according to described manipulation instruction;
Computing module 404 accounts for the ratio of the total area of respective video area for the flat-profile view calculating each video area respectively according to described visibility region information;
Choose playing module 406 for choosing the video play in video area according to described ratio.
Specifically, choosing playing module 406 can be specifically for, when the video area that ratio is the highest has 1, chooses the video play in the video area that described ratio is the highest, and does not play described current video and play the video in other video area of the page.
Specifically, choosing playing module 406 can also be specifically for, when the video area that ratio is the highest has multiple, from the plurality of, choose the video play in the video area that priority is the highest according to default broadcasting priority, and do not play the video in other video area of the described current video broadcasting page.
Specifically, the video area that the current video of the embodiment of the present invention is play in the page is shown by the form of list;The manipulation instruction preset of the embodiment of the present invention includes for manipulating the instruction that list rolls.
Specifically, the visibility region information of the embodiment of the present invention includes the viewing area length along target direction of described video area;Described target direction is the direction that manipulation list rolls;
Computing module 404 can be specifically for, accounts for the described video area ratio along the total length of target direction according to described viewing area along the length of target direction.
It should be noted that the video play device 40 in the embodiment of the present invention can be personal computer or the electronic equipment such as mobile intelligent terminal, panel computer.Electronic equipment for video play device 40 for intelligent mobile terminal (such as mobile phone) below, further describes the structure of video play device 40 of the present invention:
Refer to the structural representation that Fig. 5, Fig. 5 are another embodiments of electronic equipment provided by the invention.This electronic equipment 50 includes: radio frequency is (English: radiofrequency, RF) circuit 501, storage have the parts such as the memorizer 502 of one or more computer program, input equipment 503, output device 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (English: wirelessfidelity, WiFi) module 507, the processor 508 including one or more process core and power supply 509.It will be understood by those skilled in the art that the electronic devices structure shown in Fig. 5 is not intended that the restriction to electronic equipment, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 501 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to one or more processor 508 to process;It addition, be sent to base station by relating to up data.Generally, RF circuit 501 includes but not limited to that antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module are (English: subscriberidentitymodule, SIM) card, transceiver, bonder, low-noise amplifier (English: lownoiseamplifier, LNA), duplexer etc..Additionally, RF circuit 501 can also be communicated with network or other electronic equipments by radio communication.nullDescribed radio communication can use arbitrary communication standard or agreement,Include but not limited to that global system for mobile communications is (English: globalsystemofmobilecommunication,GSM)、General packet radio service is (English: generalpacketradioservice,GPRS)、CDMA is (English: codedivisionmultipleaccess,CDMA)、WCDMA is (English: widebandcodedivisionmultipleaccess,WCDMA)、Long Term Evolution is (English: longtermevolution,LTE)、Email、Short Message Service is (English: shortmessagingservice,SMS) etc..
Memorizer 502 can be used for storing computer program and module, and processor 508 is stored in computer program and the module of memorizer 502 by running, thus performing the application of various function and data process.Memorizer 502 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function;Storage data field can store data that the use according to electronic equipment 50 creates (photo that such as shoots, voice data, video data etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 502 can also include Memory Controller, to provide processor 508 and the input equipment 503 access to memorizer 502.
Input equipment 503 can be used for receiving numeral or the character information of input, and produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal and input.Specifically, input equipment 503 can include Touch sensitive surface 5031 and other input equipments 5032.Touch sensitive surface 5031, also referred to as touch display panel or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on Touch sensitive surface 5031 or near Touch sensitive surface 5031), and drive corresponding connecting device according to formula set in advance.Optionally, Touch sensitive surface 5031 can include touch detecting apparatus and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 508, and can receive order that processor 508 sends and be performed.Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Touch sensitive surface 5031.Except Touch sensitive surface 5031, input equipment 503 can also include other input equipments 5032.Specifically, other input equipments 5032 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Output device 504 can be used for showing the various graphic user interfaces of information or the information being supplied to user and the electronic equipment 50 inputted by user, and these graphic user interfaces can be made up of figure, text, icon, video and its combination in any.Output device 504 can include display floater 5041, optionally, display floater 5041 can adopt liquid crystal display (English: liquidcrystaldisplay, LCD), the form such as Organic Light Emitting Diode (English: organiclight-emittingdiode, OLED) configures.Further, Touch sensitive surface 5031 can cover display floater 5041, when Touch sensitive surface 5031 detects thereon or after neighbouring touch operation, send processor 508 to determine the type of touch event, on display floater 5041, provide corresponding visual output with preprocessor 508 according to the type of touch event.Although in Figure 5, Touch sensitive surface 5031 and display floater 5041 are to realize input and input function as two independent parts, but in some embodiments it is possible to by integrated to Touch sensitive surface 5031 and display floater 5041 and realize input and output function.
Electronic equipment 50 may also include at least one sensor 505, such as range sensor, optical sensor, motion sensor and other sensors.Specifically, range sensor is for detecting the distance between described electronic equipment screen and the object covering described electronic equipment, and optical sensor is for detecting the optical signal of described electronic device exterior environment.One as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of electronic equipment 50 attitude, Vibration identification correlation function (such as pedometer, knock) etc.;Other sensors such as the gyroscope that can also configure as electronic equipment 50, barometer, drimeter, thermometer, infrared ray sensor, repeat no more herein.
Voicefrequency circuit 506, speaker 5061, microphone 5062 can provide the audio interface between user and electronic equipment 50.Voicefrequency circuit 506 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 5061, by speaker 5061 be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 5062, voice data is converted to after being received by voicefrequency circuit 506, after again voice data output processor 508 being processed, through RF circuit 501 to be sent to such as another equipment, or voice data is exported to memorizer 502 to process further.Voicefrequency circuit 506 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and electronic equipment 50.
WiFi belongs to short range wireless transmission technology, and electronic equipment 50 can help user to send and receive e-mail by WiFi module 507, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.Although Fig. 5 illustrates WiFi module 507, but it is understood that, it is also not belonging to must be configured into of electronic equipment 50, completely can as needed in do not change invention essence scope in and omit.
Processor 508 is the control centre of electronic equipment 50, utilize various interface and the various piece of the whole electronic equipment 50 of connection, it is stored in the computer program in memorizer 502 and/or module by running or performing, and call the data being stored in memorizer 502, perform the various functions of electronic equipment 50 and process data, thus electronic equipment 50 is carried out integral monitoring.Optionally, processor 508 can include one or more process core;Preferably, processor 508 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 508.
Electronic equipment 50 also includes the power supply 509 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 508 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system.Power supply 509 can also include one or more direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, electronic equipment 50 can also include photographic head, bluetooth module etc., repeats no more herein.Specifically in embodiments of the present invention, the output device 504 (or input equipment 503) of electronic equipment is touch-screen display, electronic equipment 50 also includes memorizer 502, processor 508 and one or more computer programs, wherein one or more computer programs are stored in memorizer 502, and processor 508 is used for calling the program of the video playback that memorizer 502 (nonvolatile memory) stores and performs following steps.
Play the page by input equipment 503 at current video and receive the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Obtain described current video in real time according to described manipulation instruction and play the visibility region information of each video area that the page shows;
The flat-profile view calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area, and the video chosen according to described ratio and play in video area at the display floater 5041 of output device 504.
Specifically, processor 508 when choosing the video play in target video region according to this ratio, it is possible to specifically includes:
When the video area that ratio is the highest has 1, the display floater 5041 being chosen at output device 504 plays the video in the video area that described ratio is the highest, and does not play the video in other video area of the described current video broadcasting page.
Specifically, the video play in target video region chosen by processor 508 according to ratio, it is possible to specifically include:
When the video area that ratio is the highest has multiple, from the plurality of, it is chosen at, according to default broadcasting priority, the video that the display floater 5041 of output device 504 is play in the video area that priority is the highest, and does not play the video in other video area of the described current video broadcasting page.
Specifically, the video area that current video is play in the page is shown by the form of list;The manipulation instruction that this is preset includes for manipulating the instruction that list rolls.
Specifically, it is seen that area information can include the viewing area length along target direction of this video area;This target direction is the direction that manipulation list rolls;
Processor 508 accounts for the ratio of the total area of respective video area at the flat-profile view calculating each video area respectively according to this visibility region information, it is possible to specifically include: account for this video area ratio along the total length of target direction according to this viewing area along the length of target direction.
It will be appreciated that the function of each module can be corresponding to the specific implementation of Fig. 1 to Fig. 3 any embodiment in above-mentioned each embodiment of the method in above-mentioned video play device 40 or electronic equipment 50, repeat no more here.
In sum, implement the embodiment of the present invention, receive, by playing the page at current video, the manipulation instruction preset;Obtain this current video in real time according to this manipulation instruction and play the visibility region information of each video area that the page shows;Then the flat-profile view calculating each video area respectively according to this visibility region information accounts for the ratio of the total area of respective video area, and the video play in video area is chosen according to this ratio, can ensure that the video that user watches is that current video plays the video of best broadcast state in the page, thus solving the next video switching broadcasting in prior art to be not reaching to the technical problem that best viewed status just has begun to play, effectively prevent the problem owing to Switch Video causes video information lost, meet user and intactly watch the demand of video information, enhance user's viscosity to the product such as social platform or video website.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Above disclosed it is only present pre-ferred embodiments, certainly can not limit the interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention with this, still belong to the scope that the present invention contains.

Claims (10)

1. a video broadcasting method, it is characterised in that including:
Play the page at current video and receive the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Obtain described current video in real time according to described manipulation instruction and play the visibility region information of each video area that the page shows;
The flat-profile view calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area, and chooses the video play in video area according to described ratio.
2. the method for claim 1, it is characterised in that the described video chosen according to described ratio in broadcasting target video region, including:
When the video area that ratio is the highest has 1, choose the video play in the video area that described ratio is the highest, and do not play the video in other video area of the described current video broadcasting page.
3. the method for claim 1, it is characterised in that the described video chosen according to described ratio in broadcasting target video region, including:
When the video area that ratio is the highest has multiple, from the plurality of, choose the video play in the video area that priority is the highest according to default broadcasting priority, and do not play the video in other video area of the described current video broadcasting page.
4. the method as described in any one of claim 1-3, it is characterised in that the video area that described current video is play in the page is shown by the form of list;
Described default manipulation instruction includes for manipulating the instruction that list rolls.
5. method as claimed in claim 4, it is characterised in that described visibility region information includes the viewing area length along target direction of described video area;Described target direction is the direction that manipulation list rolls;
The described flat-profile view calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area, including: account for the described video area ratio along the total length of target direction according to described viewing area along the length of target direction.
6. a video play device, it is characterised in that including:
Command reception module, receives, for playing the page at current video, the manipulation instruction preset;Described current video is play the page and is shown at least two video area, and described video area is divided visible or all visible at described current video broadcast page Middle face;
Acquisition module, plays the visibility region information of each video area that the page shows for obtaining described current video in real time according to described manipulation instruction;
Computing module, the flat-profile view for calculating each video area respectively according to described visibility region information accounts for the ratio of the total area of respective video area;
Choose playing module, for choosing the video play in video area according to described ratio.
7. device as claimed in claim 6, it is characterized in that, described in choose playing module specifically for, when the video area that ratio is the highest has 1, choose the video play in the video area that described ratio is the highest, and do not play the video in other video area of the described current video broadcasting page.
8. device as claimed in claim 6, it is characterized in that, described choose playing module specifically for, when the video area that ratio is the highest has multiple, from the plurality of, choose the video play in the video area that priority is the highest according to default broadcasting priority, and do not play the video in other video area of the described current video broadcasting page.
9. the device as described in any one of claim 6-8, it is characterised in that the video area that described current video is play in the page is shown by the form of list;
Described default manipulation instruction includes for manipulating the instruction that list rolls.
10. device as claimed in claim 9, it is characterised in that described visibility region information includes the viewing area length along target direction of described video area;Described target direction is the direction that manipulation list rolls;
Described computing module specifically for, account for the described video area ratio along the total length of target direction according to described viewing area along the length of target direction.
CN201610255085.7A 2016-04-21 2016-04-21 Method and device for playing video Pending CN105791947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610255085.7A CN105791947A (en) 2016-04-21 2016-04-21 Method and device for playing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610255085.7A CN105791947A (en) 2016-04-21 2016-04-21 Method and device for playing video

Publications (1)

Publication Number Publication Date
CN105791947A true CN105791947A (en) 2016-07-20

Family

ID=56398337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610255085.7A Pending CN105791947A (en) 2016-04-21 2016-04-21 Method and device for playing video

Country Status (1)

Country Link
CN (1) CN105791947A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303654A (en) * 2016-08-16 2017-01-04 腾讯科技(北京)有限公司 The methods of exhibiting of a kind of media information, client, plug-in unit and system
CN106961624A (en) * 2017-04-13 2017-07-18 腾讯科技(深圳)有限公司 A kind of video switching method, apparatus and system
CN108282683A (en) * 2017-01-05 2018-07-13 腾讯科技(深圳)有限公司 A kind of video clip display methods and device
CN108737897A (en) * 2018-05-22 2018-11-02 腾讯科技(深圳)有限公司 Video broadcasting method, device, equipment and storage medium
CN109640157A (en) * 2018-12-28 2019-04-16 北京字节跳动网络技术有限公司 Method and apparatus for handling information
CN109698975A (en) * 2019-01-16 2019-04-30 上海哔哩哔哩科技有限公司 New content real time playing method, device and storage medium
CN109982135A (en) * 2017-12-27 2019-07-05 中国电信股份有限公司 Channel switching method, device, terminal and computer readable storage medium
WO2019240780A1 (en) * 2018-06-13 2019-12-19 Rovi Guides, Inc. Systems and methods for seamlessly outputting embedded media from a digital page on nearby devices most suitable for access
CN110996154A (en) * 2019-12-13 2020-04-10 北京爱奇艺科技有限公司 Video playing method and device and electronic equipment
CN111079051A (en) * 2019-12-13 2020-04-28 北京字节跳动网络技术有限公司 Display content playing method and device
CN111464858A (en) * 2020-03-09 2020-07-28 五八有限公司 Video playing method and device
CN112954442A (en) * 2021-03-18 2021-06-11 北京字节跳动网络技术有限公司 Video playing method, device, equipment and storage medium
CN113015023A (en) * 2019-12-20 2021-06-22 海信电子科技(深圳)有限公司 Method and device for controlling video in HTML5 webpage
CN113271488A (en) * 2021-05-17 2021-08-17 口碑(上海)信息技术有限公司 Play control method, play control device, electronic equipment, storage medium and program product
CN116506695A (en) * 2023-06-26 2023-07-28 北京搜狐新动力信息技术有限公司 Video stream playing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229268A1 (en) * 2013-02-11 2014-08-14 Vindico Llc Comprehensive measurement of the opportunity to see online advertisements
CN104268251A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN104618817A (en) * 2015-02-26 2015-05-13 北京奇艺世纪科技有限公司 Method and device for controlling playing of website video
CN104918125A (en) * 2015-05-19 2015-09-16 乐视致新电子科技(天津)有限公司 Method and device for switching channels

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229268A1 (en) * 2013-02-11 2014-08-14 Vindico Llc Comprehensive measurement of the opportunity to see online advertisements
CN104268251A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN104618817A (en) * 2015-02-26 2015-05-13 北京奇艺世纪科技有限公司 Method and device for controlling playing of website video
CN104918125A (en) * 2015-05-19 2015-09-16 乐视致新电子科技(天津)有限公司 Method and device for switching channels

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DANYLOVOLVKH: "VideoPlayerManager", 《HTTPS://GITHUB.COM/DANYLOVOLVKH/VIDEOPLAYERMANAGER》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303654B (en) * 2016-08-16 2020-02-18 腾讯科技(北京)有限公司 Media information display method, client, plug-in and system
CN106303654A (en) * 2016-08-16 2017-01-04 腾讯科技(北京)有限公司 The methods of exhibiting of a kind of media information, client, plug-in unit and system
CN108282683B (en) * 2017-01-05 2020-07-14 腾讯科技(深圳)有限公司 Video interface display method and device
CN108282683A (en) * 2017-01-05 2018-07-13 腾讯科技(深圳)有限公司 A kind of video clip display methods and device
CN106961624B (en) * 2017-04-13 2018-08-03 腾讯科技(深圳)有限公司 A kind of video switching method, apparatus and system
CN106961624A (en) * 2017-04-13 2017-07-18 腾讯科技(深圳)有限公司 A kind of video switching method, apparatus and system
CN109982135A (en) * 2017-12-27 2019-07-05 中国电信股份有限公司 Channel switching method, device, terminal and computer readable storage medium
CN108737897A (en) * 2018-05-22 2018-11-02 腾讯科技(深圳)有限公司 Video broadcasting method, device, equipment and storage medium
CN108737897B (en) * 2018-05-22 2020-11-10 腾讯科技(深圳)有限公司 Video playing method, device, equipment and storage medium
WO2019240780A1 (en) * 2018-06-13 2019-12-19 Rovi Guides, Inc. Systems and methods for seamlessly outputting embedded media from a digital page on nearby devices most suitable for access
US11917235B2 (en) 2018-06-13 2024-02-27 Rovi Guides, Inc. Systems and methods for seamlessly outputting embedded media from a digital page on nearby devices most suitable for access
US11558655B2 (en) 2018-06-13 2023-01-17 Rovi Guides, Inc. Systems and methods for seamlessly outputting embedded media from a digital page on nearby devices most suitable for access
CN109640157A (en) * 2018-12-28 2019-04-16 北京字节跳动网络技术有限公司 Method and apparatus for handling information
CN109698975A (en) * 2019-01-16 2019-04-30 上海哔哩哔哩科技有限公司 New content real time playing method, device and storage medium
CN110996154A (en) * 2019-12-13 2020-04-10 北京爱奇艺科技有限公司 Video playing method and device and electronic equipment
CN110996154B (en) * 2019-12-13 2022-09-02 北京爱奇艺科技有限公司 Video playing method and device and electronic equipment
CN111079051A (en) * 2019-12-13 2020-04-28 北京字节跳动网络技术有限公司 Display content playing method and device
CN113015023A (en) * 2019-12-20 2021-06-22 海信电子科技(深圳)有限公司 Method and device for controlling video in HTML5 webpage
CN111464858A (en) * 2020-03-09 2020-07-28 五八有限公司 Video playing method and device
CN112954442A (en) * 2021-03-18 2021-06-11 北京字节跳动网络技术有限公司 Video playing method, device, equipment and storage medium
CN113271488A (en) * 2021-05-17 2021-08-17 口碑(上海)信息技术有限公司 Play control method, play control device, electronic equipment, storage medium and program product
CN116506695A (en) * 2023-06-26 2023-07-28 北京搜狐新动力信息技术有限公司 Video stream playing method and device
CN116506695B (en) * 2023-06-26 2023-09-08 北京搜狐新动力信息技术有限公司 Video stream playing method and device

Similar Documents

Publication Publication Date Title
CN105791947A (en) Method and device for playing video
CN107678631B (en) Side menu display method and device and terminal
CN106993227B (en) Method and device for information display
WO2015176680A1 (en) Information display method and apparatus
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN103325332B (en) Page furbishing method, device and equipment
CN104133624B (en) Web animation display packing, device and terminal
CN104967910A (en) Multimedia play progress control method and apparatus
CN105824641A (en) Method and device for displaying graphic code
CN105808060A (en) Method and device for playing animation
CN105681872A (en) Method and device for information interaction in live broadcasting process
CN105828145A (en) Interaction method and interaction device
CN105739693A (en) Method and device for horizontally and vertically switching screen and mobile terminal
CN103458277B (en) A kind of method and apparatus operating direct broadcast band program
CN104869465A (en) Video playing control method and device
CN104850406A (en) Page switching method and device
CN104991699B (en) A kind of method and apparatus of video display control
CN103458286A (en) Television channel switching method and device
CN104602135A (en) Method and device for controlling full screen play
CN104199596A (en) Scene interface switching method and device
CN105094501A (en) Display method, device and system for messages in mobile terminal
CN104820546A (en) Functional information exhibition method and apparatus
CN111314517B (en) Display panel and mobile terminal
CN104007887A (en) Floating layer display method and terminal
CN105739856A (en) Object operation processing execution method and apparatus

Legal Events

Date Code Title Description
C06 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: 20160720

RJ01 Rejection of invention patent application after publication