CN104581401B - The method and device of data playback - Google Patents
The method and device of data playback Download PDFInfo
- Publication number
- CN104581401B CN104581401B CN201310469778.2A CN201310469778A CN104581401B CN 104581401 B CN104581401 B CN 104581401B CN 201310469778 A CN201310469778 A CN 201310469778A CN 104581401 B CN104581401 B CN 104581401B
- Authority
- CN
- China
- Prior art keywords
- data
- played
- request
- video
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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/4316—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The problem of the invention discloses a kind of method and devices of data playback, are related to Internet technical field, and user caused by being able to solve because of played in full screen can not carry out other operations.The method comprise the steps that the request of data for being sent to network side to the page intercepts when needing played data;Obtain the chained address for linking data to be played;The data to be played are requested to network side according to the chained address;Small window broadcasting is carried out to the data to be played by local player.Another method of the invention includes: the API that network side station for acquiring is used for playing audio-video data;It triggers the API and obtains API parameter;According to the absolute URL Address requests data to be played in the API parameter;According to the play mode marker in the API parameter, small window broadcasting is carried out to the data to be played by web player.During playing video web page.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of method and devices of data playback.
Background technique
With the development of mobile network, more and more users' habit is carried out by mobile devices such as mobile phone, tablet computers
Online.In playing audio-video online by mobile device, website is all to be carried out by webpage embedded player to audio-video
It plays.In general, webpage embedded player defaults playing audio-video data, the user in played in full screen in a manner of played in full screen
Other operations such as can not webpage for example be collected, be forwarded, player can only be exited by carrying out other operations if necessary, use
Get up to be inconvenient.In addition, when the buffer time of audio and video playing is longer, when user exits player and needs to wait longer
Between, other operations can not be equally carried out during waiting to be retired.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of data playback, user caused by being able to solve because of played in full screen
The problem of can not carrying out other operations.
In a first aspect, the embodiment of the invention provides a kind of methods of data playback, comprising:
When needing played data, the request of data for being sent to network side to the page is intercepted;
Obtain the chained address for linking data to be played;
The data to be played are requested to network side according to the chained address;
Small window broadcasting is carried out to the data to be played by local player.
Second aspect, the embodiment of the invention also provides a kind of methods of data playback, comprising:
Network side station for acquiring is used for the application programming interface API of playing audio-video data;
It triggers the API and obtains API parameter;
According to the Absolute URL Address requests data to be played in the API parameter;
According to the play mode marker in the API parameter, the data to be played are carried out by web player
Small window plays.
The third aspect, the embodiment of the invention also provides a kind of devices of data playback, comprising:
Signaling catching unit, for when needing played data, the request of data for being sent to network side to the page to be blocked
It cuts;
Acquiring unit, for obtaining the chained address for linking data to be played;
Request of data unit, the chained address for being obtained according to the acquiring unit to network side request it is described to
Played data;
Broadcast unit, for being carried out by the to be played data of the local player to the request of data unit requests
Small window plays.
Fourth aspect, the embodiment of the invention also provides a kind of devices of data playback, comprising:
Interface acquiring unit, for obtaining the application programming interface API for being used for playing audio-video data;
Parameter acquiring unit, for triggering the API of the information acquisition unit acquisition and obtaining API parameter;
Request of data unit, the absolute unified money in the API parameter for being obtained according to the parameter acquiring unit
Source Locator URL address requests data to be played;
Broadcast unit, the play mode marker in the API parameter for being obtained according to the parameter acquiring unit,
Small window broadcasting is carried out by the to be played data of the page embedded player to the request of data unit requests.
The method and device of data playback provided in an embodiment of the present invention can send out the page when needing played data
The request of data for giving network side is intercepted, and then obtains the chained address for linking data to be played and according to the link
Data to be played are requested to network side in address, treat played data finally by local player and carry out small window broadcasting.With it is existing
It direct request and is compared, can be intercepted by page embedded player played in full screen data to be played according to user instructions in technology
The operation of page request data to be played, it is independent to obtain data to be played and played data progress is treated by local player
Small window plays.In addition, the method and device of data playback provided in an embodiment of the present invention, additionally it is possible to nets such as video websites
Website injection in network side is used for application programming interface (the Application Programming of playing audio-video data
Interface, abbreviation API), network side website triggers it after getting API, obtains corresponding API parameter, then
It is waited for according to absolute Uniform Resource finger URL (Uniform Resource Locator, abbreviation URL) Address requests in API parameter
Played data treats played data by web player and carries out small window finally according to the play mode marker in API parameter
It plays.Unlike the data request operation for intercepting the page from preceding solution, this programme provides data to network side website
It is defined in the API of broadcasting, the API and is used to indicate the play mode marker that small window plays, network side website is being requested wait broadcast
After putting data, the play parameter of embedded player can be modified according to play mode marker, is achieved in and treats played data
Small window play.Compared with page fault played in full screen data in the prior art, above two technical solution can voluntarily or refer to
Show the page player setting broadcast window size, flexible choice half screen play or wicket play, thus, it is possible to
User is not influenced when playing or buffer data to be played to operate page other parts.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the method for first data playback in the embodiment of the present invention;
Fig. 2 is the flow chart of the method for second data playback in the embodiment of the present invention;
Fig. 3 is the interface schematic diagram of first video web-pages in the embodiment of the present invention;
Fig. 4 is the schematic diagram that user triggers broadcasting link in the embodiment of the present invention;
Fig. 5 is the interface schematic diagram of played in full screen video data in the prior art;
Fig. 6 is the interface schematic diagram of half screen playing video data in the embodiment of the present invention;
Fig. 7 is the interface schematic diagram of small and medium-sized screen of embodiment of the present invention playing video data;
Fig. 8 is the flow chart of the method for third data playback in the embodiment of the present invention;
Fig. 9 is the interface schematic diagram of second video web-pages in the embodiment of the present invention;
Figure 10 is the interface schematic diagram of sound intermediate frequency of embodiment of the present invention webpage;
Figure 11 is the flow chart for the method that fourth data plays in the embodiment of the present invention;
Figure 12 is the structural schematic diagram of the device of first data playback in the embodiment of the present invention;
Figure 13 is the structural schematic diagram of the device of second data playback in the embodiment of the present invention;
Figure 14 is the structural schematic diagram of the device of third data playback in the embodiment of the present invention;
Figure 15 is the structural schematic diagram for the device that fourth data plays in the embodiment of the present invention;
Figure 16 is the structural schematic diagram of the device of the 5th data playback in the embodiment of the present invention;
Figure 17 is the structural schematic diagram of the device of the 6th data playback in the embodiment of the present invention;
Figure 18 is the structural schematic diagram of the device of the 7th data playback in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the present embodiment, the technical solution in the present embodiment is clearly and completely described,
Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all
Belong to the scope of protection of the invention.
To realize that treating played data carries out small window broadcasting, a kind of method for present embodiments providing data playback can
The page is prevented voluntarily to request and default played in full screen data to be played.As shown in Figure 1, which comprises
101, when needing played data, the request of data for being sent to network side to the page is intercepted.
In general, user is when browsing video website, if clicking the link address or video icon of some video, net
Page can request the video data to network side, then by player that the page embeds with the screen mode toggle defaulted to the video into
Row plays.In the present embodiment, when needing playing video data, electronic equipment can be sent to the data of network side to the page
Request is intercepted, and to prevent the page from then executing subsequent step to the request and played in full screen of video data, voluntarily obtains view
Frequency evidence simultaneously carries out small window broadcasting.
Data to be played described in the present embodiment include video data and audio data, wherein existing for audio data
The page can be displayed in full screen audio broadcast interface when playing, therefore equally exist the problem of occupying on-screen display (osd) area.Subsequent implementation
It is unified in example to be illustrated by taking video data as an example, this should not be only defined in practical application.
102, the chained address for linking data to be played is obtained.
For that can carry out small window broadcasting to video data after the request of data for intercepting the page, electronic equipment obtains video counts
According to chained address.Specifically, electronic equipment can directly acquire the address URL of video data, also available video data
Video tab, the corresponding address URL is then obtained by the video tab.
103, data to be played are requested to network side according to chained address.
Electronic equipment voluntarily requests video data according to chained address, without being made requests by the page to video data.
104, played data is treated by local player and carries out small window broadcasting.
Electronic equipment is being requested to after video data to be played, by local player rather than the embedded player of the page
It plays out.It, can by local player since local player can permit the size of user setting broadcast window
Small window playing video data.
The method of data playback provided in this embodiment can prevent page by way of intercepting page request video data
Face played in full screen video data, and voluntarily obtain and pass through the small window playing video data of local player, it is possible thereby to use
Family carries out page operation when browsing webpage while watching video.
In another embodiment, when the play instruction of user's triggering is the address the URL link in the page, such as video
The broadcasting link embedded in webpage, electronic equipment carry out the data request operation of video web-pages after the link of user's click play
It intercepts, then voluntarily obtains and by the small window playing video data of local player.Specifically, as shown in Figure 2:
201, the play instruction of user's triggering is received.
As shown in figure 3, show the broadcasting link for playing video data in video web-pages, the broadcasting link be used for
The address URL of corresponding video data carries out hyperlink.User can click broadcasting link therein when browsing video web-pages,
Corresponding video data is played out.
202, the request of data for being sent to network side to the page intercepts.
When the user clicks when broadcasting link, electronic equipment intercepts the request of data that video web-pages are sent to network side, wherein
The address URL of video data is carried in the request of data, example, which is http://video.qq.com/
Abc/ video display .mov.
203, the address URL for linking data to be played is obtained.
Electronic equipment obtains the address URL of video data, i.e. URL in obtaining step 201 from the request of data of interception
Address http://video.qq.com/abc/ video display .mov.
204, the file suffixes name of data to be played is parsed from the address URL.
Before according to URL Address requests video data, electronic equipment first determines whether that the data type of the address URL link is
No is video data.Electronic equipment is judged according to the suffix name of file in the address URL, for the address URL http: //
Video.qq.com/abc/ video display .mov, electronic equipment ignore protocol name (such as http), Hostname (such as
Video.qq.com), parameter (such as abc) and filename (such as video display) parse the suffix name " .mov " of " video display " file.
205, determine that data to be played are audio data or video data according to file suffixes name.
Electronic equipment determines the address URL http://video.qq.com/abc/ video display .mov chain according to suffix name " .mov "
The data connect are the video file data of film (Movie, abbreviation MOV) format.
In the present embodiment, be illustrated by taking video data as an example, the format of video data further include in addition to MOV format but
It is not limited to: dynamic image expert compression standard audio level 4(Moving Picture Experts Group Audio Layer
IV, abbreviation MP4) format, Motion Picture Experts Group's (Motion Picture Experts Group, abbreviation MPEG) format or sound
Frequency video interleave (Audio Video Interleaved, abbreviation AVI) format etc..In addition, the format of data to be played can also be with
It for audio format, includes but are not limited to are as follows: dynamic image expert compression standard audio level 3(Moving Picture
Experts Group Audio Layer III, abbreviation MP3) format, Windows multimedia player (Windows Media
Audio, abbreviation WMA) format or music equipment digital interface (Musical Instrument Digital Interface, letter
Claim MIDI) format.
If electronic equipment determines that the format to request data is not audio, video data format according to file suffixes name, such as
For text formatting (such as .doc), then electronic equipment releases the interception to page data request, according to the prior art from the page to net
Network side sends the request of data for carrying the address URL, requests and shows band played data;If electronic equipment is according to file suffixes name
Determine that the format to request data is audio data format or video data format, thens follow the steps 206.
206, data to be played are requested to network side according to the address URL.
In the prior art, the page is to network side request video data after user triggers play instruction, in the present embodiment,
Since electronic equipment has before this intercepted the request of data of the page, the page will not request video data, take and generation
Be to request data to be played from electronic equipment to network side.Electronic equipment is requested according to the address URL to network side to be played
Then data execute step 207.
207, played data is treated by local player and carries out small window broadcasting.
Electronic equipment can play out the video data of request by locally-installed third party's player.It is preferred that
, electronic equipment carries out non-played in full screen to video data by the player embedded in browser.The non-played in full screen packet
Half screen is included to play or play according to default screen size.Half screen is played, player window size accounts for browser window ruler
Very little half, player window can be located at top half, lower half portion, left-half or the right side of browser window
Point, the present embodiment to the specific location of player window without limitation.For being played according to default screen size, player window
Size can be grown by user's self-setting and width, and position of the player window in browser window can be passed through operation by user
Keyboard or mouse are pulled, and can also be determined by default parameters.
In the prior art, when user clicks the broadcasting link of certain video in video web-pages as shown in Figure 4, video
Webpage requests video data to network side according to the address URL for linking the video, then by embedded player to video counts
According to progress played in full screen.As shown in figure 5, broadcast window covers all video web-pages when carrying out played in full screen, user can not
Other operations such as shared, downloaded in video web-pages while playing video.In the present embodiment, when user exists
After the broadcasting link for clicking certain video in video web-pages as shown in Figure 4, data request operation of the electronic equipment to video web-pages
It is intercepted, prevents video web-pages from obtaining simultaneously played in full screen video data, video data is voluntarily then requested according to the address URL,
And it is played out by local player.Due to local player can according to user setting adjust broadcast window size with
And the position of broadcast window, therefore the small window that can be realized video data plays.As shown in fig. 6, local player can regard
The top half of frequency webpage carries out half screen broadcasting, can also carry out small window in some position in video web-pages as shown in Figure 7
It plays.User can carry out normal operating to the video web-pages part that broadcast window does not block, when operating position is played window
When blocking, can also then it be operated by keyboard or the mobile broadcast window of mouse.
In another embodiment, when the play instruction of user's triggering is the video tab in the page, electronic equipment exists
Before user clicks video tab, pre- intercept process is carried out to video tab all in video web-pages, so that clicking in user
After video tab, video web-pages will not request corresponding video data to network side, and then electronic equipment voluntarily obtains and passes through
The local small window playing video data of player.Specifically, as shown in Figure 7:
801, before user triggers play instruction, the data type label in the page is searched.
As shown in figure 9, in the video web-pages for having linked video data, added with video tab, to regard in the present embodiment
Frequency video label is illustrated as data type label, and video web-pages request corresponding view when video label when the user clicks
Frequency evidence plays out.
It is the explanation carried out by taking video data as an example in the present embodiment, when data to be played are audio data, the number
It is audio audio label, such as audio tag as shown in Figure 10 according to type label.
The data type label searched in the page before user triggers play instruction, specifically can be in video web-pages
The data type label in the page is searched after the completion of load immediately, one section be also possible to after the completion of video web-pages load is default
The data type label in the page is searched after time, the present embodiment is without limitation.
If 802, data type label is audio tag or video tab, request of data corresponding to data type label
Carry out pre- intercept process.
When data type label is audio tag or video tab, electronic equipment is to the data type mark in video web-pages
Sign corresponding request of data and carry out pre- intercept process so that when the user clicks video tab when, video web-pages are not asked to network side
Seek video data.When data type label is not audio tag and is not video tab, electronic equipment is not carried out the label
Pre- intercept process.
803, user is received to the triggering command of data type label.
User clicks certain video tab, and electronic equipment receives the instruction that the clicking operation is triggered.
804, after receiving user to the triggering command of data type label, the URL of corresponding data type label is obtained
Address.
805, the data to be played are requested to network side according to the address URL.
In video web-pages, each video tab can correspond to the address URL, and the address URL is for linking the view
The corresponding video data of frequency marking label.User click video tab after, electronic equipment according to the corresponding address URL voluntarily (rather than
It is to pass through video web-pages) video data of hyperlink request.
806, played data is treated by local player and carries out small window broadcasting.
Electronic equipment can play out the video data of request by locally-installed third party's player.It is preferred that
, electronic equipment carries out non-played in full screen to video data by the player embedded in browser.The non-played in full screen packet
Half screen is included to play or play according to default screen size.Half screen is played, player window size accounts for browser window ruler
Very little half, player window can be located at top half, lower half portion, left-half or the right side of browser window
Point, the present embodiment to the specific location of player window without limitation.For being played according to default screen size, player window
Size can be grown by user's self-setting and width, and position of the player window in browser window can be passed through operation by user
Keyboard or mouse are pulled, and can also be determined by default parameters.
From in embodiment illustrated in fig. 2 user trigger play instruction after intercept page operation it is different, be in the present embodiment
Before user triggers play instruction, audio-video label all in the page intercept pre-buried.When user triggers play instruction
Afterwards, the page would not request data to be played to network side again.It being achieved in, electronic equipment voluntarily requests video data, and
Small window broadcasting is carried out to video data by local player.
In another embodiment, operator can provide the API of data playback to third party website, so that third party's net
The play parameter stood according to API parameter change page embedded player, it is possible thereby to by page embedded player to video counts
According to the small window broadcasting of progress.Specifically, as shown in figure 11:
1101, the API for being used for playing audio-video data is obtained.
By taking playing video data as an example, video website obtains the API of operator's authorization, which is playing video data
Interface protocol.Example, the API can be QQB_playVideo (video_title, video_url, video_
Mode), wherein " video_title " is the title of video data, such as " video display ";" video_url " is inking video data
The absolute address URL, for example, http://video.qq.com/abc/ video display .mov;" video_mode " play mode mark
Position, for identifying the size of broadcast window, the play mode includes default size play mode, half screen play mode or full frame
Play mode.Wherein, default size play mode is to play according to the broadcast window size of operator or user preset, such as
Broadcast window shown in Fig. 7;Half screen play mode plays out to occupy video web-pages window half position, such as shown in Fig. 6
Broadcast window;Played in full screen mode as occupies entire video web-pages window and plays out, such as broadcasting window shown in fig. 5
Mouthful.
Play mode marker in the present embodiment is 1 or multidigit bit, by bit to the broadcasting mould of the page
Formula is identified.Example, it is complete that " 00 " identifies default size play mode, " 01 " mark half screen play mode, " 10 " mark
Shield play mode.
It further, can also be in play mode marker for default size play mode or half screen play mode
Add the bit for identifying broadcast window position.Such as half screen play mode, when play mode marker is
When " 0100 ", mode bit position " 01 " indicates half screen play mode, and position bit position " 00 " indicates to occupy the video web-pages upper half
Divide and plays out.
1102, it triggers API and obtains API parameter.
After the API for receiving operator's authorization, video website triggers API by scripting language Javascript, and obtains
Take the API parameters such as " video_title ", " video_url ", " video_mode ".
1103, according to the absolute URL Address requests data to be played in API parameter.
Video web-pages request corresponding video data to network side according to " video_url ".Such as request the absolute address URL
The video data that http://video.qq.com/abc/ video display .mov is linked.
1104, according to the play mode marker in API parameter, played data is treated by page embedded player and is carried out
Small window plays.
The page modifies the play parameter of player according to the play mode marker in API parameter, such as according to broadcasting mould
The full screen window modification of dimension of default is half screen window size by formula marker " 01 ".Then pass through broadcasting after modification play parameter
The video data that device requests step 1103 is put to play out.Specifically, according to corresponding play mode marker in the page
Predetermined size and/or predetermined position load broadcast window, are then played out according to the broadcast window of load to video data.
Fig. 2 or embodiment shown in Fig. 8 obtain the page by electronic equipment and playing video data intercept, belong to
" passiveness " interception mode, in the present embodiment, operator is the API that video website injection includes play mode marker, so that view
Frequency webpage can modify the play parameter of page embedded player, belong to " passiveness " interception mode, can largely save local ask
The signaling overheads for asking data, played data to generate.
The realization of the method with reference to shown in Fig. 1 additionally provides a kind of device of data playback in another embodiment, the dress
Setting in the electronic equipments such as mobile phone, computer, to realize method shown in FIG. 1.Specifically, as shown in figure 12, described device
It include: signaling catching unit 121, acquiring unit 122, request of data unit 123 and broadcast unit 124, wherein
The signaling catching unit 121, for being sent to the request of data of network side to the page when needing played data
It is intercepted;
The acquiring unit 122, for obtaining the chained address for linking data to be played;
The request of data unit 123, the chained address for being obtained according to the acquiring unit 122 is to network side
Request the data to be played;
The broadcast unit 124, for by local player to the request of data unit 123 request described in wait broadcast
It puts data and carries out small window broadcasting.
In another embodiment, as shown in figure 13, the signaling catching unit 121 includes:
First intercepts subelement 131, for being sent to institute to the page after the play instruction for receiving user's triggering
The request of data for stating network side is intercepted;
The acquiring unit 122 is for obtaining the uniform resource position mark URL address for linking the data to be played.
In another embodiment, as shown in figure 14, described device further include:
Information resolution unit 141, for being requested according to the chained address to network side in the request of data unit 123
Before the data to be played, the data to be played are parsed from the address URL that the acquiring unit 122 obtains
File suffixes name;
Type determining units 142, the file suffixes name for being parsed according to the information resolution unit 141 determine
The data to be played are audio data or video data;
Operation instruction unit 143 is used to indicate the load that the page is cancelled to the data to be played and operates.
In another embodiment, as shown in figure 15, the request of data unit 123 includes:
First request subelement 151, for requesting the data to be played to the network side according to the address URL.
In another embodiment, as shown in figure 16, the signaling catching unit 121 further include:
Second intercepts subelement 161, for searching the data type label in the page before user triggers play instruction,
When the data type label is audio tag or video tab, the corresponding request of data of the data type label is carried out
Pre- intercept process.
In another embodiment, the acquiring unit 122 is also used to receiving user to the data type label
Triggering command after, obtain the address URL of the corresponding data type label;
As shown in figure 15, the request of data unit 123 further include:
Second request subelement 152, for requesting the data to be played to the network side according to the address URL.
In another embodiment, the broadcast unit 124 is used for through the player in local browser, to it is described to
Played data carries out non-played in full screen.
Data replay apparatus provided in an embodiment of the present invention can be sent to network to the page when needing played data
The request of data of side is intercepted, and then obtains the chained address for linking data to be played and according to the chained address to net
Data to be played are requested in network side, treat played data finally by local player and carry out small window broadcasting.With root in the prior art
It is compared according to user instruction direct request and by page embedded player played in full screen data to be played, page request can be intercepted
The operation of data to be played independently obtains data to be played and treats the small window of played data progress by local player and broadcasts
It puts.
The realization of the method with reference to shown in Figure 11 additionally provides a kind of device of data playback in another embodiment, should
Device is located in website, to realize method shown in Figure 11.Specifically, as shown in figure 17, described device includes: interface
Acquiring unit 171, parameter acquiring unit 172, request of data unit 173 and broadcast unit 174, wherein
The interface acquiring unit 171, for obtaining the application programming interface API for being used for playing audio-video data;
The parameter acquiring unit 172, for triggering the API of the acquisition of information acquisition unit 171 and obtaining API
Parameter;
The request of data unit 173, in the API parameter for being obtained according to the parameter acquiring unit 172
Absolute URL Address requests data to be played;
The broadcast unit 174, the broadcasting in the API parameter for being obtained according to the parameter acquiring unit 172
Pattern identification position carries out the data to be played that the request of data unit 173 is requested by page embedded player small
Window plays.
In another embodiment, the play mode is default size play mode, half screen play mode or full frame broadcasts
Mode playback;
As shown in figure 18, the broadcast unit 174 includes:
Subelement 181 is loaded, for loading the broadcast window of the corresponding play mode marker in the page;
Subelement 182 is played, the broadcast window for loading according to the load subelement 181 is to described to be played
Data play out.
Data replay apparatus provided in an embodiment of the present invention, additionally it is possible to inject and use to the network sides website such as video website
In the API of playing audio-video data, network side website triggers it after getting API, obtains corresponding API parameter,
Then it according to the absolute URL Address requests data to be played in API parameter, is finally identified according to the play mode in API parameter
Position treats played data by web player and carries out small window broadcasting.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to which the former is more preferably by hardware, but in many cases
Embodiment.Based on this understanding, the portion that technical solution of the present invention substantially in other words contributes to the prior art
Dividing can be embodied in the form of software products, which stores in a readable storage medium, such as count
The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used so that computer equipment (it can be personal computer,
Server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (18)
1. a kind of method of data playback characterized by comprising
When needing played data, the request of data for being sent to network side to the page is intercepted;
Obtain the chained address for linking data to be played, wherein obtain for linking the chained address of data to be played extremely
Few includes the data type label for obtaining video data, then obtains the corresponding address URL by the data type label;
The data to be played are requested to network side according to the chained address;
Small window broadcasting is carried out to the data to be played by local player.
2. being sent to net to the page the method according to claim 1, wherein described when needing played data
The step of request of data of network side is intercepted, comprising:
After the play instruction for receiving user's triggering, the request of data for being sent to the network side to the page is blocked
It cuts;
The step of chained address obtained for linking data to be played, comprising:
Obtain the uniform resource position mark URL address for linking the data to be played.
3. according to the method described in claim 2, it is characterized in that, requesting institute to network side according to the chained address described
Before the step of stating data to be played, the method further includes:
The file suffixes name of the data to be played is parsed from the address URL;
Determine that the data to be played are audio data or video data according to the file suffixes name;
Cancel the page to operate the load of the data to be played.
4. according to the method described in claim 3, it is characterized in that, it is described according to the chained address to network side request described in
The step of data to be played, comprising:
The data to be played are requested to the network side according to the address URL.
5. being sent to net to the page the method according to claim 1, wherein described when needing played data
The step of request of data of network side is intercepted, comprising:
Before user triggers play instruction, the data type label in the page is searched;
If the data type label is audio tag or video tab, request of data corresponding to the data type label
Carry out pre- intercept process.
6. according to the method described in claim 5, it is characterized in that, the chained address obtained for linking data to be played
The step of, comprising:
After receiving user to the triggering command of the data type label, the URL of the corresponding data type label is obtained
Address;
The described the step of data to be played are requested to network side according to the chained address, comprising:
The data to be played are requested to the network side according to the address URL.
7. the method according to claim 1, wherein it is described by local player to the data to be played into
When the step that the small window of row plays, comprising:
By the player in local browser, non-played in full screen is carried out to the data to be played.
8. a kind of method of data playback characterized by comprising
Network side station for acquiring is used for the application programming interface API of playing audio-video data;
It triggers the API and obtains API parameter;
According to the Absolute URL Address requests data to be played in the API parameter;
According to the play mode marker in the API parameter, the data to be played are carried out by page embedded player
Small window plays.
9. according to the method described in claim 8, it is characterized in that, the play mode is default size play mode, half screen
Play mode or played in full screen mode;
The play mode marker according in the API parameter, by page embedded player to the data to be played
Carry out the step of small window plays, comprising:
The broadcast window of the corresponding play mode marker is loaded in the page;
The data to be played are played out according to the broadcast window.
10. a kind of device of data playback characterized by comprising
Signaling catching unit, for when needing played data, the request of data for being sent to network side to the page to be intercepted;
Acquiring unit, for obtaining the chained address for linking data to be played, wherein obtain for linking data to be played
Chained address include at least obtain video data data type label, then by the data type label acquisition it is corresponding
The address URL;
Request of data unit, the chained address for being obtained according to the acquiring unit are requested described to be played to network side
Data;
Broadcast unit, for carrying out small window by the to be played data of the local player to the request of data unit requests
It plays.
11. device according to claim 10, which is characterized in that the signaling catching unit includes:
First intercepts subelement, for being sent to the network to the page after the play instruction for receiving user's triggering
The request of data of side is intercepted;
The acquiring unit is for obtaining the uniform resource position mark URL address for linking the data to be played.
12. device according to claim 11, which is characterized in that described device further include:
Information resolution unit, for described to be played to network side request according to the chained address in the request of data unit
Before data, the file suffixes name of the data to be played is parsed from the address URL that the acquiring unit obtains;
Type determining units, the file suffixes name for being parsed according to the information resolution unit determine described to be played
Data are audio data or video data;
Operation instruction unit is used to indicate the load that the page is cancelled to the data to be played and operates.
13. device according to claim 12, which is characterized in that the request of data unit includes:
First request subelement, for requesting the data to be played to the network side according to the address URL.
14. device according to claim 10, which is characterized in that the signaling catching unit further include:
Second intercepts subelement, for the data type label in the page being searched, when the number before user triggers play instruction
When according to type label being audio tag or video tab, the corresponding request of data of the data type label is carried out at pre- interception
Reason.
15. device according to claim 14, which is characterized in that the acquiring unit is also used to receiving user to institute
After the triggering command for stating data type label, the address URL of the corresponding data type label is obtained;
The request of data unit further include:
Second request subelement, for requesting the data to be played to the network side according to the address URL.
16. device according to claim 10, which is characterized in that the broadcast unit is used for by local browser
Player carries out non-played in full screen to the data to be played.
17. a kind of device of data playback characterized by comprising
Interface acquiring unit, for obtaining the application programming interface API for being used for playing audio-video data;
Parameter acquiring unit, for triggering the API of the interface acquiring unit acquisition and obtaining API parameter;
Request of data unit, the absolute Uniform Resource in the API parameter for being obtained according to the parameter acquiring unit are fixed
Position symbol URL Address requests data to be played;
Broadcast unit, the play mode marker in the API parameter for being obtained according to the parameter acquiring unit, passes through
Page embedded player carries out small window broadcasting to the data to be played of the request of data unit requests.
18. device according to claim 17, which is characterized in that the play mode is default size play mode, half
Shield play mode or played in full screen mode;
The broadcast unit includes:
Subelement is loaded, for loading the broadcast window of the corresponding play mode marker in the page;
Subelement is played, for broadcasting according to the broadcast window of the load subelement load to the data to be played
It puts.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310469778.2A CN104581401B (en) | 2013-10-10 | 2013-10-10 | The method and device of data playback |
PCT/CN2014/087656 WO2015051716A1 (en) | 2013-10-10 | 2014-09-28 | Method and apparatus for playing back data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310469778.2A CN104581401B (en) | 2013-10-10 | 2013-10-10 | The method and device of data playback |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104581401A CN104581401A (en) | 2015-04-29 |
CN104581401B true CN104581401B (en) | 2019-02-01 |
Family
ID=52812521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310469778.2A Active CN104581401B (en) | 2013-10-10 | 2013-10-10 | The method and device of data playback |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104581401B (en) |
WO (1) | WO2015051716A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105025393A (en) * | 2015-07-01 | 2015-11-04 | 深圳Tcl数字技术有限公司 | Audio-video play control method and device |
CN106488282B (en) * | 2016-11-23 | 2020-06-16 | 腾讯科技(北京)有限公司 | Multimedia information output control method and mobile terminal |
CN107249133B (en) * | 2017-02-24 | 2020-08-07 | 北京潘达互娱科技有限公司 | Live streaming data processing method and device |
CN107277586B (en) * | 2017-07-19 | 2019-11-05 | 西安领讯卓越信息技术有限公司 | A kind of mobile terminal video playback method |
CN108024135B (en) * | 2017-12-13 | 2019-02-22 | 广州虎牙信息科技有限公司 | Picture exhibition method, storage equipment and computer equipment is broadcast live in direct broadcasting room |
CN111523065B (en) * | 2019-02-02 | 2023-04-25 | 阿里巴巴集团控股有限公司 | Rich text data processing method and device, electronic equipment and computer storage medium |
CN112019908A (en) * | 2019-05-31 | 2020-12-01 | 阿里巴巴集团控股有限公司 | Video playing method, device and equipment |
CN110225404A (en) * | 2019-06-17 | 2019-09-10 | 深圳市正易龙科技有限公司 | Video broadcasting method, terminal and computer readable storage medium |
CN110177306A (en) * | 2019-06-24 | 2019-08-27 | 广州市百果园网络科技有限公司 | Video broadcasting method, device, mobile terminal and medium based on mobile terminal |
CN112911367B (en) * | 2019-12-03 | 2022-04-19 | 腾讯科技(深圳)有限公司 | Video playing interface processing method and device and electronic equipment |
CN111417027A (en) * | 2020-03-23 | 2020-07-14 | 青岛海信传媒网络技术有限公司 | Method for switching small window playing of full-screen playing of webpage video and display equipment |
TWI747371B (en) * | 2020-07-10 | 2021-11-21 | 財金資訊股份有限公司 | Multi-terminal and cross-industry and cross-organization unified specification style application program interface platform and its operation method, computer readable recording medium and computer program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067924A (en) * | 2007-05-28 | 2007-11-07 | 广东威创日新电子有限公司 | Visual frequency accelerating method based on the third party playing software |
CN101645815A (en) * | 2008-08-06 | 2010-02-10 | 百度在线网络技术(北京)有限公司 | Video and audio file download prompt method |
CN102111674A (en) * | 2010-12-22 | 2011-06-29 | 深圳市五巨科技有限公司 | System and method for playing on-line video by mobile terminal and mobile terminal |
CN102761603A (en) * | 2012-06-07 | 2012-10-31 | 福建升腾资讯有限公司 | Webpage flash video redirection method in VDI environment |
CN102905181A (en) * | 2012-10-12 | 2013-01-30 | 北京奇艺世纪科技有限公司 | Method for realizing on-line video playing on mobile terminal, underlying library and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8522142B2 (en) * | 2005-12-08 | 2013-08-27 | Google Inc. | Adaptive media player size |
US20080235588A1 (en) * | 2007-03-20 | 2008-09-25 | Yahoo! Inc. | Media player playlist creation and editing within a browser interpretable document |
-
2013
- 2013-10-10 CN CN201310469778.2A patent/CN104581401B/en active Active
-
2014
- 2014-09-28 WO PCT/CN2014/087656 patent/WO2015051716A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067924A (en) * | 2007-05-28 | 2007-11-07 | 广东威创日新电子有限公司 | Visual frequency accelerating method based on the third party playing software |
CN101645815A (en) * | 2008-08-06 | 2010-02-10 | 百度在线网络技术(北京)有限公司 | Video and audio file download prompt method |
CN102111674A (en) * | 2010-12-22 | 2011-06-29 | 深圳市五巨科技有限公司 | System and method for playing on-line video by mobile terminal and mobile terminal |
CN102761603A (en) * | 2012-06-07 | 2012-10-31 | 福建升腾资讯有限公司 | Webpage flash video redirection method in VDI environment |
CN102905181A (en) * | 2012-10-12 | 2013-01-30 | 北京奇艺世纪科技有限公司 | Method for realizing on-line video playing on mobile terminal, underlying library and system |
Also Published As
Publication number | Publication date |
---|---|
CN104581401A (en) | 2015-04-29 |
WO2015051716A1 (en) | 2015-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104581401B (en) | The method and device of data playback | |
US9003277B2 (en) | Method and system for presenting web page resources | |
US20190146616A1 (en) | Systems And Methods For Remote Tracking And Replay Of User Interaction With A Webpage | |
US7769829B1 (en) | Media feeds and playback of content | |
CN101682512B (en) | WEB media asset identification system and method | |
CN101504649B (en) | Page resource processing method and apparatus | |
US9407959B2 (en) | Monitoring behavior with respect to a software program | |
JP5796402B2 (en) | Information processing apparatus, information processing method, program, and information processing system | |
CN108319708B (en) | Video playing method and device, storage medium and electronic equipment | |
CN107656957A (en) | Promotional content method for pushing, device, system and storage medium | |
JP5113251B2 (en) | Program, information processing apparatus, information processing method, and information management apparatus | |
JP2008117093A (en) | User operation recording/reproducing method and device | |
US20120221593A1 (en) | Systems, Methods, and Media for Generating Analytical Data | |
CN108829693A (en) | Method and device for acquiring user access track and storage medium | |
WO2017098496A1 (en) | Systems and methods for playing videos | |
WO2017097039A1 (en) | Method and apparatus for detecting whether video can be played | |
WO2014183487A1 (en) | Video playback method and device in webpage | |
US20140040258A1 (en) | Content association based on triggering parameters and associated triggering conditions | |
CN103562908A (en) | File access with different file hosts | |
WO2015143854A1 (en) | Data acquisition and interaction method, set top box, server and multimedia system | |
US20170041375A1 (en) | Generating content fragments for content distribution | |
US20150195599A1 (en) | Methods for synchronization of a live streaming broadcast and systems using the same | |
US20100287474A1 (en) | Method and apparatus for presenting a search utility in an embedded video | |
CN102300124A (en) | Method and system for partitioning television channels in a platform | |
US8332529B1 (en) | Media content including introduced code |
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 |